diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-20 03:43:51 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-03-19 05:11:38 -0400 |
commit | 9955a9e5bd5d7a78fc261e2b466549be5ee845c1 (patch) | |
tree | d4742e87e5ac1c72a1d1bab690c871a6e379163a /arch/arm/boot/dts | |
parent | 8cecf52befd73c7488fe3ced2f1a1eb5e5bffe2e (diff) |
ARM: omap3-beagle-xm.dts: add display information
Add DT data for OMAP3 Beagle-xM 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-xm.dts | 138 |
1 files changed, 129 insertions, 9 deletions
diff --git a/arch/arm/boot/dts/omap3-beagle-xm.dts b/arch/arm/boot/dts/omap3-beagle-xm.dts index cba357023878..cf0be662297e 100644 --- a/arch/arm/boot/dts/omap3-beagle-xm.dts +++ b/arch/arm/boot/dts/omap3-beagle-xm.dts | |||
@@ -24,6 +24,11 @@ | |||
24 | reg = <0x80000000 0x20000000>; /* 512 MB */ | 24 | reg = <0x80000000 0x20000000>; /* 512 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 | 34 | ||
@@ -86,6 +91,60 @@ | |||
86 | reset-gpios = <&gpio5 19 GPIO_ACTIVE_LOW>; /* gpio_147 */ | 91 | reset-gpios = <&gpio5 19 GPIO_ACTIVE_LOW>; /* gpio_147 */ |
87 | vcc-supply = <&hsusb2_power>; | 92 | vcc-supply = <&hsusb2_power>; |
88 | }; | 93 | }; |
94 | |||
95 | tfp410: encoder@0 { | ||
96 | compatible = "ti,tfp410"; | ||
97 | powerdown-gpios = <&twl_gpio 2 GPIO_ACTIVE_LOW>; | ||
98 | |||
99 | /* XXX pinctrl from twl */ | ||
100 | |||
101 | ports { | ||
102 | #address-cells = <1>; | ||
103 | #size-cells = <0>; | ||
104 | |||
105 | port@0 { | ||
106 | reg = <0>; | ||
107 | |||
108 | tfp410_in: endpoint@0 { | ||
109 | remote-endpoint = <&dpi_out>; | ||
110 | }; | ||
111 | }; | ||
112 | |||
113 | port@1 { | ||
114 | reg = <1>; | ||
115 | |||
116 | tfp410_out: endpoint@0 { | ||
117 | remote-endpoint = <&dvi_connector_in>; | ||
118 | }; | ||
119 | }; | ||
120 | }; | ||
121 | }; | ||
122 | |||
123 | dvi0: connector@0 { | ||
124 | compatible = "dvi-connector"; | ||
125 | label = "dvi"; | ||
126 | |||
127 | digital; | ||
128 | |||
129 | ddc-i2c-bus = <&i2c3>; | ||
130 | |||
131 | port { | ||
132 | dvi_connector_in: endpoint { | ||
133 | remote-endpoint = <&tfp410_out>; | ||
134 | }; | ||
135 | }; | ||
136 | }; | ||
137 | |||
138 | tv0: connector@1 { | ||
139 | compatible = "svideo-connector"; | ||
140 | label = "tv"; | ||
141 | |||
142 | port { | ||
143 | tv_connector_in: endpoint { | ||
144 | remote-endpoint = <&venc_out>; | ||
145 | }; | ||
146 | }; | ||
147 | }; | ||
89 | }; | 148 | }; |
90 | 149 | ||
91 | &omap3_pmx_wkup { | 150 | &omap3_pmx_wkup { |
@@ -94,6 +153,17 @@ | |||
94 | 0x0e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE4) /* sys_boot2.gpio_4 */ | 153 | 0x0e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE4) /* sys_boot2.gpio_4 */ |
95 | >; | 154 | >; |
96 | }; | 155 | }; |
156 | |||
157 | dss_dpi_pins2: pinmux_dss_dpi_pins1 { | ||
158 | pinctrl-single,pins = < | ||
159 | 0x0a (PIN_OUTPUT | MUX_MODE3) /* sys_boot0.dss_data18 */ | ||
160 | 0x0c (PIN_OUTPUT | MUX_MODE3) /* sys_boot1.dss_data19 */ | ||
161 | 0x10 (PIN_OUTPUT | MUX_MODE3) /* sys_boot3.dss_data20 */ | ||
162 | 0x12 (PIN_OUTPUT | MUX_MODE3) /* sys_boot4.dss_data21 */ | ||
163 | 0x14 (PIN_OUTPUT | MUX_MODE3) /* sys_boot5.dss_data22 */ | ||
164 | 0x16 (PIN_OUTPUT | MUX_MODE3) /* sys_boot6.dss_data23 */ | ||
165 | >; | ||
166 | }; | ||
97 | }; | 167 | }; |
98 | 168 | ||
99 | &omap3_pmx_core { | 169 | &omap3_pmx_core { |
@@ -119,6 +189,35 @@ | |||
119 | OMAP3_CORE1_IOPAD(0x21de, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs1.hsusb2_data3 */ | 189 | OMAP3_CORE1_IOPAD(0x21de, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs1.hsusb2_data3 */ |
120 | >; | 190 | >; |
121 | }; | 191 | }; |
192 | |||
193 | dss_dpi_pins1: pinmux_dss_dpi_pins2 { | ||
194 | pinctrl-single,pins = < | ||
195 | OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */ | ||
196 | OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */ | ||
197 | OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */ | ||
198 | OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */ | ||
199 | |||
200 | OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */ | ||
201 | OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */ | ||
202 | OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */ | ||
203 | OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */ | ||
204 | OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */ | ||
205 | OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */ | ||
206 | OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */ | ||
207 | OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */ | ||
208 | OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */ | ||
209 | OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */ | ||
210 | OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */ | ||
211 | OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */ | ||
212 | |||
213 | OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE3) /* dss_data18.dss_data0 */ | ||
214 | OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT | MUX_MODE3) /* dss_data19.dss_data1 */ | ||
215 | OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE3) /* dss_data20.dss_data2 */ | ||
216 | OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT | MUX_MODE3) /* dss_data21.dss_data3 */ | ||
217 | OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE3) /* dss_data22.dss_data4 */ | ||
218 | OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE3) /* dss_data23.dss_data5 */ | ||
219 | >; | ||
220 | }; | ||
122 | }; | 221 | }; |
123 | 222 | ||
124 | &omap3_pmx_core2 { | 223 | &omap3_pmx_core2 { |
@@ -164,15 +263,6 @@ | |||
164 | 263 | ||
165 | &i2c3 { | 264 | &i2c3 { |
166 | clock-frequency = <100000>; | 265 | clock-frequency = <100000>; |
167 | |||
168 | /* | ||
169 | * Display monitor features are burnt in the EEPROM | ||
170 | * as EDID data. | ||
171 | */ | ||
172 | eeprom@50 { | ||
173 | compatible = "ti,eeprom"; | ||
174 | reg = <0x50>; | ||
175 | }; | ||
176 | }; | 266 | }; |
177 | 267 | ||
178 | &mmc1 { | 268 | &mmc1 { |
@@ -238,3 +328,33 @@ | |||
238 | &mcbsp2 { | 328 | &mcbsp2 { |
239 | status = "okay"; | 329 | status = "okay"; |
240 | }; | 330 | }; |
331 | |||
332 | &dss { | ||
333 | status = "ok"; | ||
334 | |||
335 | pinctrl-names = "default"; | ||
336 | pinctrl-0 = < | ||
337 | &dss_dpi_pins1 | ||
338 | &dss_dpi_pins2 | ||
339 | >; | ||
340 | |||
341 | port { | ||
342 | dpi_out: endpoint { | ||
343 | remote-endpoint = <&tfp410_in>; | ||
344 | data-lines = <24>; | ||
345 | }; | ||
346 | }; | ||
347 | }; | ||
348 | |||
349 | &venc { | ||
350 | status = "ok"; | ||
351 | |||
352 | vdda-supply = <&vdac>; | ||
353 | |||
354 | port { | ||
355 | venc_out: endpoint { | ||
356 | remote-endpoint = <&tv_connector_in>; | ||
357 | ti,channels = <2>; | ||
358 | }; | ||
359 | }; | ||
360 | }; | ||