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