summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/am57xx-sbc-am57x.dts
diff options
context:
space:
mode:
authorDmitry Lifshitz <lifshitz@compulab.co.il>2015-12-01 21:03:20 +0300
committerTony Lindgren <tony@atomide.com>2015-12-03 19:20:14 +0300
commit2e0788d1948828fac45af86985cec6cba9824e8e (patch)
tree213ae9fb5e7e39c5bf07211e4fad1407a0fe1f11 /arch/arm/boot/dts/am57xx-sbc-am57x.dts
parent2e567d1c50d99aa63d2b7dd4dc25cff95a64d0db (diff)
downloadlinux-2e0788d1948828fac45af86985cec6cba9824e8e.tar.xz
ARM: dts: am57xx: sbc-am57x: add HDMI support
Add HDMI video output support. Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il> Acked-by: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am57xx-sbc-am57x.dts')
-rw-r--r--arch/arm/boot/dts/am57xx-sbc-am57x.dts42
1 files changed, 42 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am57xx-sbc-am57x.dts b/arch/arm/boot/dts/am57xx-sbc-am57x.dts
index 8e4c0fdc2df6..77bb8e17401a 100644
--- a/arch/arm/boot/dts/am57xx-sbc-am57x.dts
+++ b/arch/arm/boot/dts/am57xx-sbc-am57x.dts
@@ -18,6 +18,7 @@
aliases {
display0 = &lcd0;
+ display1 = &hdmi;
};
};
@@ -60,6 +61,19 @@
DRA7XX_CORE_IOPAD(0x3564, PIN_OUTPUT | MUX_MODE14) /* vin2a_vsync0.gpio4_0 */
>;
};
+
+ hdmi_pins: pinmux_hdmi_pins {
+ pinctrl-single,pins = <
+ DRA7XX_CORE_IOPAD(0x3808, PIN_INPUT | MUX_MODE1) /* i2c2_sda.hdmi1_ddc_scl */
+ DRA7XX_CORE_IOPAD(0x380c, PIN_INPUT | MUX_MODE1) /* i2c2_scl.hdmi1_ddc_sda */
+ >;
+ };
+
+ hdmi_conn_pins: pinmux_hdmi_conn_pins {
+ pinctrl-single,pins = <
+ DRA7XX_CORE_IOPAD(0x37b8, PIN_INPUT | MUX_MODE14) /* spi1_cs2.gpio7_12 */
+ >;
+ };
};
&uart3 {
@@ -135,3 +149,31 @@
};
};
};
+
+&hdmi {
+ status = "ok";
+ vdda-supply = <&ldo4_reg>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&hdmi_pins>;
+
+ port {
+ hdmi_out: endpoint {
+ remote-endpoint = <&hdmi_connector_in>;
+ lanes = <1 0 3 2 5 4 7 6>;
+ };
+ };
+};
+
+&hdmi_conn {
+ pinctrl-names = "default";
+ pinctrl-0 = <&hdmi_conn_pins>;
+
+ hpd-gpios = <&gpio7 12 GPIO_ACTIVE_HIGH>;
+
+ port {
+ hdmi_connector_in: endpoint {
+ remote-endpoint = <&hdmi_out>;
+ };
+ };
+};