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