Bladeren bron

arm64: dts: foundation-v8: add SBSA Generic Watchdog device node

This can be a example of adding SBSA Generic Watchdog device node
into some dts files for the Soc which contains SBSA Generic Watchdog.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Fu Wei <fu.wei@linaro.org>
[edited subject and moved change to dtsi file]
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Fu Wei 9 jaren geleden
bovenliggende
commit
4739f74453
1 gewijzigde bestanden met toevoegingen van 8 en 0 verwijderingen
  1. 8 0
      arch/arm64/boot/dts/arm/foundation-v8.dtsi

+ 8 - 0
arch/arm64/boot/dts/arm/foundation-v8.dtsi

@@ -89,6 +89,14 @@
 			     <0 63 4>;
 	};
 
+	watchdog@2a440000 {
+		compatible = "arm,sbsa-gwdt";
+		reg = <0x0 0x2a440000 0 0x1000>,
+			<0x0 0x2a450000 0 0x1000>;
+		interrupts = <0 27 4>;
+		timeout-sec = <30>;
+	};
+
 	smb {
 		compatible = "arm,vexpress,v2m-p1", "simple-bus";
 		arm,v2m-memory-map = "rs1";