ARM: shmobile: r8a7790: tidyup SDHI register size on DTSI
[deliverable/linux.git] / arch / arm / boot / dts / omap3-beagle.dts
CommitLineData
5a8095e9
JH
1/*
2 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8/dts-v1/;
9
98ef7957 10#include "omap34xx.dtsi"
5a8095e9
JH
11
12/ {
13 model = "TI OMAP3 BeagleBoard";
14 compatible = "ti,omap3-beagle", "ti,omap3";
15
a134be34
NM
16 cpus {
17 cpu@0 {
18 cpu0-supply = <&vcc>;
19 };
20 };
21
5a8095e9
JH
22 memory {
23 device_type = "memory";
24 reg = <0x80000000 0x10000000>; /* 256 MB */
25 };
26
8cecf52b
TV
27 aliases {
28 display0 = &dvi0;
29 display1 = &tv0;
30 };
31
5a8095e9
JH
32 leds {
33 compatible = "gpio-leds";
34 pmu_stat {
35 label = "beagleboard::pmu_stat";
6d624eab 36 gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
5a8095e9
JH
37 };
38
39 heartbeat {
40 label = "beagleboard::usr0";
6d624eab 41 gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* 150 -> D6 LED */
5a8095e9
JH
42 linux,default-trigger = "heartbeat";
43 };
44
45 mmc {
46 label = "beagleboard::usr1";
6d624eab 47 gpios = <&gpio5 21 GPIO_ACTIVE_HIGH>; /* 149 -> D7 LED */
5a8095e9
JH
48 linux,default-trigger = "mmc0";
49 };
50 };
51
2e5f78ae
RQ
52 /* HS USB Port 2 Power */
53 hsusb2_power: hsusb2_power_reg {
54 compatible = "regulator-fixed";
55 regulator-name = "hsusb2_vbus";
56 regulator-min-microvolt = <3300000>;
57 regulator-max-microvolt = <3300000>;
58 gpio = <&twl_gpio 18 0>; /* GPIO LEDA */
59 startup-delay-us = <70000>;
60 };
61
62 /* HS USB Host PHY on PORT 2 */
63 hsusb2_phy: hsusb2_phy {
64 compatible = "usb-nop-xceiv";
633b940f 65 reset-gpios = <&gpio5 19 GPIO_ACTIVE_LOW>; /* gpio_147 */
2e5f78ae
RQ
66 vcc-supply = <&hsusb2_power>;
67 };
d641c3d5 68
33e9c392
JN
69 sound {
70 compatible = "ti,omap-twl4030";
71 ti,model = "omap3beagle";
72
73 ti,mcbsp = <&mcbsp2>;
74 ti,codec = <&twl_audio>;
75 };
76
d641c3d5
KH
77 gpio_keys {
78 compatible = "gpio-keys";
79
80 user {
81 label = "user";
82 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
83 linux,code = <0x114>;
84 gpio-key,wakeup;
85 };
86
87 };
8cecf52b
TV
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 };
9d316202
MP
143
144 etb@540000000 {
145 compatible = "arm,coresight-etb10", "arm,primecell";
146 reg = <0x5401b000 0x1000>;
147
148 coresight-default-sink;
149 clocks = <&emu_src_ck>;
150 clock-names = "apb_pclk";
151 port {
152 etb_in: endpoint {
153 slave-mode;
154 remote-endpoint = <&etm_out>;
155 };
156 };
157 };
158
159 etm@54010000 {
160 compatible = "arm,coresight-etm3x", "arm,primecell";
161 reg = <0x54010000 0x1000>;
162
163 clocks = <&emu_src_ck>;
164 clock-names = "apb_pclk";
165 port {
166 etm_out: endpoint {
167 remote-endpoint = <&etb_in>;
168 };
169 };
170 };
d641c3d5
KH
171};
172
173&omap3_pmx_wkup {
174 gpio1_pins: pinmux_gpio1_pins {
175 pinctrl-single,pins = <
176 0x14 (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE4) /* sys_boot5.gpio_7 */
177 >;
178 };
2e5f78ae
RQ
179};
180
181&omap3_pmx_core {
182 pinctrl-names = "default";
183 pinctrl-0 = <
3d495383 184 &hsusb2_pins
2e5f78ae
RQ
185 >;
186
3d495383 187 hsusb2_pins: pinmux_hsusb2_pins {
2e5f78ae 188 pinctrl-single,pins = <
3d495383
LP
189 OMAP3_CORE1_IOPAD(0x21d4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi1_cs3.hsusb2_data2 */
190 OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_clk.hsusb2_data7 */
191 OMAP3_CORE1_IOPAD(0x21d8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_simo.hsusb2_data4 */
192 OMAP3_CORE1_IOPAD(0x21da, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_somi.hsusb2_data5 */
193 OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs0.hsusb2_data6 */
194 OMAP3_CORE1_IOPAD(0x21de, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs1.hsusb2_data3 */
2e5f78ae
RQ
195 >;
196 };
b859c1ef
KH
197
198 uart3_pins: pinmux_uart3_pins {
199 pinctrl-single,pins = <
200 0x16e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
201 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */
202 >;
203 };
8cecf52b
TV
204
205 tfp410_pins: pinmux_tfp410_pins {
206 pinctrl-single,pins = <
207 0x194 (PIN_OUTPUT | MUX_MODE4) /* hdq_sio.gpio_170 */
208 >;
209 };
210
211 dss_dpi_pins: pinmux_dss_dpi_pins {
212 pinctrl-single,pins = <
213 0x0a4 (PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */
214 0x0a6 (PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */
215 0x0a8 (PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */
216 0x0aa (PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */
217 0x0ac (PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */
218 0x0ae (PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */
219 0x0b0 (PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */
220 0x0b2 (PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */
221 0x0b4 (PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */
222 0x0b6 (PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */
223 0x0b8 (PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */
224 0x0ba (PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */
225 0x0bc (PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */
226 0x0be (PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */
227 0x0c0 (PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */
228 0x0c2 (PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */
229 0x0c4 (PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */
230 0x0c6 (PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */
231 0x0c8 (PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */
232 0x0ca (PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */
233 0x0cc (PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */
234 0x0ce (PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */
235 0x0d0 (PIN_OUTPUT | MUX_MODE0) /* dss_data18.dss_data18 */
236 0x0d2 (PIN_OUTPUT | MUX_MODE0) /* dss_data19.dss_data19 */
237 0x0d4 (PIN_OUTPUT | MUX_MODE0) /* dss_data20.dss_data20 */
238 0x0d6 (PIN_OUTPUT | MUX_MODE0) /* dss_data21.dss_data21 */
239 0x0d8 (PIN_OUTPUT | MUX_MODE0) /* dss_data22.dss_data22 */
240 0x0da (PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */
241 >;
242 };
5a8095e9
JH
243};
244
3d495383
LP
245&omap3_pmx_core2 {
246 pinctrl-names = "default";
247 pinctrl-0 = <
248 &hsusb2_2_pins
249 >;
250
251 hsusb2_2_pins: pinmux_hsusb2_2_pins {
252 pinctrl-single,pins = <
253 OMAP3430_CORE2_IOPAD(0x25f0, PIN_OUTPUT | MUX_MODE3) /* etk_d10.hsusb2_clk */
254 OMAP3430_CORE2_IOPAD(0x25f2, PIN_OUTPUT | MUX_MODE3) /* etk_d11.hsusb2_stp */
255 OMAP3430_CORE2_IOPAD(0x25f4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d12.hsusb2_dir */
256 OMAP3430_CORE2_IOPAD(0x25f6, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d13.hsusb2_nxt */
257 OMAP3430_CORE2_IOPAD(0x25f8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d14.hsusb2_data0 */
258 OMAP3430_CORE2_IOPAD(0x25fa, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d15.hsusb2_data1 */
259 >;
260 };
261};
262
5a8095e9
JH
263&i2c1 {
264 clock-frequency = <2600000>;
265
266 twl: twl@48 {
267 reg = <0x48>;
268 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
269 interrupt-parent = <&intc>;
33e9c392
JN
270
271 twl_audio: audio {
272 compatible = "ti,twl4030-audio";
273 codec {
274 };
275 };
5a8095e9
JH
276 };
277};
278
98ef7957 279#include "twl4030.dtsi"
f9688457 280#include "twl4030_omap3.dtsi"
5a8095e9 281
8cecf52b
TV
282&i2c3 {
283 clock-frequency = <100000>;
284};
285
5a8095e9
JH
286&mmc1 {
287 vmmc-supply = <&vmmc1>;
288 vmmc_aux-supply = <&vsim>;
289 bus-width = <8>;
290};
291
292&mmc2 {
293 status = "disabled";
294};
295
296&mmc3 {
297 status = "disabled";
298};
2e5f78ae
RQ
299
300&usbhshost {
301 port2-mode = "ehci-phy";
302};
303
304&usbhsehci {
305 phys = <0 &hsusb2_phy>;
306};
307
308&twl_gpio {
309 ti,use-leds;
310 /* pullups: BIT(1) */
311 ti,pullups = <0x000002>;
312 /*
313 * pulldowns:
314 * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
315 * BIT(15), BIT(16), BIT(17)
316 */
317 ti,pulldowns = <0x03a1c4>;
318};
b859c1ef
KH
319
320&uart3 {
321 pinctrl-names = "default";
322 pinctrl-0 = <&uart3_pins>;
c15adae8 323 interrupts-extended = <&intc 74 &omap3_pmx_core OMAP3_UART3_RX>;
b859c1ef 324};
d641c3d5
KH
325
326&gpio1 {
327 pinctrl-names = "default";
328 pinctrl-0 = <&gpio1_pins>;
329};
81660208
RQ
330
331&usb_otg_hs {
332 interface-type = <0>;
333 usb-phy = <&usb2_phy>;
b462b05a
RQ
334 phys = <&usb2_phy>;
335 phy-names = "usb2-phy";
81660208
RQ
336 mode = <3>;
337 power = <50>;
338};
30023a7e
RQ
339
340&vaux2 {
341 regulator-name = "vdd_ehci";
342 regulator-min-microvolt = <1800000>;
343 regulator-max-microvolt = <1800000>;
344 regulator-always-on;
345};
726322ce
PU
346
347&mcbsp2 {
348 status = "okay";
349};
8cecf52b
TV
350
351/* Needed to power the DPI pins */
352&vpll2 {
353 regulator-always-on;
354};
355
356&dss {
357 status = "ok";
358
359 pinctrl-names = "default";
360 pinctrl-0 = <&dss_dpi_pins>;
361
362 port {
363 dpi_out: endpoint {
364 remote-endpoint = <&tfp410_in>;
365 data-lines = <24>;
366 };
367 };
368};
369
370&venc {
371 status = "ok";
372
373 vdda-supply = <&vdac>;
374
375 port {
376 venc_out: endpoint {
377 remote-endpoint = <&tv_connector_in>;
378 ti,channels = <2>;
379 };
380 };
381};
This page took 0.335183 seconds and 5 git commands to generate.