* [PATCH 1/3] ARM: dts: keystone-k2g: Add device state controller node
@ 2016-08-09 13:57 Andrew F. Davis
2016-08-09 13:57 ` [PATCH 2/3] ARM: dts: keystone-k2g: Add keystone IRQ " Andrew F. Davis
2016-08-09 13:57 ` [PATCH 3/3] ARM: dts: keystone-k2g: Add DSP GPIO " Andrew F. Davis
0 siblings, 2 replies; 3+ messages in thread
From: Andrew F. Davis @ 2016-08-09 13:57 UTC (permalink / raw)
To: Santosh Shilimkar, Russell King, Suman Anna
Cc: linux-arm-kernel, linux-kernel, Andrew F . Davis
Add the device state controller node as a syscon node to the
Keystone 2 Galileo SoC. This module provides similar device
control functionality as that on the existing K2 SoCs.
One example usage would be the boot address programming of the
DSP processor sub-system.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
---
arch/arm/boot/dts/keystone-k2g.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi
index 3372615..fe17dc4 100644
--- a/arch/arm/boot/dts/keystone-k2g.dtsi
+++ b/arch/arm/boot/dts/keystone-k2g.dtsi
@@ -83,6 +83,11 @@
pinctrl-single,function-mask = <0x001b0007>;
};
+ devctrl: device-state-control@02620000 {
+ compatible = "ti,keystone-devctrl", "syscon";
+ reg = <0x02620000 0x1000>;
+ };
+
uart0: serial@02530c00 {
compatible = "ns16550a";
current-speed = <115200>;
--
2.9.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/3] ARM: dts: keystone-k2g: Add keystone IRQ controller node
2016-08-09 13:57 [PATCH 1/3] ARM: dts: keystone-k2g: Add device state controller node Andrew F. Davis
@ 2016-08-09 13:57 ` Andrew F. Davis
2016-08-09 13:57 ` [PATCH 3/3] ARM: dts: keystone-k2g: Add DSP GPIO " Andrew F. Davis
1 sibling, 0 replies; 3+ messages in thread
From: Andrew F. Davis @ 2016-08-09 13:57 UTC (permalink / raw)
To: Santosh Shilimkar, Russell King, Suman Anna
Cc: linux-arm-kernel, linux-kernel, Andrew F . Davis
Add the Keystone IRQ controller IP node on Keystone 2 Galileo
SoC. This allows the ARM CorePac core to receive interrupts
from remote processor devices (eg: DSP) on the SoC.
The IP is identical in functionality to that of the equivalent
nodes on existing K2 SoCs. The only difference is the ARM INTC
interrupt id/event number.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
---
arch/arm/boot/dts/keystone-k2g.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi
index fe17dc4..eccda9c 100644
--- a/arch/arm/boot/dts/keystone-k2g.dtsi
+++ b/arch/arm/boot/dts/keystone-k2g.dtsi
@@ -98,5 +98,13 @@
clock-frequency = <200000000>;
status = "disabled";
};
+
+ kirq0: keystone_irq@026202a0 {
+ compatible = "ti,keystone-irq";
+ interrupts = <GIC_SPI 1 IRQ_TYPE_EDGE_RISING>;
+ interrupt-controller;
+ #interrupt-cells = <1>;
+ ti,syscon-dev = <&devctrl 0x2a0>;
+ };
};
};
--
2.9.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 3/3] ARM: dts: keystone-k2g: Add DSP GPIO controller node
2016-08-09 13:57 [PATCH 1/3] ARM: dts: keystone-k2g: Add device state controller node Andrew F. Davis
2016-08-09 13:57 ` [PATCH 2/3] ARM: dts: keystone-k2g: Add keystone IRQ " Andrew F. Davis
@ 2016-08-09 13:57 ` Andrew F. Davis
1 sibling, 0 replies; 3+ messages in thread
From: Andrew F. Davis @ 2016-08-09 13:57 UTC (permalink / raw)
To: Santosh Shilimkar, Russell King, Suman Anna
Cc: linux-arm-kernel, linux-kernel, Andrew F . Davis
Add the DSP GPIO controller node on Keystone 2 Galileo SoC.
This is used to send interrupts to the only DSP processor
subsystem present on the SoC. The IP is identical to that
of the equivalent nodes on existing K2 SoCs.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
---
arch/arm/boot/dts/keystone-k2g.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi
index eccda9c..025ad12 100644
--- a/arch/arm/boot/dts/keystone-k2g.dtsi
+++ b/arch/arm/boot/dts/keystone-k2g.dtsi
@@ -106,5 +106,12 @@
#interrupt-cells = <1>;
ti,syscon-dev = <&devctrl 0x2a0>;
};
+
+ dspgpio0: keystone_dsp_gpio@02620240 {
+ compatible = "ti,keystone-dsp-gpio";
+ gpio-controller;
+ #gpio-cells = <2>;
+ gpio,syscon-dev = <&devctrl 0x240>;
+ };
};
};
--
2.9.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-08-09 13:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-09 13:57 [PATCH 1/3] ARM: dts: keystone-k2g: Add device state controller node Andrew F. Davis
2016-08-09 13:57 ` [PATCH 2/3] ARM: dts: keystone-k2g: Add keystone IRQ " Andrew F. Davis
2016-08-09 13:57 ` [PATCH 3/3] ARM: dts: keystone-k2g: Add DSP GPIO " Andrew F. Davis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox