xref: /OK3568_Linux_fs/u-boot/arch/arm/dts/sun9i-a80-cx-a99.dts (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun/*
2*4882a593Smuzhiyun * sun9i-a80-cx-a99.dts - Device Tree file for the Sunchip CX-A99 board.
3*4882a593Smuzhiyun *
4*4882a593Smuzhiyun * Copyright (C) 2017 Rask Ingemann Lambertsen <rask@formelder.dk>
5*4882a593Smuzhiyun *
6*4882a593Smuzhiyun * This file is dual-licensed: you can use it either under the terms
7*4882a593Smuzhiyun * of the GPL or the X11 license, at your option. Note that this dual
8*4882a593Smuzhiyun * licensing only applies to this file, and not this project as a
9*4882a593Smuzhiyun * whole.
10*4882a593Smuzhiyun *
11*4882a593Smuzhiyun *  a) This file is free software; you can redistribute it and/or
12*4882a593Smuzhiyun *     modify it under the terms of the GNU General Public License as
13*4882a593Smuzhiyun *     published by the Free Software Foundation; either version 2 of the
14*4882a593Smuzhiyun *     License, or (at your option) any later version.
15*4882a593Smuzhiyun *
16*4882a593Smuzhiyun *     This file is distributed in the hope that it will be useful,
17*4882a593Smuzhiyun *     but WITHOUT ANY WARRANTY; without even the implied warranty of
18*4882a593Smuzhiyun *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19*4882a593Smuzhiyun *     GNU General Public License for more details.
20*4882a593Smuzhiyun *
21*4882a593Smuzhiyun * Or, alternatively,
22*4882a593Smuzhiyun *
23*4882a593Smuzhiyun *  b) Permission is hereby granted, free of charge, to any person
24*4882a593Smuzhiyun *     obtaining a copy of this software and associated documentation
25*4882a593Smuzhiyun *     files (the "Software"), to deal in the Software without
26*4882a593Smuzhiyun *     restriction, including without limitation the rights to use,
27*4882a593Smuzhiyun *     copy, modify, merge, publish, distribute, sublicense, and/or
28*4882a593Smuzhiyun *     sell copies of the Software, and to permit persons to whom the
29*4882a593Smuzhiyun *     Software is furnished to do so, subject to the following
30*4882a593Smuzhiyun *     conditions:
31*4882a593Smuzhiyun *
32*4882a593Smuzhiyun *     The above copyright notice and this permission notice shall be
33*4882a593Smuzhiyun *     included in all copies or substantial portions of the Software.
34*4882a593Smuzhiyun *
35*4882a593Smuzhiyun *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
36*4882a593Smuzhiyun *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
37*4882a593Smuzhiyun *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
38*4882a593Smuzhiyun *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
39*4882a593Smuzhiyun *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
40*4882a593Smuzhiyun *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
41*4882a593Smuzhiyun *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
42*4882a593Smuzhiyun *     OTHER DEALINGS IN THE SOFTWARE.
43*4882a593Smuzhiyun */
44*4882a593Smuzhiyun
45*4882a593Smuzhiyun/*
46*4882a593Smuzhiyun * The Sunchip CX-A99 board is found in several similar Android media
47*4882a593Smuzhiyun * players, such as:
48*4882a593Smuzhiyun *
49*4882a593Smuzhiyun * Instabox Fantasy A8 (no external antenna)
50*4882a593Smuzhiyun * Jesurun CS-Q8 (ships with larger remote control)
51*4882a593Smuzhiyun * Jesurun Maxone
52*4882a593Smuzhiyun * Rikomagic (RKM) MK80/MK80LE
53*4882a593Smuzhiyun * Tronsmart Draco AW80 Meta/Telos
54*4882a593Smuzhiyun *
55*4882a593Smuzhiyun * See the Sunchip CX-A99 page on the Linux-sunxi wiki for more information.
56*4882a593Smuzhiyun */
57*4882a593Smuzhiyun
58*4882a593Smuzhiyun/dts-v1/;
59*4882a593Smuzhiyun#include "sun9i-a80.dtsi"
60*4882a593Smuzhiyun
61*4882a593Smuzhiyun#include <dt-bindings/gpio/gpio.h>
62*4882a593Smuzhiyun
63*4882a593Smuzhiyun/ {
64*4882a593Smuzhiyun	model = "Sunchip CX-A99";
65*4882a593Smuzhiyun	compatible = "sunchip,cx-a99", "allwinner,sun9i-a80";
66*4882a593Smuzhiyun
67*4882a593Smuzhiyun	aliases {
68*4882a593Smuzhiyun		serial0 = &uart0;
69*4882a593Smuzhiyun	};
70*4882a593Smuzhiyun
71*4882a593Smuzhiyun	chosen {
72*4882a593Smuzhiyun		stdout-path = "serial0:115200n8";
73*4882a593Smuzhiyun	};
74*4882a593Smuzhiyun
75*4882a593Smuzhiyun	leds {
76*4882a593Smuzhiyun		compatible = "gpio-leds";
77*4882a593Smuzhiyun
78*4882a593Smuzhiyun		blue {
79*4882a593Smuzhiyun			gpios = <&pio 6 10 GPIO_ACTIVE_HIGH>;	/* PG10 */
80*4882a593Smuzhiyun			label = "cx-a99:blue:status";
81*4882a593Smuzhiyun		};
82*4882a593Smuzhiyun
83*4882a593Smuzhiyun		red {
84*4882a593Smuzhiyun			gpios = <&pio 6 11 GPIO_ACTIVE_HIGH>;	/* PG11 */
85*4882a593Smuzhiyun			label = "cx-a99:red:status";
86*4882a593Smuzhiyun		};
87*4882a593Smuzhiyun	};
88*4882a593Smuzhiyun
89*4882a593Smuzhiyun	powerseq_wifi: powerseq-wifi {
90*4882a593Smuzhiyun		compatible = "mmc-pwrseq-simple";
91*4882a593Smuzhiyun		clocks = <&ac100_rtc 1>;
92*4882a593Smuzhiyun		clock-names = "ext_clock";
93*4882a593Smuzhiyun		reset-gpios = <&r_pio 1 0 GPIO_ACTIVE_LOW>;	/* PM0 */
94*4882a593Smuzhiyun		post-power-on-delay-ms = <1>;	/* Minimum 2 cycles. */
95*4882a593Smuzhiyun	};
96*4882a593Smuzhiyun
97*4882a593Smuzhiyun	/* USB 2.0 connector closest to the 12 V power connector. */
98*4882a593Smuzhiyun	reg_usb1_vbus: regulator-usb1-vbus {
99*4882a593Smuzhiyun		compatible = "regulator-fixed";
100*4882a593Smuzhiyun		regulator-name = "usb1-vbus";
101*4882a593Smuzhiyun		regulator-min-microvolt = <5000000>;
102*4882a593Smuzhiyun		regulator-max-microvolt = <5000000>;
103*4882a593Smuzhiyun		gpio = <&r_pio 0 7 /* no flag support */ 0>;	/* PL7 */
104*4882a593Smuzhiyun		enable-active-high;
105*4882a593Smuzhiyun	};
106*4882a593Smuzhiyun
107*4882a593Smuzhiyun	/* USB 2.0 connector next to the SD card slot. */
108*4882a593Smuzhiyun	reg_usb3_vbus: regulator-usb3-vbus {
109*4882a593Smuzhiyun		compatible = "regulator-fixed";
110*4882a593Smuzhiyun		regulator-name = "usb3-vbus";
111*4882a593Smuzhiyun		regulator-min-microvolt = <5000000>;
112*4882a593Smuzhiyun		regulator-max-microvolt = <5000000>;
113*4882a593Smuzhiyun		gpio = <&r_pio 0 8 /* no flag support */ 0>;	/* PL8 */
114*4882a593Smuzhiyun		enable-active-high;
115*4882a593Smuzhiyun	};
116*4882a593Smuzhiyun
117*4882a593Smuzhiyun	/*
118*4882a593Smuzhiyun	 * OZ80120 voltage regulator for the four Cortex-A15 CPU cores.
119*4882a593Smuzhiyun	 * Although the regulator can output 750 - 1200 mV, the permissible
120*4882a593Smuzhiyun	 * range for the CPU cores is only 800 - 1100 mV.
121*4882a593Smuzhiyun	 */
122*4882a593Smuzhiyun	reg_vdd_cpub: regulator-vdd-cpub {
123*4882a593Smuzhiyun		compatible = "regulator-gpio";
124*4882a593Smuzhiyun
125*4882a593Smuzhiyun		regulator-always-on;
126*4882a593Smuzhiyun		regulator-min-microvolt = < 800000>;
127*4882a593Smuzhiyun		regulator-max-microvolt = <1100000>;
128*4882a593Smuzhiyun		regulator-name = "vdd-cpub";
129*4882a593Smuzhiyun
130*4882a593Smuzhiyun		/* Note: GPIO flags are not supported here . */
131*4882a593Smuzhiyun		enable-gpio = <&r_pio 0 2 /* flags n/a */ 0>;	/* PL2 */
132*4882a593Smuzhiyun		enable-active-high;
133*4882a593Smuzhiyun		gpios = <&r_pio 0 3 /* no flag support */ 0>,	/* PL3 */
134*4882a593Smuzhiyun			<&r_pio 0 4 /* no flag support */ 0>,	/* PL4 */
135*4882a593Smuzhiyun			<&r_pio 0 5 /* no flag support */ 0>;	/* PL5 */
136*4882a593Smuzhiyun
137*4882a593Smuzhiyun		gpios-states = <1 0 0>;
138*4882a593Smuzhiyun		states = <	 750000 0x7
139*4882a593Smuzhiyun				 800000 0x3
140*4882a593Smuzhiyun				 850000 0x5
141*4882a593Smuzhiyun				 900000 0x1
142*4882a593Smuzhiyun				 950000 0x6
143*4882a593Smuzhiyun				1000000 0x2
144*4882a593Smuzhiyun				1100000 0x4
145*4882a593Smuzhiyun				1200000 0x0>;
146*4882a593Smuzhiyun	};
147*4882a593Smuzhiyun};
148*4882a593Smuzhiyun
149*4882a593Smuzhiyun&ehci0 {
150*4882a593Smuzhiyun	status = "okay";
151*4882a593Smuzhiyun};
152*4882a593Smuzhiyun
153*4882a593Smuzhiyun&ehci2 {
154*4882a593Smuzhiyun	status = "okay";
155*4882a593Smuzhiyun};
156*4882a593Smuzhiyun
157*4882a593Smuzhiyun/*
158*4882a593Smuzhiyun * SD card slot. Although the GPIO pin for card detection is listed as capable
159*4882a593Smuzhiyun * of generating interrupts in the "A80 User Manual", this doesn't work for
160*4882a593Smuzhiyun * some unknown reason, so poll the GPIO for card detection. This is also what
161*4882a593Smuzhiyun * the vendor sys_config.fex file specifies.
162*4882a593Smuzhiyun */
163*4882a593Smuzhiyun&mmc0 {
164*4882a593Smuzhiyun	bus-width = <4>;
165*4882a593Smuzhiyun	cd-gpios = <&pio 7 17 GPIO_ACTIVE_LOW>;	/* PH17 */
166*4882a593Smuzhiyun	broken-cd;				/* Poll. */
167*4882a593Smuzhiyun	pinctrl-names = "default";
168*4882a593Smuzhiyun	pinctrl-0 = <&mmc0_pins>;
169*4882a593Smuzhiyun	vmmc-supply = <&reg_dcdce>;
170*4882a593Smuzhiyun	status = "okay";
171*4882a593Smuzhiyun};
172*4882a593Smuzhiyun
173*4882a593Smuzhiyun/* Ampak AP6335 IEEE 802.11 a/b/g/n/ac Wifi. */
174*4882a593Smuzhiyun&mmc1 {
175*4882a593Smuzhiyun	bus-width = <4>;
176*4882a593Smuzhiyun	non-removable;
177*4882a593Smuzhiyun	pinctrl-names = "default";
178*4882a593Smuzhiyun	pinctrl-0 = <&mmc1_pins>;
179*4882a593Smuzhiyun	vmmc-supply = <&reg_cldo3>;	/* See cldo2,cldo3 note. */
180*4882a593Smuzhiyun	vqmmc-supply = <&reg_aldo2>;
181*4882a593Smuzhiyun	mmc-pwrseq = <&powerseq_wifi>;
182*4882a593Smuzhiyun	status = "okay";
183*4882a593Smuzhiyun};
184*4882a593Smuzhiyun
185*4882a593Smuzhiyun/* On-board eMMC card. */
186*4882a593Smuzhiyun&mmc2 {
187*4882a593Smuzhiyun	bus-width = <8>;
188*4882a593Smuzhiyun	non-removable;
189*4882a593Smuzhiyun	pinctrl-names = "default";
190*4882a593Smuzhiyun	pinctrl-0 = <&mmc2_8bit_pins>;
191*4882a593Smuzhiyun	vmmc-supply = <&reg_dcdce>;
192*4882a593Smuzhiyun	status = "okay";
193*4882a593Smuzhiyun};
194*4882a593Smuzhiyun
195*4882a593Smuzhiyun&osc32k {
196*4882a593Smuzhiyun	clocks = <&ac100_rtc 0>;
197*4882a593Smuzhiyun};
198*4882a593Smuzhiyun
199*4882a593Smuzhiyun&r_ir {
200*4882a593Smuzhiyun	status = "okay";
201*4882a593Smuzhiyun};
202*4882a593Smuzhiyun
203*4882a593Smuzhiyun&r_rsb {
204*4882a593Smuzhiyun	status = "okay";
205*4882a593Smuzhiyun
206*4882a593Smuzhiyun	ac100: codec@e89 {
207*4882a593Smuzhiyun		compatible = "x-powers,ac100";
208*4882a593Smuzhiyun		reg = <0xe89>;
209*4882a593Smuzhiyun
210*4882a593Smuzhiyun		ac100_codec: codec {
211*4882a593Smuzhiyun			compatible = "x-powers,ac100-codec";
212*4882a593Smuzhiyun			interrupt-parent = <&r_pio>;
213*4882a593Smuzhiyun			interrupts = <0 9 IRQ_TYPE_LEVEL_LOW>;	/* PL9 */
214*4882a593Smuzhiyun			#clock-cells = <0>;
215*4882a593Smuzhiyun			clock-output-names = "4M_adda";
216*4882a593Smuzhiyun		};
217*4882a593Smuzhiyun
218*4882a593Smuzhiyun		ac100_rtc: rtc {
219*4882a593Smuzhiyun			compatible = "x-powers,ac100-rtc";
220*4882a593Smuzhiyun			interrupt-parent = <&nmi_intc>;
221*4882a593Smuzhiyun			interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
222*4882a593Smuzhiyun			clocks = <&ac100_codec>;
223*4882a593Smuzhiyun			#clock-cells = <1>;
224*4882a593Smuzhiyun			clock-output-names = "cko1_rtc",
225*4882a593Smuzhiyun					     "cko2_rtc",
226*4882a593Smuzhiyun					     "cko3_rtc";
227*4882a593Smuzhiyun		};
228*4882a593Smuzhiyun	};
229*4882a593Smuzhiyun
230*4882a593Smuzhiyun	pmic@745 {
231*4882a593Smuzhiyun		compatible = "x-powers,axp808", "x-powers,axp806";
232*4882a593Smuzhiyun		x-powers,master-mode;
233*4882a593Smuzhiyun		reg = <0x745>;
234*4882a593Smuzhiyun		interrupt-parent = <&nmi_intc>;
235*4882a593Smuzhiyun		interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
236*4882a593Smuzhiyun		interrupt-controller;
237*4882a593Smuzhiyun		#interrupt-cells = <1>;
238*4882a593Smuzhiyun
239*4882a593Smuzhiyun		swin-supply = <&reg_dcdce>;
240*4882a593Smuzhiyun
241*4882a593Smuzhiyun		regulators {
242*4882a593Smuzhiyun			reg_aldo1: aldo1 {
243*4882a593Smuzhiyun				regulator-boot-on;
244*4882a593Smuzhiyun				regulator-min-microvolt = <3000000>;
245*4882a593Smuzhiyun				regulator-max-microvolt = <3000000>;
246*4882a593Smuzhiyun				regulator-name = "vcc-3v0";
247*4882a593Smuzhiyun			};
248*4882a593Smuzhiyun
249*4882a593Smuzhiyun			/* Supplies pin groups G and M. */
250*4882a593Smuzhiyun			reg_aldo2: aldo2 {
251*4882a593Smuzhiyun				regulator-boot-on;
252*4882a593Smuzhiyun				regulator-min-microvolt = <1800000>;
253*4882a593Smuzhiyun				regulator-max-microvolt = <3600000>;
254*4882a593Smuzhiyun				regulator-name = "vddio-wifi-codec";
255*4882a593Smuzhiyun			};
256*4882a593Smuzhiyun
257*4882a593Smuzhiyun			reg_aldo3: aldo3 {
258*4882a593Smuzhiyun				regulator-boot-on;
259*4882a593Smuzhiyun				regulator-min-microvolt = <2500000>;
260*4882a593Smuzhiyun				regulator-max-microvolt = <2500000>;
261*4882a593Smuzhiyun				regulator-name = "vddio-gmac";
262*4882a593Smuzhiyun			};
263*4882a593Smuzhiyun
264*4882a593Smuzhiyun			reg_bldo1: bldo1 {
265*4882a593Smuzhiyun				regulator-always-on;	/* Hang if disabled */
266*4882a593Smuzhiyun				regulator-min-microvolt = <1700000>;
267*4882a593Smuzhiyun				regulator-max-microvolt = <1900000>;
268*4882a593Smuzhiyun				regulator-name = "vdd18-dll-vcc18-pll";
269*4882a593Smuzhiyun			};
270*4882a593Smuzhiyun
271*4882a593Smuzhiyun			reg_bldo2: bldo2 {
272*4882a593Smuzhiyun				regulator-always-on;	/* Hang if disabled */
273*4882a593Smuzhiyun				regulator-min-microvolt = < 800000>;
274*4882a593Smuzhiyun				regulator-max-microvolt = <1100000>;
275*4882a593Smuzhiyun				regulator-name = "vdd-cpus";
276*4882a593Smuzhiyun			};
277*4882a593Smuzhiyun
278*4882a593Smuzhiyun			reg_bldo3: bldo3 {
279*4882a593Smuzhiyun				regulator-min-microvolt = <1100000>;
280*4882a593Smuzhiyun				regulator-max-microvolt = <1300000>;
281*4882a593Smuzhiyun				regulator-name = "vcc12-hsic";
282*4882a593Smuzhiyun			};
283*4882a593Smuzhiyun
284*4882a593Smuzhiyun			reg_bldo4: bldo4 {
285*4882a593Smuzhiyun				regulator-boot-on;
286*4882a593Smuzhiyun				regulator-min-microvolt = < 800000>;
287*4882a593Smuzhiyun				regulator-max-microvolt = <1100000>;
288*4882a593Smuzhiyun				regulator-name = "vdd09-hdmi";
289*4882a593Smuzhiyun			};
290*4882a593Smuzhiyun
291*4882a593Smuzhiyun			/* Supplies PLx pins which control some regulators. */
292*4882a593Smuzhiyun			reg_cldo1: cldo1 {
293*4882a593Smuzhiyun				regulator-always-on;
294*4882a593Smuzhiyun				regulator-min-microvolt = <3300000>;
295*4882a593Smuzhiyun				regulator-max-microvolt = <3300000>;
296*4882a593Smuzhiyun				regulator-name = "vcc-pl-led";
297*4882a593Smuzhiyun			};
298*4882a593Smuzhiyun
299*4882a593Smuzhiyun			/*
300*4882a593Smuzhiyun			 * cldo2 and cldo3 are connected in parallel.
301*4882a593Smuzhiyun			 * There is currently no way to express that.
302*4882a593Smuzhiyun			 * For now, use regulator-always-on on cldo2 and lock
303*4882a593Smuzhiyun			 * the voltage on both to 3.3 V.
304*4882a593Smuzhiyun			 */
305*4882a593Smuzhiyun			reg_cldo2: cldo2 {
306*4882a593Smuzhiyun				regulator-always-on;
307*4882a593Smuzhiyun				regulator-min-microvolt = <3300000>;
308*4882a593Smuzhiyun				regulator-max-microvolt = <3300000>;
309*4882a593Smuzhiyun				regulator-name = "vbat2-wifi+bt";
310*4882a593Smuzhiyun			};
311*4882a593Smuzhiyun
312*4882a593Smuzhiyun			reg_cldo3: cldo3 {
313*4882a593Smuzhiyun				regulator-min-microvolt = <3300000>;
314*4882a593Smuzhiyun				regulator-max-microvolt = <3300000>;
315*4882a593Smuzhiyun				regulator-name = "vbat1-wifi+bt";
316*4882a593Smuzhiyun			};
317*4882a593Smuzhiyun
318*4882a593Smuzhiyun			reg_dcdca: dcdca {
319*4882a593Smuzhiyun				regulator-always-on;
320*4882a593Smuzhiyun				regulator-min-microvolt = < 800000>;
321*4882a593Smuzhiyun				regulator-max-microvolt = <1100000>;
322*4882a593Smuzhiyun				regulator-name = "vdd-cpua";
323*4882a593Smuzhiyun			};
324*4882a593Smuzhiyun
325*4882a593Smuzhiyun			reg_dcdcb: dcdcb {
326*4882a593Smuzhiyun				regulator-always-on;
327*4882a593Smuzhiyun				regulator-min-microvolt = <1450000>;
328*4882a593Smuzhiyun				regulator-max-microvolt = <1550000>;
329*4882a593Smuzhiyun				regulator-name = "vcc-dram";
330*4882a593Smuzhiyun			};
331*4882a593Smuzhiyun
332*4882a593Smuzhiyun			reg_dcdcc: dcdcc {
333*4882a593Smuzhiyun				regulator-min-microvolt = < 800000>;
334*4882a593Smuzhiyun				regulator-max-microvolt = <1100000>;
335*4882a593Smuzhiyun				regulator-name = "vdd-gpu";
336*4882a593Smuzhiyun			};
337*4882a593Smuzhiyun
338*4882a593Smuzhiyun			reg_dcdcd: dcdcd {
339*4882a593Smuzhiyun				regulator-always-on;	/* Hang if disabled. */
340*4882a593Smuzhiyun				regulator-min-microvolt = < 800000>;
341*4882a593Smuzhiyun				regulator-max-microvolt = <1100000>;
342*4882a593Smuzhiyun				regulator-name = "vdd-sys";
343*4882a593Smuzhiyun			};
344*4882a593Smuzhiyun
345*4882a593Smuzhiyun			/* Supplies pin groups B-F and H. */
346*4882a593Smuzhiyun			reg_dcdce: dcdce {
347*4882a593Smuzhiyun				regulator-always-on;
348*4882a593Smuzhiyun				regulator-min-microvolt = <3300000>;
349*4882a593Smuzhiyun				regulator-max-microvolt = <3300000>;
350*4882a593Smuzhiyun				regulator-name = "vcc-io-mmc-spdif";
351*4882a593Smuzhiyun			};
352*4882a593Smuzhiyun
353*4882a593Smuzhiyun			reg_sw: sw {
354*4882a593Smuzhiyun				regulator-min-microvolt = <3300000>;
355*4882a593Smuzhiyun				regulator-max-microvolt = <3300000>;
356*4882a593Smuzhiyun				regulator-name = "vcc-gmac-codec";
357*4882a593Smuzhiyun			};
358*4882a593Smuzhiyun		};
359*4882a593Smuzhiyun	};
360*4882a593Smuzhiyun};
361*4882a593Smuzhiyun
362*4882a593Smuzhiyun/*
363*4882a593Smuzhiyun * 5-pin connector opposite of the SD card slot:
364*4882a593Smuzhiyun * 1 = GND (pointed to by small triangle), 2 = GND, 3 = 3.3 V, 4 = RX, 5 = TX.
365*4882a593Smuzhiyun */
366*4882a593Smuzhiyun&uart0 {
367*4882a593Smuzhiyun	pinctrl-names = "default";
368*4882a593Smuzhiyun	pinctrl-0 = <&uart0_pins_a>;
369*4882a593Smuzhiyun	status = "okay";
370*4882a593Smuzhiyun};
371*4882a593Smuzhiyun
372*4882a593Smuzhiyun&usbphy1 {
373*4882a593Smuzhiyun	phy-supply = <&reg_usb1_vbus>;
374*4882a593Smuzhiyun	status = "okay";
375*4882a593Smuzhiyun};
376*4882a593Smuzhiyun
377*4882a593Smuzhiyun&usbphy3 {
378*4882a593Smuzhiyun	phy-supply = <&reg_usb3_vbus>;
379*4882a593Smuzhiyun	status = "okay";
380*4882a593Smuzhiyun};
381