]>
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 { | |
30022bb4 | 10 | reg = <0x80000000 0x7ff00000>; |
d7df69fe BW |
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; | |
a44a019d JL |
256 | nvidia,suspend-mode = <2>; |
257 | nvidia,cpu-pwr-good-time = <2000>; | |
258 | nvidia,cpu-pwr-off-time = <200>; | |
259 | nvidia,core-pwr-good-time = <3845 3845>; | |
260 | nvidia,core-pwr-off-time = <0>; | |
261 | nvidia,core-power-req-active-high; | |
262 | nvidia,sys-clock-req-active-high; | |
d7df69fe BW |
263 | }; |
264 | ||
265 | sdhci@78000000 { | |
266 | status = "okay"; | |
908ab936 | 267 | cd-gpios = <&gpio 69 1>; /* gpio PI5 */ |
d7df69fe BW |
268 | wp-gpios = <&gpio 155 0>; /* gpio PT3 */ |
269 | power-gpios = <&gpio 31 0>; /* gpio PD7 */ | |
270 | bus-width = <4>; | |
271 | }; | |
272 | ||
273 | sdhci@78000600 { | |
274 | status = "okay"; | |
275 | bus-width = <8>; | |
7a2617a6 | 276 | non-removable; |
d7df69fe BW |
277 | }; |
278 | ||
7021d122 JL |
279 | clocks { |
280 | compatible = "simple-bus"; | |
281 | #address-cells = <1>; | |
282 | #size-cells = <0>; | |
283 | ||
284 | clk32k_in: clock { | |
285 | compatible = "fixed-clock"; | |
286 | reg=<0>; | |
287 | #clock-cells = <0>; | |
288 | clock-frequency = <32768>; | |
289 | }; | |
290 | }; | |
291 | ||
d7df69fe BW |
292 | regulators { |
293 | compatible = "simple-bus"; | |
294 | #address-cells = <1>; | |
295 | #size-cells = <0>; | |
296 | ||
297 | vdd_5v_in_reg: regulator@0 { | |
298 | compatible = "regulator-fixed"; | |
299 | reg = <0>; | |
300 | regulator-name = "vdd_5v_in"; | |
301 | regulator-min-microvolt = <5000000>; | |
302 | regulator-max-microvolt = <5000000>; | |
303 | regulator-always-on; | |
304 | }; | |
305 | ||
306 | chargepump_5v_reg: regulator@1 { | |
307 | compatible = "regulator-fixed"; | |
308 | reg = <1>; | |
309 | regulator-name = "chargepump_5v"; | |
310 | regulator-min-microvolt = <5000000>; | |
311 | regulator-max-microvolt = <5000000>; | |
312 | regulator-boot-on; | |
313 | regulator-always-on; | |
314 | enable-active-high; | |
315 | gpio = <&pmic 0 0>; /* PMIC TPS65911 GPIO0 */ | |
316 | }; | |
317 | ||
318 | ddr_reg: regulator@2 { | |
319 | compatible = "regulator-fixed"; | |
320 | reg = <2>; | |
321 | regulator-name = "vdd_ddr"; | |
322 | regulator-min-microvolt = <1500000>; | |
323 | regulator-max-microvolt = <1500000>; | |
324 | regulator-always-on; | |
325 | regulator-boot-on; | |
326 | enable-active-high; | |
327 | gpio = <&pmic 7 0>; /* PMIC TPS65911 GPIO7 */ | |
328 | vin-supply = <&vdd_5v_in_reg>; | |
329 | }; | |
330 | ||
331 | vdd_5v_sata_reg: regulator@3 { | |
332 | compatible = "regulator-fixed"; | |
333 | reg = <3>; | |
334 | regulator-name = "vdd_5v_sata"; | |
335 | regulator-min-microvolt = <5000000>; | |
336 | regulator-max-microvolt = <5000000>; | |
337 | regulator-always-on; | |
338 | regulator-boot-on; | |
339 | enable-active-high; | |
340 | gpio = <&gpio 30 0>; /* gpio PD6 */ | |
341 | vin-supply = <&vdd_5v_in_reg>; | |
342 | }; | |
343 | ||
344 | usb1_vbus_reg: regulator@4 { | |
345 | compatible = "regulator-fixed"; | |
346 | reg = <4>; | |
347 | regulator-name = "usb1_vbus"; | |
348 | regulator-min-microvolt = <5000000>; | |
349 | regulator-max-microvolt = <5000000>; | |
350 | enable-active-high; | |
351 | gpio = <&gpio 68 0>; /* GPIO PI4 */ | |
352 | gpio-open-drain; | |
353 | vin-supply = <&vdd_5v_in_reg>; | |
354 | }; | |
355 | ||
356 | usb3_vbus_reg: regulator@5 { | |
357 | compatible = "regulator-fixed"; | |
358 | reg = <5>; | |
359 | regulator-name = "usb3_vbus"; | |
360 | regulator-min-microvolt = <5000000>; | |
361 | regulator-max-microvolt = <5000000>; | |
362 | enable-active-high; | |
363 | gpio = <&gpio 63 0>; /* GPIO PH7 */ | |
364 | gpio-open-drain; | |
365 | vin-supply = <&vdd_5v_in_reg>; | |
366 | }; | |
367 | ||
368 | sys_3v3_reg: regulator@6 { | |
369 | compatible = "regulator-fixed"; | |
370 | reg = <6>; | |
371 | regulator-name = "sys_3v3,vdd_3v3_alw"; | |
372 | regulator-min-microvolt = <3300000>; | |
373 | regulator-max-microvolt = <3300000>; | |
374 | regulator-always-on; | |
375 | regulator-boot-on; | |
376 | enable-active-high; | |
377 | gpio = <&pmic 6 0>; /* PMIC TPS65911 GPIO6 */ | |
378 | vin-supply = <&vdd_5v_in_reg>; | |
379 | }; | |
380 | ||
381 | sys_3v3_pexs_reg: regulator@7 { | |
382 | compatible = "regulator-fixed"; | |
383 | reg = <7>; | |
384 | regulator-name = "sys_3v3_pexs"; | |
385 | regulator-min-microvolt = <3300000>; | |
386 | regulator-max-microvolt = <3300000>; | |
387 | regulator-always-on; | |
388 | regulator-boot-on; | |
389 | enable-active-high; | |
390 | gpio = <&gpio 95 0>; /* gpio PL7 */ | |
391 | vin-supply = <&sys_3v3_reg>; | |
392 | }; | |
393 | }; | |
394 | }; |