[PATCH 5/7] ARM: kirkwood: Update watchdog 'reg' property

Ezequiel Garcia ezequiel.garcia at free-electrons.com
Thu Aug 22 10:41:56 EDT 2013


According to the new DT binding, the 'reg' property requires
three cells, which mean: timer control register, watchdog counter
register, and rstout register, respectively.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia at free-electrons.com>
---
 arch/arm/boot/dts/kirkwood.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/kirkwood.dtsi b/arch/arm/boot/dts/kirkwood.dtsi
index 9809fc1..5fba37b 100644
--- a/arch/arm/boot/dts/kirkwood.dtsi
+++ b/arch/arm/boot/dts/kirkwood.dtsi
@@ -105,7 +105,9 @@
 
 		wdt at 20300 {
 			compatible = "marvell,orion-wdt";
-			reg = <0x20300 0x28>;
+			reg = <0x20300 0x4>, /* Timer control */
+			      <0x20324 0x4>, /* Watchdog counter */
+			      <0x20108 0x4>; /* RSTOUT */
 			clocks = <&gate_clk 7>;
 			status = "okay";
 		};
-- 
1.8.1.5




More information about the linux-arm-kernel mailing list