xref: /openbmc/u-boot/arch/arm/dts/tegra30-cardhu.dts (revision 1021af4d)
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	};
198
199	usb@7d008000 {
200		nvidia,vbus-gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
201		status = "okay";
202	};
203
204	regulators {
205		compatible = "simple-bus";
206		#address-cells = <1>;
207		#size-cells = <0>;
208
209		vdd_ac_bat_reg: regulator@0 {
210			compatible = "regulator-fixed";
211			reg = <0>;
212			regulator-name = "vdd_ac_bat";
213			regulator-min-microvolt = <5000000>;
214			regulator-max-microvolt = <5000000>;
215			regulator-always-on;
216		};
217
218		cam_1v8_reg: regulator@1 {
219			compatible = "regulator-fixed";
220			reg = <1>;
221			regulator-name = "cam_1v8";
222			regulator-min-microvolt = <1800000>;
223			regulator-max-microvolt = <1800000>;
224			enable-active-high;
225			gpio = <&gpio TEGRA_GPIO(BB, 4) GPIO_ACTIVE_HIGH>;
226			vin-supply = <&vio_reg>;
227		};
228
229		cp_5v_reg: regulator@2 {
230			compatible = "regulator-fixed";
231			reg = <2>;
232			regulator-name = "cp_5v";
233			regulator-min-microvolt = <5000000>;
234			regulator-max-microvolt = <5000000>;
235			regulator-boot-on;
236			regulator-always-on;
237			enable-active-high;
238			gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
239		};
240
241		emmc_3v3_reg: regulator@3 {
242			compatible = "regulator-fixed";
243			reg = <3>;
244			regulator-name = "emmc_3v3";
245			regulator-min-microvolt = <3300000>;
246			regulator-max-microvolt = <3300000>;
247			regulator-always-on;
248			regulator-boot-on;
249			enable-active-high;
250			gpio = <&gpio TEGRA_GPIO(D, 1) GPIO_ACTIVE_HIGH>;
251			vin-supply = <&sys_3v3_reg>;
252		};
253
254		modem_3v3_reg: regulator@4 {
255			compatible = "regulator-fixed";
256			reg = <4>;
257			regulator-name = "modem_3v3";
258			regulator-min-microvolt = <3300000>;
259			regulator-max-microvolt = <3300000>;
260			enable-active-high;
261			gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>;
262		};
263
264		pex_hvdd_3v3_reg: regulator@5 {
265			compatible = "regulator-fixed";
266			reg = <5>;
267			regulator-name = "pex_hvdd_3v3";
268			regulator-min-microvolt = <3300000>;
269			regulator-max-microvolt = <3300000>;
270			enable-active-high;
271			gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>;
272			vin-supply = <&sys_3v3_reg>;
273		};
274
275		vdd_cam1_ldo_reg: regulator@6 {
276			compatible = "regulator-fixed";
277			reg = <6>;
278			regulator-name = "vdd_cam1_ldo";
279			regulator-min-microvolt = <2800000>;
280			regulator-max-microvolt = <2800000>;
281			enable-active-high;
282			gpio = <&gpio TEGRA_GPIO(R, 6) GPIO_ACTIVE_HIGH>;
283			vin-supply = <&sys_3v3_reg>;
284		};
285
286		vdd_cam2_ldo_reg: regulator@7 {
287			compatible = "regulator-fixed";
288			reg = <7>;
289			regulator-name = "vdd_cam2_ldo";
290			regulator-min-microvolt = <2800000>;
291			regulator-max-microvolt = <2800000>;
292			enable-active-high;
293			gpio = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
294			vin-supply = <&sys_3v3_reg>;
295		};
296
297		vdd_cam3_ldo_reg: regulator@8 {
298			compatible = "regulator-fixed";
299			reg = <8>;
300			regulator-name = "vdd_cam3_ldo";
301			regulator-min-microvolt = <3300000>;
302			regulator-max-microvolt = <3300000>;
303			enable-active-high;
304			gpio = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_HIGH>;
305			vin-supply = <&sys_3v3_reg>;
306		};
307
308		vdd_com_reg: regulator@9 {
309			compatible = "regulator-fixed";
310			reg = <9>;
311			regulator-name = "vdd_com";
312			regulator-min-microvolt = <3300000>;
313			regulator-max-microvolt = <3300000>;
314			regulator-always-on;
315			regulator-boot-on;
316			enable-active-high;
317			gpio = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
318			vin-supply = <&sys_3v3_reg>;
319		};
320
321		vdd_fuse_3v3_reg: regulator@10 {
322			compatible = "regulator-fixed";
323			reg = <10>;
324			regulator-name = "vdd_fuse_3v3";
325			regulator-min-microvolt = <3300000>;
326			regulator-max-microvolt = <3300000>;
327			enable-active-high;
328			gpio = <&gpio TEGRA_GPIO(L, 6) GPIO_ACTIVE_HIGH>;
329			vin-supply = <&sys_3v3_reg>;
330		};
331
332		vdd_pnl1_reg: regulator@11 {
333			compatible = "regulator-fixed";
334			reg = <11>;
335			regulator-name = "vdd_pnl1";
336			regulator-min-microvolt = <3300000>;
337			regulator-max-microvolt = <3300000>;
338			regulator-always-on;
339			regulator-boot-on;
340			enable-active-high;
341			gpio = <&gpio TEGRA_GPIO(L, 4) GPIO_ACTIVE_HIGH>;
342			vin-supply = <&sys_3v3_reg>;
343		};
344
345		vdd_vid_reg: regulator@12 {
346			compatible = "regulator-fixed";
347			reg = <12>;
348			regulator-name = "vddio_vid";
349			regulator-min-microvolt = <5000000>;
350			regulator-max-microvolt = <5000000>;
351			enable-active-high;
352			gpio = <&gpio TEGRA_GPIO(T, 0) GPIO_ACTIVE_HIGH>;
353			gpio-open-drain;
354			vin-supply = <&vdd_5v0_reg>;
355		};
356
357		ddr_reg: regulator@100 {
358			compatible = "regulator-fixed";
359			regulator-name = "ddr";
360			reg = <100>;
361			regulator-min-microvolt = <1500000>;
362			regulator-max-microvolt = <1500000>;
363			regulator-always-on;
364			regulator-boot-on;
365			enable-active-high;
366			gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
367		};
368
369		sys_3v3_reg: regulator@101 {
370			compatible = "regulator-fixed";
371			reg = <101>;
372			regulator-name = "sys_3v3";
373			regulator-min-microvolt = <3300000>;
374			regulator-max-microvolt = <3300000>;
375			regulator-always-on;
376			regulator-boot-on;
377			enable-active-high;
378			gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
379		};
380
381		usb1_vbus_reg: regulator@102 {
382			compatible = "regulator-fixed";
383			reg = <102>;
384			regulator-name = "usb1_vbus";
385			regulator-min-microvolt = <5000000>;
386			regulator-max-microvolt = <5000000>;
387			enable-active-high;
388			gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>;
389			gpio-open-drain;
390			vin-supply = <&vdd_5v0_reg>;
391		};
392
393		usb3_vbus_reg: regulator@103 {
394			compatible = "regulator-fixed";
395			reg = <103>;
396			regulator-name = "usb3_vbus";
397			regulator-min-microvolt = <5000000>;
398			regulator-max-microvolt = <5000000>;
399			enable-active-high;
400			gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
401			gpio-open-drain;
402			vin-supply = <&vdd_5v0_reg>;
403		};
404
405		vdd_5v0_reg: regulator@104 {
406			compatible = "regulator-fixed";
407			reg = <104>;
408			regulator-name = "5v0";
409			regulator-min-microvolt = <5000000>;
410			regulator-max-microvolt = <5000000>;
411			enable-active-high;
412			gpio = <&pmic 8 GPIO_ACTIVE_HIGH>;
413		};
414
415		vdd_bl_reg: regulator@105 {
416			compatible = "regulator-fixed";
417			reg = <105>;
418			regulator-name = "vdd_bl";
419			regulator-min-microvolt = <5000000>;
420			regulator-max-microvolt = <5000000>;
421			regulator-always-on;
422			regulator-boot-on;
423			enable-active-high;
424			gpio = <&gpio TEGRA_GPIO(DD, 2) GPIO_ACTIVE_HIGH>;
425		};
426
427		vdd_bl2_reg: regulator@106 {
428			compatible = "regulator-fixed";
429			reg = <106>;
430			regulator-name = "vdd_bl2";
431			regulator-min-microvolt = <5000000>;
432			regulator-max-microvolt = <5000000>;
433			regulator-always-on;
434			regulator-boot-on;
435			enable-active-high;
436			gpio = <&gpio TEGRA_GPIO(DD, 0) GPIO_ACTIVE_HIGH>;
437		};
438	};
439};
440