Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
Joachim Eastwood | bdfd0ab | 2014-05-12 20:32:01 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2014 Joachim Eastwood <manabian@gmail.com> |
Joachim Eastwood | bdfd0ab | 2014-05-12 20:32:01 +0200 | [diff] [blame] | 4 | */ |
| 5 | /dts-v1/; |
| 6 | |
| 7 | #include "omap4-var-som-om44.dtsi" |
Joachim Eastwood | 0577387 | 2014-05-12 20:32:02 +0200 | [diff] [blame] | 8 | #include "omap4-var-som-om44-wlan.dtsi" |
Joachim Eastwood | bdfd0ab | 2014-05-12 20:32:01 +0200 | [diff] [blame] | 9 | #include "omap4-var-om44customboard.dtsi" |
| 10 | |
| 11 | / { |
| 12 | model = "Variscite VAR-DVK-OM44"; |
| 13 | compatible = "variscite,var-dvk-om44", "variscite,var-som-om44", "ti,omap4460", "ti,omap4"; |
| 14 | |
| 15 | aliases { |
| 16 | display0 = &lcd0; |
| 17 | display1 = &hdmi0; |
| 18 | }; |
| 19 | |
| 20 | lcd0: display { |
| 21 | compatible = "innolux,at070tn83", "panel-dpi"; |
| 22 | label = "lcd"; |
| 23 | panel-timing { |
| 24 | clock-frequency = <33333333>; |
| 25 | |
| 26 | hback-porch = <40>; |
| 27 | hactive = <800>; |
| 28 | hfront-porch = <40>; |
| 29 | hsync-len = <48>; |
| 30 | |
| 31 | vback-porch = <29>; |
| 32 | vactive = <480>; |
| 33 | vfront-porch = <13>; |
| 34 | vsync-len = <3>; |
| 35 | }; |
| 36 | |
| 37 | port { |
| 38 | lcd_in: endpoint { |
| 39 | remote-endpoint = <&dpi_out>; |
| 40 | }; |
| 41 | }; |
| 42 | }; |
| 43 | |
| 44 | backlight { |
| 45 | compatible = "gpio-backlight"; |
| 46 | pinctrl-names = "default"; |
| 47 | pinctrl-0 = <&backlight_pins>; |
| 48 | |
| 49 | gpios = <&gpio4 26 GPIO_ACTIVE_HIGH>; /* gpio 122 */ |
| 50 | }; |
| 51 | }; |
| 52 | |
| 53 | &dss { |
| 54 | pinctrl-names = "default"; |
| 55 | pinctrl-0 = <&dss_dpi_pins>; |
| 56 | |
| 57 | port { |
| 58 | dpi_out: endpoint { |
| 59 | remote-endpoint = <&lcd_in>; |
| 60 | data-lines = <24>; |
| 61 | }; |
| 62 | }; |
| 63 | }; |
| 64 | |
| 65 | &dsi2 { |
| 66 | status = "okay"; |
| 67 | vdd-supply = <&vcxio>; |
| 68 | }; |