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 sound {
30 compatible = "ti,abe-twl6040";
31 ti,model = "PandaBoard5";
33 ti,jack-detection = <1>;
34 ti,mclk-freq = <19200000>;
36 ti,mcpdm = <&mcpdm>;
37 ti,mcbsp1 = <&mcbsp1>;
38 ti,mcbsp2 = <&mcbsp2>;
39 ti,aess = <&aess>;
41 ti,twl6040 = <&twl6040>;
43 /* Audio routing */
44 ti,audio-routing =
45 "Headset Stereophone", "HSOL",
46 "Headset Stereophone", "HSOR",
47 "Line Out", "AUXL",
48 "Line Out", "AUXR",
49 "HSMIC", "Headset Mic",
50 "Headset Mic", "Headset Mic Bias",
51 "AFML", "Line In",
52 "AFMR", "Line In",
53 "Headset Playback", "PDM_DL1",
54 "PDM_UL1", "Capture",
55 "40122000.mcbsp Playback", "BT_VX_DL",
56 "BT_VX_UL", "40122000.mcbsp Capture",
57 "40124000.mcbsp Playback", "MM_EXT_DL",
58 "MM_EXT_UL", "40124000.mcbsp Capture";
59 };
61 sound_hdmi {
62 compatible = "ti,omap-hdmi-tpd12s015-audio";
63 ti,model = "OMAP5HDMI";
65 ti,hdmi_audio = <&hdmi>;
66 ti,level_shifter = <&tpd12s015>;
67 };
68 };
70 &omap5_pmx_core {
71 pinctrl-names = "default";
72 pinctrl-0 = <
73 &twl6040_pins
74 &mcpdm_pins
75 &dmic_pins
76 &mcbsp1_pins
77 &mcbsp2_pins
78 &dss_hdmi_pins
79 &tpd12s015_pins
80 &tca6424a_pins
81 >;
83 twl6040_pins: pinmux_twl6040_pins {
84 pinctrl-single,pins = <
85 0x17e 0x6 /* mcspi1_somi.gpio5_141 OUTPUT | MODE6 */
86 0x18a 0x6 /* perslimbus2_clock.gpio5_145 OUTPUT | MODE6 */
87 >;
88 };
90 mcpdm_pins: pinmux_mcpdm_pins {
91 pinctrl-single,pins = <
92 0x142 0x108 /* abe_clks.abe_clks INPUT PULLDOWN | MODE0 */
93 0x15c 0x108 /* abemcpdm_ul_data.abemcpdm_ul_data INPUT PULLDOWN | MODE0 */
94 0x15e 0x108 /* abemcpdm_dl_data.abemcpdm_dl_data INPUT PULLDOWN | MODE0 */
95 0x160 0x118 /* abemcpdm_frame.abemcpdm_frame INPUT PULLUP | MODE0 */
96 0x162 0x108 /* abemcpdm_lb_clk.abemcpdm_lb_clk INPUT PULLDOWN | MODE0 */
97 >;
98 };
100 dmic_pins: pinmux_dmic_pins {
101 pinctrl-single,pins = <
102 0x144 0x100 /* abedmic_din1.abedmic_din1 INPUT | MODE0 */
103 0x146 0x100 /* abedmic_din2.abedmic_din2 INPUT | MODE0 */
104 0x148 0x100 /* abedmic_din3.abedmic_din3 INPUT | MODE0 */
105 0x14a 0 /* abedmic_clk1.abedmic_clk1 OUTPUT | MODE0 */
106 >;
107 };
109 mcbsp1_pins: pinmux_mcbsp1_pins {
110 pinctrl-single,pins = <
111 0x14c 0x101 /* abedmic_clk2.abemcbsp1_fsx INPUT | MODE1 */
112 0x14e 0x9 /* abedmic_clk3.abemcbsp1_dx OUTPUT PULLDOWN | MODE1 */
113 0x150 0x101 /* abeslimbus1_clock.abemcbsp1_clkx INPUT | MODE0 */
114 0x152 0x109 /* abeslimbus1_data.abemcbsp1_dr INPUT PULLDOWN | MODE1 */
115 >;
116 };
118 mcbsp2_pins: pinmux_mcbsp2_pins {
119 pinctrl-single,pins = <
120 0x154 0x108 /* abemcbsp2_dr.abemcbsp2_dr INPUT PULLDOWN | MODE0 */
121 0x156 0x8 /* abemcbsp2_dx.abemcbsp2_dx OUTPUT PULLDOWN | MODE0 */
122 0x158 0x100 /* abemcbsp2_fsx.abemcbsp2_fsx INPUT | MODE0 */
123 0x15a 0x100 /* abemcbsp2_clkx.abemcbsp2_clkx INPUT | MODE0 */
124 >;
125 };
127 dss_hdmi_pins: pinmux_dss_hdmi_pins {
128 pinctrl-single,pins = <
129 0x0fc 0x118 /* hdmi_cec.hdmi_cec INPUT PULLUP | MODE 0 */
130 0x100 0x100 /* hdmi_scl.hdmi_scl INPUT | MODE 0 */
131 0x102 0x100 /* hdmi_sda.hdmi_sda INPUT | MODE 0 */
132 >;
133 };
135 tpd12s015_pins: pinmux_tpd12s015_pins {
136 pinctrl-single,pins = <
137 0x0fe 0x116 /* hdmi_hpd.gpio7_193 INPUT PULLDOWN | MODE6 */
138 >;
139 };
141 tca6424a_pins: pinmux_tca6424a_pins {
142 pinctrl-single,pins = <
143 0x186 0x100 /* i2c5_scl.i2c5_scl INPUT | MODE0 */
144 0x188 0x100 /* i2c5_sda.i2c5_sda INPUT | MODE0 */
145 >;
146 };
147 };
149 &mmc1 {
150 vmmc-supply = <&vmmcsd_fixed>;
151 bus-width = <4>;
152 };
154 &mmc2 {
155 vmmc-supply = <&vmmcsd_fixed>;
156 bus-width = <8>;
157 ti,non-removable;
158 };
160 &mmc3 {
161 bus-width = <4>;
162 ti,non-removable;
163 };
165 &mmc4 {
166 status = "disabled";
167 };
169 &mmc5 {
170 status = "disabled";
171 };
173 &i2c2 {
174 clock-frequency = <400000>;
176 /* Pressure Sensor */
177 bmp085@77 {
178 compatible = "bosch,bmp085";
179 reg = <0x77>;
180 };
181 };
183 &i2c4 {
184 clock-frequency = <400000>;
186 /* Temperature Sensor */
187 tmp102@48{
188 compatible = "ti,tmp102";
189 reg = <0x48>;
190 };
191 };
193 &i2c5 {
194 tca6424a: tca6424a@22 {
195 compatible = "ti,tca6424a";
196 reg = <0x22>;
197 gpio-controller;
198 #gpio-cells = <2>;
199 };
200 };
202 &mcbsp3 {
203 status = "disabled";
204 };
206 &emif1 {
207 cs1-used;
208 device-handle = <&samsung_K3PE0E000B>;
209 };
211 &emif2 {
212 cs1-used;
213 device-handle = <&samsung_K3PE0E000B>;
214 };
216 &i2c1 {
217 clock-frequency = <400000>;
219 palmas: palmas@48 {
220 reg = <0x48>;
221 /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */
222 interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */
223 interrupt-parent = <&gic>;
224 };
226 twl6040: twl@4b {
227 compatible = "ti,twl6040";
229 interrupts = <0 119 4>; /* IRQ_SYS_2N cascaded to gic */
230 interrupt-parent = <&gic>;
231 ti,audpwron-gpio = <&gpio5 13 0>; /* gpio line 141 */
233 vio-supply = <&smps7_reg>;
234 v2v1-supply = <&smps9_reg>;
235 enable-active-high;
236 };
237 };
239 /include/ "palmas.dtsi"
240 /include/ "twl6040.dtsi"
242 &hdmi {
243 tpd12s015: tpd12s015 {
244 compatible = "ti,tpd12s015";
246 gpios = <&tca6424a 0 0>, /* TCA6424A P01, CT_CP_HDP */
247 <&tca6424a 1 0>, /* TCA6424A P00, LS_OE*/
248 <&gpio7 1 0>; /* 193, HPD */
250 hdmi-monitor {
251 compatible = "ti,hdmi_panel";
252 };
254 };
255 };