Skip to contentSkip to conversation

ARM: ux500: add SCU and WD to device tree

PATCH New Linus Walleij 2 participants 2 messages May 14, 2015 – May 15, 2015 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: ux500: add SCU and WD to device tree

The Ux500 like other Cortex-A9 SoC's has a Snoop Control Unit (SCU) and a Watchdog in the same address range as the local timers. Add these to the SoC device tree.

---
ARM SoC folks: if it looks OK, please apply this directly to the DT branch with other ux500 DT changes, this is needed for cleanups when we want to remap the SCU from the DT.

---
 arch/arm/boot/dts/ste-dbx5x0.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/boot/dts/ste-dbx5x0.dtsi +12 -0
index 5b876f263af4..f024a1c0de8b 100644
@@ -185,6 +185,11 @@
 			      <0xa0410100 0x100>;
 		};
 
+		scu at a04100000 {
+			compatible = "arm,cortex-a9-scu";
+			reg = <0xa0410000 0x100>;
+		};
+
 		L2: l2-cache {
 			compatible = "arm,pl310-cache";
 			reg = <0xa0412000 0x1000>;
@@ -245,6 +250,13 @@
 			clocks = <&smp_twd_clk>;
 		};
 
+		watchdog at a0410620 {
+			compatible = "arm,cortex-a9-twd-wdt";
+			reg = <0xa0410620 0x20>;
+			interrupts = <1 14 0x304>;
+			clocks = <&smp_twd_clk>;
+		};
+
 		rtc at 80154000 {
 			compatible = "arm,rtc-pl031", "arm,primecell";
 			reg = <0x80154000 0x1000>;
Signature · 1 line
1.9.3
#1 lore raw

PATCH 1/1 ARM: ux500: add SCU and WD to device tree

Quoted 9 lines · On Thursday 14 May 2015 11:22:34 Linus Walleij wrote:

The Ux500 like other Cortex-A9 SoC's has a Snoop Control Unit (SCU) and a Watchdog in the same address range as the local timers. Add these to the SoC device tree.

---
ARM SoC folks: if it looks OK, please apply this directly to the DT branch with other ux500 DT changes, this is needed for cleanups when we want to remap the SCU from the DT.

Applied to next/dt, thanks!

Arnd