diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-03-22 04:48:36 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-03-19 05:11:27 -0400 |
commit | 8cecf52befd73c7488fe3ced2f1a1eb5e5bffe2e (patch) | |
tree | b9123cae0fbc91f5bb910bbf29c8407c60e7722a /arch/arm/boot/dts | |
parent | 7c572d5eb6f33b059d0b55c842fbb1221502669c (diff) |
ARM: omap3-beagle.dts: add display information
Add DT data for OMAP3 Beagle board. The board has the following displays:
dvi: uses TFP410 encoder to convert DPI to DVI
tv: analog svideo
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/omap3-beagle.dts | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle.dts index d01e9a76c5da..3c3e6da1deac 100644 --- a/arch/arm/boot/dts/omap3-beagle.dts +++ b/arch/arm/boot/dts/omap3-beagle.dts | |||
@@ -24,6 +24,11 @@ | |||
24 | reg = <0x80000000 0x10000000>; /* 256 MB */ | 24 | reg = <0x80000000 0x10000000>; /* 256 MB */ |
25 | }; | 25 | }; |
26 | 26 | ||
27 | aliases { | ||
28 | display0 = &dvi0; | ||
29 | display1 = &tv0; | ||
30 | }; | ||
31 | |||
27 | leds { | 32 | leds { |
28 | compatible = "gpio-leds"; | 33 | compatible = "gpio-leds"; |
29 | pmu_stat { | 34 | pmu_stat { |
@@ -80,6 +85,61 @@ | |||
80 | }; | 85 | }; |
81 | 86 | ||
82 | }; | 87 | }; |
88 | |||
89 | tfp410: encoder@0 { | ||
90 | compatible = "ti,tfp410"; | ||
91 | powerdown-gpios = <&gpio6 10 GPIO_ACTIVE_LOW>; /* gpio_170 */ | ||
92 | |||
93 | pinctrl-names = "default"; | ||
94 | pinctrl-0 = <&tfp410_pins>; | ||
95 | |||
96 | ports { | ||
97 | #address-cells = <1>; | ||
98 | #size-cells = <0>; | ||
99 | |||
100 | port@0 { | ||
101 | reg = <0>; | ||
102 | |||
103 | tfp410_in: endpoint@0 { | ||
104 | remote-endpoint = <&dpi_out>; | ||
105 | }; | ||
106 | }; | ||
107 | |||
108 | port@1 { | ||
109 | reg = <1>; | ||
110 | |||
111 | tfp410_out: endpoint@0 { | ||
112 | remote-endpoint = <&dvi_connector_in>; | ||
113 | }; | ||
114 | }; | ||
115 | }; | ||
116 | }; | ||
117 | |||
118 | dvi0: connector@0 { | ||
119 | compatible = "dvi-connector"; | ||
120 | label = "dvi"; | ||
121 | |||
122 | digital; | ||
123 | |||
124 | ddc-i2c-bus = <&i2c3>; | ||
125 | |||
126 | port { | ||
127 | dvi_connector_in: endpoint { | ||
128 | remote-endpoint = <&tfp410_out>; | ||
129 | }; | ||
130 | }; | ||
131 | }; | ||
132 | |||
133 | tv0: connector@1 { | ||
134 | compatible = "svideo-connector"; | ||
135 | label = "tv"; | ||
136 | |||
137 | port { | ||
138 | tv_connector_in: endpoint { | ||
139 | remote-endpoint = <&venc_out>; | ||
140 | }; | ||
141 | }; | ||
142 | }; | ||
83 | }; | 143 | }; |
84 | 144 | ||
85 | &omap3_pmx_wkup { | 145 | &omap3_pmx_wkup { |
@@ -113,6 +173,45 @@ | |||
113 | 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */ | 173 | 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */ |
114 | >; | 174 | >; |
115 | }; | 175 | }; |
176 | |||
177 | tfp410_pins: pinmux_tfp410_pins { | ||
178 | pinctrl-single,pins = < | ||
179 | 0x194 (PIN_OUTPUT | MUX_MODE4) /* hdq_sio.gpio_170 */ | ||
180 | >; | ||
181 | }; | ||
182 | |||
183 | dss_dpi_pins: pinmux_dss_dpi_pins { | ||
184 | pinctrl-single,pins = < | ||
185 | 0x0a4 (PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */ | ||
186 | 0x0a6 (PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */ | ||
187 | 0x0a8 (PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */ | ||
188 | 0x0aa (PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */ | ||
189 | 0x0ac (PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */ | ||
190 | 0x0ae (PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */ | ||
191 | 0x0b0 (PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */ | ||
192 | 0x0b2 (PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */ | ||
193 | 0x0b4 (PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */ | ||
194 | 0x0b6 (PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */ | ||
195 | 0x0b8 (PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */ | ||
196 | 0x0ba (PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */ | ||
197 | 0x0bc (PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */ | ||
198 | 0x0be (PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */ | ||
199 | 0x0c0 (PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */ | ||
200 | 0x0c2 (PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */ | ||
201 | 0x0c4 (PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */ | ||
202 | 0x0c6 (PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */ | ||
203 | 0x0c8 (PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */ | ||
204 | 0x0ca (PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */ | ||
205 | 0x0cc (PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */ | ||
206 | 0x0ce (PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */ | ||
207 | 0x0d0 (PIN_OUTPUT | MUX_MODE0) /* dss_data18.dss_data18 */ | ||
208 | 0x0d2 (PIN_OUTPUT | MUX_MODE0) /* dss_data19.dss_data19 */ | ||
209 | 0x0d4 (PIN_OUTPUT | MUX_MODE0) /* dss_data20.dss_data20 */ | ||
210 | 0x0d6 (PIN_OUTPUT | MUX_MODE0) /* dss_data21.dss_data21 */ | ||
211 | 0x0d8 (PIN_OUTPUT | MUX_MODE0) /* dss_data22.dss_data22 */ | ||
212 | 0x0da (PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */ | ||
213 | >; | ||
214 | }; | ||
116 | }; | 215 | }; |
117 | 216 | ||
118 | &omap3_pmx_core2 { | 217 | &omap3_pmx_core2 { |
@@ -152,6 +251,10 @@ | |||
152 | #include "twl4030.dtsi" | 251 | #include "twl4030.dtsi" |
153 | #include "twl4030_omap3.dtsi" | 252 | #include "twl4030_omap3.dtsi" |
154 | 253 | ||
254 | &i2c3 { | ||
255 | clock-frequency = <100000>; | ||
256 | }; | ||
257 | |||
155 | &mmc1 { | 258 | &mmc1 { |
156 | vmmc-supply = <&vmmc1>; | 259 | vmmc-supply = <&vmmc1>; |
157 | vmmc_aux-supply = <&vsim>; | 260 | vmmc_aux-supply = <&vsim>; |
@@ -215,3 +318,35 @@ | |||
215 | &mcbsp2 { | 318 | &mcbsp2 { |
216 | status = "okay"; | 319 | status = "okay"; |
217 | }; | 320 | }; |
321 | |||
322 | /* Needed to power the DPI pins */ | ||
323 | &vpll2 { | ||
324 | regulator-always-on; | ||
325 | }; | ||
326 | |||
327 | &dss { | ||
328 | status = "ok"; | ||
329 | |||
330 | pinctrl-names = "default"; | ||
331 | pinctrl-0 = <&dss_dpi_pins>; | ||
332 | |||
333 | port { | ||
334 | dpi_out: endpoint { | ||
335 | remote-endpoint = <&tfp410_in>; | ||
336 | data-lines = <24>; | ||
337 | }; | ||
338 | }; | ||
339 | }; | ||
340 | |||
341 | &venc { | ||
342 | status = "ok"; | ||
343 | |||
344 | vdda-supply = <&vdac>; | ||
345 | |||
346 | port { | ||
347 | venc_out: endpoint { | ||
348 | remote-endpoint = <&tv_connector_in>; | ||
349 | ti,channels = <2>; | ||
350 | }; | ||
351 | }; | ||
352 | }; | ||