Fabio Estevam | ee84bfe | 2023-09-12 12:11:00 -0300 | [diff] [blame] | 1 | #include "imx7s-u-boot.dtsi" |
| 2 | |
Joris Offouga | 55cfce6 | 2019-08-30 14:39:49 +0200 | [diff] [blame] | 3 | /{ |
| 4 | aliases { |
| 5 | mmc0 = &usdhc3; |
| 6 | usb0 = &usbotg1; |
Joris Offouga | daf2be1 | 2019-08-30 14:44:36 +0200 | [diff] [blame] | 7 | display0 = &lcdif; |
Joris Offouga | 55cfce6 | 2019-08-30 14:39:49 +0200 | [diff] [blame] | 8 | }; |
| 9 | }; |
| 10 | |
| 11 | &usbotg1 { |
| 12 | dr_mode = "peripheral"; |
| 13 | }; |
| 14 | |
Joris Offouga | daf2be1 | 2019-08-30 14:44:36 +0200 | [diff] [blame] | 15 | &lcdif { |
| 16 | pinctrl-names = "default"; |
| 17 | pinctrl-0 = <&pinctrl_lcdif>; |
| 18 | status = "okay"; |
| 19 | display = <&display0>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 20 | bootph-all; |
Joris Offouga | daf2be1 | 2019-08-30 14:44:36 +0200 | [diff] [blame] | 21 | |
Joris Offouga | daf2be1 | 2019-08-30 14:44:36 +0200 | [diff] [blame] | 22 | display0: display { |
| 23 | bits-per-pixel = <16>; |
| 24 | bus-width = <24>; |
| 25 | |
| 26 | display-timings { |
| 27 | native-mode = <&timing0>; |
| 28 | timing0: timing0 { |
| 29 | clock-frequency = <33260000>; |
| 30 | hactive = <800>; |
| 31 | vactive = <480>; |
| 32 | hback-porch = <11>; |
| 33 | hfront-porch = <11>; |
| 34 | vback-porch = <12>; |
| 35 | vfront-porch = <11>; |
| 36 | hsync-len = <46>; |
| 37 | vsync-len = <210>; |
| 38 | hsync-active = <0>; |
| 39 | vsync-active = <0>; |
| 40 | de-active = <1>; |
| 41 | pixelclk-active = <1>; |
| 42 | interlaced = <0>; |
| 43 | }; |
| 44 | }; |
| 45 | }; |
| 46 | }; |
| 47 | |
| 48 | &iomuxc { |
| 49 | pinctrl_backlight: backlight { |
| 50 | fsl,pins = < |
| 51 | MX7D_PAD_GPIO1_IO11__PWM4_OUT 0x0 |
| 52 | >; |
| 53 | }; |
| 54 | |
| 55 | pinctrl_lcdif: lcdifgrp { |
| 56 | fsl,pins = < |
| 57 | MX7D_PAD_LCD_DATA00__LCD_DATA0 0x79 |
| 58 | MX7D_PAD_LCD_DATA01__LCD_DATA1 0x79 |
| 59 | MX7D_PAD_LCD_DATA02__LCD_DATA2 0x79 |
| 60 | MX7D_PAD_LCD_DATA03__LCD_DATA3 0x79 |
| 61 | MX7D_PAD_LCD_DATA04__LCD_DATA4 0x79 |
| 62 | MX7D_PAD_LCD_DATA05__LCD_DATA5 0x79 |
| 63 | MX7D_PAD_LCD_DATA06__LCD_DATA6 0x79 |
| 64 | MX7D_PAD_LCD_DATA07__LCD_DATA7 0x79 |
| 65 | MX7D_PAD_LCD_DATA08__LCD_DATA8 0x79 |
| 66 | MX7D_PAD_LCD_DATA09__LCD_DATA9 0x79 |
| 67 | MX7D_PAD_LCD_DATA10__LCD_DATA10 0x79 |
| 68 | MX7D_PAD_LCD_DATA11__LCD_DATA11 0x79 |
| 69 | MX7D_PAD_LCD_DATA12__LCD_DATA12 0x79 |
| 70 | MX7D_PAD_LCD_DATA13__LCD_DATA13 0x79 |
| 71 | MX7D_PAD_LCD_DATA14__LCD_DATA14 0x79 |
| 72 | MX7D_PAD_LCD_DATA15__LCD_DATA15 0x79 |
| 73 | MX7D_PAD_LCD_DATA16__LCD_DATA16 0x79 |
| 74 | MX7D_PAD_LCD_DATA17__LCD_DATA17 0x79 |
| 75 | MX7D_PAD_LCD_DATA18__LCD_DATA18 0x79 |
| 76 | MX7D_PAD_LCD_DATA19__LCD_DATA19 0x79 |
| 77 | MX7D_PAD_LCD_DATA20__LCD_DATA20 0x79 |
| 78 | MX7D_PAD_LCD_DATA21__LCD_DATA21 0x79 |
| 79 | MX7D_PAD_LCD_DATA22__LCD_DATA22 0x79 |
| 80 | MX7D_PAD_LCD_DATA23__LCD_DATA23 0x79 |
| 81 | MX7D_PAD_LCD_CLK__LCD_CLK 0x79 |
| 82 | MX7D_PAD_LCD_ENABLE__LCD_ENABLE 0x78 |
| 83 | MX7D_PAD_LCD_VSYNC__LCD_VSYNC 0x78 |
| 84 | MX7D_PAD_LCD_HSYNC__LCD_HSYNC 0x78 |
| 85 | MX7D_PAD_LCD_RESET__GPIO3_IO4 0x14 |
| 86 | >; |
| 87 | }; |
| 88 | |
| 89 | }; |