]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mips: bmips: add wdt-reboot driver support for BCM63268
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 16 May 2017 16:29:16 +0000 (18:29 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 31 May 2017 12:49:55 +0000 (14:49 +0200)
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>
arch/mips/dts/brcm,bcm63268.dtsi

index a3b7e73aa1e4de5664e3c35a1d406bec26e84820..113a96bef81400934df0fc83dc26ea13e9e20f5e 100644 (file)
                        clocks = <&periph_osc>;
                };
 
+               wdt-reboot {
+                       compatible = "wdt-reboot";
+                       wdt = <&wdt>;
+               };
+
                gpio1: gpio-controller@100000c0 {
                        compatible = "brcm,bcm6345-gpio";
                        reg = <0x100000c0 0x4>, <0x100000c8 0x4>;