mips: bmips: add wdt-reboot driver support for BCM6358
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 16 May 2017 16:29:14 +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,bcm6358.dtsi

index 5d8399c84b8aecbd14819fb81a0d4569b1fd4b9b..4f63cf80e042b9a1bdbeaffed53921b988817e01 100644 (file)
                        clocks = <&periph_osc>;
                };
 
+               wdt-reboot {
+                       compatible = "wdt-reboot";
+                       wdt = <&wdt>;
+               };
+
                gpio1: gpio-controller@fffe0080 {
                        compatible = "brcm,bcm6345-gpio";
                        reg = <0xfffe0080 0x4>, <0xfffe0088 0x4>;