ARM: dts: duovero-parlor: Add HDMI output
authorFlorian Vaussard <florian.vaussard@epfl.ch>
Wed, 21 May 2014 09:15:06 +0000 (11:15 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 3 Jun 2014 07:22:23 +0000 (10:22 +0300)
Add the necessary DTS nodes to enable the micro-HDMI output on Parlor
board.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap4-duovero-parlor.dts

index cd53a64..6dc84d9 100644 (file)
        model = "OMAP4430 Gumstix Duovero on Parlor";
        compatible = "gumstix,omap4-duovero-parlor", "gumstix,omap4-duovero", "ti,omap4430", "ti,omap4";
 
+       aliases {
+               display0 = &hdmi0;
+       };
+
        leds {
                compatible = "gpio-leds";
                led0 {
                        gpio-key,wakeup;
                };
        };
+
+       hdmi0: connector@0 {
+               compatible = "hdmi-connector";
+               label = "hdmi";
+
+               type = "d";
+
+               hpd-gpios = <&gpio2 31 GPIO_ACTIVE_HIGH>;       /* gpio_63 */
+
+               port {
+                       hdmi_connector_in: endpoint {
+                               remote-endpoint = <&hdmi_out>;
+                       };
+               };
+       };
 };
 
 &omap4_pmx_core {
                        OMAP4_IOPAD(0x070, PIN_INPUT_PULLUP | MUX_MODE3)        /* gpmc_a24.gpio_48: amdix enabled */
                >;
        };
+
+       dss_hdmi_pins: pinmux_dss_hdmi_pins {
+               pinctrl-single,pins = <
+                       OMAP4_IOPAD(0x098, PIN_INPUT | MUX_MODE3)               /* hdmi_hpd.gpio_63 */
+                       OMAP4_IOPAD(0x09a, PIN_INPUT_PULLUP | MUX_MODE0)        /* hdmi_cec.hdmi_cec */
+                       OMAP4_IOPAD(0x09c, PIN_INPUT_PULLUP | MUX_MODE0)        /* hdmi_ddc_scl.hdmi_ddc_scl */
+                       OMAP4_IOPAD(0x09e, PIN_INPUT_PULLUP | MUX_MODE0)        /* hdmi_ddc_sda.hdmi_ddc_sda */
+               >;
+       };
 };
 
 &i2c2 {
        };
 };
 
+&dss {
+       status = "ok";
+};
+
+&hdmi {
+       status = "ok";
+
+       pinctrl-names = "default";
+       pinctrl-0 = <&dss_hdmi_pins>;
+
+       port {
+               hdmi_out: endpoint {
+                       remote-endpoint = <&hdmi_connector_in>;
+               };
+       };
+};