aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2020-10-14 23:47:31 +0200
committerLubomir Rintel <lkundrak@v3.sk>2020-11-17 20:23:38 +0100
commitf89d6b0706553550398ccf93c7d060968eaa8482 (patch)
treee5c657da4ba2f71a73f6c95061e2a028300f5edd
parentfa28aa138f4179b5093147abb8d800b44a740d3a (diff)
downloadlinux-lr/letux/dt-mipsbook400.tar.gz
[remove me] MIPS: DTS: ingenic/mipsbook_400: Add the wdt-reboot functionlr/letux/dt-mipsbook400
This is a kludge to make U-Boot use the WDT for system reset. Something more sensible, such as a property on the watchdog node should be used instead. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
-rw-r--r--arch/mips/boot/dts/ingenic/mipsbook_400.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/ingenic/mipsbook_400.dts b/arch/mips/boot/dts/ingenic/mipsbook_400.dts
index 6c7f6c85823132..c99c331ab6262d 100644
--- a/arch/mips/boot/dts/ingenic/mipsbook_400.dts
+++ b/arch/mips/boot/dts/ingenic/mipsbook_400.dts
@@ -15,6 +15,11 @@
stdout-path = "serial0:115200n8";
};
+ wdt-reboot {
+ compatible = "wdt-reboot";
+ wdt = <&watchdog>;
+ };
+
vcc: regulator@0 {
compatible = "regulator-fixed";
regulator-name = "vcc";