Marcel Ziswiler | 691f460 | 2022-07-21 15:27:31 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
Igor Opaniuk | 1ec7c00 | 2019-10-16 13:39:35 +0300 | [diff] [blame] | 2 | /* |
Marcel Ziswiler | 691f460 | 2022-07-21 15:27:31 +0200 | [diff] [blame] | 3 | * Copyright 2019-2022 Toradex |
Igor Opaniuk | 1ec7c00 | 2019-10-16 13:39:35 +0300 | [diff] [blame] | 4 | */ |
Igor Opaniuk | ddfe838 | 2019-10-16 13:39:36 +0300 | [diff] [blame] | 5 | |
Igor Opaniuk | 2ee7045 | 2020-07-15 13:31:00 +0300 | [diff] [blame] | 6 | / { |
7 | aliases { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 8 | bootph-all; |
Igor Opaniuk | 2ee7045 | 2020-07-15 13:31:00 +0300 | [diff] [blame] | 9 | usb0 = &usbotg1; /* required for ums */ |
10 | display0 = &lcdif; | ||||
11 | }; | ||||
Emanuele Ghidoli | 26b5cba | 2024-02-23 10:11:41 +0100 | [diff] [blame] | 12 | |
13 | sysinfo { | ||||
14 | compatible = "toradex,sysinfo"; | ||||
15 | }; | ||||
Parth Pancholi | ea826c5 | 2024-02-23 10:11:43 +0100 | [diff] [blame] | 16 | |
17 | wdt-reboot { | ||||
18 | compatible = "wdt-reboot"; | ||||
19 | wdt = <&wdog1>; | ||||
20 | bootph-pre-ram; | ||||
21 | }; | ||||
Igor Opaniuk | 2ee7045 | 2020-07-15 13:31:00 +0300 | [diff] [blame] | 22 | }; |
23 | |||||
Igor Opaniuk | ddfe838 | 2019-10-16 13:39:36 +0300 | [diff] [blame] | 24 | &pinctrl_uart1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 25 | bootph-all; |
Igor Opaniuk | ddfe838 | 2019-10-16 13:39:36 +0300 | [diff] [blame] | 26 | }; |
27 | |||||
28 | &pinctrl_uart1_ctrl1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 29 | bootph-all; |
Igor Opaniuk | 2ee7045 | 2020-07-15 13:31:00 +0300 | [diff] [blame] | 30 | }; |
31 | |||||
32 | &lcdif { | ||||
33 | pinctrl-names = "default"; | ||||
34 | pinctrl-0 = <&pinctrl_lcdif_dat | ||||
35 | &pinctrl_lcdif_ctrl>; | ||||
36 | status = "okay"; | ||||
37 | display = <&display0>; | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 38 | bootph-all; |
Igor Opaniuk | 2ee7045 | 2020-07-15 13:31:00 +0300 | [diff] [blame] | 39 | |
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 Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 48 | bootph-all; |
Igor Opaniuk | 2ee7045 | 2020-07-15 13:31:00 +0300 | [diff] [blame] | 49 | 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 Opaniuk | ddfe838 | 2019-10-16 13:39:36 +0300 | [diff] [blame] | 66 | }; |
Parth Pancholi | ea826c5 | 2024-02-23 10:11:43 +0100 | [diff] [blame] | 67 | |
68 | &wdog1 { | ||||
69 | bootph-pre-ram; | ||||
70 | }; |