aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorlbzhung <gewalalb@gmail.com>2018-06-08 17:15:17 +0800
committerMathias Kresin <dev@kresin.me>2018-06-16 10:08:51 +0200
commit291e34edff9a88df7e640f0a7d0084f39cbff9d8 (patch)
tree9ba07b23c0cda27c5982464fce21c6bb0c9ba8f4 /target/linux/ramips
parent5da2c68d001ee44b15a58639ed03a0ebb6f68020 (diff)
downloadupstream-291e34edff9a88df7e640f0a7d0084f39cbff9d8.tar.gz
upstream-291e34edff9a88df7e640f0a7d0084f39cbff9d8.tar.bz2
upstream-291e34edff9a88df7e640f0a7d0084f39cbff9d8.zip
ramips: fix mt7688 watchdog register base addr
I found mt7688 watchdog not working. The watchdog registers are identical for mt7621 and mt7628/mt7688. The first watchdog related register is at 0x10000100, the last one - a 16bit sized - at 0x10000128. Set the correct register address and size in the dtsi file to get the watchdog working. Signed-off-by: lbzhung <gewalalb@gmail.com> [add commit message] Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/mt7628an.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi
index df2ed37c9a..0afd9e3234 100644
--- a/target/linux/ramips/dts/mt7628an.dtsi
+++ b/target/linux/ramips/dts/mt7628an.dtsi
@@ -37,9 +37,9 @@
reg = <0x0 0x100>;
};
- watchdog: watchdog@120 {
+ watchdog: watchdog@100 {
compatible = "ralink,mt7628an-wdt", "mediatek,mt7621-wdt";
- reg = <0x120 0x10>;
+ reg = <0x100 0x30>;
resets = <&rstctrl 8>;
reset-names = "wdt";