xref: /rk3399_rockchip-uboot/arch/arm/dts/tegra30-beaver.dts (revision 8d3a25685e4aac7070365a2b3c53c2c81b27930f)
15ab502cbSMasahiro Yamada/dts-v1/;
25ab502cbSMasahiro Yamada
35ab502cbSMasahiro Yamada#include "tegra30.dtsi"
45ab502cbSMasahiro Yamada
55ab502cbSMasahiro Yamada/ {
65ab502cbSMasahiro Yamada	model = "NVIDIA Beaver";
75ab502cbSMasahiro Yamada	compatible = "nvidia,beaver", "nvidia,tegra30";
85ab502cbSMasahiro Yamada
9c3691392SSimon Glass	chosen {
10c3691392SSimon Glass		stdout-path = &uarta;
11c3691392SSimon Glass	};
12c3691392SSimon Glass
135ab502cbSMasahiro Yamada	aliases {
145ab502cbSMasahiro Yamada		i2c0 = "/i2c@7000d000";
155ab502cbSMasahiro Yamada		i2c1 = "/i2c@7000c000";
165ab502cbSMasahiro Yamada		i2c2 = "/i2c@7000c400";
175ab502cbSMasahiro Yamada		i2c3 = "/i2c@7000c500";
185ab502cbSMasahiro Yamada		i2c4 = "/i2c@7000c700";
1967748a73SStephen Warren		mmc0 = "/sdhci@78000600";
2067748a73SStephen Warren		mmc1 = "/sdhci@78000000";
21d2f60f93SSimon Glass		spi0 = "/spi@7000da00";
22e6607cffSStephen Warren		usb0 = "/usb@7d000000";
23e6607cffSStephen Warren		usb1 = "/usb@7d008000";
245ab502cbSMasahiro Yamada	};
255ab502cbSMasahiro Yamada
265ab502cbSMasahiro Yamada	memory {
275ab502cbSMasahiro Yamada		device_type = "memory";
285ab502cbSMasahiro Yamada		reg = <0x80000000 0x7ff00000>;
295ab502cbSMasahiro Yamada	};
305ab502cbSMasahiro Yamada
31affe0269SThierry Reding	pcie-controller@00003000 {
32affe0269SThierry Reding		status = "okay";
33affe0269SThierry Reding
34affe0269SThierry Reding		avdd-pexa-supply = <&ldo1_reg>;
35affe0269SThierry Reding		vdd-pexa-supply = <&ldo1_reg>;
36affe0269SThierry Reding		avdd-pexb-supply = <&ldo1_reg>;
37affe0269SThierry Reding		vdd-pexb-supply = <&ldo1_reg>;
38affe0269SThierry Reding		avdd-pex-pll-supply = <&ldo1_reg>;
39affe0269SThierry Reding		avdd-plle-supply = <&ldo1_reg>;
40affe0269SThierry Reding		vddio-pex-ctl-supply = <&sys_3v3_reg>;
41affe0269SThierry Reding		hvdd-pex-supply = <&sys_3v3_pexs_reg>;
42affe0269SThierry Reding
43affe0269SThierry Reding		pci@1,0 {
44affe0269SThierry Reding			status = "okay";
45affe0269SThierry Reding			nvidia,num-lanes = <2>;
46affe0269SThierry Reding		};
47affe0269SThierry Reding
48affe0269SThierry Reding		pci@2,0 {
49affe0269SThierry Reding			nvidia,num-lanes = <2>;
50affe0269SThierry Reding		};
51affe0269SThierry Reding
52affe0269SThierry Reding		pci@3,0 {
53affe0269SThierry Reding			status = "okay";
54affe0269SThierry Reding			nvidia,num-lanes = <2>;
55affe0269SThierry Reding		};
56affe0269SThierry Reding	};
57affe0269SThierry Reding
585ab502cbSMasahiro Yamada	i2c@7000c000 {
595ab502cbSMasahiro Yamada		status = "okay";
605ab502cbSMasahiro Yamada		clock-frequency = <100000>;
615ab502cbSMasahiro Yamada	};
625ab502cbSMasahiro Yamada
635ab502cbSMasahiro Yamada	i2c@7000c400 {
645ab502cbSMasahiro Yamada		status = "okay";
655ab502cbSMasahiro Yamada		clock-frequency = <100000>;
665ab502cbSMasahiro Yamada	};
675ab502cbSMasahiro Yamada
685ab502cbSMasahiro Yamada	i2c@7000c500 {
695ab502cbSMasahiro Yamada		status = "okay";
705ab502cbSMasahiro Yamada		clock-frequency = <100000>;
715ab502cbSMasahiro Yamada	};
725ab502cbSMasahiro Yamada
735ab502cbSMasahiro Yamada	i2c@7000c700 {
745ab502cbSMasahiro Yamada		status = "okay";
755ab502cbSMasahiro Yamada		clock-frequency = <100000>;
765ab502cbSMasahiro Yamada	};
775ab502cbSMasahiro Yamada
785ab502cbSMasahiro Yamada	i2c@7000d000 {
795ab502cbSMasahiro Yamada		status = "okay";
805ab502cbSMasahiro Yamada		clock-frequency = <100000>;
81affe0269SThierry Reding
82affe0269SThierry Reding		pmic: tps65911@2d {
83affe0269SThierry Reding			compatible = "ti,tps65911";
84affe0269SThierry Reding			reg = <0x2d>;
85affe0269SThierry Reding
86affe0269SThierry Reding			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
87affe0269SThierry Reding			#interrupt-cells = <2>;
88affe0269SThierry Reding			interrupt-controller;
89affe0269SThierry Reding
90affe0269SThierry Reding			ti,system-power-controller;
91affe0269SThierry Reding
92affe0269SThierry Reding			#gpio-cells = <2>;
93affe0269SThierry Reding			gpio-controller;
94affe0269SThierry Reding
95affe0269SThierry Reding			vcc1-supply = <&vdd_5v_in_reg>;
96affe0269SThierry Reding			vcc2-supply = <&vdd_5v_in_reg>;
97affe0269SThierry Reding			vcc3-supply = <&vio_reg>;
98affe0269SThierry Reding			vcc4-supply = <&vdd_5v_in_reg>;
99affe0269SThierry Reding			vcc5-supply = <&vdd_5v_in_reg>;
100affe0269SThierry Reding			vcc6-supply = <&vdd2_reg>;
101affe0269SThierry Reding			vcc7-supply = <&vdd_5v_in_reg>;
102affe0269SThierry Reding			vccio-supply = <&vdd_5v_in_reg>;
103affe0269SThierry Reding
104affe0269SThierry Reding			regulators {
105affe0269SThierry Reding				#address-cells = <1>;
106affe0269SThierry Reding				#size-cells = <0>;
107affe0269SThierry Reding
108affe0269SThierry Reding				vdd1_reg: vdd1 {
109affe0269SThierry Reding					regulator-name = "vddio_ddr_1v2";
110affe0269SThierry Reding					regulator-min-microvolt = <1200000>;
111affe0269SThierry Reding					regulator-max-microvolt = <1200000>;
112affe0269SThierry Reding					regulator-always-on;
113affe0269SThierry Reding				};
114affe0269SThierry Reding
115affe0269SThierry Reding				vdd2_reg: vdd2 {
116affe0269SThierry Reding					regulator-name = "vdd_1v5_gen";
117affe0269SThierry Reding					regulator-min-microvolt = <1500000>;
118affe0269SThierry Reding					regulator-max-microvolt = <1500000>;
119affe0269SThierry Reding					regulator-always-on;
120affe0269SThierry Reding				};
121affe0269SThierry Reding
122affe0269SThierry Reding				vddctrl_reg: vddctrl {
123affe0269SThierry Reding					regulator-name = "vdd_cpu,vdd_sys";
124affe0269SThierry Reding					regulator-min-microvolt = <1000000>;
125affe0269SThierry Reding					regulator-max-microvolt = <1000000>;
126affe0269SThierry Reding					regulator-always-on;
127affe0269SThierry Reding				};
128affe0269SThierry Reding
129affe0269SThierry Reding				vio_reg: vio {
130affe0269SThierry Reding					regulator-name = "vdd_1v8_gen";
131affe0269SThierry Reding					regulator-min-microvolt = <1800000>;
132affe0269SThierry Reding					regulator-max-microvolt = <1800000>;
133affe0269SThierry Reding					regulator-always-on;
134affe0269SThierry Reding				};
135affe0269SThierry Reding
136affe0269SThierry Reding				ldo1_reg: ldo1 {
137affe0269SThierry Reding					regulator-name = "vdd_pexa,vdd_pexb";
138affe0269SThierry Reding					regulator-min-microvolt = <1050000>;
139affe0269SThierry Reding					regulator-max-microvolt = <1050000>;
140affe0269SThierry Reding				};
141affe0269SThierry Reding
142affe0269SThierry Reding				ldo2_reg: ldo2 {
143affe0269SThierry Reding					regulator-name = "vdd_sata,avdd_plle";
144affe0269SThierry Reding					regulator-min-microvolt = <1050000>;
145affe0269SThierry Reding					regulator-max-microvolt = <1050000>;
146affe0269SThierry Reding				};
147affe0269SThierry Reding
148affe0269SThierry Reding				/* LDO3 is not connected to anything */
149affe0269SThierry Reding
150affe0269SThierry Reding				ldo4_reg: ldo4 {
151affe0269SThierry Reding					regulator-name = "vdd_rtc";
152affe0269SThierry Reding					regulator-min-microvolt = <1200000>;
153affe0269SThierry Reding					regulator-max-microvolt = <1200000>;
154affe0269SThierry Reding					regulator-always-on;
155affe0269SThierry Reding				};
156affe0269SThierry Reding
157affe0269SThierry Reding				ldo5_reg: ldo5 {
158affe0269SThierry Reding					regulator-name = "vddio_sdmmc,avdd_vdac";
159affe0269SThierry Reding					regulator-min-microvolt = <3300000>;
160affe0269SThierry Reding					regulator-max-microvolt = <3300000>;
161affe0269SThierry Reding					regulator-always-on;
162affe0269SThierry Reding				};
163affe0269SThierry Reding
164affe0269SThierry Reding				ldo6_reg: ldo6 {
165affe0269SThierry Reding					regulator-name = "avdd_dsi_csi,pwrdet_mipi";
166affe0269SThierry Reding					regulator-min-microvolt = <1200000>;
167affe0269SThierry Reding					regulator-max-microvolt = <1200000>;
168affe0269SThierry Reding				};
169affe0269SThierry Reding
170affe0269SThierry Reding				ldo7_reg: ldo7 {
171affe0269SThierry Reding					regulator-name = "vdd_pllm,x,u,a_p_c_s";
172affe0269SThierry Reding					regulator-min-microvolt = <1200000>;
173affe0269SThierry Reding					regulator-max-microvolt = <1200000>;
174affe0269SThierry Reding					regulator-always-on;
175affe0269SThierry Reding				};
176affe0269SThierry Reding
177affe0269SThierry Reding				ldo8_reg: ldo8 {
178affe0269SThierry Reding					regulator-name = "vdd_ddr_hs";
179affe0269SThierry Reding					regulator-min-microvolt = <1000000>;
180affe0269SThierry Reding					regulator-max-microvolt = <1000000>;
181affe0269SThierry Reding					regulator-always-on;
182affe0269SThierry Reding				};
183affe0269SThierry Reding			};
184affe0269SThierry Reding		};
1855ab502cbSMasahiro Yamada	};
1865ab502cbSMasahiro Yamada
1875ab502cbSMasahiro Yamada	spi@7000da00 {
1885ab502cbSMasahiro Yamada		status = "okay";
1895ab502cbSMasahiro Yamada		spi-max-frequency = <25000000>;
1905ab502cbSMasahiro Yamada		spi-flash@1 {
1915ab502cbSMasahiro Yamada			compatible = "winbond,w25q32";
1925ab502cbSMasahiro Yamada			reg = <1>;
1935ab502cbSMasahiro Yamada			spi-max-frequency = <20000000>;
1945ab502cbSMasahiro Yamada		};
1955ab502cbSMasahiro Yamada	};
1965ab502cbSMasahiro Yamada
1975ab502cbSMasahiro Yamada	sdhci@78000000 {
1985ab502cbSMasahiro Yamada		status = "okay";
1992b2b50bcSSimon Glass		cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
2002b2b50bcSSimon Glass		wp-gpios = <&gpio TEGRA_GPIO(T, 3) GPIO_ACTIVE_HIGH>;
2012b2b50bcSSimon Glass		power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>;
2025ab502cbSMasahiro Yamada		bus-width = <4>;
2035ab502cbSMasahiro Yamada	};
2045ab502cbSMasahiro Yamada
2055ab502cbSMasahiro Yamada	sdhci@78000600 {
2065ab502cbSMasahiro Yamada		status = "okay";
2075ab502cbSMasahiro Yamada		bus-width = <8>;
2089a06a1a3STom Warren		non-removable;
2095ab502cbSMasahiro Yamada	};
2105ab502cbSMasahiro Yamada
211e6607cffSStephen Warren	usb@7d000000 {
212e6607cffSStephen Warren		status = "okay";
213e6607cffSStephen Warren		dr_mode = "otg";
2142b2b50bcSSimon Glass		nvidia,vbus-gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>;
215e6607cffSStephen Warren	};
216e6607cffSStephen Warren
2175ab502cbSMasahiro Yamada	usb@7d008000 {
2182b2b50bcSSimon Glass		nvidia,vbus-gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
2195ab502cbSMasahiro Yamada		status = "okay";
2205ab502cbSMasahiro Yamada	};
221affe0269SThierry Reding
222ce2f2d2aSStephen Warren	clocks {
223ce2f2d2aSStephen Warren		compatible = "simple-bus";
224ce2f2d2aSStephen Warren		#address-cells = <1>;
225ce2f2d2aSStephen Warren		#size-cells = <0>;
226ce2f2d2aSStephen Warren
227ce2f2d2aSStephen Warren		clk32k_in: clock@0 {
228ce2f2d2aSStephen Warren			compatible = "fixed-clock";
229ce2f2d2aSStephen Warren			reg=<0>;
230ce2f2d2aSStephen Warren			#clock-cells = <0>;
231ce2f2d2aSStephen Warren			clock-frequency = <32768>;
232ce2f2d2aSStephen Warren		};
233ce2f2d2aSStephen Warren	};
234ce2f2d2aSStephen Warren
235affe0269SThierry Reding	regulators {
236affe0269SThierry Reding		compatible = "simple-bus";
237affe0269SThierry Reding		#address-cells = <1>;
238affe0269SThierry Reding		#size-cells = <0>;
239affe0269SThierry Reding
240affe0269SThierry Reding		vdd_5v_in_reg: regulator@0 {
241affe0269SThierry Reding			compatible = "regulator-fixed";
242affe0269SThierry Reding			reg = <0>;
243affe0269SThierry Reding			regulator-name = "vdd_5v_in";
244affe0269SThierry Reding			regulator-min-microvolt = <5000000>;
245affe0269SThierry Reding			regulator-max-microvolt = <5000000>;
246affe0269SThierry Reding			regulator-always-on;
247affe0269SThierry Reding		};
248affe0269SThierry Reding
249affe0269SThierry Reding		chargepump_5v_reg: regulator@1 {
250affe0269SThierry Reding			compatible = "regulator-fixed";
251affe0269SThierry Reding			reg = <1>;
252affe0269SThierry Reding			regulator-name = "chargepump_5v";
253affe0269SThierry Reding			regulator-min-microvolt = <5000000>;
254affe0269SThierry Reding			regulator-max-microvolt = <5000000>;
255affe0269SThierry Reding			regulator-boot-on;
256affe0269SThierry Reding			regulator-always-on;
257affe0269SThierry Reding			enable-active-high;
258affe0269SThierry Reding			gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
259affe0269SThierry Reding		};
260affe0269SThierry Reding
261affe0269SThierry Reding		ddr_reg: regulator@2 {
262affe0269SThierry Reding			compatible = "regulator-fixed";
263affe0269SThierry Reding			reg = <2>;
264affe0269SThierry Reding			regulator-name = "vdd_ddr";
265affe0269SThierry Reding			regulator-min-microvolt = <1500000>;
266affe0269SThierry Reding			regulator-max-microvolt = <1500000>;
267affe0269SThierry Reding			regulator-always-on;
268affe0269SThierry Reding			regulator-boot-on;
269affe0269SThierry Reding			enable-active-high;
270affe0269SThierry Reding			gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
271affe0269SThierry Reding			vin-supply = <&vdd_5v_in_reg>;
272affe0269SThierry Reding		};
273affe0269SThierry Reding
274affe0269SThierry Reding		vdd_5v_sata_reg: regulator@3 {
275affe0269SThierry Reding			compatible = "regulator-fixed";
276affe0269SThierry Reding			reg = <3>;
277affe0269SThierry Reding			regulator-name = "vdd_5v_sata";
278affe0269SThierry Reding			regulator-min-microvolt = <5000000>;
279affe0269SThierry Reding			regulator-max-microvolt = <5000000>;
280affe0269SThierry Reding			regulator-always-on;
281affe0269SThierry Reding			regulator-boot-on;
282affe0269SThierry Reding			enable-active-high;
283affe0269SThierry Reding			gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>;
284affe0269SThierry Reding			vin-supply = <&vdd_5v_in_reg>;
285affe0269SThierry Reding		};
286affe0269SThierry Reding
287affe0269SThierry Reding		usb1_vbus_reg: regulator@4 {
288affe0269SThierry Reding			compatible = "regulator-fixed";
289affe0269SThierry Reding			reg = <4>;
290affe0269SThierry Reding			regulator-name = "usb1_vbus";
291affe0269SThierry Reding			regulator-min-microvolt = <5000000>;
292affe0269SThierry Reding			regulator-max-microvolt = <5000000>;
293affe0269SThierry Reding			enable-active-high;
294affe0269SThierry Reding			gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>;
295affe0269SThierry Reding			gpio-open-drain;
296affe0269SThierry Reding			vin-supply = <&vdd_5v_in_reg>;
297affe0269SThierry Reding		};
298affe0269SThierry Reding
299affe0269SThierry Reding		usb3_vbus_reg: regulator@5 {
300affe0269SThierry Reding			compatible = "regulator-fixed";
301affe0269SThierry Reding			reg = <5>;
302affe0269SThierry Reding			regulator-name = "usb3_vbus";
303affe0269SThierry Reding			regulator-min-microvolt = <5000000>;
304affe0269SThierry Reding			regulator-max-microvolt = <5000000>;
305affe0269SThierry Reding			enable-active-high;
306affe0269SThierry Reding			gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
307affe0269SThierry Reding			gpio-open-drain;
308affe0269SThierry Reding			vin-supply = <&vdd_5v_in_reg>;
309affe0269SThierry Reding		};
310affe0269SThierry Reding
311affe0269SThierry Reding		sys_3v3_reg: regulator@6 {
312affe0269SThierry Reding			compatible = "regulator-fixed";
313affe0269SThierry Reding			reg = <6>;
314affe0269SThierry Reding			regulator-name = "sys_3v3,vdd_3v3_alw";
315affe0269SThierry Reding			regulator-min-microvolt = <3300000>;
316affe0269SThierry Reding			regulator-max-microvolt = <3300000>;
317affe0269SThierry Reding			regulator-always-on;
318affe0269SThierry Reding			regulator-boot-on;
319affe0269SThierry Reding			enable-active-high;
320affe0269SThierry Reding			gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
321affe0269SThierry Reding			vin-supply = <&vdd_5v_in_reg>;
322affe0269SThierry Reding		};
323affe0269SThierry Reding
324affe0269SThierry Reding		sys_3v3_pexs_reg: regulator@7 {
325affe0269SThierry Reding			compatible = "regulator-fixed";
326affe0269SThierry Reding			reg = <7>;
327affe0269SThierry Reding			regulator-name = "sys_3v3_pexs";
328affe0269SThierry Reding			regulator-min-microvolt = <3300000>;
329affe0269SThierry Reding			regulator-max-microvolt = <3300000>;
330affe0269SThierry Reding			regulator-always-on;
331affe0269SThierry Reding			regulator-boot-on;
332affe0269SThierry Reding			enable-active-high;
333affe0269SThierry Reding			gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>;
334affe0269SThierry Reding			vin-supply = <&sys_3v3_reg>;
335affe0269SThierry Reding		};
336affe0269SThierry Reding
337affe0269SThierry Reding		vdd_5v0_hdmi: regulator@8 {
338affe0269SThierry Reding			compatible = "regulator-fixed";
339affe0269SThierry Reding			reg = <8>;
340affe0269SThierry Reding			regulator-name = "+VDD_5V_HDMI";
341affe0269SThierry Reding			regulator-min-microvolt = <5000000>;
342affe0269SThierry Reding			regulator-max-microvolt = <5000000>;
343affe0269SThierry Reding			regulator-always-on;
344affe0269SThierry Reding			regulator-boot-on;
345affe0269SThierry Reding			vin-supply = <&sys_3v3_reg>;
346affe0269SThierry Reding		};
347affe0269SThierry Reding	};
3485ab502cbSMasahiro Yamada};
349*f53dcc0eSSimon Glass
350*f53dcc0eSSimon Glass&uarta {
351*f53dcc0eSSimon Glass	status = "okay";
352*f53dcc0eSSimon Glass};
353