xref: /openbmc/u-boot/arch/arm/dts/rk3288-vyasa.dts (revision 1e84e44c)
1d55af074SJagan Teki/*
2d55af074SJagan Teki * Copyright (C) 2017 Jagan Teki <jagan@amarulasolutions.com>
3d55af074SJagan Teki *
4d55af074SJagan Teki * This file is dual-licensed: you can use it either under the terms
5d55af074SJagan Teki * of the GPL or the X11 license, at your option. Note that this dual
6d55af074SJagan Teki * licensing only applies to this file, and not this project as a
7d55af074SJagan Teki * whole.
8d55af074SJagan Teki *
9d55af074SJagan Teki *  a) This file is free software; you can redistribute it and/or
10d55af074SJagan Teki *     modify it under the terms of the GNU General Public License as
11d55af074SJagan Teki *     published by the Free Software Foundation; either version 2 of the
12d55af074SJagan Teki *     License, or (at your option) any later version.
13d55af074SJagan Teki *
14d55af074SJagan Teki *     This file is distributed in the hope that it will be useful,
15d55af074SJagan Teki *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16d55af074SJagan Teki *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17d55af074SJagan Teki *     GNU General Public License for more details.
18d55af074SJagan Teki *
19d55af074SJagan Teki * Or, alternatively,
20d55af074SJagan Teki *
21d55af074SJagan Teki *  b) Permission is hereby granted, free of charge, to any person
22d55af074SJagan Teki *     obtaining a copy of this software and associated documentation
23d55af074SJagan Teki *     files (the "Software"), to deal in the Software without
24d55af074SJagan Teki *     restriction, including without limitation the rights to use,
25d55af074SJagan Teki *     copy, modify, merge, publish, distribute, sublicense, and/or
26d55af074SJagan Teki *     sell copies of the Software, and to permit persons to whom the
27d55af074SJagan Teki *     Software is furnished to do so, subject to the following
28d55af074SJagan Teki *     conditions:
29d55af074SJagan Teki *
30d55af074SJagan Teki *     The above copyright notice and this permission notice shall be
31d55af074SJagan Teki *     included in all copies or substantial portions of the Software.
32d55af074SJagan Teki *
33d55af074SJagan Teki *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34d55af074SJagan Teki *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35d55af074SJagan Teki *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36d55af074SJagan Teki *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37d55af074SJagan Teki *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38d55af074SJagan Teki *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39d55af074SJagan Teki *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40d55af074SJagan Teki *     OTHER DEALINGS IN THE SOFTWARE.
41d55af074SJagan Teki */
42d55af074SJagan Teki
43d55af074SJagan Teki/dts-v1/;
44d55af074SJagan Teki#include "rk3288.dtsi"
45d55af074SJagan Teki
46d55af074SJagan Teki/ {
47d55af074SJagan Teki	model = "Amarula Vyasa-RK3288";
48d55af074SJagan Teki	compatible = "amarula,vyasa-rk3288", "rockchip,rk3288";
49d55af074SJagan Teki
50d55af074SJagan Teki	chosen {
51d55af074SJagan Teki		stdout-path = &uart2;
52d55af074SJagan Teki	};
53d55af074SJagan Teki
54d55af074SJagan Teki	memory {
55d11455f5SJagan Teki		reg = <0x0 0x0 0x0 0x80000000>;
56d55af074SJagan Teki		device_type = "memory";
57d55af074SJagan Teki	};
58d55af074SJagan Teki
59ad6c9655SJagan Teki	dc12_vbat: dc12-vbat {
60ad6c9655SJagan Teki		compatible = "regulator-fixed";
61ad6c9655SJagan Teki		regulator-name = "dc12_vbat";
62ad6c9655SJagan Teki		regulator-min-microvolt = <12000000>;
63ad6c9655SJagan Teki		regulator-max-microvolt = <12000000>;
64ad6c9655SJagan Teki		regulator-always-on;
65ad6c9655SJagan Teki		regulator-boot-on;
66ad6c9655SJagan Teki	};
67ad6c9655SJagan Teki
68ad6c9655SJagan Teki	vboot_3v3: vboot-3v3 {
69ad6c9655SJagan Teki		compatible = "regulator-fixed";
70ad6c9655SJagan Teki		regulator-name = "vboot_3v3";
71ad6c9655SJagan Teki		regulator-min-microvolt = <3300000>;
72ad6c9655SJagan Teki		regulator-max-microvolt = <3300000>;
73ad6c9655SJagan Teki		regulator-always-on;
74ad6c9655SJagan Teki		regulator-boot-on;
75ad6c9655SJagan Teki		vin-supply = <&dc12_vbat>;
76ad6c9655SJagan Teki	};
77ad6c9655SJagan Teki
78d55af074SJagan Teki	vcc_sys: vsys-regulator {
79d55af074SJagan Teki		compatible = "regulator-fixed";
80d55af074SJagan Teki		regulator-name = "vcc_sys";
81ad6c9655SJagan Teki		regulator-min-microvolt = <3700000>;
82ad6c9655SJagan Teki		regulator-max-microvolt = <3700000>;
83ad6c9655SJagan Teki		regulator-always-on;
84ad6c9655SJagan Teki		regulator-boot-on;
85ad6c9655SJagan Teki		vin-supply = <&dc12_vbat>;
86ad6c9655SJagan Teki	};
87ad6c9655SJagan Teki
88ad6c9655SJagan Teki	vboot_5v: vboot-5v {
89ad6c9655SJagan Teki		compatible = "regulator-fixed";
90ad6c9655SJagan Teki		regulator-name = "vboot_sv";
91d55af074SJagan Teki		regulator-min-microvolt = <5000000>;
92d55af074SJagan Teki		regulator-max-microvolt = <5000000>;
93d55af074SJagan Teki		regulator-always-on;
94d55af074SJagan Teki		regulator-boot-on;
95ad6c9655SJagan Teki		vin-supply = <&dc12_vbat>;
96ad6c9655SJagan Teki	};
97ad6c9655SJagan Teki
98ad6c9655SJagan Teki	v3g_3v3: v3g-3v3 {
99ad6c9655SJagan Teki		compatible = "regulator-fixed";
100ad6c9655SJagan Teki		regulator-name = "v3g_3v3";
101ad6c9655SJagan Teki		regulator-min-microvolt = <3300000>;
102ad6c9655SJagan Teki		regulator-max-microvolt = <3300000>;
103ad6c9655SJagan Teki		regulator-always-on;
104ad6c9655SJagan Teki		regulator-boot-on;
105ad6c9655SJagan Teki		vin-supply = <&dc12_vbat>;
106d55af074SJagan Teki	};
1070d319341SJagan Teki
108fd0d7f93SJagan Teki	vsus_5v: vsus-5v {
109fd0d7f93SJagan Teki		compatible = "regulator-fixed";
110fd0d7f93SJagan Teki		regulator-name = "vsus_5v";
111fd0d7f93SJagan Teki		regulator-min-microvolt = <5000000>;
112fd0d7f93SJagan Teki		regulator-max-microvolt = <5000000>;
113fd0d7f93SJagan Teki		regulator-always-on;
114fd0d7f93SJagan Teki		regulator-boot-on;
115fd0d7f93SJagan Teki		vin-supply = <&vcc_io>;
116fd0d7f93SJagan Teki	};
117fd0d7f93SJagan Teki
118159916f4SJagan Teki	vusb1_5v: vusb1-5v {
119159916f4SJagan Teki		compatible = "regulator-fixed";
120159916f4SJagan Teki		regulator-name = "vusb1_5v";
121159916f4SJagan Teki		enable-active-high;
122159916f4SJagan Teki		gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; /* OTG_VBUS_DRV */
123159916f4SJagan Teki		pinctrl-names = "default";
124159916f4SJagan Teki		pinctrl-0 = <&otg_vbus_drv>;
125159916f4SJagan Teki		regulator-min-microvolt = <5000000>;
126159916f4SJagan Teki		regulator-max-microvolt = <5000000>;
127159916f4SJagan Teki		regulator-always-on;
128159916f4SJagan Teki		regulator-boot-on;
129159916f4SJagan Teki		vin-supply = <&vsus_5v>;
130159916f4SJagan Teki	};
131159916f4SJagan Teki
132fd0d7f93SJagan Teki	vusb2_5v: vusb2-5v {
133fd0d7f93SJagan Teki		compatible = "regulator-fixed";
134fd0d7f93SJagan Teki		regulator-name = "vusb2_5v";
135fd0d7f93SJagan Teki		enable-active-high;
136fd0d7f93SJagan Teki		gpio = <&gpio8 RK_PB1 GPIO_ACTIVE_HIGH>; /* USB2_PWR_EN */
137fd0d7f93SJagan Teki		pinctrl-names = "default";
138fd0d7f93SJagan Teki		pinctrl-0 = <&usb2_pwr_en>;
139fd0d7f93SJagan Teki		regulator-min-microvolt = <5000000>;
140fd0d7f93SJagan Teki		regulator-max-microvolt = <5000000>;
141fd0d7f93SJagan Teki		regulator-always-on;
142fd0d7f93SJagan Teki		regulator-boot-on;
143fd0d7f93SJagan Teki		vin-supply = <&vsus_5v>;
144fd0d7f93SJagan Teki	};
145fd0d7f93SJagan Teki
1460d319341SJagan Teki	ext_gmac: external-gmac-clock {
1470d319341SJagan Teki		compatible = "fixed-clock";
1480d319341SJagan Teki		#clock-cells = <0>;
1490d319341SJagan Teki		clock-frequency = <125000000>;
1500d319341SJagan Teki		clock-output-names = "ext_gmac";
1510d319341SJagan Teki	};
152d55af074SJagan Teki};
153d55af074SJagan Teki
154d55af074SJagan Teki&cpu0 {
155d55af074SJagan Teki	cpu0-supply = <&vdd_cpu>;
156d55af074SJagan Teki};
157d55af074SJagan Teki
158*1e84e44cSJagan Teki&emmc {
159*1e84e44cSJagan Teki	bus-width = <8>;
160*1e84e44cSJagan Teki	cap-mmc-highspeed;
161*1e84e44cSJagan Teki	disable-wp;
162*1e84e44cSJagan Teki	non-removable;
163*1e84e44cSJagan Teki	pinctrl-names = "default";
164*1e84e44cSJagan Teki	pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>;
165*1e84e44cSJagan Teki	vmmc-supply = <&vcc_io>;
166*1e84e44cSJagan Teki	status = "okay";
167*1e84e44cSJagan Teki};
168*1e84e44cSJagan Teki
1690d319341SJagan Teki&gmac {
1700d319341SJagan Teki	assigned-clocks = <&cru SCLK_MAC>;
1710d319341SJagan Teki	assigned-clock-parents = <&ext_gmac>;
1720d319341SJagan Teki	clock_in_out = "input";
1730d319341SJagan Teki	pinctrl-names = "default";
1740d319341SJagan Teki	pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
1750d319341SJagan Teki	phy-supply = <&vcc_lan>;
1760d319341SJagan Teki	phy-mode = "rgmii";
1770d319341SJagan Teki	snps,reset-active-low;
1780d319341SJagan Teki	snps,reset-delays-us = <0 10000 1000000>;
1790d319341SJagan Teki	snps,reset-gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_LOW>;
1800d319341SJagan Teki	tx_delay = <0x30>;
1810d319341SJagan Teki	rx_delay = <0x10>;
1820d319341SJagan Teki	status = "okay";
1830d319341SJagan Teki};
1840d319341SJagan Teki
185d11455f5SJagan Teki&gpu {
186d11455f5SJagan Teki	mali-supply = <&vdd_gpu>;
187d11455f5SJagan Teki	status = "okay";
188d11455f5SJagan Teki};
189d11455f5SJagan Teki
190d11455f5SJagan Teki&hdmi {
191d11455f5SJagan Teki	ddc-i2c-bus = <&i2c2>;
192d11455f5SJagan Teki	status = "okay";
193d11455f5SJagan Teki};
194d11455f5SJagan Teki
195d55af074SJagan Teki&i2c0 {
196d55af074SJagan Teki	clock-frequency = <400000>;
197d55af074SJagan Teki	status = "okay";
198d55af074SJagan Teki
199d55af074SJagan Teki	rk808: pmic@1b {
200d55af074SJagan Teki		compatible = "rockchip,rk808";
201d55af074SJagan Teki		reg = <0x1b>;
202d55af074SJagan Teki		interrupt-parent = <&gpio0>;
203d55af074SJagan Teki		interrupts = <RK_PA4 IRQ_TYPE_LEVEL_LOW>;
204d55af074SJagan Teki		#clock-cells = <1>;
205d55af074SJagan Teki		clock-output-names = "xin32k", "rk808-clkout2";
206d11455f5SJagan Teki		pinctrl-names = "default";
207d11455f5SJagan Teki		pinctrl-0 = <&pmic_int &global_pwroff>;
208d11455f5SJagan Teki		rockchip,system-power-controller;
209d11455f5SJagan Teki		wakeup-source;
210d55af074SJagan Teki
211d55af074SJagan Teki		vcc1-supply = <&vcc_sys>;
212d55af074SJagan Teki		vcc2-supply = <&vcc_sys>;
213d55af074SJagan Teki		vcc3-supply = <&vcc_sys>;
214d55af074SJagan Teki		vcc4-supply = <&vcc_sys>;
215d55af074SJagan Teki		vcc6-supply = <&vcc_sys>;
216d55af074SJagan Teki		vcc7-supply = <&vcc_sys>;
217d55af074SJagan Teki		vcc8-supply = <&vcc_io>;
218d55af074SJagan Teki		vcc9-supply = <&vcc_sys>;
219d55af074SJagan Teki		vcc10-supply = <&vcc_sys>;
220d55af074SJagan Teki		vcc11-supply = <&vcc_sys>;
221d55af074SJagan Teki		vcc12-supply = <&vcc_io>;
222d55af074SJagan Teki
223d55af074SJagan Teki		regulators {
224764a94d9SJagan Teki			vdd_cpu: DCDC_REG1 {
225764a94d9SJagan Teki				regulator-name = "vdd_arm";
226d55af074SJagan Teki				regulator-min-microvolt = <750000>;
227d55af074SJagan Teki				regulator-max-microvolt = <1350000>;
228d11455f5SJagan Teki				regulator-always-on;
229d11455f5SJagan Teki				regulator-boot-on;
230d55af074SJagan Teki				regulator-state-mem {
231d55af074SJagan Teki					regulator-off-in-suspend;
232d55af074SJagan Teki				};
233d55af074SJagan Teki			};
234d55af074SJagan Teki
235d55af074SJagan Teki			vdd_gpu: DCDC_REG2 {
236d11455f5SJagan Teki				regulator-name = "vdd_gpu";
237d55af074SJagan Teki				regulator-min-microvolt = <850000>;
238d55af074SJagan Teki				regulator-max-microvolt = <1250000>;
239d11455f5SJagan Teki				regulator-always-on;
240d11455f5SJagan Teki				regulator-boot-on;
241d55af074SJagan Teki				regulator-state-mem {
242d55af074SJagan Teki					regulator-on-in-suspend;
243d55af074SJagan Teki					regulator-suspend-microvolt = <1000000>;
244d55af074SJagan Teki				};
245d55af074SJagan Teki			};
246d55af074SJagan Teki
247d55af074SJagan Teki			vcc_ddr: DCDC_REG3 {
248d11455f5SJagan Teki				regulator-name = "vcc_ddr";
249d55af074SJagan Teki				regulator-always-on;
250d55af074SJagan Teki				regulator-boot-on;
251d55af074SJagan Teki				regulator-state-mem {
252d55af074SJagan Teki					regulator-on-in-suspend;
253d55af074SJagan Teki				};
254d55af074SJagan Teki			};
255d55af074SJagan Teki
256d55af074SJagan Teki			vcc_io: DCDC_REG4 {
257d11455f5SJagan Teki				regulator-name = "vcc_io";
258d55af074SJagan Teki				regulator-min-microvolt = <3300000>;
259d55af074SJagan Teki				regulator-max-microvolt = <3300000>;
260d11455f5SJagan Teki				regulator-always-on;
261d11455f5SJagan Teki				regulator-boot-on;
262d55af074SJagan Teki				regulator-state-mem {
263d55af074SJagan Teki					regulator-on-in-suspend;
264d55af074SJagan Teki					regulator-suspend-microvolt = <3300000>;
265d55af074SJagan Teki				};
266d55af074SJagan Teki			};
267d55af074SJagan Teki
268d55af074SJagan Teki			vcca_tp: LDO_REG1 {
269d11455f5SJagan Teki				regulator-name = "vcc_tp";
270d55af074SJagan Teki				regulator-min-microvolt = <3300000>;
271d55af074SJagan Teki				regulator-max-microvolt = <3300000>;
272d11455f5SJagan Teki				regulator-always-on;
273d11455f5SJagan Teki				regulator-boot-on;
274d55af074SJagan Teki				regulator-state-mem {
275d55af074SJagan Teki					regulator-on-in-suspend;
276d55af074SJagan Teki					regulator-suspend-microvolt = <3300000>;
277d55af074SJagan Teki				};
278d55af074SJagan Teki			};
279d55af074SJagan Teki
280d55af074SJagan Teki			vcc_codec: LDO_REG2 {
281d11455f5SJagan Teki				regulator-name = "vcc_codec";
282d55af074SJagan Teki				regulator-min-microvolt = <3300000>;
283d55af074SJagan Teki				regulator-max-microvolt = <3300000>;
284d11455f5SJagan Teki				regulator-always-on;
285d11455f5SJagan Teki				regulator-boot-on;
286d55af074SJagan Teki				regulator-state-mem {
287d55af074SJagan Teki					regulator-off-in-suspend;
288d55af074SJagan Teki				};
289d55af074SJagan Teki			};
290d55af074SJagan Teki
291d55af074SJagan Teki			vdd_10: LDO_REG3 {
292d11455f5SJagan Teki				regulator-name = "vdd_10";
293d55af074SJagan Teki				regulator-min-microvolt = <1000000>;
294d55af074SJagan Teki				regulator-max-microvolt = <1000000>;
295d11455f5SJagan Teki				regulator-always-on;
296d11455f5SJagan Teki				regulator-boot-on;
297d55af074SJagan Teki				regulator-state-mem {
298d55af074SJagan Teki					regulator-on-in-suspend;
299d55af074SJagan Teki					regulator-suspend-microvolt = <1000000>;
300d55af074SJagan Teki				};
301d55af074SJagan Teki			};
302d55af074SJagan Teki
303d55af074SJagan Teki			vcc_gps: LDO_REG4 {
304d11455f5SJagan Teki				regulator-name = "vcc_gps";
305d55af074SJagan Teki				regulator-min-microvolt = <1800000>;
306d55af074SJagan Teki				regulator-max-microvolt = <1800000>;
307d11455f5SJagan Teki				regulator-always-on;
308d11455f5SJagan Teki				regulator-boot-on;
309d55af074SJagan Teki				regulator-state-mem {
310d55af074SJagan Teki					regulator-on-in-suspend;
311d55af074SJagan Teki					regulator-suspend-microvolt = <1800000>;
312d55af074SJagan Teki				};
313d55af074SJagan Teki			};
314d55af074SJagan Teki
315d55af074SJagan Teki			vccio_sd: LDO_REG5 {
316d11455f5SJagan Teki				regulator-name = "vccio_sd";
317d55af074SJagan Teki				regulator-min-microvolt = <1800000>;
318d55af074SJagan Teki				regulator-max-microvolt = <3300000>;
319d11455f5SJagan Teki				regulator-always-on;
320d11455f5SJagan Teki				regulator-boot-on;
321d55af074SJagan Teki				regulator-state-mem {
322d55af074SJagan Teki					regulator-on-in-suspend;
323d55af074SJagan Teki					regulator-suspend-microvolt = <3300000>;
324d55af074SJagan Teki				};
325d55af074SJagan Teki			};
326d55af074SJagan Teki
327d55af074SJagan Teki			vcc10_lcd: LDO_REG6 {
328d11455f5SJagan Teki				regulator-name = "vcc10_lcd";
329d55af074SJagan Teki				regulator-min-microvolt = <1000000>;
330d55af074SJagan Teki				regulator-max-microvolt = <1000000>;
331d11455f5SJagan Teki				regulator-always-on;
332d11455f5SJagan Teki				regulator-boot-on;
333d55af074SJagan Teki				regulator-state-mem {
334d55af074SJagan Teki					regulator-on-in-suspend;
335d55af074SJagan Teki					regulator-suspend-microvolt = <1800000>;
336d55af074SJagan Teki				};
337d55af074SJagan Teki			};
338d55af074SJagan Teki
339d55af074SJagan Teki			vcc_18: LDO_REG7 {
340d11455f5SJagan Teki				regulator-name = "vcc_18";
341d55af074SJagan Teki				regulator-min-microvolt = <1800000>;
342d55af074SJagan Teki				regulator-max-microvolt = <1800000>;
343d11455f5SJagan Teki				regulator-always-on;
344d11455f5SJagan Teki				regulator-boot-on;
345d55af074SJagan Teki				regulator-state-mem {
346d55af074SJagan Teki					regulator-on-in-suspend;
347d55af074SJagan Teki					regulator-suspend-microvolt = <1800000>;
348d55af074SJagan Teki				};
349d55af074SJagan Teki			};
350d55af074SJagan Teki
351d55af074SJagan Teki			vcc18_lcd: LDO_REG8 {
352d11455f5SJagan Teki				regulator-name = "vcc18_lcd";
353d55af074SJagan Teki				regulator-min-microvolt = <1800000>;
354d55af074SJagan Teki				regulator-max-microvolt = <1800000>;
355d11455f5SJagan Teki				regulator-always-on;
356d11455f5SJagan Teki				regulator-boot-on;
357d55af074SJagan Teki				regulator-state-mem {
358d55af074SJagan Teki					regulator-on-in-suspend;
359d55af074SJagan Teki					regulator-suspend-microvolt = <1800000>;
360d55af074SJagan Teki				};
361d55af074SJagan Teki			};
362d55af074SJagan Teki
36358b3f26fSJagan Teki			vcc_sd: SWITCH_REG1 {
36458b3f26fSJagan Teki				regulator-name = "vcc_sd";
365d55af074SJagan Teki				regulator-min-microvolt = <3300000>;
366d55af074SJagan Teki				regulator-max-microvolt = <3300000>;
367d11455f5SJagan Teki				regulator-always-on;
368d11455f5SJagan Teki				regulator-boot-on;
369d55af074SJagan Teki				regulator-state-mem {
370d55af074SJagan Teki					regulator-on-in-suspend;
371d55af074SJagan Teki				};
372d55af074SJagan Teki			};
373d55af074SJagan Teki
374d55af074SJagan Teki			vcc_lan: SWITCH_REG2 {
375d11455f5SJagan Teki				regulator-name = "vcc_lan";
376d55af074SJagan Teki				regulator-min-microvolt = <3300000>;
377d55af074SJagan Teki				regulator-max-microvolt = <3300000>;
378d11455f5SJagan Teki				regulator-always-on;
379d11455f5SJagan Teki				regulator-boot-on;
380d55af074SJagan Teki				regulator-state-mem {
381d55af074SJagan Teki					regulator-on-in-suspend;
382d55af074SJagan Teki				};
383d55af074SJagan Teki			};
384d55af074SJagan Teki		};
385d55af074SJagan Teki	};
386d55af074SJagan Teki};
387d55af074SJagan Teki
388d11455f5SJagan Teki&i2c2 {
389d55af074SJagan Teki	status = "okay";
390d11455f5SJagan Teki};
391d55af074SJagan Teki
392d11455f5SJagan Teki&sdmmc {
393d55af074SJagan Teki	bus-width = <4>;
394d55af074SJagan Teki	cap-mmc-highspeed;
395d55af074SJagan Teki	cap-sd-highspeed;
396d55af074SJagan Teki	card-detect-delay = <200>;
397d55af074SJagan Teki	disable-wp;
398d55af074SJagan Teki	pinctrl-names = "default";
399d55af074SJagan Teki	pinctrl-0 = <&sdmmc_clk>, <&sdmmc_cmd>, <&sdmmc_cd>, <&sdmmc_bus4>;
400d55af074SJagan Teki	vmmc-supply = <&vcc_sd>;
401d55af074SJagan Teki	vqmmc-supply = <&vccio_sd>;
402d11455f5SJagan Teki	status = "okay";
403d55af074SJagan Teki};
404d55af074SJagan Teki
405d55af074SJagan Teki&uart2 {
406d11455f5SJagan Teki	status = "okay";
407d11455f5SJagan Teki};
408d11455f5SJagan Teki
409fd0d7f93SJagan Teki&usbphy {
410fd0d7f93SJagan Teki	status = "okay";
411fd0d7f93SJagan Teki};
412fd0d7f93SJagan Teki
413fd0d7f93SJagan Teki&usb_host0_ehci {
414fd0d7f93SJagan Teki	status = "okay";
415fd0d7f93SJagan Teki};
416fd0d7f93SJagan Teki
417fd0d7f93SJagan Teki&usb_host1 {
418fd0d7f93SJagan Teki	pinctrl-names = "default";
419fd0d7f93SJagan Teki	pinctrl-0 = <&phy_pwr_en>;
420fd0d7f93SJagan Teki	status = "okay";
421fd0d7f93SJagan Teki};
422fd0d7f93SJagan Teki
423159916f4SJagan Teki&usb_otg {
424159916f4SJagan Teki	status = "okay";
425159916f4SJagan Teki};
426159916f4SJagan Teki
427d11455f5SJagan Teki&vopb {
428d11455f5SJagan Teki	status = "okay";
429d11455f5SJagan Teki};
430d11455f5SJagan Teki
431d11455f5SJagan Teki&vopb_mmu {
432d11455f5SJagan Teki	status = "okay";
433d11455f5SJagan Teki};
434d11455f5SJagan Teki
435d11455f5SJagan Teki&vopl {
436d11455f5SJagan Teki	status = "okay";
437d11455f5SJagan Teki};
438d11455f5SJagan Teki
439d11455f5SJagan Teki&vopl_mmu {
440d55af074SJagan Teki	status = "okay";
441d55af074SJagan Teki};
442d55af074SJagan Teki
443d55af074SJagan Teki&wdt {
444d55af074SJagan Teki	status = "okay";
445d55af074SJagan Teki};
446d55af074SJagan Teki
447d55af074SJagan Teki&pinctrl {
4480d319341SJagan Teki	pcfg_output_high: pcfg-output-high {
4490d319341SJagan Teki		output-high;
4500d319341SJagan Teki	};
4510d319341SJagan Teki
4520d319341SJagan Teki	gmac {
4530d319341SJagan Teki		phy_int: phy-int {
4540d319341SJagan Teki			rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>;
4550d319341SJagan Teki		};
4560d319341SJagan Teki
4570d319341SJagan Teki		phy_pmeb: phy-pmeb {
4580d319341SJagan Teki			rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
4590d319341SJagan Teki		};
4600d319341SJagan Teki
4610d319341SJagan Teki		phy_rst: phy-rst {
4620d319341SJagan Teki			rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_output_high>;
4630d319341SJagan Teki		};
4640d319341SJagan Teki	};
4650d319341SJagan Teki
466d55af074SJagan Teki	pmic {
467d55af074SJagan Teki		pmic_int: pmic-int {
468d55af074SJagan Teki			rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_up>;
469d55af074SJagan Teki		};
470d55af074SJagan Teki	};
471fd0d7f93SJagan Teki
472fd0d7f93SJagan Teki	usb_host {
473fd0d7f93SJagan Teki		phy_pwr_en: phy-pwr-en {
474fd0d7f93SJagan Teki			rockchip,pins = <RK_GPIO2 RK_PB1 RK_FUNC_GPIO &pcfg_output_high>;
475fd0d7f93SJagan Teki		};
476fd0d7f93SJagan Teki
477fd0d7f93SJagan Teki		usb2_pwr_en: usb2-pwr-en {
478fd0d7f93SJagan Teki			rockchip,pins = <8 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
479fd0d7f93SJagan Teki		};
480fd0d7f93SJagan Teki	};
481159916f4SJagan Teki
482159916f4SJagan Teki	usb_otg {
483159916f4SJagan Teki		otg_vbus_drv: otg-vbus-drv {
484159916f4SJagan Teki			rockchip,pins = <RK_GPIO0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
485159916f4SJagan Teki
486159916f4SJagan Teki		};
487159916f4SJagan Teki	};
488d55af074SJagan Teki};
489