]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/blob - arch/arm/boot/dts/omap5-uevm.dts
Merge branch 'omap5_audio_video-3.8.y' of git://gitorious.ti.com/~a0393947/ti-linux...
[android-sdk/kernel-video.git] / arch / arm / boot / dts / omap5-uevm.dts
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/;
10 /include/ "omap5.dtsi"
11 /include/ "samsung_k3pe0e000b.dtsi"
13 / {
14         model = "TI OMAP5 uEVM board";
15         compatible = "ti,omap5-uevm", "ti,omap5";
17         memory {
18                 device_type = "memory";
19                 reg = <0x80000000 0x7F000000>; /* 2032 MB */
20         };
22         vmmcsd_fixed: fixedregulator-mmcsd {
23                 compatible = "regulator-fixed";
24                 regulator-name = "vmmcsd_fixed";
25                 regulator-min-microvolt = <3000000>;
26                 regulator-max-microvolt = <3000000>;
27         };
29         /* HS USB Port 2 RESET */
30         hsusb2_reset: hsusb2_reset_reg {
31                 compatible = "regulator-fixed";
32                 regulator-name = "hsusb2_reset";
33                 regulator-min-microvolt = <3300000>;
34                 regulator-max-microvolt = <3300000>;
35                 gpio = <&gpio3 16 0>;   /* gpio3_80 HUB_NRESET */
36                 startup-delay-us = <70000>;
37                 enable-active-high;
38         };
40         /* HS USB Host PHY on PORT 2 */
41         hsusb2_phy: hsusb2_phy {
42                 compatible = "usb-nop-xceiv";
43                 reset-supply = <&hsusb2_reset>;
44         };
46         /* HS USB Port 3 RESET */
47         hsusb3_reset: hsusb3_reset_reg {
48                 compatible = "regulator-fixed";
49                 regulator-name = "hsusb3_reset";
50                 regulator-min-microvolt = <3300000>;
51                 regulator-max-microvolt = <3300000>;
52                 gpio = <&gpio3 15 0>;   /* gpio3_79 ETH_NRESET */
53                 startup-delay-us = <70000>;
54                 enable-active-high;
55         };
57         /* HS USB Host PHY on PORT 3 */
58         hsusb3_phy: hsusb3_phy {
59                 compatible = "usb-nop-xceiv";
60                 reset-supply = <&hsusb3_reset>;
61         };
63         /* hsusb2_phy is clocked by FREF_CLK1 i.e. auxclk1 */
64         clock_alias {
65                 clock-name = "auxclk1_ck";
66                 clock-alias = "main_clk";
67                 device = <&hsusb2_phy>;
68                 clock-frequency = <19200000>; /* 19.2 MHz */
69         };
71         sound {
72                 compatible = "ti,abe-twl6040";
73                 ti,model = "PandaBoard5";
75                 ti,jack-detection = <1>;
76                 ti,mclk-freq = <19200000>;
78                 ti,mcpdm = <&mcpdm>;
79                 ti,mcbsp1 = <&mcbsp1>;
80                 ti,mcbsp2 = <&mcbsp2>;
81                 ti,aess = <&aess>;
83                 ti,twl6040 = <&twl6040>;
85                 /* Audio routing */
86                 ti,audio-routing =
87                         "Headset Stereophone", "HSOL",
88                         "Headset Stereophone", "HSOR",
89                         "Line Out", "AUXL",
90                         "Line Out", "AUXR",
91                         "HSMIC", "Headset Mic",
92                         "Headset Mic", "Headset Mic Bias",
93                         "AFML", "Line In",
94                         "AFMR", "Line In",
95                         "Headset Playback", "PDM_DL1",
96                         "PDM_UL1", "Capture",
97                         "40122000.mcbsp Playback", "BT_VX_DL",
98                         "BT_VX_UL", "40122000.mcbsp Capture",
99                         "40124000.mcbsp Playback", "MM_EXT_DL",
100                         "MM_EXT_UL", "40124000.mcbsp Capture";
101         };
103         sound_hdmi {
104                 compatible = "ti,omap-hdmi-tpd12s015-audio";
105                 ti,model = "OMAP5HDMI";
107                 ti,hdmi_audio = <&hdmi>;
108                 ti,level_shifter = <&tpd12s015>;
109         };
110 };
112 &omap5_pmx_core {
113         pinctrl-names = "default";
114         pinctrl-0 = <
115                         &twl6040_pins
116                         &mcpdm_pins
117                         &dmic_pins
118                         &mcbsp1_pins
119                         &mcbsp2_pins
120                         &usbhost_pins
121                         &dss_hdmi_pins
122                         &tpd12s015_pins
123                         &tca6424a_pins
124         >;
126         twl6040_pins: pinmux_twl6040_pins {
127                 pinctrl-single,pins = <
128                         0x17e 0x6       /* mcspi1_somi.gpio5_141 OUTPUT | MODE6 */
129                         0x18a 0x6       /* perslimbus2_clock.gpio5_145 OUTPUT | MODE6 */
130                 >;
131         };
133         mcpdm_pins: pinmux_mcpdm_pins {
134                 pinctrl-single,pins = <
135                         0x142 0x108     /* abe_clks.abe_clks INPUT PULLDOWN | MODE0 */
136                         0x15c 0x108     /* abemcpdm_ul_data.abemcpdm_ul_data INPUT PULLDOWN | MODE0 */
137                         0x15e 0x108     /* abemcpdm_dl_data.abemcpdm_dl_data INPUT PULLDOWN | MODE0 */
138                         0x160 0x118     /* abemcpdm_frame.abemcpdm_frame INPUT PULLUP | MODE0 */
139                         0x162 0x108     /* abemcpdm_lb_clk.abemcpdm_lb_clk INPUT PULLDOWN | MODE0 */
140                 >;
141         };
143         dmic_pins: pinmux_dmic_pins {
144                 pinctrl-single,pins = <
145                         0x144 0x100     /* abedmic_din1.abedmic_din1 INPUT | MODE0 */
146                         0x146 0x100     /* abedmic_din2.abedmic_din2 INPUT | MODE0 */
147                         0x148 0x100     /* abedmic_din3.abedmic_din3 INPUT | MODE0 */
148                         0x14a 0         /* abedmic_clk1.abedmic_clk1 OUTPUT | MODE0 */
149                 >;
150         };
152         mcbsp1_pins: pinmux_mcbsp1_pins {
153                 pinctrl-single,pins = <
154                         0x14c 0x101     /* abedmic_clk2.abemcbsp1_fsx INPUT | MODE1 */
155                         0x14e 0x9       /* abedmic_clk3.abemcbsp1_dx OUTPUT PULLDOWN | MODE1 */
156                         0x150 0x101     /* abeslimbus1_clock.abemcbsp1_clkx INPUT | MODE0 */
157                         0x152 0x109     /* abeslimbus1_data.abemcbsp1_dr INPUT PULLDOWN | MODE1 */
158                 >;
159         };
161         mcbsp2_pins: pinmux_mcbsp2_pins {
162                 pinctrl-single,pins = <
163                         0x154 0x108     /* abemcbsp2_dr.abemcbsp2_dr INPUT PULLDOWN | MODE0 */
164                         0x156 0x8       /* abemcbsp2_dx.abemcbsp2_dx OUTPUT PULLDOWN | MODE0 */
165                         0x158 0x100     /* abemcbsp2_fsx.abemcbsp2_fsx INPUT | MODE0 */
166                         0x15a 0x100     /* abemcbsp2_clkx.abemcbsp2_clkx INPUT | MODE0 */
167                 >;
168         };
170         usbhost_pins: pinmux_usbhost_pins {
171                 pinctrl-single,pins = <
172                         0x84 0x100      /* usbb2_hsic_strobe INPUT | MODE 0 */
173                         0x86 0x100      /* usbb2_hsic_data INPUT | MODE 0 */
175                         0x19e 0x100     /* usbb3_hsic_strobe INPUT | MODE 0 */
176                         0x1a0 0x100     /* usbb3_hsic_data INPUT | MODE 0 */
178                         0x70 0x6        /* gpio3_80 OUTPUT | MODE 6 HUB_NRESET */
179                         0x6e 0x6        /* gpio3_79 OUTPUT | MODE 6 ETH_NRESET */
180                 >;
181         };
183         dss_hdmi_pins: pinmux_dss_hdmi_pins {
184                 pinctrl-single,pins = <
185                         0x0fc 0x118     /* hdmi_cec.hdmi_cec INPUT PULLUP | MODE 0 */
186                         0x100 0x100     /* hdmi_scl.hdmi_scl INPUT | MODE 0 */
187                         0x102 0x100     /* hdmi_sda.hdmi_sda INPUT | MODE 0 */
188                 >;
189         };
191         tpd12s015_pins: pinmux_tpd12s015_pins {
192                 pinctrl-single,pins = <
193                         0x0fe 0x116     /* hdmi_hpd.gpio7_193 INPUT PULLDOWN | MODE6 */
194                 >;
195         };
197         tca6424a_pins: pinmux_tca6424a_pins {
198                 pinctrl-single,pins = <
199                         0x186 0x100     /* i2c5_scl.i2c5_scl INPUT | MODE0 */
200                         0x188 0x100     /* i2c5_sda.i2c5_sda INPUT | MODE0 */
201                 >;
202         };
204         uart1_pins: pinmux_uart1_pins {
205                 pinctrl-single,pins = <
206                         0x60 0x0        /* uart1_tx.uart1_cts MODE0 */
207                         0x62 0x118      /* uart1_tx.uart1_cts INPUT | PULLUP | MODE0 */
208                         0x64 0x118      /* uart1_rx.uart1_rts INPUT | PULLUP | MODE0 */
209                         0x66 0          /* uart1_rx.uart1_rts MODE0 */
210                 >;
211         };
213         uart3_pins: pinmux_uart3_pins {
214                 pinctrl-single,pins = <
215                         0x19a 0x0       /* uart3_rts_irsd.uart3_tx_irtx MODE0 */
216                         0x19c 0x118     /* uart3_rx_irrx.uart3_usbb3_hsic INPUT | PULLUP | MODE0 */
217                 >;
218         };
220         uart5_pins: pinmux_uart5_pins {
221                 pinctrl-single,pins = <
222                         0x170 0x118     /* uart5_rx.uart5_rx INPUT | PULLUP | MODE0 */
223                         0x172 0x0       /* uart5_tx.uart5_tx MODE0 */
224                         0x174 0x118     /* uart5_cts.uart5_rts INPUT | PULLUP | MODE0 */
225                         0x176 0x0       /* uart5_cts.uart5_rts MODE0 */
226                 >;
227         };
228 };
230 &omap5_pmx_wkup {
231         pinctrl-names = "default";
232         pinctrl-0 = <
233                         &usbhost_wkup_pins
234         >;
236         usbhost_wkup_pins: pinmux_usbhost_wkup_pins {
237                 pinctrl-single,pins = <
238                         0x1A 0x0        /* fref_clk1_out OUTPUT | MODE 7 for USB hub clk */
239                 >;
240         };
242 };
244 &mmc1 {
245         vmmc-supply = <&vmmcsd_fixed>;
246         bus-width = <4>;
247 };
249 &mmc2 {
250         vmmc-supply = <&vmmcsd_fixed>;
251         bus-width = <8>;
252         ti,non-removable;
253 };
255 &mmc3 {
256         bus-width = <4>;
257         ti,non-removable;
258         status = "disabled";
259 };
261 &mmc4 {
262         status = "disabled";
263 };
265 &mmc5 {
266         status = "disabled";
267 };
269 &i2c5 {
270         tca6424a: tca6424a@22 {
271                 compatible = "ti,tca6424a";
272                 reg = <0x22>;
273                 gpio-controller;
274                 #gpio-cells = <2>;
275         };
276 };
278 &mcbsp3 {
279         status = "disabled";
280 };
282 &emif1 {
283         cs1-used;
284         device-handle = <&samsung_K3PE0E000B>;
285 };
287 &emif2 {
288         cs1-used;
289         device-handle = <&samsung_K3PE0E000B>;
290 };
292 &i2c1 {
293         clock-frequency = <400000>;
295         palmas: palmas@48 {
296                 reg = <0x48>;
297                 /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */
298                 interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */
299                 interrupt-parent = <&gic>;
300         };
302         twl6040: twl@4b {
303                 compatible = "ti,twl6040";
305                 interrupts = <0 119 4>; /* IRQ_SYS_2N cascaded to gic */
306                 interrupt-parent = <&gic>;
307                 ti,audpwron-gpio = <&gpio5 13 0>;  /* gpio line 141 */
309                 vio-supply = <&smps7_reg>;
310                 v2v1-supply = <&smps9_reg>;
311                 enable-active-high;
312         };
313 };
315 &usbhshost {
316         port2-mode = "ehci-hsic";
317         port3-mode = "ehci-hsic";
318 };
320 &usbhsehci {
321         phys = <0 &hsusb2_phy &hsusb3_phy>;
322 };
324 /include/ "palmas.dtsi"
325 /include/ "twl6040.dtsi"
327 &hdmi {
328         tpd12s015: tpd12s015 {
329                 compatible = "ti,tpd12s015";
331                 gpios = <&tca6424a 0 0>,        /* TCA6424A P01, CT_CP_HDP */
332                         <&tca6424a 1 0>,        /* TCA6424A P00, LS_OE*/
333                         <&gpio7 1 0>;           /* 193, HPD */
335                 hdmi-monitor {
336                         compatible = "ti,hdmi_panel";
337                 };
339         };
340 };
342 &uart1 {
343         pinctrl-names = "default";
344         pinctrl-0 = <&uart1_pins>;
345 };
347 &uart3 {
348         pinctrl-names = "default";
349         pinctrl-0 = <&uart3_pins>;
350 };
352 &uart5 {
353         pinctrl-names = "default";
354         pinctrl-0 = <&uart5_pins>;
355 };