[openwrt/openwrt] bmips: bcm6358: add watchdog

LEDE Commits lede-commits at lists.infradead.org
Tue Feb 23 06:58:40 EST 2021


noltari pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/fc2a4e56821dae5a4a5c79b4d6c8a881efa4b66b

commit fc2a4e56821dae5a4a5c79b4d6c8a881efa4b66b
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Tue Feb 23 12:57:28 2021 +0100

    bmips: bcm6358: add watchdog
    
    Watchdog node was missing in commit 029093a302.
    
    Fixes: 029093a302c9 ("bmips: add new target")
    Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
 target/linux/bmips/dts/bcm6358.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/target/linux/bmips/dts/bcm6358.dtsi b/target/linux/bmips/dts/bcm6358.dtsi
index 650459d339..83cfb0ad90 100644
--- a/target/linux/bmips/dts/bcm6358.dtsi
+++ b/target/linux/bmips/dts/bcm6358.dtsi
@@ -149,6 +149,15 @@
 			#reset-cells = <1>;
 		};
 
+		wdt: watchdog at fffe005c {
+			compatible = "brcm,bcm7038-wdt";
+			reg = <0xfffe005c 0xc>;
+
+			clocks = <&periph_osc>;
+
+			timeout-sec = <30>;
+		};
+
 		pinctrl: pin-controller at fffe0080 {
 			compatible = "brcm,bcm6358-pinctrl";
 			reg = <0xfffe0080 0x8>,



More information about the lede-commits mailing list