diff options
Diffstat (limited to 'arch/arm/boot/dts/omap5-uevm.dts')
-rw-r--r-- | arch/arm/boot/dts/omap5-uevm.dts | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts index 3b99ec25b748..1e1b05768cec 100644 --- a/arch/arm/boot/dts/omap5-uevm.dts +++ b/arch/arm/boot/dts/omap5-uevm.dts | |||
@@ -20,6 +20,10 @@ | |||
20 | reg = <0x80000000 0x7F000000>; /* 2032 MB */ | 20 | reg = <0x80000000 0x7F000000>; /* 2032 MB */ |
21 | }; | 21 | }; |
22 | 22 | ||
23 | aliases { | ||
24 | display0 = &hdmi0; | ||
25 | }; | ||
26 | |||
23 | vmmcsd_fixed: fixedregulator-mmcsd { | 27 | vmmcsd_fixed: fixedregulator-mmcsd { |
24 | compatible = "regulator-fixed"; | 28 | compatible = "regulator-fixed"; |
25 | regulator-name = "vmmcsd_fixed"; | 29 | regulator-name = "vmmcsd_fixed"; |
@@ -51,6 +55,51 @@ | |||
51 | default-state = "off"; | 55 | default-state = "off"; |
52 | }; | 56 | }; |
53 | }; | 57 | }; |
58 | |||
59 | tpd12s015: encoder@0 { | ||
60 | compatible = "ti,tpd12s015"; | ||
61 | |||
62 | pinctrl-names = "default"; | ||
63 | pinctrl-0 = <&tpd12s015_pins>; | ||
64 | |||
65 | gpios = <&gpio9 0 GPIO_ACTIVE_HIGH>, /* TCA6424A P01, CT CP HPD */ | ||
66 | <&gpio9 1 GPIO_ACTIVE_HIGH>, /* TCA6424A P00, LS OE */ | ||
67 | <&gpio7 1 GPIO_ACTIVE_HIGH>; /* GPIO 193, HPD */ | ||
68 | |||
69 | ports { | ||
70 | #address-cells = <1>; | ||
71 | #size-cells = <0>; | ||
72 | |||
73 | port@0 { | ||
74 | reg = <0>; | ||
75 | |||
76 | tpd12s015_in: endpoint@0 { | ||
77 | remote-endpoint = <&hdmi_out>; | ||
78 | }; | ||
79 | }; | ||
80 | |||
81 | port@1 { | ||
82 | reg = <1>; | ||
83 | |||
84 | tpd12s015_out: endpoint@0 { | ||
85 | remote-endpoint = <&hdmi_connector_in>; | ||
86 | }; | ||
87 | }; | ||
88 | }; | ||
89 | }; | ||
90 | |||
91 | hdmi0: connector@0 { | ||
92 | compatible = "hdmi-connector"; | ||
93 | label = "hdmi"; | ||
94 | |||
95 | type = "b"; | ||
96 | |||
97 | port { | ||
98 | hdmi_connector_in: endpoint { | ||
99 | remote-endpoint = <&tpd12s015_out>; | ||
100 | }; | ||
101 | }; | ||
102 | }; | ||
54 | }; | 103 | }; |
55 | 104 | ||
56 | &omap5_pmx_core { | 105 | &omap5_pmx_core { |
@@ -183,6 +232,19 @@ | |||
183 | >; | 232 | >; |
184 | }; | 233 | }; |
185 | 234 | ||
235 | dss_hdmi_pins: pinmux_dss_hdmi_pins { | ||
236 | pinctrl-single,pins = < | ||
237 | 0x0fc (PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec.hdmi_cec */ | ||
238 | 0x100 (PIN_INPUT | MUX_MODE0) /* hdmi_ddc_scl.hdmi_ddc_scl */ | ||
239 | 0x102 (PIN_INPUT | MUX_MODE0) /* hdmi_ddc_sda.hdmi_ddc_sda */ | ||
240 | >; | ||
241 | }; | ||
242 | |||
243 | tpd12s015_pins: pinmux_tpd12s015_pins { | ||
244 | pinctrl-single,pins = < | ||
245 | 0x0fe (PIN_INPUT_PULLDOWN | MUX_MODE6) /* hdmi_hpd.gpio7_193 */ | ||
246 | >; | ||
247 | }; | ||
186 | }; | 248 | }; |
187 | 249 | ||
188 | &omap5_pmx_wkup { | 250 | &omap5_pmx_wkup { |
@@ -434,6 +496,13 @@ | |||
434 | pinctrl-0 = <&i2c5_pins>; | 496 | pinctrl-0 = <&i2c5_pins>; |
435 | 497 | ||
436 | clock-frequency = <400000>; | 498 | clock-frequency = <400000>; |
499 | |||
500 | gpio9: gpio@22 { | ||
501 | compatible = "ti,tca6424"; | ||
502 | reg = <0x22>; | ||
503 | gpio-controller; | ||
504 | #gpio-cells = <2>; | ||
505 | }; | ||
437 | }; | 506 | }; |
438 | 507 | ||
439 | &mcbsp3 { | 508 | &mcbsp3 { |
@@ -491,3 +560,21 @@ | |||
491 | &cpu0 { | 560 | &cpu0 { |
492 | cpu0-supply = <&smps123_reg>; | 561 | cpu0-supply = <&smps123_reg>; |
493 | }; | 562 | }; |
563 | |||
564 | &dss { | ||
565 | status = "ok"; | ||
566 | }; | ||
567 | |||
568 | &hdmi { | ||
569 | status = "ok"; | ||
570 | vdda-supply = <&ldo4_reg>; | ||
571 | |||
572 | pinctrl-names = "default"; | ||
573 | pinctrl-0 = <&dss_hdmi_pins>; | ||
574 | |||
575 | port { | ||
576 | hdmi_out: endpoint { | ||
577 | remote-endpoint = <&tpd12s015_in>; | ||
578 | }; | ||
579 | }; | ||
580 | }; | ||