summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap5-cm-t54.dts
diff options
context:
space:
mode:
authorDmitry Lifshitz <lifshitz@compulab.co.il>2014-09-17 15:10:06 +0300
committerTony Lindgren <tony@atomide.com>2014-09-18 09:07:52 -0700
commitac84d6cc182971079df846c7814fbc5fd7b7e0f8 (patch)
tree48186f3e50bfc27e6302f9d721b1f46f30355188 /arch/arm/boot/dts/omap5-cm-t54.dts
parent6097b5a5341614e36153d90189ac3ad75f19ce09 (diff)
downloadblackbird-op-linux-ac84d6cc182971079df846c7814fbc5fd7b7e0f8.tar.gz
blackbird-op-linux-ac84d6cc182971079df846c7814fbc5fd7b7e0f8.zip
ARM: dts: cm-t54: add Startek LCD support
Add DT support for Startek KD050C LCD 800x480 panel. Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap5-cm-t54.dts')
-rw-r--r--arch/arm/boot/dts/omap5-cm-t54.dts44
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap5-cm-t54.dts b/arch/arm/boot/dts/omap5-cm-t54.dts
index a3faca98a8e7..7323b7078cdd 100644
--- a/arch/arm/boot/dts/omap5-cm-t54.dts
+++ b/arch/arm/boot/dts/omap5-cm-t54.dts
@@ -19,6 +19,7 @@
aliases {
display0 = &hdmi0;
display1 = &dvi0;
+ display2 = &lcd0;
};
vmmcsd_fixed: fixed-regulator-mmcsd {
@@ -72,6 +73,38 @@
};
};
+ lcd0: display {
+ compatible = "startek,startek-kd050c", "panel-dpi";
+ label = "lcd";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&lcd_pins>;
+
+ enable-gpios = <&gpio8 3 GPIO_ACTIVE_HIGH>;
+
+ panel-timing {
+ clock-frequency = <33000000>;
+ hactive = <800>;
+ vactive = <480>;
+ hfront-porch = <40>;
+ hback-porch = <40>;
+ hsync-len = <43>;
+ vback-porch = <29>;
+ vfront-porch = <13>;
+ vsync-len = <3>;
+ hsync-active = <0>;
+ vsync-active = <0>;
+ de-active = <1>;
+ pixelclk-active = <1>;
+ };
+
+ port {
+ lcd_in: endpoint {
+ remote-endpoint = <&dpi_lcd_out>;
+ };
+ };
+ };
+
hdmi0: connector@0 {
compatible = "hdmi-connector";
label = "hdmi";
@@ -223,6 +256,12 @@
>;
};
+ lcd_pins: pinmux_lcd_pins {
+ pinctrl-single,pins = <
+ OMAP5_IOPAD(0x0172, PIN_OUTPUT_PULLDOWN | MUX_MODE6) /* timer11_pwm_evt.gpio8_227 */
+ >;
+ };
+
hdmi_conn_pins: pinmux_hdmi_conn_pins {
pinctrl-single,pins = <
OMAP5_IOPAD(0x013e, PIN_INPUT | MUX_MODE6) /* hdmi_hpd.gpio7_193 */
@@ -547,6 +586,11 @@
remote-endpoint = <&tfp410_in>;
data-lines = <24>;
};
+
+ dpi_lcd_out: endpoint@1 {
+ remote-endpoint = <&lcd_in>;
+ data-lines = <24>;
+ };
};
};
OpenPOWER on IntegriCloud