]> git.sur5r.net Git - u-boot/blob - arch/arm/dts/tegra30-cardhu.dts
ARM: tegra: fdt: Add 'non-removable' property to all eMMC nodes
[u-boot] / arch / arm / dts / tegra30-cardhu.dts
1 /dts-v1/;
2
3 #include "tegra30.dtsi"
4
5 / {
6         model = "NVIDIA Cardhu";
7         compatible = "nvidia,cardhu", "nvidia,tegra30";
8
9         chosen {
10                 stdout-path = &uarta;
11         };
12
13         aliases {
14                 i2c0 = "/i2c@7000d000";
15                 i2c1 = "/i2c@7000c000";
16                 i2c2 = "/i2c@7000c400";
17                 i2c3 = "/i2c@7000c500";
18                 i2c4 = "/i2c@7000c700";
19                 sdhci0 = "/sdhci@78000600";
20                 sdhci1 = "/sdhci@78000000";
21                 spi0 = "/spi@7000da00";
22                 usb0 = "/usb@7d008000";
23         };
24
25         memory {
26                 device_type = "memory";
27                 reg = <0x80000000 0x40000000>;
28         };
29
30         pcie-controller@00003000 {
31                 status = "okay";
32
33                 /* AVDD_PEXA and VDD_PEXA inputs are grounded on Cardhu. */
34                 avdd-pexb-supply = <&ldo1_reg>;
35                 vdd-pexb-supply = <&ldo1_reg>;
36                 avdd-pex-pll-supply = <&ldo1_reg>;
37                 hvdd-pex-supply = <&pex_hvdd_3v3_reg>;
38                 vddio-pex-ctl-supply = <&sys_3v3_reg>;
39                 avdd-plle-supply = <&ldo2_reg>;
40
41                 pci@1,0 {
42                         nvidia,num-lanes = <4>;
43                 };
44
45                 pci@2,0 {
46                         nvidia,num-lanes = <1>;
47                 };
48
49                 pci@3,0 {
50                         status = "okay";
51                         nvidia,num-lanes = <1>;
52                 };
53         };
54
55         i2c@7000c000 {
56                 status = "okay";
57                 clock-frequency = <100000>;
58         };
59
60         i2c@7000c400 {
61                 status = "okay";
62                 clock-frequency = <100000>;
63         };
64
65         i2c@7000c500 {
66                 status = "okay";
67                 clock-frequency = <100000>;
68         };
69
70         i2c@7000c700 {
71                 status = "okay";
72                 clock-frequency = <100000>;
73         };
74
75         i2c@7000d000 {
76                 status = "okay";
77                 clock-frequency = <100000>;
78
79                 pmic: tps65911@2d {
80                         compatible = "ti,tps65911";
81                         reg = <0x2d>;
82
83                         interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
84                         #interrupt-cells = <2>;
85                         interrupt-controller;
86
87                         ti,system-power-controller;
88
89                         #gpio-cells = <2>;
90                         gpio-controller;
91
92                         vcc1-supply = <&vdd_ac_bat_reg>;
93                         vcc2-supply = <&vdd_ac_bat_reg>;
94                         vcc3-supply = <&vio_reg>;
95                         vcc4-supply = <&vdd_5v0_reg>;
96                         vcc5-supply = <&vdd_ac_bat_reg>;
97                         vcc6-supply = <&vdd2_reg>;
98                         vcc7-supply = <&vdd_ac_bat_reg>;
99                         vccio-supply = <&vdd_ac_bat_reg>;
100
101                         regulators {
102                                 vdd1_reg: vdd1 {
103                                         regulator-name = "vddio_ddr_1v2";
104                                         regulator-min-microvolt = <1200000>;
105                                         regulator-max-microvolt = <1200000>;
106                                         regulator-always-on;
107                                 };
108
109                                 vdd2_reg: vdd2 {
110                                         regulator-name = "vdd_1v5_gen";
111                                         regulator-min-microvolt = <1500000>;
112                                         regulator-max-microvolt = <1500000>;
113                                         regulator-always-on;
114                                 };
115
116                                 vddctrl_reg: vddctrl {
117                                         regulator-name = "vdd_cpu,vdd_sys";
118                                         regulator-min-microvolt = <1000000>;
119                                         regulator-max-microvolt = <1000000>;
120                                         regulator-always-on;
121                                 };
122
123                                 vio_reg: vio {
124                                         regulator-name = "vdd_1v8_gen";
125                                         regulator-min-microvolt = <1800000>;
126                                         regulator-max-microvolt = <1800000>;
127                                         regulator-always-on;
128                                 };
129
130                                 ldo1_reg: ldo1 {
131                                         regulator-name = "vdd_pexa,vdd_pexb";
132                                         regulator-min-microvolt = <1050000>;
133                                         regulator-max-microvolt = <1050000>;
134                                 };
135
136                                 ldo2_reg: ldo2 {
137                                         regulator-name = "vdd_sata,avdd_plle";
138                                         regulator-min-microvolt = <1050000>;
139                                         regulator-max-microvolt = <1050000>;
140                                 };
141
142                                 /* LDO3 is not connected to anything */
143
144                                 ldo4_reg: ldo4 {
145                                         regulator-name = "vdd_rtc";
146                                         regulator-min-microvolt = <1200000>;
147                                         regulator-max-microvolt = <1200000>;
148                                         regulator-always-on;
149                                 };
150
151                                 ldo5_reg: ldo5 {
152                                         regulator-name = "vddio_sdmmc,avdd_vdac";
153                                         regulator-min-microvolt = <3300000>;
154                                         regulator-max-microvolt = <3300000>;
155                                         regulator-always-on;
156                                 };
157
158                                 ldo6_reg: ldo6 {
159                                         regulator-name = "avdd_dsi_csi,pwrdet_mipi";
160                                         regulator-min-microvolt = <1200000>;
161                                         regulator-max-microvolt = <1200000>;
162                                 };
163
164                                 ldo7_reg: ldo7 {
165                                         regulator-name = "vdd_pllm,x,u,a_p_c_s";
166                                         regulator-min-microvolt = <1200000>;
167                                         regulator-max-microvolt = <1200000>;
168                                         regulator-always-on;
169                                 };
170
171                                 ldo8_reg: ldo8 {
172                                         regulator-name = "vdd_ddr_hs";
173                                         regulator-min-microvolt = <1000000>;
174                                         regulator-max-microvolt = <1000000>;
175                                         regulator-always-on;
176                                 };
177                         };
178                 };
179         };
180
181         spi@7000da00 {
182                 status = "okay";
183                 spi-max-frequency = <25000000>;
184         };
185
186         sdhci@78000000 {
187                 status = "okay";
188                 cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
189                 wp-gpios = <&gpio TEGRA_GPIO(T, 3) GPIO_ACTIVE_HIGH>;
190                 power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>;
191                 bus-width = <4>;
192         };
193
194         sdhci@78000600 {
195                 status = "okay";
196                 bus-width = <8>;
197                 non-removable;
198         };
199
200         usb@7d008000 {
201                 nvidia,vbus-gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
202                 status = "okay";
203         };
204
205         regulators {
206                 compatible = "simple-bus";
207                 #address-cells = <1>;
208                 #size-cells = <0>;
209
210                 vdd_ac_bat_reg: regulator@0 {
211                         compatible = "regulator-fixed";
212                         reg = <0>;
213                         regulator-name = "vdd_ac_bat";
214                         regulator-min-microvolt = <5000000>;
215                         regulator-max-microvolt = <5000000>;
216                         regulator-always-on;
217                 };
218
219                 cam_1v8_reg: regulator@1 {
220                         compatible = "regulator-fixed";
221                         reg = <1>;
222                         regulator-name = "cam_1v8";
223                         regulator-min-microvolt = <1800000>;
224                         regulator-max-microvolt = <1800000>;
225                         enable-active-high;
226                         gpio = <&gpio TEGRA_GPIO(BB, 4) GPIO_ACTIVE_HIGH>;
227                         vin-supply = <&vio_reg>;
228                 };
229
230                 cp_5v_reg: regulator@2 {
231                         compatible = "regulator-fixed";
232                         reg = <2>;
233                         regulator-name = "cp_5v";
234                         regulator-min-microvolt = <5000000>;
235                         regulator-max-microvolt = <5000000>;
236                         regulator-boot-on;
237                         regulator-always-on;
238                         enable-active-high;
239                         gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
240                 };
241
242                 emmc_3v3_reg: regulator@3 {
243                         compatible = "regulator-fixed";
244                         reg = <3>;
245                         regulator-name = "emmc_3v3";
246                         regulator-min-microvolt = <3300000>;
247                         regulator-max-microvolt = <3300000>;
248                         regulator-always-on;
249                         regulator-boot-on;
250                         enable-active-high;
251                         gpio = <&gpio TEGRA_GPIO(D, 1) GPIO_ACTIVE_HIGH>;
252                         vin-supply = <&sys_3v3_reg>;
253                 };
254
255                 modem_3v3_reg: regulator@4 {
256                         compatible = "regulator-fixed";
257                         reg = <4>;
258                         regulator-name = "modem_3v3";
259                         regulator-min-microvolt = <3300000>;
260                         regulator-max-microvolt = <3300000>;
261                         enable-active-high;
262                         gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>;
263                 };
264
265                 pex_hvdd_3v3_reg: regulator@5 {
266                         compatible = "regulator-fixed";
267                         reg = <5>;
268                         regulator-name = "pex_hvdd_3v3";
269                         regulator-min-microvolt = <3300000>;
270                         regulator-max-microvolt = <3300000>;
271                         enable-active-high;
272                         gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>;
273                         vin-supply = <&sys_3v3_reg>;
274                 };
275
276                 vdd_cam1_ldo_reg: regulator@6 {
277                         compatible = "regulator-fixed";
278                         reg = <6>;
279                         regulator-name = "vdd_cam1_ldo";
280                         regulator-min-microvolt = <2800000>;
281                         regulator-max-microvolt = <2800000>;
282                         enable-active-high;
283                         gpio = <&gpio TEGRA_GPIO(R, 6) GPIO_ACTIVE_HIGH>;
284                         vin-supply = <&sys_3v3_reg>;
285                 };
286
287                 vdd_cam2_ldo_reg: regulator@7 {
288                         compatible = "regulator-fixed";
289                         reg = <7>;
290                         regulator-name = "vdd_cam2_ldo";
291                         regulator-min-microvolt = <2800000>;
292                         regulator-max-microvolt = <2800000>;
293                         enable-active-high;
294                         gpio = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
295                         vin-supply = <&sys_3v3_reg>;
296                 };
297
298                 vdd_cam3_ldo_reg: regulator@8 {
299                         compatible = "regulator-fixed";
300                         reg = <8>;
301                         regulator-name = "vdd_cam3_ldo";
302                         regulator-min-microvolt = <3300000>;
303                         regulator-max-microvolt = <3300000>;
304                         enable-active-high;
305                         gpio = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_HIGH>;
306                         vin-supply = <&sys_3v3_reg>;
307                 };
308
309                 vdd_com_reg: regulator@9 {
310                         compatible = "regulator-fixed";
311                         reg = <9>;
312                         regulator-name = "vdd_com";
313                         regulator-min-microvolt = <3300000>;
314                         regulator-max-microvolt = <3300000>;
315                         regulator-always-on;
316                         regulator-boot-on;
317                         enable-active-high;
318                         gpio = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
319                         vin-supply = <&sys_3v3_reg>;
320                 };
321
322                 vdd_fuse_3v3_reg: regulator@10 {
323                         compatible = "regulator-fixed";
324                         reg = <10>;
325                         regulator-name = "vdd_fuse_3v3";
326                         regulator-min-microvolt = <3300000>;
327                         regulator-max-microvolt = <3300000>;
328                         enable-active-high;
329                         gpio = <&gpio TEGRA_GPIO(L, 6) GPIO_ACTIVE_HIGH>;
330                         vin-supply = <&sys_3v3_reg>;
331                 };
332
333                 vdd_pnl1_reg: regulator@11 {
334                         compatible = "regulator-fixed";
335                         reg = <11>;
336                         regulator-name = "vdd_pnl1";
337                         regulator-min-microvolt = <3300000>;
338                         regulator-max-microvolt = <3300000>;
339                         regulator-always-on;
340                         regulator-boot-on;
341                         enable-active-high;
342                         gpio = <&gpio TEGRA_GPIO(L, 4) GPIO_ACTIVE_HIGH>;
343                         vin-supply = <&sys_3v3_reg>;
344                 };
345
346                 vdd_vid_reg: regulator@12 {
347                         compatible = "regulator-fixed";
348                         reg = <12>;
349                         regulator-name = "vddio_vid";
350                         regulator-min-microvolt = <5000000>;
351                         regulator-max-microvolt = <5000000>;
352                         enable-active-high;
353                         gpio = <&gpio TEGRA_GPIO(T, 0) GPIO_ACTIVE_HIGH>;
354                         gpio-open-drain;
355                         vin-supply = <&vdd_5v0_reg>;
356                 };
357
358                 ddr_reg: regulator@100 {
359                         compatible = "regulator-fixed";
360                         regulator-name = "ddr";
361                         reg = <100>;
362                         regulator-min-microvolt = <1500000>;
363                         regulator-max-microvolt = <1500000>;
364                         regulator-always-on;
365                         regulator-boot-on;
366                         enable-active-high;
367                         gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
368                 };
369
370                 sys_3v3_reg: regulator@101 {
371                         compatible = "regulator-fixed";
372                         reg = <101>;
373                         regulator-name = "sys_3v3";
374                         regulator-min-microvolt = <3300000>;
375                         regulator-max-microvolt = <3300000>;
376                         regulator-always-on;
377                         regulator-boot-on;
378                         enable-active-high;
379                         gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
380                 };
381
382                 usb1_vbus_reg: regulator@102 {
383                         compatible = "regulator-fixed";
384                         reg = <102>;
385                         regulator-name = "usb1_vbus";
386                         regulator-min-microvolt = <5000000>;
387                         regulator-max-microvolt = <5000000>;
388                         enable-active-high;
389                         gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>;
390                         gpio-open-drain;
391                         vin-supply = <&vdd_5v0_reg>;
392                 };
393
394                 usb3_vbus_reg: regulator@103 {
395                         compatible = "regulator-fixed";
396                         reg = <103>;
397                         regulator-name = "usb3_vbus";
398                         regulator-min-microvolt = <5000000>;
399                         regulator-max-microvolt = <5000000>;
400                         enable-active-high;
401                         gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
402                         gpio-open-drain;
403                         vin-supply = <&vdd_5v0_reg>;
404                 };
405
406                 vdd_5v0_reg: regulator@104 {
407                         compatible = "regulator-fixed";
408                         reg = <104>;
409                         regulator-name = "5v0";
410                         regulator-min-microvolt = <5000000>;
411                         regulator-max-microvolt = <5000000>;
412                         enable-active-high;
413                         gpio = <&pmic 8 GPIO_ACTIVE_HIGH>;
414                 };
415
416                 vdd_bl_reg: regulator@105 {
417                         compatible = "regulator-fixed";
418                         reg = <105>;
419                         regulator-name = "vdd_bl";
420                         regulator-min-microvolt = <5000000>;
421                         regulator-max-microvolt = <5000000>;
422                         regulator-always-on;
423                         regulator-boot-on;
424                         enable-active-high;
425                         gpio = <&gpio TEGRA_GPIO(DD, 2) GPIO_ACTIVE_HIGH>;
426                 };
427
428                 vdd_bl2_reg: regulator@106 {
429                         compatible = "regulator-fixed";
430                         reg = <106>;
431                         regulator-name = "vdd_bl2";
432                         regulator-min-microvolt = <5000000>;
433                         regulator-max-microvolt = <5000000>;
434                         regulator-always-on;
435                         regulator-boot-on;
436                         enable-active-high;
437                         gpio = <&gpio TEGRA_GPIO(DD, 0) GPIO_ACTIVE_HIGH>;
438                 };
439         };
440 };