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