public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ARM: ux500: add SCU and WD to device tree
@ 2015-05-14  9:22 Linus Walleij
  2015-05-15 15:22 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2015-05-14  9:22 UTC (permalink / raw)
  To: linux-arm-kernel

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.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
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(+)

diff --git a/arch/arm/boot/dts/ste-dbx5x0.dtsi b/arch/arm/boot/dts/ste-dbx5x0.dtsi
index 5b876f263af4..f024a1c0de8b 100644
--- a/arch/arm/boot/dts/ste-dbx5x0.dtsi
+++ b/arch/arm/boot/dts/ste-dbx5x0.dtsi
@@ -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>;
-- 
1.9.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: ux500: add SCU and WD to device tree
  2015-05-14  9:22 [PATCH] ARM: ux500: add SCU and WD to device tree Linus Walleij
@ 2015-05-15 15:22 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2015-05-15 15:22 UTC (permalink / raw)
  To: linux-arm-kernel

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.
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-15 15:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-14  9:22 [PATCH] ARM: ux500: add SCU and WD to device tree Linus Walleij
2015-05-15 15:22 ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox