OSDN Git Service

arm64: dts: apple: t8103: Add watchdog node
authorSven Peter <sven@svenpeter.dev>
Sat, 11 Dec 2021 12:40:44 +0000 (13:40 +0100)
committerHector Martin <marcan@marcan.st>
Sun, 12 Dec 2021 01:34:39 +0000 (10:34 +0900)
Add the watchdog node which also enables reboot support on the t8103.

Signed-off-by: Sven Peter <sven@svenpeter.dev>
Signed-off-by: Hector Martin <marcan@marcan.st>
arch/arm64/boot/dts/apple/t8103.dtsi

index 8d1628e..8203c60 100644 (file)
                                     <AIC_IRQ 336 IRQ_TYPE_LEVEL_HIGH>;
                };
 
+               wdt: watchdog@23d2b0000 {
+                       compatible = "apple,t8103-wdt", "apple,wdt";
+                       reg = <0x2 0x3d2b0000 0x0 0x4000>;
+                       clocks = <&clk24>;
+                       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>;