summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2017-05-16 16:29:14 (GMT)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2017-05-31 12:49:54 (GMT)
commit968185378b538df76f17f2095dfa1a3674eb0e63 (patch)
tree2ad3ffe483f478e8c39e3dc7822f75c16a90d530 /arch/mips
parent17a0c14164dc0bab8b09a910c567c74bb838eab5 (diff)
downloadu-boot-968185378b538df76f17f2095dfa1a3674eb0e63.tar.xz
mips: bmips: add wdt-reboot driver support for BCM6358
This driver allows rebooting the SoC by calling wdt_expire_now op. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/dts/brcm,bcm6358.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/dts/brcm,bcm6358.dtsi b/arch/mips/dts/brcm,bcm6358.dtsi
index 5d8399c..4f63cf8 100644
--- a/arch/mips/dts/brcm,bcm6358.dtsi
+++ b/arch/mips/dts/brcm,bcm6358.dtsi
@@ -93,6 +93,11 @@
clocks = <&periph_osc>;
};
+ wdt-reboot {
+ compatible = "wdt-reboot";
+ wdt = <&wdt>;
+ };
+
gpio1: gpio-controller@fffe0080 {
compatible = "brcm,bcm6345-gpio";
reg = <0xfffe0080 0x4>, <0xfffe0088 0x4>;