[OpenWrt-Devel] [PATCH] ath79: ar9330: add missing watchdog node

Petr Štetiar ynezz at true.cz
Wed Jul 17 09:19:54 EDT 2019


It was reported in FS#2385, that Carambola2 doesn't currently have
working watchdog so fix it by adding watchdog node.

Ref: FS#2385
Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 target/linux/ath79/dts/ar9330.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/target/linux/ath79/dts/ar9330.dtsi b/target/linux/ath79/dts/ar9330.dtsi
index 603b16581ce8..64c135405b97 100644
--- a/target/linux/ath79/dts/ar9330.dtsi
+++ b/target/linux/ath79/dts/ar9330.dtsi
@@ -86,6 +86,16 @@
 				#clock-cells = <1>;
 			};
 
+			wdt: wdt at 18060008 {
+				compatible = "qca,ar7130-wdt";
+				reg = <0x18060008 0x8>;
+
+				interrupts = <4>;
+
+				clocks = <&pll ATH79_CLK_AHB>;
+				clock-names = "wdt";
+			};
+
 			rst: reset-controller at 1806001c {
 				compatible = "qca,ar7100-reset";
 				reg = <0x1806001c 0x4>;
-- 
2.17.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list