From d7db53929e829a8d4973239cbd01fa98904854e0 Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Tue, 4 Jun 2013 13:07:10 +0200
Subject: [PATCH] ARM i.MX53: mba53: add Tevision Encoder
Enable tve on MBa53.
Signed-off-by: Philipp Zabel
Signed-off-by: Steffen Trumtrar
Signed-off-by: Shawn Guo
---
arch/arm/boot/dts/imx53-mba53.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm/boot/dts/imx53-mba53.dts b/arch/arm/boot/dts/imx53-mba53.dts
index 6fa9a09ce90f..2889baba54f2 100644
--- a/arch/arm/boot/dts/imx53-mba53.dts
+++ b/arch/arm/boot/dts/imx53-mba53.dts
@@ -106,6 +106,16 @@
>;
};
};
+
+ tve {
+ pinctrl_vga_sync_1: vgasync-grp1 {
+ fsl,pins = <
+ /* VGA_VSYNC, HSYNC with max drive strength */
+ MX53_PAD_EIM_CS1__IPU_DI1_PIN6 0xe6
+ MX53_PAD_EIM_DA15__IPU_DI1_PIN4 0xe6
+ >;
+ };
+ };
};
&cspi {
@@ -174,3 +184,13 @@
&i2c3 {
status = "okay";
};
+
+&tve {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_vga_sync_1>;
+ ddc = <&i2c3>;
+ fsl,tve-mode = "vga";
+ fsl,hsync-pin = <4>;
+ fsl,vsync-pin = <6>;
+ status = "okay";
+};
--
2.20.1