Marcel Ziswiler | 23b65be | 2022-07-21 15:27:35 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
Igor Opaniuk | 2213c89 | 2020-07-15 13:31:02 +0300 | [diff] [blame] | 2 | /* |
Marcel Ziswiler | 23b65be | 2022-07-21 15:27:35 +0200 | [diff] [blame] | 3 | * Copyright 2020-2022 Toradex |
Igor Opaniuk | 2213c89 | 2020-07-15 13:31:02 +0300 | [diff] [blame] | 4 | */ |
| 5 | |
Fabio Estevam | ee84bfe | 2023-09-12 12:11:00 -0300 | [diff] [blame] | 6 | #include "imx7s-u-boot.dtsi" |
| 7 | |
Emanuele Ghidoli | ff939c2 | 2024-02-23 10:11:40 +0100 | [diff] [blame] | 8 | / { |
| 9 | aliases { |
| 10 | /* SDHCI instance order: eMMC, SD/MMC */ |
| 11 | mmc0 = &usdhc3; |
| 12 | mmc1 = &usdhc1; |
| 13 | }; |
Emanuele Ghidoli | 26b5cba | 2024-02-23 10:11:41 +0100 | [diff] [blame^] | 14 | |
| 15 | sysinfo { |
| 16 | compatible = "toradex,sysinfo"; |
| 17 | }; |
Marcel Ziswiler | 23b65be | 2022-07-21 15:27:35 +0200 | [diff] [blame] | 18 | }; |
| 19 | |
Igor Opaniuk | 2213c89 | 2020-07-15 13:31:02 +0300 | [diff] [blame] | 20 | &lcdif { |
| 21 | status = "okay"; |
| 22 | pinctrl-names = "default"; |
| 23 | pinctrl-0 = <&pinctrl_lcdif_dat |
| 24 | &pinctrl_lcdif_ctrl>; |
| 25 | display = <&display0>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 26 | bootph-all; |
Igor Opaniuk | 2213c89 | 2020-07-15 13:31:02 +0300 | [diff] [blame] | 27 | |
| 28 | display0: display0 { |
| 29 | bits-per-pixel = <18>; |
| 30 | bus-width = <18>; |
| 31 | status = "okay"; |
| 32 | |
| 33 | display-timings { |
| 34 | native-mode = <&timing_vga>; |
| 35 | timing_vga: 640x480 { |
| 36 | clock-frequency = <25175000>; |
| 37 | hactive = <640>; |
| 38 | vactive = <480>; |
| 39 | hback-porch = <40>; |
| 40 | hfront-porch = <24>; |
| 41 | vback-porch = <32>; |
| 42 | vfront-porch = <11>; |
| 43 | hsync-len = <96>; |
| 44 | vsync-len = <2>; |
| 45 | |
| 46 | de-active = <1>; |
| 47 | hsync-active = <0>; |
| 48 | vsync-active = <0>; |
| 49 | pixelclk-active = <0>; |
| 50 | }; |
| 51 | }; |
| 52 | }; |
| 53 | }; |