diff options
author | Joachim Eastwood <manabian@gmail.com> | 2014-05-12 14:32:01 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-05-19 20:20:30 -0400 |
commit | bdfd0abdc67f17b71bd92ddff16449e8c16b2aa3 (patch) | |
tree | da0b923a46566e51217ef52193005d97e759d38a | |
parent | 39065401e2f77e15be1959c766a00e0a9e05a374 (diff) |
ARM: dts: Add support for OMAP4 VAR-DVK-OM44
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | Documentation/devicetree/bindings/arm/omap/omap.txt | 3 | ||||
-rw-r--r-- | arch/arm/boot/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap4-var-dvk-om44.dts | 70 |
3 files changed, 74 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/omap/omap.txt b/Documentation/devicetree/bindings/arm/omap/omap.txt index b2f1948a3fd1..189baba40cd6 100644 --- a/Documentation/devicetree/bindings/arm/omap/omap.txt +++ b/Documentation/devicetree/bindings/arm/omap/omap.txt | |||
@@ -108,6 +108,9 @@ Boards: | |||
108 | - OMAP4 VAR-STK-OM44 : Commercial dev kit with VAR-OM44CustomBoard and VAR-SOM-OM44 w/WLAN | 108 | - OMAP4 VAR-STK-OM44 : Commercial dev kit with VAR-OM44CustomBoard and VAR-SOM-OM44 w/WLAN |
109 | compatible = "variscite,var-stk-om44", "variscite,var-som-om44", "ti,omap4460", "ti,omap4"; | 109 | compatible = "variscite,var-stk-om44", "variscite,var-som-om44", "ti,omap4460", "ti,omap4"; |
110 | 110 | ||
111 | - OMAP4 VAR-DVK-OM44 : Commercial dev kit with VAR-OM44CustomBoard, VAR-SOM-OM44 w/WLAN and LCD touchscreen | ||
112 | compatible = "variscite,var-dvk-om44", "variscite,var-som-om44", "ti,omap4460", "ti,omap4"; | ||
113 | |||
111 | - OMAP3 EVM : Software Development Board for OMAP35x, AM/DM37x | 114 | - OMAP3 EVM : Software Development Board for OMAP35x, AM/DM37x |
112 | compatible = "ti,omap3-evm", "ti,omap3" | 115 | compatible = "ti,omap3-evm", "ti,omap3" |
113 | 116 | ||
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 3715f902d177..a81a24c7c184 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -284,6 +284,7 @@ dtb-$(CONFIG_ARCH_OMAP4) += omap4-duovero-parlor.dtb \ | |||
284 | omap4-panda-es.dtb \ | 284 | omap4-panda-es.dtb \ |
285 | omap4-sdp.dtb \ | 285 | omap4-sdp.dtb \ |
286 | omap4-sdp-es23plus.dtb \ | 286 | omap4-sdp-es23plus.dtb \ |
287 | omap4-var-dvk-om44.dtb \ | ||
287 | omap4-var-stk-om44.dtb | 288 | omap4-var-stk-om44.dtb |
288 | dtb-$(CONFIG_SOC_AM43XX) += am43x-epos-evm.dtb \ | 289 | dtb-$(CONFIG_SOC_AM43XX) += am43x-epos-evm.dtb \ |
289 | am437x-gp-evm.dtb | 290 | am437x-gp-evm.dtb |
diff --git a/arch/arm/boot/dts/omap4-var-dvk-om44.dts b/arch/arm/boot/dts/omap4-var-dvk-om44.dts new file mode 100644 index 000000000000..6138d7eb8efa --- /dev/null +++ b/arch/arm/boot/dts/omap4-var-dvk-om44.dts | |||
@@ -0,0 +1,70 @@ | |||
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" | ||
11 | #include "omap4-var-om44customboard.dtsi" | ||
12 | |||
13 | / { | ||
14 | model = "Variscite VAR-DVK-OM44"; | ||
15 | compatible = "variscite,var-dvk-om44", "variscite,var-som-om44", "ti,omap4460", "ti,omap4"; | ||
16 | |||
17 | aliases { | ||
18 | display0 = &lcd0; | ||
19 | display1 = &hdmi0; | ||
20 | }; | ||
21 | |||
22 | lcd0: display { | ||
23 | compatible = "innolux,at070tn83", "panel-dpi"; | ||
24 | label = "lcd"; | ||
25 | panel-timing { | ||
26 | clock-frequency = <33333333>; | ||
27 | |||
28 | hback-porch = <40>; | ||
29 | hactive = <800>; | ||
30 | hfront-porch = <40>; | ||
31 | hsync-len = <48>; | ||
32 | |||
33 | vback-porch = <29>; | ||
34 | vactive = <480>; | ||
35 | vfront-porch = <13>; | ||
36 | vsync-len = <3>; | ||
37 | }; | ||
38 | |||
39 | port { | ||
40 | lcd_in: endpoint { | ||
41 | remote-endpoint = <&dpi_out>; | ||
42 | }; | ||
43 | }; | ||
44 | }; | ||
45 | |||
46 | backlight { | ||
47 | compatible = "gpio-backlight"; | ||
48 | pinctrl-names = "default"; | ||
49 | pinctrl-0 = <&backlight_pins>; | ||
50 | |||
51 | gpios = <&gpio4 26 GPIO_ACTIVE_HIGH>; /* gpio 122 */ | ||
52 | }; | ||
53 | }; | ||
54 | |||
55 | &dss { | ||
56 | pinctrl-names = "default"; | ||
57 | pinctrl-0 = <&dss_dpi_pins>; | ||
58 | |||
59 | port { | ||
60 | dpi_out: endpoint { | ||
61 | remote-endpoint = <&lcd_in>; | ||
62 | data-lines = <24>; | ||
63 | }; | ||
64 | }; | ||
65 | }; | ||
66 | |||
67 | &dsi2 { | ||
68 | status = "okay"; | ||
69 | vdd-supply = <&vcxio>; | ||
70 | }; | ||