[source] ramips: fix missing mediatek wdt

LEDE Commits lede-commits at lists.infradead.org
Fri Sep 22 01:29:07 PDT 2017


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/3fbf3ab44f5cebb22e30a4c8681b13341feed6a6

commit 3fbf3ab44f5cebb22e30a4c8681b13341feed6a6
Author: Kevin Darbyshire-Bryant <ldir at darbyshire-bryant.me.uk>
AuthorDate: Wed Sep 20 15:10:42 2017 +0100

    ramips: fix missing mediatek wdt
    
    mediatek MT7621 soc watchdog DTS id was renamed from "mtk,mt7621-wdt" to
    "mediatek,mt7621-wdt" when driver upstreamed to kernel 4.5
    
    Update mt7621.dtsi & mt7628an.dtsi definitions to match upstreamed
    kernel.
    
    Restores hardward watchdog functionality on mt7621 devices under linux
    4.9
    
    Tested on: MIR3G
    
    Signed-off-by: Kevin Darbyshire-Bryant <ldir at darbyshire-bryant.me.uk>
---
 target/linux/ramips/dts/mt7621.dtsi   | 2 +-
 target/linux/ramips/dts/mt7628an.dtsi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi
index 7662518..d68ddf3 100644
--- a/target/linux/ramips/dts/mt7621.dtsi
+++ b/target/linux/ramips/dts/mt7621.dtsi
@@ -58,7 +58,7 @@
 		};
 
 		wdt: wdt at 100 {
-			compatible = "mtk,mt7621-wdt";
+			compatible = "mediatek,mt7621-wdt";
 			reg = <0x100 0x100>;
 		};
 
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi
index b64a87a..3376b9f 100644
--- a/target/linux/ramips/dts/mt7628an.dtsi
+++ b/target/linux/ramips/dts/mt7628an.dtsi
@@ -38,7 +38,7 @@
 		};
 
 		watchdog: watchdog at 120 {
-			compatible = "ralink,mt7628an-wdt", "mtk,mt7621-wdt";
+			compatible = "ralink,mt7628an-wdt", "mediatek,mt7621-wdt";
 			reg = <0x120 0x10>;
 
 			resets = <&rstctrl 8>;



More information about the lede-commits mailing list