From: Álvaro Fernández Rojas Date: Tue, 16 May 2017 16:29:15 +0000 (+0200) Subject: mips: bmips: add wdt-reboot driver support for BCM6328 X-Git-Tag: v2017.07-rc1~185^2~18 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5b8a225edf8b89120fae25c549e2c39dcfb7d9d7;p=oweals%2Fu-boot.git mips: bmips: add wdt-reboot driver support for BCM6328 This driver allows rebooting the SoC by calling wdt_expire_now op. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass --- diff --git a/arch/mips/dts/brcm,bcm6328.dtsi b/arch/mips/dts/brcm,bcm6328.dtsi index 36dd8bc792..a996075743 100644 --- a/arch/mips/dts/brcm,bcm6328.dtsi +++ b/arch/mips/dts/brcm,bcm6328.dtsi @@ -84,6 +84,11 @@ clocks = <&periph_osc>; }; + wdt-reboot { + compatible = "wdt-reboot"; + wdt = <&wdt>; + }; + gpio: gpio-controller@10000084 { compatible = "brcm,bcm6345-gpio"; reg = <0x10000084 0x4>, <0x1000008c 0x4>;