From: Marek Vasut Date: Mon, 3 Apr 2023 22:39:37 +0000 (+0200) Subject: ARM: dts: imx: Add WDT reboot bindings on DH i.MX6 DHSOM X-Git-Tag: baikal/mips/sdk6.2~4^2~3^2~209^2~3 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=f8a504e818e52fd014b6df8debc9585182f9678d;p=uboot.git ARM: dts: imx: Add WDT reboot bindings on DH i.MX6 DHSOM Add WDT reboot bindings on DH i.MX6 DHSOM to permit the platform to reboot via WDT in U-Boot. These are custom U-Boot bindings, hence they are placed in -u-boot.dtsi . Reviewed-by: Fabio Estevam Signed-off-by: Marek Vasut --- diff --git a/arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi b/arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi index 190567ab7b..740a24d96e 100644 --- a/arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi +++ b/arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi @@ -8,6 +8,12 @@ aliases { eeprom0 = &eeprom0; }; + + wdt-reboot { + compatible = "wdt-reboot"; + wdt = <&wdog1>; + bootph-pre-ram; + }; }; &fec { @@ -25,3 +31,7 @@ gpio = <&gpio3 31 GPIO_ACTIVE_HIGH>; enable-active-high; }; + +&wdog1 { + bootph-pre-ram; +};