]>
Commit | Line | Data |
---|---|---|
d7df69fe BW |
1 | /dts-v1/; |
2 | ||
3 | /include/ "tegra30.dtsi" | |
4 | ||
5 | / { | |
6 | model = "NVIDIA Tegra30 Beaver evaluation board"; | |
7 | compatible = "nvidia,beaver", "nvidia,tegra30"; | |
8 | ||
9 | memory { | |
10 | reg = <0x80000000 0x80000000>; | |
11 | }; | |
12 | ||
13 | pinmux { | |
14 | pinctrl-names = "default"; | |
15 | pinctrl-0 = <&state_default>; | |
16 | ||
17 | state_default: pinmux { | |
18 | sdmmc1_clk_pz0 { | |
19 | nvidia,pins = "sdmmc1_clk_pz0"; | |
20 | nvidia,function = "sdmmc1"; | |
21 | nvidia,pull = <0>; | |
22 | nvidia,tristate = <0>; | |
23 | }; | |
24 | sdmmc1_cmd_pz1 { | |
25 | nvidia,pins = "sdmmc1_cmd_pz1", | |
26 | "sdmmc1_dat0_py7", | |
27 | "sdmmc1_dat1_py6", | |
28 | "sdmmc1_dat2_py5", | |
29 | "sdmmc1_dat3_py4"; | |
30 | nvidia,function = "sdmmc1"; | |
31 | nvidia,pull = <2>; | |
32 | nvidia,tristate = <0>; | |
33 | }; | |
34 | sdmmc3_clk_pa6 { | |
35 | nvidia,pins = "sdmmc3_clk_pa6"; | |
36 | nvidia,function = "sdmmc3"; | |
37 | nvidia,pull = <0>; | |
38 | nvidia,tristate = <0>; | |
39 | }; | |
40 | sdmmc3_cmd_pa7 { | |
41 | nvidia,pins = "sdmmc3_cmd_pa7", | |
42 | "sdmmc3_dat0_pb7", | |
43 | "sdmmc3_dat1_pb6", | |
44 | "sdmmc3_dat2_pb5", | |
45 | "sdmmc3_dat3_pb4"; | |
46 | nvidia,function = "sdmmc3"; | |
47 | nvidia,pull = <2>; | |
48 | nvidia,tristate = <0>; | |
49 | }; | |
50 | sdmmc4_clk_pcc4 { | |
51 | nvidia,pins = "sdmmc4_clk_pcc4", | |
52 | "sdmmc4_rst_n_pcc3"; | |
53 | nvidia,function = "sdmmc4"; | |
54 | nvidia,pull = <0>; | |
55 | nvidia,tristate = <0>; | |
56 | }; | |
57 | sdmmc4_dat0_paa0 { | |
58 | nvidia,pins = "sdmmc4_dat0_paa0", | |
59 | "sdmmc4_dat1_paa1", | |
60 | "sdmmc4_dat2_paa2", | |
61 | "sdmmc4_dat3_paa3", | |
62 | "sdmmc4_dat4_paa4", | |
63 | "sdmmc4_dat5_paa5", | |
64 | "sdmmc4_dat6_paa6", | |
65 | "sdmmc4_dat7_paa7"; | |
66 | nvidia,function = "sdmmc4"; | |
67 | nvidia,pull = <2>; | |
68 | nvidia,tristate = <0>; | |
69 | }; | |
70 | dap2_fs_pa2 { | |
71 | nvidia,pins = "dap2_fs_pa2", | |
72 | "dap2_sclk_pa3", | |
73 | "dap2_din_pa4", | |
74 | "dap2_dout_pa5"; | |
75 | nvidia,function = "i2s1"; | |
76 | nvidia,pull = <0>; | |
77 | nvidia,tristate = <0>; | |
78 | }; | |
79 | sdio3 { | |
80 | nvidia,pins = "drive_sdio3"; | |
81 | nvidia,high-speed-mode = <0>; | |
82 | nvidia,schmitt = <0>; | |
83 | nvidia,pull-down-strength = <46>; | |
84 | nvidia,pull-up-strength = <42>; | |
85 | nvidia,slew-rate-rising = <1>; | |
86 | nvidia,slew-rate-falling = <1>; | |
87 | }; | |
88 | }; | |
89 | }; | |
90 | ||
91 | serial@70006000 { | |
92 | status = "okay"; | |
d7df69fe BW |
93 | }; |
94 | ||
95 | i2c@7000c000 { | |
96 | status = "okay"; | |
97 | clock-frequency = <100000>; | |
98 | }; | |
99 | ||
100 | i2c@7000c400 { | |
101 | status = "okay"; | |
102 | clock-frequency = <100000>; | |
103 | }; | |
104 | ||
105 | i2c@7000c500 { | |
106 | status = "okay"; | |
107 | clock-frequency = <100000>; | |
108 | }; | |
109 | ||
110 | i2c@7000c700 { | |
111 | status = "okay"; | |
112 | clock-frequency = <100000>; | |
113 | }; | |
114 | ||
115 | i2c@7000d000 { | |
116 | status = "okay"; | |
117 | clock-frequency = <100000>; | |
118 | ||
119 | tps62361 { | |
120 | compatible = "ti,tps62361"; | |
121 | reg = <0x60>; | |
122 | ||
123 | regulator-name = "tps62361-vout"; | |
124 | regulator-min-microvolt = <500000>; | |
125 | regulator-max-microvolt = <1500000>; | |
126 | regulator-boot-on; | |
127 | regulator-always-on; | |
128 | ti,vsel0-state-high; | |
129 | ti,vsel1-state-high; | |
130 | }; | |
131 | ||
132 | pmic: tps65911@2d { | |
133 | compatible = "ti,tps65911"; | |
134 | reg = <0x2d>; | |
135 | ||
136 | interrupts = <0 86 0x4>; | |
137 | #interrupt-cells = <2>; | |
138 | interrupt-controller; | |
139 | ||
140 | ti,system-power-controller; | |
141 | ||
142 | #gpio-cells = <2>; | |
143 | gpio-controller; | |
144 | ||
145 | vcc1-supply = <&vdd_5v_in_reg>; | |
146 | vcc2-supply = <&vdd_5v_in_reg>; | |
147 | vcc3-supply = <&vio_reg>; | |
148 | vcc4-supply = <&vdd_5v_in_reg>; | |
149 | vcc5-supply = <&vdd_5v_in_reg>; | |
150 | vcc6-supply = <&vdd2_reg>; | |
151 | vcc7-supply = <&vdd_5v_in_reg>; | |
152 | vccio-supply = <&vdd_5v_in_reg>; | |
153 | ||
154 | regulators { | |
155 | #address-cells = <1>; | |
156 | #size-cells = <0>; | |
157 | ||
158 | vdd1_reg: vdd1 { | |
159 | regulator-name = "vddio_ddr_1v2"; | |
160 | regulator-min-microvolt = <1200000>; | |
161 | regulator-max-microvolt = <1200000>; | |
162 | regulator-always-on; | |
163 | }; | |
164 | ||
165 | vdd2_reg: vdd2 { | |
166 | regulator-name = "vdd_1v5_gen"; | |
167 | regulator-min-microvolt = <1500000>; | |
168 | regulator-max-microvolt = <1500000>; | |
169 | regulator-always-on; | |
170 | }; | |
171 | ||
172 | vddctrl_reg: vddctrl { | |
173 | regulator-name = "vdd_cpu,vdd_sys"; | |
174 | regulator-min-microvolt = <1000000>; | |
175 | regulator-max-microvolt = <1000000>; | |
176 | regulator-always-on; | |
177 | }; | |
178 | ||
179 | vio_reg: vio { | |
180 | regulator-name = "vdd_1v8_gen"; | |
181 | regulator-min-microvolt = <1800000>; | |
182 | regulator-max-microvolt = <1800000>; | |
183 | regulator-always-on; | |
184 | }; | |
185 | ||
186 | ldo1_reg: ldo1 { | |
187 | regulator-name = "vdd_pexa,vdd_pexb"; | |
188 | regulator-min-microvolt = <1050000>; | |
189 | regulator-max-microvolt = <1050000>; | |
190 | }; | |
191 | ||
192 | ldo2_reg: ldo2 { | |
193 | regulator-name = "vdd_sata,avdd_plle"; | |
194 | regulator-min-microvolt = <1050000>; | |
195 | regulator-max-microvolt = <1050000>; | |
196 | }; | |
197 | ||
198 | /* LDO3 is not connected to anything */ | |
199 | ||
200 | ldo4_reg: ldo4 { | |
201 | regulator-name = "vdd_rtc"; | |
202 | regulator-min-microvolt = <1200000>; | |
203 | regulator-max-microvolt = <1200000>; | |
204 | regulator-always-on; | |
205 | }; | |
206 | ||
207 | ldo5_reg: ldo5 { | |
208 | regulator-name = "vddio_sdmmc,avdd_vdac"; | |
209 | regulator-min-microvolt = <3300000>; | |
210 | regulator-max-microvolt = <3300000>; | |
211 | regulator-always-on; | |
212 | }; | |
213 | ||
214 | ldo6_reg: ldo6 { | |
215 | regulator-name = "avdd_dsi_csi,pwrdet_mipi"; | |
216 | regulator-min-microvolt = <1200000>; | |
217 | regulator-max-microvolt = <1200000>; | |
218 | }; | |
219 | ||
220 | ldo7_reg: ldo7 { | |
221 | regulator-name = "vdd_pllm,x,u,a_p_c_s"; | |
222 | regulator-min-microvolt = <1200000>; | |
223 | regulator-max-microvolt = <1200000>; | |
224 | regulator-always-on; | |
225 | }; | |
226 | ||
227 | ldo8_reg: ldo8 { | |
228 | regulator-name = "vdd_ddr_hs"; | |
229 | regulator-min-microvolt = <1000000>; | |
230 | regulator-max-microvolt = <1000000>; | |
231 | regulator-always-on; | |
232 | }; | |
233 | }; | |
234 | }; | |
235 | }; | |
236 | ||
237 | spi@7000da00 { | |
238 | status = "okay"; | |
239 | spi-max-frequency = <25000000>; | |
240 | spi-flash@1 { | |
241 | compatible = "winbond,w25q32"; | |
242 | reg = <1>; | |
243 | spi-max-frequency = <20000000>; | |
244 | }; | |
245 | }; | |
246 | ||
247 | ahub { | |
248 | i2s@70080400 { | |
249 | status = "okay"; | |
250 | }; | |
251 | }; | |
252 | ||
253 | pmc { | |
254 | status = "okay"; | |
255 | nvidia,invert-interrupt; | |
256 | }; | |
257 | ||
258 | sdhci@78000000 { | |
259 | status = "okay"; | |
260 | cd-gpios = <&gpio 69 0>; /* gpio PI5 */ | |
261 | wp-gpios = <&gpio 155 0>; /* gpio PT3 */ | |
262 | power-gpios = <&gpio 31 0>; /* gpio PD7 */ | |
263 | bus-width = <4>; | |
264 | }; | |
265 | ||
266 | sdhci@78000600 { | |
267 | status = "okay"; | |
268 | bus-width = <8>; | |
269 | }; | |
270 | ||
271 | regulators { | |
272 | compatible = "simple-bus"; | |
273 | #address-cells = <1>; | |
274 | #size-cells = <0>; | |
275 | ||
276 | vdd_5v_in_reg: regulator@0 { | |
277 | compatible = "regulator-fixed"; | |
278 | reg = <0>; | |
279 | regulator-name = "vdd_5v_in"; | |
280 | regulator-min-microvolt = <5000000>; | |
281 | regulator-max-microvolt = <5000000>; | |
282 | regulator-always-on; | |
283 | }; | |
284 | ||
285 | chargepump_5v_reg: regulator@1 { | |
286 | compatible = "regulator-fixed"; | |
287 | reg = <1>; | |
288 | regulator-name = "chargepump_5v"; | |
289 | regulator-min-microvolt = <5000000>; | |
290 | regulator-max-microvolt = <5000000>; | |
291 | regulator-boot-on; | |
292 | regulator-always-on; | |
293 | enable-active-high; | |
294 | gpio = <&pmic 0 0>; /* PMIC TPS65911 GPIO0 */ | |
295 | }; | |
296 | ||
297 | ddr_reg: regulator@2 { | |
298 | compatible = "regulator-fixed"; | |
299 | reg = <2>; | |
300 | regulator-name = "vdd_ddr"; | |
301 | regulator-min-microvolt = <1500000>; | |
302 | regulator-max-microvolt = <1500000>; | |
303 | regulator-always-on; | |
304 | regulator-boot-on; | |
305 | enable-active-high; | |
306 | gpio = <&pmic 7 0>; /* PMIC TPS65911 GPIO7 */ | |
307 | vin-supply = <&vdd_5v_in_reg>; | |
308 | }; | |
309 | ||
310 | vdd_5v_sata_reg: regulator@3 { | |
311 | compatible = "regulator-fixed"; | |
312 | reg = <3>; | |
313 | regulator-name = "vdd_5v_sata"; | |
314 | regulator-min-microvolt = <5000000>; | |
315 | regulator-max-microvolt = <5000000>; | |
316 | regulator-always-on; | |
317 | regulator-boot-on; | |
318 | enable-active-high; | |
319 | gpio = <&gpio 30 0>; /* gpio PD6 */ | |
320 | vin-supply = <&vdd_5v_in_reg>; | |
321 | }; | |
322 | ||
323 | usb1_vbus_reg: regulator@4 { | |
324 | compatible = "regulator-fixed"; | |
325 | reg = <4>; | |
326 | regulator-name = "usb1_vbus"; | |
327 | regulator-min-microvolt = <5000000>; | |
328 | regulator-max-microvolt = <5000000>; | |
329 | enable-active-high; | |
330 | gpio = <&gpio 68 0>; /* GPIO PI4 */ | |
331 | gpio-open-drain; | |
332 | vin-supply = <&vdd_5v_in_reg>; | |
333 | }; | |
334 | ||
335 | usb3_vbus_reg: regulator@5 { | |
336 | compatible = "regulator-fixed"; | |
337 | reg = <5>; | |
338 | regulator-name = "usb3_vbus"; | |
339 | regulator-min-microvolt = <5000000>; | |
340 | regulator-max-microvolt = <5000000>; | |
341 | enable-active-high; | |
342 | gpio = <&gpio 63 0>; /* GPIO PH7 */ | |
343 | gpio-open-drain; | |
344 | vin-supply = <&vdd_5v_in_reg>; | |
345 | }; | |
346 | ||
347 | sys_3v3_reg: regulator@6 { | |
348 | compatible = "regulator-fixed"; | |
349 | reg = <6>; | |
350 | regulator-name = "sys_3v3,vdd_3v3_alw"; | |
351 | regulator-min-microvolt = <3300000>; | |
352 | regulator-max-microvolt = <3300000>; | |
353 | regulator-always-on; | |
354 | regulator-boot-on; | |
355 | enable-active-high; | |
356 | gpio = <&pmic 6 0>; /* PMIC TPS65911 GPIO6 */ | |
357 | vin-supply = <&vdd_5v_in_reg>; | |
358 | }; | |
359 | ||
360 | sys_3v3_pexs_reg: regulator@7 { | |
361 | compatible = "regulator-fixed"; | |
362 | reg = <7>; | |
363 | regulator-name = "sys_3v3_pexs"; | |
364 | regulator-min-microvolt = <3300000>; | |
365 | regulator-max-microvolt = <3300000>; | |
366 | regulator-always-on; | |
367 | regulator-boot-on; | |
368 | enable-active-high; | |
369 | gpio = <&gpio 95 0>; /* gpio PL7 */ | |
370 | vin-supply = <&sys_3v3_reg>; | |
371 | }; | |
372 | }; | |
373 | }; |