xref: /linux/scripts/dtc/include-prefixes/arm/allwinner/sun8i-a83t-cubietruck-plus.dts (revision 724ba6751532055db75992fc6ae21c3e322e94a7)
1*724ba675SRob Herring/*
2*724ba675SRob Herring * Copyright 2015 Chen-Yu Tsai
3*724ba675SRob Herring *
4*724ba675SRob Herring * Chen-Yu Tsai <wens@csie.org>
5*724ba675SRob Herring *
6*724ba675SRob Herring * This file is dual-licensed: you can use it either under the terms
7*724ba675SRob Herring * of the GPL or the X11 license, at your option. Note that this dual
8*724ba675SRob Herring * licensing only applies to this file, and not this project as a
9*724ba675SRob Herring * whole.
10*724ba675SRob Herring *
11*724ba675SRob Herring *  a) This file is free software; you can redistribute it and/or
12*724ba675SRob Herring *     modify it under the terms of the GNU General Public License as
13*724ba675SRob Herring *     published by the Free Software Foundation; either version 2 of the
14*724ba675SRob Herring *     License, or (at your option) any later version.
15*724ba675SRob Herring *
16*724ba675SRob Herring *     This file is distributed in the hope that it will be useful,
17*724ba675SRob Herring *     but WITHOUT ANY WARRANTY; without even the implied warranty of
18*724ba675SRob Herring *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19*724ba675SRob Herring *     GNU General Public License for more details.
20*724ba675SRob Herring *
21*724ba675SRob Herring * Or, alternatively,
22*724ba675SRob Herring *
23*724ba675SRob Herring *  b) Permission is hereby granted, free of charge, to any person
24*724ba675SRob Herring *     obtaining a copy of this software and associated documentation
25*724ba675SRob Herring *     files (the "Software"), to deal in the Software without
26*724ba675SRob Herring *     restriction, including without limitation the rights to use,
27*724ba675SRob Herring *     copy, modify, merge, publish, distribute, sublicense, and/or
28*724ba675SRob Herring *     sell copies of the Software, and to permit persons to whom the
29*724ba675SRob Herring *     Software is furnished to do so, subject to the following
30*724ba675SRob Herring *     conditions:
31*724ba675SRob Herring *
32*724ba675SRob Herring *     The above copyright notice and this permission notice shall be
33*724ba675SRob Herring *     included in all copies or substantial portions of the Software.
34*724ba675SRob Herring *
35*724ba675SRob Herring *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
36*724ba675SRob Herring *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
37*724ba675SRob Herring *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
38*724ba675SRob Herring *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
39*724ba675SRob Herring *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
40*724ba675SRob Herring *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
41*724ba675SRob Herring *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
42*724ba675SRob Herring *     OTHER DEALINGS IN THE SOFTWARE.
43*724ba675SRob Herring */
44*724ba675SRob Herring
45*724ba675SRob Herring/dts-v1/;
46*724ba675SRob Herring#include "sun8i-a83t.dtsi"
47*724ba675SRob Herring
48*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
49*724ba675SRob Herring
50*724ba675SRob Herring/ {
51*724ba675SRob Herring	model = "Cubietech Cubietruck Plus";
52*724ba675SRob Herring	compatible = "cubietech,cubietruck-plus", "allwinner,sun8i-a83t";
53*724ba675SRob Herring
54*724ba675SRob Herring	aliases {
55*724ba675SRob Herring		ethernet0 = &emac;
56*724ba675SRob Herring		serial0 = &uart0;
57*724ba675SRob Herring	};
58*724ba675SRob Herring
59*724ba675SRob Herring	chosen {
60*724ba675SRob Herring		stdout-path = "serial0:115200n8";
61*724ba675SRob Herring	};
62*724ba675SRob Herring
63*724ba675SRob Herring	hdmi-connector {
64*724ba675SRob Herring		compatible = "hdmi-connector";
65*724ba675SRob Herring		type = "a";
66*724ba675SRob Herring
67*724ba675SRob Herring		port {
68*724ba675SRob Herring			hdmi_con_in: endpoint {
69*724ba675SRob Herring				remote-endpoint = <&hdmi_out_con>;
70*724ba675SRob Herring			};
71*724ba675SRob Herring		};
72*724ba675SRob Herring	};
73*724ba675SRob Herring
74*724ba675SRob Herring	leds {
75*724ba675SRob Herring		compatible = "gpio-leds";
76*724ba675SRob Herring
77*724ba675SRob Herring		led-0 {
78*724ba675SRob Herring			label = "cubietruck-plus:blue:usr";
79*724ba675SRob Herring			gpios = <&pio 3 25 GPIO_ACTIVE_HIGH>; /* PD25 */
80*724ba675SRob Herring		};
81*724ba675SRob Herring
82*724ba675SRob Herring		led-1 {
83*724ba675SRob Herring			label = "cubietruck-plus:orange:usr";
84*724ba675SRob Herring			gpios = <&pio 3 26 GPIO_ACTIVE_HIGH>; /* PD26 */
85*724ba675SRob Herring		};
86*724ba675SRob Herring
87*724ba675SRob Herring		led-2 {
88*724ba675SRob Herring			label = "cubietruck-plus:white:usr";
89*724ba675SRob Herring			gpios = <&pio 3 27 GPIO_ACTIVE_HIGH>; /* PD27 */
90*724ba675SRob Herring		};
91*724ba675SRob Herring
92*724ba675SRob Herring		led-3 {
93*724ba675SRob Herring			label = "cubietruck-plus:green:usr";
94*724ba675SRob Herring			gpios = <&pio 4 4 GPIO_ACTIVE_HIGH>; /* PE4 */
95*724ba675SRob Herring		};
96*724ba675SRob Herring	};
97*724ba675SRob Herring
98*724ba675SRob Herring	usb-hub {
99*724ba675SRob Herring		/* I2C is not connected */
100*724ba675SRob Herring		compatible = "smsc,usb3503";
101*724ba675SRob Herring		initial-mode = <1>; /* initialize in HUB mode */
102*724ba675SRob Herring		disabled-ports = <1>;
103*724ba675SRob Herring		intn-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
104*724ba675SRob Herring		reset-gpios = <&pio 4 16 GPIO_ACTIVE_LOW>; /* PE16 */
105*724ba675SRob Herring		connect-gpios = <&pio 4 17 GPIO_ACTIVE_HIGH>; /* PE17 */
106*724ba675SRob Herring		refclk-frequency = <19200000>;
107*724ba675SRob Herring	};
108*724ba675SRob Herring
109*724ba675SRob Herring	reg_usb1_vbus: reg-usb1-vbus {
110*724ba675SRob Herring		compatible = "regulator-fixed";
111*724ba675SRob Herring		regulator-name = "usb1-vbus";
112*724ba675SRob Herring		regulator-min-microvolt = <5000000>;
113*724ba675SRob Herring		regulator-max-microvolt = <5000000>;
114*724ba675SRob Herring		regulator-boot-on;
115*724ba675SRob Herring		enable-active-high;
116*724ba675SRob Herring		gpio = <&pio 3 29 GPIO_ACTIVE_HIGH>; /* PD29 */
117*724ba675SRob Herring	};
118*724ba675SRob Herring
119*724ba675SRob Herring	reg_usb2_vbus: reg-usb2-vbus {
120*724ba675SRob Herring		compatible = "regulator-fixed";
121*724ba675SRob Herring		regulator-name = "usb2-vbus";
122*724ba675SRob Herring		regulator-min-microvolt = <5000000>;
123*724ba675SRob Herring		regulator-max-microvolt = <5000000>;
124*724ba675SRob Herring		regulator-boot-on;
125*724ba675SRob Herring		enable-active-high;
126*724ba675SRob Herring		gpio = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
127*724ba675SRob Herring	};
128*724ba675SRob Herring
129*724ba675SRob Herring	sound {
130*724ba675SRob Herring		compatible = "simple-audio-card";
131*724ba675SRob Herring		simple-audio-card,name = "On-board SPDIF";
132*724ba675SRob Herring
133*724ba675SRob Herring		simple-audio-card,cpu {
134*724ba675SRob Herring			sound-dai = <&spdif>;
135*724ba675SRob Herring		};
136*724ba675SRob Herring
137*724ba675SRob Herring		simple-audio-card,codec {
138*724ba675SRob Herring			sound-dai = <&spdif_out>;
139*724ba675SRob Herring		};
140*724ba675SRob Herring	};
141*724ba675SRob Herring
142*724ba675SRob Herring	spdif_out: spdif-out {
143*724ba675SRob Herring		#sound-dai-cells = <0>;
144*724ba675SRob Herring		compatible = "linux,spdif-dit";
145*724ba675SRob Herring	};
146*724ba675SRob Herring
147*724ba675SRob Herring	wifi_pwrseq: wifi_pwrseq {
148*724ba675SRob Herring		compatible = "mmc-pwrseq-simple";
149*724ba675SRob Herring		clocks = <&ac100_rtc 1>;
150*724ba675SRob Herring		clock-names = "ext_clock";
151*724ba675SRob Herring		/* The WiFi low power clock must be 32768 Hz */
152*724ba675SRob Herring		assigned-clocks = <&ac100_rtc 1>;
153*724ba675SRob Herring		assigned-clock-rates = <32768>;
154*724ba675SRob Herring		/* enables internal regulator and de-asserts reset */
155*724ba675SRob Herring		reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 WL-PMU-EN */
156*724ba675SRob Herring	};
157*724ba675SRob Herring};
158*724ba675SRob Herring
159*724ba675SRob Herring&cpu0 {
160*724ba675SRob Herring	cpu-supply = <&reg_dcdc2>;
161*724ba675SRob Herring};
162*724ba675SRob Herring
163*724ba675SRob Herring&cpu100 {
164*724ba675SRob Herring	cpu-supply = <&reg_dcdc3>;
165*724ba675SRob Herring};
166*724ba675SRob Herring
167*724ba675SRob Herring&de {
168*724ba675SRob Herring	status = "okay";
169*724ba675SRob Herring};
170*724ba675SRob Herring
171*724ba675SRob Herring&ehci0 {
172*724ba675SRob Herring	/* GL830 USB-to-SATA bridge here */
173*724ba675SRob Herring	status = "okay";
174*724ba675SRob Herring};
175*724ba675SRob Herring
176*724ba675SRob Herring&ehci1 {
177*724ba675SRob Herring	/* USB3503 HSIC USB 2.0 hub here */
178*724ba675SRob Herring	status = "okay";
179*724ba675SRob Herring};
180*724ba675SRob Herring
181*724ba675SRob Herring&emac {
182*724ba675SRob Herring	pinctrl-names = "default";
183*724ba675SRob Herring	pinctrl-0 = <&emac_rgmii_pins>;
184*724ba675SRob Herring	phy-supply = <&reg_dldo4>;
185*724ba675SRob Herring	phy-handle = <&rgmii_phy>;
186*724ba675SRob Herring	phy-mode = "rgmii-id";
187*724ba675SRob Herring	status = "okay";
188*724ba675SRob Herring};
189*724ba675SRob Herring
190*724ba675SRob Herring&hdmi {
191*724ba675SRob Herring	status = "okay";
192*724ba675SRob Herring};
193*724ba675SRob Herring
194*724ba675SRob Herring&hdmi_out {
195*724ba675SRob Herring	hdmi_out_con: endpoint {
196*724ba675SRob Herring		remote-endpoint = <&hdmi_con_in>;
197*724ba675SRob Herring	};
198*724ba675SRob Herring};
199*724ba675SRob Herring
200*724ba675SRob Herring&mdio {
201*724ba675SRob Herring	rgmii_phy: ethernet-phy@1 {
202*724ba675SRob Herring		compatible = "ethernet-phy-ieee802.3-c22";
203*724ba675SRob Herring		reg = <1>;
204*724ba675SRob Herring	};
205*724ba675SRob Herring};
206*724ba675SRob Herring
207*724ba675SRob Herring&mmc0 {
208*724ba675SRob Herring	pinctrl-names = "default";
209*724ba675SRob Herring	pinctrl-0 = <&mmc0_pins>;
210*724ba675SRob Herring	vmmc-supply = <&reg_dcdc1>;
211*724ba675SRob Herring	bus-width = <4>;
212*724ba675SRob Herring	cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
213*724ba675SRob Herring	status = "okay";
214*724ba675SRob Herring};
215*724ba675SRob Herring
216*724ba675SRob Herring&mmc1 {
217*724ba675SRob Herring	vmmc-supply = <&reg_dcdc1>;
218*724ba675SRob Herring	vqmmc-supply = <&reg_sw>;
219*724ba675SRob Herring	mmc-pwrseq = <&wifi_pwrseq>;
220*724ba675SRob Herring	bus-width = <4>;
221*724ba675SRob Herring	non-removable;
222*724ba675SRob Herring	status = "okay";
223*724ba675SRob Herring};
224*724ba675SRob Herring
225*724ba675SRob Herring&mmc2 {
226*724ba675SRob Herring	pinctrl-names = "default";
227*724ba675SRob Herring	pinctrl-0 = <&mmc2_8bit_emmc_pins>;
228*724ba675SRob Herring	vmmc-supply = <&reg_dcdc1>;
229*724ba675SRob Herring	bus-width = <8>;
230*724ba675SRob Herring	non-removable;
231*724ba675SRob Herring	cap-mmc-hw-reset;
232*724ba675SRob Herring	status = "okay";
233*724ba675SRob Herring};
234*724ba675SRob Herring
235*724ba675SRob Herring&r_rsb {
236*724ba675SRob Herring	status = "okay";
237*724ba675SRob Herring
238*724ba675SRob Herring	axp81x: pmic@3a3 {
239*724ba675SRob Herring		compatible = "x-powers,axp818", "x-powers,axp813";
240*724ba675SRob Herring		reg = <0x3a3>;
241*724ba675SRob Herring		interrupt-parent = <&r_intc>;
242*724ba675SRob Herring		interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
243*724ba675SRob Herring		eldoin-supply = <&reg_dcdc1>;
244*724ba675SRob Herring		swin-supply = <&reg_dcdc1>;
245*724ba675SRob Herring		x-powers,drive-vbus-en;
246*724ba675SRob Herring	};
247*724ba675SRob Herring
248*724ba675SRob Herring	ac100: codec@e89 {
249*724ba675SRob Herring		compatible = "x-powers,ac100";
250*724ba675SRob Herring		reg = <0xe89>;
251*724ba675SRob Herring
252*724ba675SRob Herring		ac100_codec: codec {
253*724ba675SRob Herring			compatible = "x-powers,ac100-codec";
254*724ba675SRob Herring			interrupt-parent = <&r_pio>;
255*724ba675SRob Herring			interrupts = <0 11 IRQ_TYPE_LEVEL_LOW>; /* PL11 */
256*724ba675SRob Herring			#clock-cells = <0>;
257*724ba675SRob Herring			clock-output-names = "4M_adda";
258*724ba675SRob Herring		};
259*724ba675SRob Herring
260*724ba675SRob Herring		ac100_rtc: rtc {
261*724ba675SRob Herring			compatible = "x-powers,ac100-rtc";
262*724ba675SRob Herring			interrupt-parent = <&r_intc>;
263*724ba675SRob Herring			interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
264*724ba675SRob Herring			clocks = <&ac100_codec>;
265*724ba675SRob Herring			#clock-cells = <1>;
266*724ba675SRob Herring			clock-output-names = "cko1_rtc",
267*724ba675SRob Herring					     "cko2_rtc",
268*724ba675SRob Herring					     "cko3_rtc";
269*724ba675SRob Herring		};
270*724ba675SRob Herring	};
271*724ba675SRob Herring};
272*724ba675SRob Herring
273*724ba675SRob Herring#include "axp81x.dtsi"
274*724ba675SRob Herring
275*724ba675SRob Herring&ac_power_supply {
276*724ba675SRob Herring	status = "okay";
277*724ba675SRob Herring};
278*724ba675SRob Herring
279*724ba675SRob Herring&battery_power_supply {
280*724ba675SRob Herring	status = "okay";
281*724ba675SRob Herring};
282*724ba675SRob Herring
283*724ba675SRob Herring&reg_aldo1 {
284*724ba675SRob Herring	regulator-always-on;
285*724ba675SRob Herring	regulator-min-microvolt = <1800000>;
286*724ba675SRob Herring	regulator-max-microvolt = <1800000>;
287*724ba675SRob Herring	regulator-name = "vcc-1v8";
288*724ba675SRob Herring};
289*724ba675SRob Herring
290*724ba675SRob Herring&reg_aldo2 {
291*724ba675SRob Herring	regulator-always-on;
292*724ba675SRob Herring	regulator-min-microvolt = <1800000>;
293*724ba675SRob Herring	regulator-max-microvolt = <1800000>;
294*724ba675SRob Herring	regulator-name = "dram-pll";
295*724ba675SRob Herring};
296*724ba675SRob Herring
297*724ba675SRob Herring&reg_aldo3 {
298*724ba675SRob Herring	regulator-always-on;
299*724ba675SRob Herring	regulator-min-microvolt = <3000000>;
300*724ba675SRob Herring	regulator-max-microvolt = <3000000>;
301*724ba675SRob Herring	regulator-name = "avcc";
302*724ba675SRob Herring};
303*724ba675SRob Herring
304*724ba675SRob Herring&reg_dcdc1 {
305*724ba675SRob Herring	/*
306*724ba675SRob Herring	 * The schematics say this should be 3.3V, but the FEX file says
307*724ba675SRob Herring	 * it should be 3V. The latter makes sense, as the WiFi module's
308*724ba675SRob Herring	 * I/O is indirectly powered from DCDC1, through SW. It is rated
309*724ba675SRob Herring	 * at 2.98V maximum.
310*724ba675SRob Herring	 */
311*724ba675SRob Herring	regulator-always-on;
312*724ba675SRob Herring	regulator-min-microvolt = <3000000>;
313*724ba675SRob Herring	regulator-max-microvolt = <3000000>;
314*724ba675SRob Herring	regulator-name = "vcc-3v";
315*724ba675SRob Herring};
316*724ba675SRob Herring
317*724ba675SRob Herring&reg_dcdc2 {
318*724ba675SRob Herring	regulator-always-on;
319*724ba675SRob Herring	regulator-min-microvolt = <700000>;
320*724ba675SRob Herring	regulator-max-microvolt = <1100000>;
321*724ba675SRob Herring	regulator-name = "vdd-cpua";
322*724ba675SRob Herring};
323*724ba675SRob Herring
324*724ba675SRob Herring&reg_dcdc3 {
325*724ba675SRob Herring	regulator-always-on;
326*724ba675SRob Herring	regulator-min-microvolt = <700000>;
327*724ba675SRob Herring	regulator-max-microvolt = <1100000>;
328*724ba675SRob Herring	regulator-name = "vdd-cpub";
329*724ba675SRob Herring};
330*724ba675SRob Herring
331*724ba675SRob Herring&reg_dcdc4 {
332*724ba675SRob Herring	regulator-min-microvolt = <700000>;
333*724ba675SRob Herring	regulator-max-microvolt = <1100000>;
334*724ba675SRob Herring	regulator-name = "vdd-gpu";
335*724ba675SRob Herring};
336*724ba675SRob Herring
337*724ba675SRob Herring&reg_dcdc5 {
338*724ba675SRob Herring	regulator-always-on;
339*724ba675SRob Herring	regulator-min-microvolt = <1500000>;
340*724ba675SRob Herring	regulator-max-microvolt = <1500000>;
341*724ba675SRob Herring	regulator-name = "vcc-dram";
342*724ba675SRob Herring};
343*724ba675SRob Herring
344*724ba675SRob Herring&reg_dcdc6 {
345*724ba675SRob Herring	regulator-always-on;
346*724ba675SRob Herring	regulator-min-microvolt = <900000>;
347*724ba675SRob Herring	regulator-max-microvolt = <900000>;
348*724ba675SRob Herring	regulator-name = "vdd-sys";
349*724ba675SRob Herring};
350*724ba675SRob Herring
351*724ba675SRob Herring&reg_dldo2 {
352*724ba675SRob Herring	regulator-min-microvolt = <3300000>;
353*724ba675SRob Herring	regulator-max-microvolt = <3300000>;
354*724ba675SRob Herring	regulator-name = "dp-pwr";
355*724ba675SRob Herring};
356*724ba675SRob Herring
357*724ba675SRob Herring&reg_dldo3 {
358*724ba675SRob Herring	regulator-always-on;
359*724ba675SRob Herring	regulator-min-microvolt = <2500000>;
360*724ba675SRob Herring	regulator-max-microvolt = <2500000>;
361*724ba675SRob Herring	regulator-name = "ephy-io";
362*724ba675SRob Herring};
363*724ba675SRob Herring
364*724ba675SRob Herring&reg_dldo4 {
365*724ba675SRob Herring	/*
366*724ba675SRob Herring	 * The PHY requires 20ms after all voltages are applied until core
367*724ba675SRob Herring	 * logic is ready and 30ms after the reset pin is de-asserted.
368*724ba675SRob Herring	 * Set a 100ms delay to account for PMIC ramp time and board traces.
369*724ba675SRob Herring	 */
370*724ba675SRob Herring	regulator-enable-ramp-delay = <100000>;
371*724ba675SRob Herring	regulator-min-microvolt = <3300000>;
372*724ba675SRob Herring	regulator-max-microvolt = <3300000>;
373*724ba675SRob Herring	regulator-name = "ephy";
374*724ba675SRob Herring};
375*724ba675SRob Herring
376*724ba675SRob Herring&reg_drivevbus {
377*724ba675SRob Herring	regulator-name = "usb0-vbus";
378*724ba675SRob Herring	status = "okay";
379*724ba675SRob Herring};
380*724ba675SRob Herring
381*724ba675SRob Herring&reg_eldo1 {
382*724ba675SRob Herring	regulator-min-microvolt = <1200000>;
383*724ba675SRob Herring	regulator-max-microvolt = <1200000>;
384*724ba675SRob Herring	regulator-name = "dp-bridge-1";
385*724ba675SRob Herring};
386*724ba675SRob Herring
387*724ba675SRob Herring&reg_eldo2 {
388*724ba675SRob Herring	regulator-min-microvolt = <1200000>;
389*724ba675SRob Herring	regulator-max-microvolt = <1200000>;
390*724ba675SRob Herring	regulator-name = "dp-bridge-2";
391*724ba675SRob Herring};
392*724ba675SRob Herring
393*724ba675SRob Herring&reg_fldo1 {
394*724ba675SRob Herring	/* TODO should be handled by USB PHY */
395*724ba675SRob Herring	regulator-always-on;
396*724ba675SRob Herring	regulator-min-microvolt = <1080000>;
397*724ba675SRob Herring	regulator-max-microvolt = <1320000>;
398*724ba675SRob Herring	regulator-name = "vdd12-hsic";
399*724ba675SRob Herring};
400*724ba675SRob Herring
401*724ba675SRob Herring&reg_fldo2 {
402*724ba675SRob Herring	/*
403*724ba675SRob Herring	 * Despite the embedded CPUs core not being used in any way,
404*724ba675SRob Herring	 * this must remain on or the system will hang.
405*724ba675SRob Herring	 */
406*724ba675SRob Herring	regulator-always-on;
407*724ba675SRob Herring	regulator-min-microvolt = <700000>;
408*724ba675SRob Herring	regulator-max-microvolt = <1100000>;
409*724ba675SRob Herring	regulator-name = "vdd-cpus";
410*724ba675SRob Herring};
411*724ba675SRob Herring
412*724ba675SRob Herring&reg_rtc_ldo {
413*724ba675SRob Herring	regulator-name = "vcc-rtc";
414*724ba675SRob Herring};
415*724ba675SRob Herring
416*724ba675SRob Herring&reg_sw {
417*724ba675SRob Herring	regulator-name = "vcc-wifi-io";
418*724ba675SRob Herring};
419*724ba675SRob Herring
420*724ba675SRob Herring&spdif {
421*724ba675SRob Herring	status = "okay";
422*724ba675SRob Herring};
423*724ba675SRob Herring
424*724ba675SRob Herring&uart0 {
425*724ba675SRob Herring	pinctrl-names = "default";
426*724ba675SRob Herring	pinctrl-0 = <&uart0_pb_pins>;
427*724ba675SRob Herring	status = "okay";
428*724ba675SRob Herring};
429*724ba675SRob Herring
430*724ba675SRob Herring&uart1 {
431*724ba675SRob Herring	pinctrl-names = "default";
432*724ba675SRob Herring	pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
433*724ba675SRob Herring	uart-has-rtscts;
434*724ba675SRob Herring	status = "okay";
435*724ba675SRob Herring
436*724ba675SRob Herring	bluetooth {
437*724ba675SRob Herring		compatible = "brcm,bcm4330-bt";
438*724ba675SRob Herring		clocks = <&ac100_rtc 1>;
439*724ba675SRob Herring		clock-names = "lpo";
440*724ba675SRob Herring		vbat-supply = <&reg_dcdc1>;
441*724ba675SRob Herring		vddio-supply = <&reg_sw>;
442*724ba675SRob Herring		device-wakeup-gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PL10 */
443*724ba675SRob Herring		host-wakeup-gpios = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
444*724ba675SRob Herring		shutdown-gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
445*724ba675SRob Herring	};
446*724ba675SRob Herring};
447*724ba675SRob Herring
448*724ba675SRob Herring&usb_otg {
449*724ba675SRob Herring	dr_mode = "otg";
450*724ba675SRob Herring	status = "okay";
451*724ba675SRob Herring};
452*724ba675SRob Herring
453*724ba675SRob Herring&usb_power_supply {
454*724ba675SRob Herring	status = "okay";
455*724ba675SRob Herring};
456*724ba675SRob Herring
457*724ba675SRob Herring&usbphy {
458*724ba675SRob Herring	usb0_id_det-gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */
459*724ba675SRob Herring	usb0_vbus_power-supply = <&usb_power_supply>;
460*724ba675SRob Herring	usb0_vbus-supply = <&reg_drivevbus>;
461*724ba675SRob Herring	usb1_vbus-supply = <&reg_usb1_vbus>;
462*724ba675SRob Herring	usb2_vbus-supply = <&reg_usb2_vbus>;
463*724ba675SRob Herring	status = "okay";
464*724ba675SRob Herring};
465