aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap5-uevm.dts
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2014-03-12 05:57:03 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-06-03 03:22:21 -0400
commit6ac732e49800e471074185b130aea6e6f6df797c (patch)
tree75b64e42f70bf5545dbddf4aa6e803fc24814e63 /arch/arm/boot/dts/omap5-uevm.dts
parent6f0ab9a1bd45d1d9794d9c013cf7160ba46a35c6 (diff)
ARM: dts: omap5-uevm.dts: add display nodes
omap5-uevm has a single HDMI output. Add the necessary display information, including pinmuxing. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap5-uevm.dts')
-rw-r--r--arch/arm/boot/dts/omap5-uevm.dts80
1 files changed, 80 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts
index 76877516f6df..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 {
@@ -498,3 +560,21 @@
498&cpu0 { 560&cpu0 {
499 cpu0-supply = <&smps123_reg>; 561 cpu0-supply = <&smps123_reg>;
500}; 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};