]> 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 remote-tracking branch 'av-feat-tree/omap5_audio_video-3.8.y' into vayu_exp
[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         cpus {
18                 cpu@0 {
19                         cpu0-supply = <&smps123_reg>;
20                 };
21         };
23         memory {
24                 device_type = "memory";
25                 reg = <0x80000000 0x7F000000>; /* 2032 MB */
26         };
28         vmmcsd_fixed: fixedregulator-mmcsd {
29                 compatible = "regulator-fixed";
30                 regulator-name = "vmmcsd_fixed";
31                 regulator-min-microvolt = <3000000>;
32                 regulator-max-microvolt = <3000000>;
33         };
35         sound {
36                 compatible = "ti,abe-twl6040";
37                 ti,model = "PandaBoard5";
39                 ti,jack-detection = <1>;
40                 ti,mclk-freq = <19200000>;
42                 ti,mcpdm = <&mcpdm>;
43                 ti,mcbsp1 = <&mcbsp1>;
44                 ti,mcbsp2 = <&mcbsp2>;
45                 ti,aess = <&aess>;
47                 ti,twl6040 = <&twl6040>;
49                 /* Audio routing */
50                 ti,audio-routing =
51                         "Headset Stereophone", "HSOL",
52                         "Headset Stereophone", "HSOR",
53                         "Line Out", "AUXL",
54                         "Line Out", "AUXR",
55                         "HSMIC", "Headset Mic",
56                         "Headset Mic", "Headset Mic Bias",
57                         "AFML", "Line In",
58                         "AFMR", "Line In",
59                         "Headset Playback", "PDM_DL1",
60                         "PDM_UL1", "Capture",
61                         "40122000.mcbsp Playback", "BT_VX_DL",
62                         "BT_VX_UL", "40122000.mcbsp Capture",
63                         "40124000.mcbsp Playback", "MM_EXT_DL",
64                         "MM_EXT_UL", "40124000.mcbsp Capture";
65         };
67         sound_hdmi {
68                 compatible = "ti,omap-hdmi-tpd12s015-audio";
69                 ti,model = "OMAP5HDMI";
71                 ti,hdmi_audio = <&hdmi>;
72                 ti,level_shifter = <&tpd12s015>;
73         };
74 };
76 &omap5_pmx_core {
77         pinctrl-names = "default";
78         pinctrl-0 = <
79                         &twl6040_pins
80                         &mcpdm_pins
81                         &dmic_pins
82                         &mcbsp1_pins
83                         &mcbsp2_pins
84                         &palmas_pins
85                         &dss_hdmi_pins
86                         &tpd12s015_pins
87                         &tca6424a_pins
88         >;
90         twl6040_pins: pinmux_twl6040_pins {
91                 pinctrl-single,pins = <
92                         0x17e 0x6       /* mcspi1_somi.gpio5_141 OUTPUT | MODE6 */
93                         0x18a 0x6       /* perslimbus2_clock.gpio5_145 OUTPUT | MODE6 */
94                 >;
95         };
97         mcpdm_pins: pinmux_mcpdm_pins {
98                 pinctrl-single,pins = <
99                         0x142 0x108     /* abe_clks.abe_clks INPUT PULLDOWN | MODE0 */
100                         0x15c 0x108     /* abemcpdm_ul_data.abemcpdm_ul_data INPUT PULLDOWN | MODE0 */
101                         0x15e 0x108     /* abemcpdm_dl_data.abemcpdm_dl_data INPUT PULLDOWN | MODE0 */
102                         0x160 0x118     /* abemcpdm_frame.abemcpdm_frame INPUT PULLUP | MODE0 */
103                         0x162 0x108     /* abemcpdm_lb_clk.abemcpdm_lb_clk INPUT PULLDOWN | MODE0 */
104                 >;
105         };
107         dmic_pins: pinmux_dmic_pins {
108                 pinctrl-single,pins = <
109                         0x144 0x100     /* abedmic_din1.abedmic_din1 INPUT | MODE0 */
110                         0x146 0x100     /* abedmic_din2.abedmic_din2 INPUT | MODE0 */
111                         0x148 0x100     /* abedmic_din3.abedmic_din3 INPUT | MODE0 */
112                         0x14a 0         /* abedmic_clk1.abedmic_clk1 OUTPUT | MODE0 */
113                 >;
114         };
116         mcbsp1_pins: pinmux_mcbsp1_pins {
117                 pinctrl-single,pins = <
118                         0x14c 0x101     /* abedmic_clk2.abemcbsp1_fsx INPUT | MODE1 */
119                         0x14e 0x9       /* abedmic_clk3.abemcbsp1_dx OUTPUT PULLDOWN | MODE1 */
120                         0x150 0x101     /* abeslimbus1_clock.abemcbsp1_clkx INPUT | MODE0 */
121                         0x152 0x109     /* abeslimbus1_data.abemcbsp1_dr INPUT PULLDOWN | MODE1 */
122                 >;
123         };
125         mcbsp2_pins: pinmux_mcbsp2_pins {
126                 pinctrl-single,pins = <
127                         0x154 0x108     /* abemcbsp2_dr.abemcbsp2_dr INPUT PULLDOWN | MODE0 */
128                         0x156 0x8       /* abemcbsp2_dx.abemcbsp2_dx OUTPUT PULLDOWN | MODE0 */
129                         0x158 0x100     /* abemcbsp2_fsx.abemcbsp2_fsx INPUT | MODE0 */
130                         0x15a 0x100     /* abemcbsp2_clkx.abemcbsp2_clkx INPUT | MODE0 */
131                 >;
132         };
134         palmas_pins: pinmux_palmas_pins {
135                 pinctrl-single,pins = <
136                         0x140 0x11f     /* MSLEEP INPUT | PULLUP | MODE7 */
137                 >;
138         };
140         dss_hdmi_pins: pinmux_dss_hdmi_pins {
141                 pinctrl-single,pins = <
142                         0x0fc 0x118     /* hdmi_cec.hdmi_cec INPUT PULLUP | MODE 0 */
143                         0x100 0x106     /* GPIO7_194, DDC-SCL */
144                         0x102 0x106     /* GPIO7_195, DDC-SDA */
145                 >;
146         };
148         tpd12s015_pins: pinmux_tpd12s015_pins {
149                 pinctrl-single,pins = <
150                         0x0fe 0x116     /* hdmi_hpd.gpio7_193 INPUT PULLDOWN | MODE6 */
151                 >;
152         };
154         tca6424a_pins: pinmux_tca6424a_pins {
155                 pinctrl-single,pins = <
156                         0x186 0x100     /* i2c5_scl.i2c5_scl INPUT | MODE0 */
157                         0x188 0x100     /* i2c5_sda.i2c5_sda INPUT | MODE0 */
158                 >;
159         };
160 };
162 &mmc1 {
163         vmmc-supply = <&vmmcsd_fixed>;
164         bus-width = <4>;
165 };
167 &mmc2 {
168         vmmc-supply = <&vmmcsd_fixed>;
169         bus-width = <8>;
170         ti,non-removable;
171 };
173 &mmc3 {
174         bus-width = <4>;
175         ti,non-removable;
176 };
178 &mmc4 {
179         status = "disabled";
180 };
182 &mmc5 {
183         status = "disabled";
184 };
186 &i2c5 {
187         tca6424a: tca6424a@22 {
188                 compatible = "ti,tca6424a";
189                 reg = <0x22>;
190                 gpio-controller;
191                 #gpio-cells = <2>;
192         };
193 };
195 &mcbsp3 {
196         status = "disabled";
197 };
199 &emif1 {
200         cs1-used;
201         device-handle = <&samsung_K3PE0E000B>;
202 };
204 &emif2 {
205         cs1-used;
206         device-handle = <&samsung_K3PE0E000B>;
207 };
209 &i2c1 {
210         clock-frequency = <400000>;
212         palmas: palmas@48 {
213                 reg = <0x48>;
214                 /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */
215                 interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */
216                 interrupt-parent = <&gic>;
217         };
219         twl6040: twl@4b {
220                 compatible = "ti,twl6040";
222                 interrupts = <0 119 4>; /* IRQ_SYS_2N cascaded to gic */
223                 interrupt-parent = <&gic>;
224                 ti,audpwron-gpio = <&gpio5 13 0>;  /* gpio line 141 */
226                 vio-supply = <&smps7_reg>;
227                 v2v1-supply = <&smps9_reg>;
228                 enable-active-high;
229         };
230 };
232 /include/ "palmas.dtsi"
233 /include/ "twl6040.dtsi"
235 &hdmi {
236         tpd12s015: tpd12s015 {
237                 compatible = "ti,tpd12s015";
239                 gpios = <&tca6424a 0 0>,        /* TCA6424A P01, CT_CP_HDP */
240                         <&tca6424a 1 0>,        /* TCA6424A P00, LS_OE*/
241                         <&gpio7 1 0>,           /* 193, HPD */
242                         <&gpio7 2 0>,           /* 194, SCL */
243                         <&gpio7 3 0>;           /* 195, SDA */
246                 hdmi-monitor {
247                         compatible = "ti,hdmi_panel";
248                 };
250         };
251 };