blob: 8494b1a2c6036ff44c6268e0b864da8bb0cbcb2b [file] [log] [blame]
Marcel Ziswiler691f4602022-07-21 15:27:31 +02001// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
Igor Opaniuk1ec7c002019-10-16 13:39:35 +03002/*
Marcel Ziswiler691f4602022-07-21 15:27:31 +02003 * Copyright 2019-2022 Toradex
Igor Opaniuk1ec7c002019-10-16 13:39:35 +03004 */
Igor Opaniukddfe8382019-10-16 13:39:36 +03005
Igor Opaniuk2ee70452020-07-15 13:31:00 +03006/ {
7 aliases {
Simon Glassd3a98cb2023-02-13 08:56:33 -07008 bootph-all;
Igor Opaniuk2ee70452020-07-15 13:31:00 +03009 usb0 = &usbotg1; /* required for ums */
10 display0 = &lcdif;
11 };
Emanuele Ghidoli26b5cba2024-02-23 10:11:41 +010012
13 sysinfo {
14 compatible = "toradex,sysinfo";
15 };
Parth Pancholiea826c52024-02-23 10:11:43 +010016
17 wdt-reboot {
18 compatible = "wdt-reboot";
19 wdt = <&wdog1>;
20 bootph-pre-ram;
21 };
Igor Opaniuk2ee70452020-07-15 13:31:00 +030022};
23
Igor Opaniukddfe8382019-10-16 13:39:36 +030024&pinctrl_uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070025 bootph-all;
Igor Opaniukddfe8382019-10-16 13:39:36 +030026};
27
28&pinctrl_uart1_ctrl1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070029 bootph-all;
Igor Opaniuk2ee70452020-07-15 13:31:00 +030030};
31
32&lcdif {
33 pinctrl-names = "default";
34 pinctrl-0 = <&pinctrl_lcdif_dat
35 &pinctrl_lcdif_ctrl>;
36 status = "okay";
37 display = <&display0>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070038 bootph-all;
Igor Opaniuk2ee70452020-07-15 13:31:00 +030039
40 display0: display0 {
41 bits-per-pixel = <18>;
42 bus-width = <24>;
43 status = "okay";
44
45 display-timings {
46 native-mode = <&timing_vga>;
47 timing_vga: 640x480 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070048 bootph-all;
Igor Opaniuk2ee70452020-07-15 13:31:00 +030049 clock-frequency = <25175000>;
50 hactive = <640>;
51 vactive = <480>;
52 hback-porch = <40>;
53 hfront-porch = <24>;
54 vback-porch = <32>;
55 vfront-porch = <11>;
56 hsync-len = <96>;
57 vsync-len = <2>;
58
59 de-active = <1>;
60 hsync-active = <0>;
61 vsync-active = <0>;
62 pixelclk-active = <0>;
63 };
64 };
65 };
Igor Opaniukddfe8382019-10-16 13:39:36 +030066};
Parth Pancholiea826c52024-02-23 10:11:43 +010067
68&wdog1 {
69 bootph-pre-ram;
70};