Message ID | 1432197156-16947-4-git-send-email-fu.wei@linaro.org |
---|---|
State | New |
Headers | show |
Hi Arnd, yes, you are right , will delete it :-) On 21 May 2015 at 16:45, Arnd Bergmann <arnd@arndb.de> wrote: > On Thursday 21 May 2015 16:32:32 fu.wei@linaro.org wrote: >> + watchdog0: watchdog@2a450000 { >> + compatible = "arm,sbsa-gwdt"; >> + reg = <0x0 0x2a450000 0 0x10000>, >> + <0x0 0x2a440000 0 0x10000>; >> + reg-names = "refresh", >> + "control"; >> + interrupts = <0 27 4>; >> + interrupt-names = "ws0"; >> + timeout-sec = <10 5>; >> + }; >> }; >> > > just one tiny comment: you can drop the 'watchdog0:' label here, there > is normally no reason to assign a label to a watchdog device, especially > if it's in a .dts file rather than a .dtsi. > > The same is true for the example in the binding documentation. > > Arnd
diff --git a/arch/arm64/boot/dts/arm/foundation-v8.dts b/arch/arm64/boot/dts/arm/foundation-v8.dts index 4eac8dc..e3fae16 100644 --- a/arch/arm64/boot/dts/arm/foundation-v8.dts +++ b/arch/arm64/boot/dts/arm/foundation-v8.dts @@ -237,4 +237,14 @@ }; }; }; + watchdog0: watchdog@2a450000 { + compatible = "arm,sbsa-gwdt"; + reg = <0x0 0x2a450000 0 0x10000>, + <0x0 0x2a440000 0 0x10000>; + reg-names = "refresh", + "control"; + interrupts = <0 27 4>; + interrupt-names = "ws0"; + timeout-sec = <10 5>; + }; };