xref: /rk3399_rockchip-uboot/arch/arm/dts/tegra30-beaver.dts (revision 6b83588eea77c6fe69c11ba9e5eb2df071b1dadc)
1/dts-v1/;
2
3#include "tegra30.dtsi"
4
5/ {
6	model = "NVIDIA Beaver";
7	compatible = "nvidia,beaver", "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		mmc0 = "/sdhci@78000600";
20		mmc1 = "/sdhci@78000000";
21		spi0 = "/spi@7000da00";
22		usb0 = "/usb@7d000000";
23		usb1 = "/usb@7d008000";
24	};
25
26	memory {
27		device_type = "memory";
28		reg = <0x80000000 0x7ff00000>;
29	};
30
31	pcie-controller@00003000 {
32		status = "okay";
33
34		avdd-pexa-supply = <&ldo1_reg>;
35		vdd-pexa-supply = <&ldo1_reg>;
36		avdd-pexb-supply = <&ldo1_reg>;
37		vdd-pexb-supply = <&ldo1_reg>;
38		avdd-pex-pll-supply = <&ldo1_reg>;
39		avdd-plle-supply = <&ldo1_reg>;
40		vddio-pex-ctl-supply = <&sys_3v3_reg>;
41		hvdd-pex-supply = <&sys_3v3_pexs_reg>;
42
43		pci@1,0 {
44			status = "okay";
45			nvidia,num-lanes = <2>;
46		};
47
48		pci@2,0 {
49			nvidia,num-lanes = <2>;
50		};
51
52		pci@3,0 {
53			status = "okay";
54			nvidia,num-lanes = <2>;
55		};
56	};
57
58	i2c@7000c000 {
59		status = "okay";
60		clock-frequency = <100000>;
61	};
62
63	i2c@7000c400 {
64		status = "okay";
65		clock-frequency = <100000>;
66	};
67
68	i2c@7000c500 {
69		status = "okay";
70		clock-frequency = <100000>;
71	};
72
73	i2c@7000c700 {
74		status = "okay";
75		clock-frequency = <100000>;
76	};
77
78	i2c@7000d000 {
79		status = "okay";
80		clock-frequency = <100000>;
81
82		pmic: tps65911@2d {
83			compatible = "ti,tps65911";
84			reg = <0x2d>;
85
86			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
87			#interrupt-cells = <2>;
88			interrupt-controller;
89
90			ti,system-power-controller;
91
92			#gpio-cells = <2>;
93			gpio-controller;
94
95			vcc1-supply = <&vdd_5v_in_reg>;
96			vcc2-supply = <&vdd_5v_in_reg>;
97			vcc3-supply = <&vio_reg>;
98			vcc4-supply = <&vdd_5v_in_reg>;
99			vcc5-supply = <&vdd_5v_in_reg>;
100			vcc6-supply = <&vdd2_reg>;
101			vcc7-supply = <&vdd_5v_in_reg>;
102			vccio-supply = <&vdd_5v_in_reg>;
103
104			regulators {
105				#address-cells = <1>;
106				#size-cells = <0>;
107
108				vdd1_reg: vdd1 {
109					regulator-name = "vddio_ddr_1v2";
110					regulator-min-microvolt = <1200000>;
111					regulator-max-microvolt = <1200000>;
112					regulator-always-on;
113				};
114
115				vdd2_reg: vdd2 {
116					regulator-name = "vdd_1v5_gen";
117					regulator-min-microvolt = <1500000>;
118					regulator-max-microvolt = <1500000>;
119					regulator-always-on;
120				};
121
122				vddctrl_reg: vddctrl {
123					regulator-name = "vdd_cpu,vdd_sys";
124					regulator-min-microvolt = <1000000>;
125					regulator-max-microvolt = <1000000>;
126					regulator-always-on;
127				};
128
129				vio_reg: vio {
130					regulator-name = "vdd_1v8_gen";
131					regulator-min-microvolt = <1800000>;
132					regulator-max-microvolt = <1800000>;
133					regulator-always-on;
134				};
135
136				ldo1_reg: ldo1 {
137					regulator-name = "vdd_pexa,vdd_pexb";
138					regulator-min-microvolt = <1050000>;
139					regulator-max-microvolt = <1050000>;
140				};
141
142				ldo2_reg: ldo2 {
143					regulator-name = "vdd_sata,avdd_plle";
144					regulator-min-microvolt = <1050000>;
145					regulator-max-microvolt = <1050000>;
146				};
147
148				/* LDO3 is not connected to anything */
149
150				ldo4_reg: ldo4 {
151					regulator-name = "vdd_rtc";
152					regulator-min-microvolt = <1200000>;
153					regulator-max-microvolt = <1200000>;
154					regulator-always-on;
155				};
156
157				ldo5_reg: ldo5 {
158					regulator-name = "vddio_sdmmc,avdd_vdac";
159					regulator-min-microvolt = <3300000>;
160					regulator-max-microvolt = <3300000>;
161					regulator-always-on;
162				};
163
164				ldo6_reg: ldo6 {
165					regulator-name = "avdd_dsi_csi,pwrdet_mipi";
166					regulator-min-microvolt = <1200000>;
167					regulator-max-microvolt = <1200000>;
168				};
169
170				ldo7_reg: ldo7 {
171					regulator-name = "vdd_pllm,x,u,a_p_c_s";
172					regulator-min-microvolt = <1200000>;
173					regulator-max-microvolt = <1200000>;
174					regulator-always-on;
175				};
176
177				ldo8_reg: ldo8 {
178					regulator-name = "vdd_ddr_hs";
179					regulator-min-microvolt = <1000000>;
180					regulator-max-microvolt = <1000000>;
181					regulator-always-on;
182				};
183			};
184		};
185	};
186
187	spi@7000da00 {
188		status = "okay";
189		spi-max-frequency = <25000000>;
190		spi-flash@1 {
191			compatible = "winbond,w25q32";
192			reg = <1>;
193			spi-max-frequency = <20000000>;
194		};
195	};
196
197	sdhci@78000000 {
198		status = "okay";
199		cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
200		wp-gpios = <&gpio TEGRA_GPIO(T, 3) GPIO_ACTIVE_HIGH>;
201		power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>;
202		bus-width = <4>;
203	};
204
205	sdhci@78000600 {
206		status = "okay";
207		bus-width = <8>;
208		non-removable;
209	};
210
211	usb@7d000000 {
212		status = "okay";
213		dr_mode = "otg";
214		nvidia,vbus-gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>;
215	};
216
217	usb@7d008000 {
218		nvidia,vbus-gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
219		status = "okay";
220	};
221
222	regulators {
223		compatible = "simple-bus";
224		#address-cells = <1>;
225		#size-cells = <0>;
226
227		vdd_5v_in_reg: regulator@0 {
228			compatible = "regulator-fixed";
229			reg = <0>;
230			regulator-name = "vdd_5v_in";
231			regulator-min-microvolt = <5000000>;
232			regulator-max-microvolt = <5000000>;
233			regulator-always-on;
234		};
235
236		chargepump_5v_reg: regulator@1 {
237			compatible = "regulator-fixed";
238			reg = <1>;
239			regulator-name = "chargepump_5v";
240			regulator-min-microvolt = <5000000>;
241			regulator-max-microvolt = <5000000>;
242			regulator-boot-on;
243			regulator-always-on;
244			enable-active-high;
245			gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
246		};
247
248		ddr_reg: regulator@2 {
249			compatible = "regulator-fixed";
250			reg = <2>;
251			regulator-name = "vdd_ddr";
252			regulator-min-microvolt = <1500000>;
253			regulator-max-microvolt = <1500000>;
254			regulator-always-on;
255			regulator-boot-on;
256			enable-active-high;
257			gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
258			vin-supply = <&vdd_5v_in_reg>;
259		};
260
261		vdd_5v_sata_reg: regulator@3 {
262			compatible = "regulator-fixed";
263			reg = <3>;
264			regulator-name = "vdd_5v_sata";
265			regulator-min-microvolt = <5000000>;
266			regulator-max-microvolt = <5000000>;
267			regulator-always-on;
268			regulator-boot-on;
269			enable-active-high;
270			gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>;
271			vin-supply = <&vdd_5v_in_reg>;
272		};
273
274		usb1_vbus_reg: regulator@4 {
275			compatible = "regulator-fixed";
276			reg = <4>;
277			regulator-name = "usb1_vbus";
278			regulator-min-microvolt = <5000000>;
279			regulator-max-microvolt = <5000000>;
280			enable-active-high;
281			gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>;
282			gpio-open-drain;
283			vin-supply = <&vdd_5v_in_reg>;
284		};
285
286		usb3_vbus_reg: regulator@5 {
287			compatible = "regulator-fixed";
288			reg = <5>;
289			regulator-name = "usb3_vbus";
290			regulator-min-microvolt = <5000000>;
291			regulator-max-microvolt = <5000000>;
292			enable-active-high;
293			gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
294			gpio-open-drain;
295			vin-supply = <&vdd_5v_in_reg>;
296		};
297
298		sys_3v3_reg: regulator@6 {
299			compatible = "regulator-fixed";
300			reg = <6>;
301			regulator-name = "sys_3v3,vdd_3v3_alw";
302			regulator-min-microvolt = <3300000>;
303			regulator-max-microvolt = <3300000>;
304			regulator-always-on;
305			regulator-boot-on;
306			enable-active-high;
307			gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
308			vin-supply = <&vdd_5v_in_reg>;
309		};
310
311		sys_3v3_pexs_reg: regulator@7 {
312			compatible = "regulator-fixed";
313			reg = <7>;
314			regulator-name = "sys_3v3_pexs";
315			regulator-min-microvolt = <3300000>;
316			regulator-max-microvolt = <3300000>;
317			regulator-always-on;
318			regulator-boot-on;
319			enable-active-high;
320			gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>;
321			vin-supply = <&sys_3v3_reg>;
322		};
323
324		vdd_5v0_hdmi: regulator@8 {
325			compatible = "regulator-fixed";
326			reg = <8>;
327			regulator-name = "+VDD_5V_HDMI";
328			regulator-min-microvolt = <5000000>;
329			regulator-max-microvolt = <5000000>;
330			regulator-always-on;
331			regulator-boot-on;
332			vin-supply = <&sys_3v3_reg>;
333		};
334	};
335};
336