]> git.sur5r.net Git - u-boot/commitdiff
mips: bmips: add wdt-reboot driver support for BCM6328
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 16 May 2017 16:29:15 +0000 (18:29 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 31 May 2017 12:49:54 +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,bcm6328.dtsi

index 36dd8bc7925e9a40603413252ffa4f0fa73c22a4..a99607574357bfd68a7cd0b5a9a537441defd3e2 100644 (file)
                        clocks = <&periph_osc>;
                };
 
+               wdt-reboot {
+                       compatible = "wdt-reboot";
+                       wdt = <&wdt>;
+               };
+
                gpio: gpio-controller@10000084 {
                        compatible = "brcm,bcm6345-gpio";
                        reg = <0x10000084 0x4>, <0x1000008c 0x4>;