m68k: dts: add watchdog node
authorAngelo Dureghello <angelo@kernel-space.org>
Sat, 24 Jun 2023 21:38:55 +0000 (23:38 +0200)
committerAngelo Dureghello <angelo@kernel-space.org>
Tue, 25 Jul 2023 21:21:42 +0000 (23:21 +0200)
Add watchdog node for the implemented mcf_wdt driver.

Signed-off-by: Angelo Dureghello <angelo@kernel-space.org>
---
Changes for v2:
- remove unnecessary big-endian property
Changes for v3:
- none

arch/m68k/dts/M5208EVBE.dts
arch/m68k/dts/mcf5208.dtsi
arch/m68k/dts/mcf523x.dtsi
arch/m68k/dts/mcf5271.dtsi
arch/m68k/dts/mcf5275.dtsi
arch/m68k/dts/mcf5282.dtsi
arch/m68k/dts/mcf5329.dtsi
arch/m68k/dts/mcf537x.dtsi

index 1c32718..ec203e8 100644 (file)
        };
 };
 
+&wdog0 {
+       timeout-sec = <32>;
+       status = "okay";
+};
+
 &uart0 {
        bootph-all;
        status = "okay";
index 9392fac..c61dbf3 100644 (file)
                #address-cells = <1>;
                #size-cells = <1>;
 
+               wdog0: watchdog@fc08c000 {
+                       compatible = "fsl,mcf5208-wdt";
+                       reg = <0xfc08c000 0x10>;
+                       status = "disabled";
+               };
+
                uart0: uart@fc060000 {
                        compatible = "fsl,mcf-uart";
                        reg = <0xfc060000 0x40>;
index 41c7b9b..cae7b4f 100644 (file)
                        ranges = <0x00000000 0x40000000 0x40000000>;
                        reg = <0x40000000 0x40000000>;
 
+                       wdog0: watchdog@140000 {
+                               compatible = "fsl,mcf5208-wdt";
+                               reg = <0x140000 0x10>;
+                               status = "disabled";
+                       };
+
                        uart0: uart@200 {
                                compatible = "fsl,mcf-uart";
                                reg = <0x200 0x40>;
index fc82bd3..5acf699 100644 (file)
                        ranges = <0x00000000 0x40000000 0x40000000>;
                        reg = <0x40000000 0x40000000>;
 
+                       wdog0: watchdog@140000 {
+                               compatible = "fsl,mcf5208-wdt";
+                               reg = <0x140000 0x10>;
+                               status = "disabled";
+                       };
+
                        uart0: uart@200 {
                                compatible = "fsl,mcf-uart";
                                reg = <0x200 0x40>;
index 402517c..3df17b4 100644 (file)
                        ranges = <0x00000000 0x40000000 0x40000000>;
                        reg = <0x40000000 0x40000000>;
 
+                       wdog0: watchdog@140000 {
+                               compatible = "fsl,mcf5208-wdt";
+                               reg = <0x140000 0x10>;
+                               status = "disabled";
+                       };
+
                        uart0: uart@200 {
                                compatible = "fsl,mcf-uart";
                                reg = <0x200 0x40>;
index 883c0d0..640c1a3 100644 (file)
                        ranges = <0x00000000 0x40000000 0x40000000>;
                        reg = <0x40000000 0x40000000>;
 
+                       wdog0: watchdog@140000 {
+                               compatible = "fsl,mcf5282-wdt";
+                               reg = <0x140000 0x10>;
+                               status = "disabled";
+                       };
+
                        uart0: uart@200 {
                                compatible = "fsl,mcf-uart";
                                reg = <0x200 0x40>;
index 7501cc4..991985e 100644 (file)
                #address-cells = <1>;
                #size-cells = <1>;
 
+               wdog0: watchdog@fc098000 {
+                       compatible = "fsl,mcf5208-wdt";
+                       reg = <0xfc08c000 0x10>;
+                       status = "disabled";
+               };
+
                uart0: uart@fc060000 {
                        compatible = "fsl,mcf-uart";
                        reg = <0xfc060000 0x40>;
index 338b8b4..4fa0f4b 100644 (file)
                #address-cells = <1>;
                #size-cells = <1>;
 
+               wdog0: watchdog@fc098000 {
+                       compatible = "fsl,mcf5208-wdt";
+                       reg = <0xfc08c000 0x10>;
+                       status = "disabled";
+               };
+
                uart0: uart@fc060000 {
                        compatible = "fsl,mcf-uart";
                        reg = <0xfc060000 0x40>;