ARM: imx: m53menlo: Convert WDT support to DM
Enable DM Watchdog support on iMX53 M53Menlo. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Stefano Babic <sbabic@denx.de>
This commit is contained in:
parent
1b8c986b68
commit
9ac5dda519
3 changed files with 12 additions and 0 deletions
|
@ -11,6 +11,11 @@
|
|||
u-boot,dm-pre-reloc;
|
||||
};
|
||||
};
|
||||
|
||||
wdt-reboot {
|
||||
compatible = "wdt-reboot";
|
||||
wdt = <&wdog1>;
|
||||
};
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
|
|
|
@ -72,6 +72,8 @@ CONFIG_DM_REGULATOR=y
|
|||
CONFIG_DM_REGULATOR_FIXED=y
|
||||
CONFIG_DM_REGULATOR_GPIO=y
|
||||
CONFIG_RTC_M41T62=y
|
||||
CONFIG_SYSRESET=y
|
||||
CONFIG_SYSRESET_WATCHDOG=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_MX5=y
|
||||
|
|
|
@ -242,4 +242,9 @@
|
|||
"fi ; " \
|
||||
"fi\0"
|
||||
|
||||
#if defined(CONFIG_SPL_BUILD)
|
||||
#undef CONFIG_WATCHDOG
|
||||
#define CONFIG_HW_WATCHDOG
|
||||
#endif
|
||||
|
||||
#endif /* __M53MENLO_CONFIG_H__ */
|
||||
|
|
Loading…
Reference in a new issue