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 | }; | ||||
Igor Opaniuk | 2ee7045 | 2020-07-15 13:31:00 +0300 | [diff] [blame] | 16 | }; |
17 | |||||
Igor Opaniuk | ddfe838 | 2019-10-16 13:39:36 +0300 | [diff] [blame] | 18 | &pinctrl_uart1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 19 | bootph-all; |
Igor Opaniuk | ddfe838 | 2019-10-16 13:39:36 +0300 | [diff] [blame] | 20 | }; |
21 | |||||
22 | &pinctrl_uart1_ctrl1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 23 | bootph-all; |
Igor Opaniuk | 2ee7045 | 2020-07-15 13:31:00 +0300 | [diff] [blame] | 24 | }; |
25 | |||||
26 | &lcdif { | ||||
27 | pinctrl-names = "default"; | ||||
28 | pinctrl-0 = <&pinctrl_lcdif_dat | ||||
29 | &pinctrl_lcdif_ctrl>; | ||||
30 | status = "okay"; | ||||
31 | display = <&display0>; | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 32 | bootph-all; |
Igor Opaniuk | 2ee7045 | 2020-07-15 13:31:00 +0300 | [diff] [blame] | 33 | |
34 | display0: display0 { | ||||
35 | bits-per-pixel = <18>; | ||||
36 | bus-width = <24>; | ||||
37 | status = "okay"; | ||||
38 | |||||
39 | display-timings { | ||||
40 | native-mode = <&timing_vga>; | ||||
41 | timing_vga: 640x480 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 42 | bootph-all; |
Igor Opaniuk | 2ee7045 | 2020-07-15 13:31:00 +0300 | [diff] [blame] | 43 | clock-frequency = <25175000>; |
44 | hactive = <640>; | ||||
45 | vactive = <480>; | ||||
46 | hback-porch = <40>; | ||||
47 | hfront-porch = <24>; | ||||
48 | vback-porch = <32>; | ||||
49 | vfront-porch = <11>; | ||||
50 | hsync-len = <96>; | ||||
51 | vsync-len = <2>; | ||||
52 | |||||
53 | de-active = <1>; | ||||
54 | hsync-active = <0>; | ||||
55 | vsync-active = <0>; | ||||
56 | pixelclk-active = <0>; | ||||
57 | }; | ||||
58 | }; | ||||
59 | }; | ||||
Igor Opaniuk | ddfe838 | 2019-10-16 13:39:36 +0300 | [diff] [blame] | 60 | }; |