mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00

commit68dcbdd594
("ARM: imx: Add weak default reset_cpu()") introduced a regression that 'reset' command unable to reset imx6 and imx6ull based Toradex's modules in the u-boot. This change enables a watchdog-based sysreset driver for Toradex's colibri-imx6, colibri-imx6ull (with nand and emmc) and apalis-imx6 which solves the reset command regression on these modules. Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Fixes:68dcbdd594
("ARM: imx: Add weak default reset_cpu()") Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
70 lines
1.1 KiB
Text
70 lines
1.1 KiB
Text
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
/*
|
|
* Copyright 2019-2022 Toradex
|
|
*/
|
|
|
|
/ {
|
|
aliases {
|
|
bootph-all;
|
|
usb0 = &usbotg1; /* required for ums */
|
|
display0 = &lcdif;
|
|
};
|
|
|
|
sysinfo {
|
|
compatible = "toradex,sysinfo";
|
|
};
|
|
|
|
wdt-reboot {
|
|
compatible = "wdt-reboot";
|
|
wdt = <&wdog1>;
|
|
bootph-pre-ram;
|
|
};
|
|
};
|
|
|
|
&pinctrl_uart1 {
|
|
bootph-all;
|
|
};
|
|
|
|
&pinctrl_uart1_ctrl1 {
|
|
bootph-all;
|
|
};
|
|
|
|
&lcdif {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_lcdif_dat
|
|
&pinctrl_lcdif_ctrl>;
|
|
status = "okay";
|
|
display = <&display0>;
|
|
bootph-all;
|
|
|
|
display0: display0 {
|
|
bits-per-pixel = <18>;
|
|
bus-width = <24>;
|
|
status = "okay";
|
|
|
|
display-timings {
|
|
native-mode = <&timing_vga>;
|
|
timing_vga: 640x480 {
|
|
bootph-all;
|
|
clock-frequency = <25175000>;
|
|
hactive = <640>;
|
|
vactive = <480>;
|
|
hback-porch = <40>;
|
|
hfront-porch = <24>;
|
|
vback-porch = <32>;
|
|
vfront-porch = <11>;
|
|
hsync-len = <96>;
|
|
vsync-len = <2>;
|
|
|
|
de-active = <1>;
|
|
hsync-active = <0>;
|
|
vsync-active = <0>;
|
|
pixelclk-active = <0>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&wdog1 {
|
|
bootph-pre-ram;
|
|
};
|