ARM: dts: Add support for OMAP4 VAR-DVK-OM44
authorJoachim Eastwood <manabian@gmail.com>
Mon, 12 May 2014 18:32:01 +0000 (20:32 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 20 May 2014 00:20:30 +0000 (17:20 -0700)
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Documentation/devicetree/bindings/arm/omap/omap.txt
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/omap4-var-dvk-om44.dts [new file with mode: 0644]

index b2f1948a3fd174e1943c4688b100fb9574f8c7e4..189baba40cd64b83bce95140b53b7af82b1d2f65 100644 (file)
@@ -108,6 +108,9 @@ Boards:
 - OMAP4 VAR-STK-OM44 : Commercial dev kit with VAR-OM44CustomBoard and VAR-SOM-OM44 w/WLAN
   compatible = "variscite,var-stk-om44", "variscite,var-som-om44", "ti,omap4460", "ti,omap4";
 
+- OMAP4 VAR-DVK-OM44 : Commercial dev kit with VAR-OM44CustomBoard, VAR-SOM-OM44 w/WLAN and LCD touchscreen
+  compatible = "variscite,var-dvk-om44", "variscite,var-som-om44", "ti,omap4460", "ti,omap4";
+
 - OMAP3 EVM : Software Development Board for OMAP35x, AM/DM37x
   compatible = "ti,omap3-evm", "ti,omap3"
 
index 3715f902d1775e052cb97110b490610f04a478e4..a81a24c7c1844f253559e20f749d39be32e9bea5 100644 (file)
@@ -284,6 +284,7 @@ dtb-$(CONFIG_ARCH_OMAP4) += omap4-duovero-parlor.dtb \
        omap4-panda-es.dtb \
        omap4-sdp.dtb \
        omap4-sdp-es23plus.dtb \
+       omap4-var-dvk-om44.dtb \
        omap4-var-stk-om44.dtb
 dtb-$(CONFIG_SOC_AM43XX) += am43x-epos-evm.dtb \
        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 (file)
index 0000000..6138d7e
--- /dev/null
@@ -0,0 +1,70 @@
+/*
+ * Copyright (C) 2014 Joachim Eastwood <manabian@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+/dts-v1/;
+
+#include "omap4-var-som-om44.dtsi"
+#include "omap4-var-om44customboard.dtsi"
+
+/ {
+       model = "Variscite VAR-DVK-OM44";
+       compatible = "variscite,var-dvk-om44", "variscite,var-som-om44", "ti,omap4460", "ti,omap4";
+
+       aliases {
+               display0 = &lcd0;
+               display1 = &hdmi0;
+       };
+
+       lcd0: display {
+               compatible = "innolux,at070tn83", "panel-dpi";
+               label = "lcd";
+               panel-timing {
+                       clock-frequency = <33333333>;
+
+                       hback-porch = <40>;
+                       hactive = <800>;
+                       hfront-porch = <40>;
+                       hsync-len = <48>;
+
+                       vback-porch = <29>;
+                       vactive = <480>;
+                       vfront-porch = <13>;
+                       vsync-len = <3>;
+               };
+
+               port {
+                       lcd_in: endpoint {
+                               remote-endpoint = <&dpi_out>;
+                       };
+               };
+       };
+
+       backlight {
+               compatible = "gpio-backlight";
+               pinctrl-names = "default";
+               pinctrl-0 = <&backlight_pins>;
+
+               gpios = <&gpio4 26 GPIO_ACTIVE_HIGH>; /* gpio 122 */
+       };
+};
+
+&dss {
+       pinctrl-names = "default";
+       pinctrl-0 = <&dss_dpi_pins>;
+
+       port {
+               dpi_out: endpoint {
+                       remote-endpoint = <&lcd_in>;
+                       data-lines = <24>;
+               };
+       };
+};
+
+&dsi2 {
+       status = "okay";
+       vdd-supply = <&vcxio>;
+};