]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 1c32718af4002c4f720149a4db32f8aee95150b4..ec203e8b698a2ab2293d6212d1e694b7d5d1cd71 100644 (file)
        };
 };
 
+&wdog0 {
+       timeout-sec = <32>;
+       status = "okay";
+};
+
 &uart0 {
        bootph-all;
        status = "okay";
index 9392facfa88169ff8177f8e7c3341baed082a493..c61dbf3557019e8a134a246dd2752d5cc3626ab8 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 41c7b9b2d1b7624aba3c0fa4f95ea577955249a8..cae7b4f86166134ab760365c18025e5dd64bc197 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 fc82bd3c24d0c31214a14400fb61f9d859b80938..5acf6994af3652f479af90969f93c98441ef4a48 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 402517cdec15f67b89e1b89436ad767dd08cc2a9..3df17b445c4d2e82ef2a544779a35a2cdb441761 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 883c0d03247c46f3e7e9e816fc38c17ed201a249..640c1a32e41bc3bdf05f2963a6d8b9ce1d8134f0 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 7501cc4b018a5e79520c9d32c1280df44091e122..991985e48cf81fd6de2b745542cf7dfe98c2b59e 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 338b8b4583cb0e1131370db7e2bbe022b3d997b7..4fa0f4bc3dad524cc8d7b81a8b92528493faef74 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>;