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