]> Git Repo - u-boot.git/commitdiff
arm: dts: apple: Add watchdog timer node
authorMark Kettenis <[email protected]>
Wed, 12 Jan 2022 18:55:16 +0000 (19:55 +0100)
committerStefan Roese <[email protected]>
Thu, 13 Jan 2022 05:55:46 +0000 (06:55 +0100)
Add a node for the watchdog timer based on the proposed Linux
device tree bindings.

Remove the old reboot node which was a watchdog timert node in
disguise using a preliminary device tree binding.

Signed-off-by: Sven Peter <[email protected]>
Signed-off-by: Mark Kettenis <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Tested-on: Apple M1 Macbook
Tested-by: Simon Glass <[email protected]>
arch/arm/dts/t8103.dtsi

index 7d9cb272f939f3a3082e80f83477152db8e2b26c..03d8436fece20bdfcc1c623390da1c80f3848b4b 100644 (file)
                                     <AIC_IRQ 336 IRQ_TYPE_LEVEL_HIGH>;
                };
 
+               wdt: watchdog@23d2b0000 {
+                       compatible = "apple,t8103-wdt", "apple,wdt";
+                       reg = <0x2 0x3d2b0000 0x0 0x4000>;
+                       clocks = <&clkref>;
+                       interrupt-parent = <&aic>;
+                       interrupts = <AIC_IRQ 338 IRQ_TYPE_LEVEL_HIGH>;
+               };
+
                pinctrl_smc: pinctrl@23e820000 {
                        compatible = "apple,t8103-pinctrl", "apple,pinctrl";
                        reg = <0x2 0x3e820000 0x0 0x4000>;
                        status = "disabled";
                };
 
-               reboot@23d2b0000 {
-                       compatible = "apple,reboot-v0";
-                       reg = <0x2 0x3d2b0000 0x0 0x4000>;
-               };
-
                spi@23510c000 {
                        compatible = "apple,t8103-spi", "apple,spi";
                        reg = <0x2 0x3510c000 0x0 0x4000>;
This page took 0.033449 seconds and 4 git commands to generate.