[PATCH V5 2/3] ARM: dts: add watchdog device nodes for Exynos5250 and Exynos5420
Adds watchdog device nodes to the DT device list for Exynos5250 and Exynos5420 Signed-off-by: Leela Krishna Amudala --- arch/arm/boot/dts/exynos5.dtsi|7 --- arch/arm/boot/dts/exynos5250.dtsi |7 ++- arch/arm/boot/dts/exynos5420.dtsi | 10 ++ 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/exynos5.dtsi b/arch/arm/boot/dts/exynos5.dtsi index ad6e47c9..e6ab5d9 100644 --- a/arch/arm/boot/dts/exynos5.dtsi +++ b/arch/arm/boot/dts/exynos5.dtsi @@ -81,13 +81,6 @@ status = "disabled"; }; - watchdog { - compatible = "samsung,s3c2410-wdt"; - reg = <0x101D 0x100>; - interrupts = <0 42 0>; - status = "disabled"; - }; - fimd@1440 { compatible = "samsung,exynos5250-fimd"; interrupt-parent = <&combiner>; diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index c4a8662..7e4867f 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -158,9 +158,14 @@ interrupts = <0 47 0>; }; - watchdog { + watchdog@101D { + compatible = "samsung,exynos5250-wdt"; + reg = <0x101D 0x100>; + interrupts = <0 42 0>; clocks = <&clock 336>; clock-names = "watchdog"; + samsung,syscon-phandle = <&pmu_syscon>; + status = "okay"; }; g2d@1085 { diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 6ffefd1..8585fe7 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -369,4 +369,14 @@ clock-names = "gscl"; samsung,power-domain = <&gsc_pd>; }; + +watchdog@101D { + compatible = "samsung,exynos5420-wdt"; + reg = <0x101D 0x100>; + interrupts = <0 42 0>; + clocks = <&clock 316>; + clock-names = "watchdog"; + samsung,syscon-phandle = <&pmu_syscon>; + status = "okay"; +}; }; -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH V5 2/3] ARM: dts: add watchdog device nodes for Exynos5250 and Exynos5420
Hi Leela, On Thursday 31 of October 2013 11:30:49 Leela Krishna Amudala wrote: > Adds watchdog device nodes to the DT device list for Exynos5250 and Exynos5420 > > Signed-off-by: Leela Krishna Amudala > --- > arch/arm/boot/dts/exynos5.dtsi|7 --- > arch/arm/boot/dts/exynos5250.dtsi |7 ++- > arch/arm/boot/dts/exynos5420.dtsi | 10 ++ > 3 files changed, 16 insertions(+), 8 deletions(-) [snip] > diff --git a/arch/arm/boot/dts/exynos5250.dtsi > b/arch/arm/boot/dts/exynos5250.dtsi > index c4a8662..7e4867f 100644 > --- a/arch/arm/boot/dts/exynos5250.dtsi > +++ b/arch/arm/boot/dts/exynos5250.dtsi > @@ -158,9 +158,14 @@ > interrupts = <0 47 0>; > }; > > - watchdog { > + watchdog@101D { > + compatible = "samsung,exynos5250-wdt"; > + reg = <0x101D 0x100>; > + interrupts = <0 42 0>; > clocks = <&clock 336>; > clock-names = "watchdog"; > + samsung,syscon-phandle = <&pmu_syscon>; > + status = "okay"; You can drop the status property here, as it's "okay" by default. > }; > > g2d@1085 { > diff --git a/arch/arm/boot/dts/exynos5420.dtsi > b/arch/arm/boot/dts/exynos5420.dtsi > index 6ffefd1..8585fe7 100644 > --- a/arch/arm/boot/dts/exynos5420.dtsi > +++ b/arch/arm/boot/dts/exynos5420.dtsi > @@ -369,4 +369,14 @@ > clock-names = "gscl"; > samsung,power-domain = <&gsc_pd>; > }; > + > +watchdog@101D { Is it just my mail client or there is an indentation issue here? > + compatible = "samsung,exynos5420-wdt"; > + reg = <0x101D 0x100>; > + interrupts = <0 42 0>; > + clocks = <&clock 316>; > + clock-names = "watchdog"; > + samsung,syscon-phandle = <&pmu_syscon>; > + status = "okay"; Status property can be dropped. > +}; Wrong indentation? Best regards, Tomasz -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html