diff options
| author | Florian Vaussard <florian.vaussard@epfl.ch> | 2014-05-21 05:15:06 -0400 |
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-06-03 03:22:23 -0400 |
| commit | 843feccefe9b755312d666f089ee6a2e83ca76de (patch) | |
| tree | b56eb9476d5543f57cdfb349dbee07d66f8d77a1 | |
| parent | 6f0c7a41c6bd22983f5b2327ea73bff370bd314c (diff) | |
ARM: dts: duovero-parlor: Add HDMI output
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>
| -rw-r--r-- | arch/arm/boot/dts/omap4-duovero-parlor.dts | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap4-duovero-parlor.dts b/arch/arm/boot/dts/omap4-duovero-parlor.dts index cd53a64d8f2e..6dc84d9f9b4c 100644 --- a/arch/arm/boot/dts/omap4-duovero-parlor.dts +++ b/arch/arm/boot/dts/omap4-duovero-parlor.dts | |||
| @@ -15,6 +15,10 @@ | |||
| 15 | model = "OMAP4430 Gumstix Duovero on Parlor"; | 15 | model = "OMAP4430 Gumstix Duovero on Parlor"; |
| 16 | compatible = "gumstix,omap4-duovero-parlor", "gumstix,omap4-duovero", "ti,omap4430", "ti,omap4"; | 16 | compatible = "gumstix,omap4-duovero-parlor", "gumstix,omap4-duovero", "ti,omap4430", "ti,omap4"; |
| 17 | 17 | ||
| 18 | aliases { | ||
| 19 | display0 = &hdmi0; | ||
| 20 | }; | ||
| 21 | |||
| 18 | leds { | 22 | leds { |
| 19 | compatible = "gpio-leds"; | 23 | compatible = "gpio-leds"; |
| 20 | led0 { | 24 | led0 { |
| @@ -35,6 +39,21 @@ | |||
| 35 | gpio-key,wakeup; | 39 | gpio-key,wakeup; |
| 36 | }; | 40 | }; |
| 37 | }; | 41 | }; |
| 42 | |||
| 43 | hdmi0: connector@0 { | ||
| 44 | compatible = "hdmi-connector"; | ||
| 45 | label = "hdmi"; | ||
| 46 | |||
| 47 | type = "d"; | ||
| 48 | |||
| 49 | hpd-gpios = <&gpio2 31 GPIO_ACTIVE_HIGH>; /* gpio_63 */ | ||
| 50 | |||
| 51 | port { | ||
| 52 | hdmi_connector_in: endpoint { | ||
| 53 | remote-endpoint = <&hdmi_out>; | ||
| 54 | }; | ||
| 55 | }; | ||
| 56 | }; | ||
| 38 | }; | 57 | }; |
| 39 | 58 | ||
| 40 | &omap4_pmx_core { | 59 | &omap4_pmx_core { |
| @@ -77,6 +96,15 @@ | |||
| 77 | OMAP4_IOPAD(0x070, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a24.gpio_48: amdix enabled */ | 96 | OMAP4_IOPAD(0x070, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a24.gpio_48: amdix enabled */ |
| 78 | >; | 97 | >; |
| 79 | }; | 98 | }; |
| 99 | |||
| 100 | dss_hdmi_pins: pinmux_dss_hdmi_pins { | ||
| 101 | pinctrl-single,pins = < | ||
| 102 | OMAP4_IOPAD(0x098, PIN_INPUT | MUX_MODE3) /* hdmi_hpd.gpio_63 */ | ||
| 103 | OMAP4_IOPAD(0x09a, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec.hdmi_cec */ | ||
| 104 | OMAP4_IOPAD(0x09c, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_ddc_scl.hdmi_ddc_scl */ | ||
| 105 | OMAP4_IOPAD(0x09e, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_ddc_sda.hdmi_ddc_sda */ | ||
| 106 | >; | ||
| 107 | }; | ||
| 80 | }; | 108 | }; |
| 81 | 109 | ||
| 82 | &i2c2 { | 110 | &i2c2 { |
| @@ -143,4 +171,20 @@ | |||
| 143 | }; | 171 | }; |
| 144 | }; | 172 | }; |
| 145 | 173 | ||
| 174 | &dss { | ||
| 175 | status = "ok"; | ||
| 176 | }; | ||
| 177 | |||
| 178 | &hdmi { | ||
| 179 | status = "ok"; | ||
| 180 | |||
| 181 | pinctrl-names = "default"; | ||
| 182 | pinctrl-0 = <&dss_hdmi_pins>; | ||
| 183 | |||
| 184 | port { | ||
| 185 | hdmi_out: endpoint { | ||
| 186 | remote-endpoint = <&hdmi_connector_in>; | ||
| 187 | }; | ||
| 188 | }; | ||
| 189 | }; | ||
| 146 | 190 | ||
