xref: /linux/scripts/dtc/include-prefixes/arm/allwinner/sun8i-a83t-cubietruck-plus.dts (revision 621cde16e49b3ecf7d59a8106a20aaebfb4a59a9)
1724ba675SRob Herring/*
2724ba675SRob Herring * Copyright 2015 Chen-Yu Tsai
3724ba675SRob Herring *
4724ba675SRob Herring * Chen-Yu Tsai <wens@csie.org>
5724ba675SRob Herring *
6724ba675SRob Herring * This file is dual-licensed: you can use it either under the terms
7724ba675SRob Herring * of the GPL or the X11 license, at your option. Note that this dual
8724ba675SRob Herring * licensing only applies to this file, and not this project as a
9724ba675SRob Herring * whole.
10724ba675SRob Herring *
11724ba675SRob Herring *  a) This file is free software; you can redistribute it and/or
12724ba675SRob Herring *     modify it under the terms of the GNU General Public License as
13724ba675SRob Herring *     published by the Free Software Foundation; either version 2 of the
14724ba675SRob Herring *     License, or (at your option) any later version.
15724ba675SRob Herring *
16724ba675SRob Herring *     This file is distributed in the hope that it will be useful,
17724ba675SRob Herring *     but WITHOUT ANY WARRANTY; without even the implied warranty of
18724ba675SRob Herring *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19724ba675SRob Herring *     GNU General Public License for more details.
20724ba675SRob Herring *
21724ba675SRob Herring * Or, alternatively,
22724ba675SRob Herring *
23724ba675SRob Herring *  b) Permission is hereby granted, free of charge, to any person
24724ba675SRob Herring *     obtaining a copy of this software and associated documentation
25724ba675SRob Herring *     files (the "Software"), to deal in the Software without
26724ba675SRob Herring *     restriction, including without limitation the rights to use,
27724ba675SRob Herring *     copy, modify, merge, publish, distribute, sublicense, and/or
28724ba675SRob Herring *     sell copies of the Software, and to permit persons to whom the
29724ba675SRob Herring *     Software is furnished to do so, subject to the following
30724ba675SRob Herring *     conditions:
31724ba675SRob Herring *
32724ba675SRob Herring *     The above copyright notice and this permission notice shall be
33724ba675SRob Herring *     included in all copies or substantial portions of the Software.
34724ba675SRob Herring *
35724ba675SRob Herring *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
36724ba675SRob Herring *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
37724ba675SRob Herring *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
38724ba675SRob Herring *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
39724ba675SRob Herring *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
40724ba675SRob Herring *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
41724ba675SRob Herring *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
42724ba675SRob Herring *     OTHER DEALINGS IN THE SOFTWARE.
43724ba675SRob Herring */
44724ba675SRob Herring
45724ba675SRob Herring/dts-v1/;
46724ba675SRob Herring#include "sun8i-a83t.dtsi"
47724ba675SRob Herring
48724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
49724ba675SRob Herring
50724ba675SRob Herring/ {
51724ba675SRob Herring	model = "Cubietech Cubietruck Plus";
52724ba675SRob Herring	compatible = "cubietech,cubietruck-plus", "allwinner,sun8i-a83t";
53724ba675SRob Herring
54724ba675SRob Herring	aliases {
55724ba675SRob Herring		ethernet0 = &emac;
56724ba675SRob Herring		serial0 = &uart0;
57724ba675SRob Herring	};
58724ba675SRob Herring
59724ba675SRob Herring	chosen {
60724ba675SRob Herring		stdout-path = "serial0:115200n8";
61724ba675SRob Herring	};
62724ba675SRob Herring
63724ba675SRob Herring	hdmi-connector {
64724ba675SRob Herring		compatible = "hdmi-connector";
65724ba675SRob Herring		type = "a";
66724ba675SRob Herring
67724ba675SRob Herring		port {
68724ba675SRob Herring			hdmi_con_in: endpoint {
69724ba675SRob Herring				remote-endpoint = <&hdmi_out_con>;
70724ba675SRob Herring			};
71724ba675SRob Herring		};
72724ba675SRob Herring	};
73724ba675SRob Herring
74724ba675SRob Herring	leds {
75724ba675SRob Herring		compatible = "gpio-leds";
76724ba675SRob Herring
77724ba675SRob Herring		led-0 {
78724ba675SRob Herring			label = "cubietruck-plus:blue:usr";
79724ba675SRob Herring			gpios = <&pio 3 25 GPIO_ACTIVE_HIGH>; /* PD25 */
80724ba675SRob Herring		};
81724ba675SRob Herring
82724ba675SRob Herring		led-1 {
83724ba675SRob Herring			label = "cubietruck-plus:orange:usr";
84724ba675SRob Herring			gpios = <&pio 3 26 GPIO_ACTIVE_HIGH>; /* PD26 */
85724ba675SRob Herring		};
86724ba675SRob Herring
87724ba675SRob Herring		led-2 {
88724ba675SRob Herring			label = "cubietruck-plus:white:usr";
89724ba675SRob Herring			gpios = <&pio 3 27 GPIO_ACTIVE_HIGH>; /* PD27 */
90724ba675SRob Herring		};
91724ba675SRob Herring
92724ba675SRob Herring		led-3 {
93724ba675SRob Herring			label = "cubietruck-plus:green:usr";
94724ba675SRob Herring			gpios = <&pio 4 4 GPIO_ACTIVE_HIGH>; /* PE4 */
95724ba675SRob Herring		};
96724ba675SRob Herring	};
97724ba675SRob Herring
98724ba675SRob Herring	usb-hub {
99724ba675SRob Herring		/* I2C is not connected */
100724ba675SRob Herring		compatible = "smsc,usb3503";
101724ba675SRob Herring		initial-mode = <1>; /* initialize in HUB mode */
102724ba675SRob Herring		disabled-ports = <1>;
103724ba675SRob Herring		intn-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
104724ba675SRob Herring		reset-gpios = <&pio 4 16 GPIO_ACTIVE_LOW>; /* PE16 */
105724ba675SRob Herring		connect-gpios = <&pio 4 17 GPIO_ACTIVE_HIGH>; /* PE17 */
106724ba675SRob Herring		refclk-frequency = <19200000>;
107724ba675SRob Herring	};
108724ba675SRob Herring
109724ba675SRob Herring	reg_usb1_vbus: reg-usb1-vbus {
110724ba675SRob Herring		compatible = "regulator-fixed";
111724ba675SRob Herring		regulator-name = "usb1-vbus";
112724ba675SRob Herring		regulator-min-microvolt = <5000000>;
113724ba675SRob Herring		regulator-max-microvolt = <5000000>;
114724ba675SRob Herring		regulator-boot-on;
115724ba675SRob Herring		enable-active-high;
116724ba675SRob Herring		gpio = <&pio 3 29 GPIO_ACTIVE_HIGH>; /* PD29 */
117724ba675SRob Herring	};
118724ba675SRob Herring
119724ba675SRob Herring	reg_usb2_vbus: reg-usb2-vbus {
120724ba675SRob Herring		compatible = "regulator-fixed";
121724ba675SRob Herring		regulator-name = "usb2-vbus";
122724ba675SRob Herring		regulator-min-microvolt = <5000000>;
123724ba675SRob Herring		regulator-max-microvolt = <5000000>;
124724ba675SRob Herring		regulator-boot-on;
125724ba675SRob Herring		enable-active-high;
126724ba675SRob Herring		gpio = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
127724ba675SRob Herring	};
128724ba675SRob Herring
129724ba675SRob Herring	sound {
130724ba675SRob Herring		compatible = "simple-audio-card";
131724ba675SRob Herring		simple-audio-card,name = "On-board SPDIF";
132724ba675SRob Herring
133724ba675SRob Herring		simple-audio-card,cpu {
134724ba675SRob Herring			sound-dai = <&spdif>;
135724ba675SRob Herring		};
136724ba675SRob Herring
137724ba675SRob Herring		simple-audio-card,codec {
138724ba675SRob Herring			sound-dai = <&spdif_out>;
139724ba675SRob Herring		};
140724ba675SRob Herring	};
141724ba675SRob Herring
142724ba675SRob Herring	spdif_out: spdif-out {
143724ba675SRob Herring		#sound-dai-cells = <0>;
144724ba675SRob Herring		compatible = "linux,spdif-dit";
145724ba675SRob Herring	};
146724ba675SRob Herring
147*0f47ef3fSKrzysztof Kozlowski	wifi_pwrseq: pwrseq {
148724ba675SRob Herring		compatible = "mmc-pwrseq-simple";
149724ba675SRob Herring		clocks = <&ac100_rtc 1>;
150724ba675SRob Herring		clock-names = "ext_clock";
151724ba675SRob Herring		/* The WiFi low power clock must be 32768 Hz */
152724ba675SRob Herring		assigned-clocks = <&ac100_rtc 1>;
153724ba675SRob Herring		assigned-clock-rates = <32768>;
154724ba675SRob Herring		/* enables internal regulator and de-asserts reset */
155724ba675SRob Herring		reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 WL-PMU-EN */
156724ba675SRob Herring	};
157724ba675SRob Herring};
158724ba675SRob Herring
159724ba675SRob Herring&cpu0 {
160724ba675SRob Herring	cpu-supply = <&reg_dcdc2>;
161724ba675SRob Herring};
162724ba675SRob Herring
163724ba675SRob Herring&cpu100 {
164724ba675SRob Herring	cpu-supply = <&reg_dcdc3>;
165724ba675SRob Herring};
166724ba675SRob Herring
167724ba675SRob Herring&de {
168724ba675SRob Herring	status = "okay";
169724ba675SRob Herring};
170724ba675SRob Herring
171724ba675SRob Herring&ehci0 {
172724ba675SRob Herring	/* GL830 USB-to-SATA bridge here */
173724ba675SRob Herring	status = "okay";
174724ba675SRob Herring};
175724ba675SRob Herring
176724ba675SRob Herring&ehci1 {
177724ba675SRob Herring	/* USB3503 HSIC USB 2.0 hub here */
178724ba675SRob Herring	status = "okay";
179724ba675SRob Herring};
180724ba675SRob Herring
181724ba675SRob Herring&emac {
182724ba675SRob Herring	pinctrl-names = "default";
183724ba675SRob Herring	pinctrl-0 = <&emac_rgmii_pins>;
184724ba675SRob Herring	phy-supply = <&reg_dldo4>;
185724ba675SRob Herring	phy-handle = <&rgmii_phy>;
186724ba675SRob Herring	phy-mode = "rgmii-id";
187724ba675SRob Herring	status = "okay";
188724ba675SRob Herring};
189724ba675SRob Herring
190724ba675SRob Herring&hdmi {
191724ba675SRob Herring	status = "okay";
192724ba675SRob Herring};
193724ba675SRob Herring
194724ba675SRob Herring&hdmi_out {
195724ba675SRob Herring	hdmi_out_con: endpoint {
196724ba675SRob Herring		remote-endpoint = <&hdmi_con_in>;
197724ba675SRob Herring	};
198724ba675SRob Herring};
199724ba675SRob Herring
200724ba675SRob Herring&mdio {
201724ba675SRob Herring	rgmii_phy: ethernet-phy@1 {
202724ba675SRob Herring		compatible = "ethernet-phy-ieee802.3-c22";
203724ba675SRob Herring		reg = <1>;
204724ba675SRob Herring	};
205724ba675SRob Herring};
206724ba675SRob Herring
207724ba675SRob Herring&mmc0 {
208724ba675SRob Herring	pinctrl-names = "default";
209724ba675SRob Herring	pinctrl-0 = <&mmc0_pins>;
210724ba675SRob Herring	vmmc-supply = <&reg_dcdc1>;
211724ba675SRob Herring	bus-width = <4>;
212724ba675SRob Herring	cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
213724ba675SRob Herring	status = "okay";
214724ba675SRob Herring};
215724ba675SRob Herring
216724ba675SRob Herring&mmc1 {
217724ba675SRob Herring	vmmc-supply = <&reg_dcdc1>;
218724ba675SRob Herring	vqmmc-supply = <&reg_sw>;
219724ba675SRob Herring	mmc-pwrseq = <&wifi_pwrseq>;
220724ba675SRob Herring	bus-width = <4>;
221724ba675SRob Herring	non-removable;
222724ba675SRob Herring	status = "okay";
223724ba675SRob Herring};
224724ba675SRob Herring
225724ba675SRob Herring&mmc2 {
226724ba675SRob Herring	pinctrl-names = "default";
227724ba675SRob Herring	pinctrl-0 = <&mmc2_8bit_emmc_pins>;
228724ba675SRob Herring	vmmc-supply = <&reg_dcdc1>;
229724ba675SRob Herring	bus-width = <8>;
230724ba675SRob Herring	non-removable;
231724ba675SRob Herring	cap-mmc-hw-reset;
232724ba675SRob Herring	status = "okay";
233724ba675SRob Herring};
234724ba675SRob Herring
235724ba675SRob Herring&r_rsb {
236724ba675SRob Herring	status = "okay";
237724ba675SRob Herring
238724ba675SRob Herring	axp81x: pmic@3a3 {
239724ba675SRob Herring		compatible = "x-powers,axp818", "x-powers,axp813";
240724ba675SRob Herring		reg = <0x3a3>;
241724ba675SRob Herring		interrupt-parent = <&r_intc>;
242724ba675SRob Herring		interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
243724ba675SRob Herring		eldoin-supply = <&reg_dcdc1>;
244724ba675SRob Herring		swin-supply = <&reg_dcdc1>;
245724ba675SRob Herring		x-powers,drive-vbus-en;
246724ba675SRob Herring	};
247724ba675SRob Herring
248724ba675SRob Herring	ac100: codec@e89 {
249724ba675SRob Herring		compatible = "x-powers,ac100";
250724ba675SRob Herring		reg = <0xe89>;
251724ba675SRob Herring
252724ba675SRob Herring		ac100_codec: codec {
253724ba675SRob Herring			compatible = "x-powers,ac100-codec";
254724ba675SRob Herring			interrupt-parent = <&r_pio>;
255724ba675SRob Herring			interrupts = <0 11 IRQ_TYPE_LEVEL_LOW>; /* PL11 */
256724ba675SRob Herring			#clock-cells = <0>;
257724ba675SRob Herring			clock-output-names = "4M_adda";
258724ba675SRob Herring		};
259724ba675SRob Herring
260724ba675SRob Herring		ac100_rtc: rtc {
261724ba675SRob Herring			compatible = "x-powers,ac100-rtc";
262724ba675SRob Herring			interrupt-parent = <&r_intc>;
263724ba675SRob Herring			interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
264724ba675SRob Herring			clocks = <&ac100_codec>;
265724ba675SRob Herring			#clock-cells = <1>;
266724ba675SRob Herring			clock-output-names = "cko1_rtc",
267724ba675SRob Herring					     "cko2_rtc",
268724ba675SRob Herring					     "cko3_rtc";
269724ba675SRob Herring		};
270724ba675SRob Herring	};
271724ba675SRob Herring};
272724ba675SRob Herring
273724ba675SRob Herring#include "axp81x.dtsi"
274724ba675SRob Herring
275724ba675SRob Herring&ac_power_supply {
276724ba675SRob Herring	status = "okay";
277724ba675SRob Herring};
278724ba675SRob Herring
279724ba675SRob Herring&battery_power_supply {
280724ba675SRob Herring	status = "okay";
281724ba675SRob Herring};
282724ba675SRob Herring
283724ba675SRob Herring&reg_aldo1 {
284724ba675SRob Herring	regulator-always-on;
285724ba675SRob Herring	regulator-min-microvolt = <1800000>;
286724ba675SRob Herring	regulator-max-microvolt = <1800000>;
287724ba675SRob Herring	regulator-name = "vcc-1v8";
288724ba675SRob Herring};
289724ba675SRob Herring
290724ba675SRob Herring&reg_aldo2 {
291724ba675SRob Herring	regulator-always-on;
292724ba675SRob Herring	regulator-min-microvolt = <1800000>;
293724ba675SRob Herring	regulator-max-microvolt = <1800000>;
294724ba675SRob Herring	regulator-name = "dram-pll";
295724ba675SRob Herring};
296724ba675SRob Herring
297724ba675SRob Herring&reg_aldo3 {
298724ba675SRob Herring	regulator-always-on;
299724ba675SRob Herring	regulator-min-microvolt = <3000000>;
300724ba675SRob Herring	regulator-max-microvolt = <3000000>;
301724ba675SRob Herring	regulator-name = "avcc";
302724ba675SRob Herring};
303724ba675SRob Herring
304724ba675SRob Herring&reg_dcdc1 {
305724ba675SRob Herring	/*
306724ba675SRob Herring	 * The schematics say this should be 3.3V, but the FEX file says
307724ba675SRob Herring	 * it should be 3V. The latter makes sense, as the WiFi module's
308724ba675SRob Herring	 * I/O is indirectly powered from DCDC1, through SW. It is rated
309724ba675SRob Herring	 * at 2.98V maximum.
310724ba675SRob Herring	 */
311724ba675SRob Herring	regulator-always-on;
312724ba675SRob Herring	regulator-min-microvolt = <3000000>;
313724ba675SRob Herring	regulator-max-microvolt = <3000000>;
314724ba675SRob Herring	regulator-name = "vcc-3v";
315724ba675SRob Herring};
316724ba675SRob Herring
317724ba675SRob Herring&reg_dcdc2 {
318724ba675SRob Herring	regulator-always-on;
319724ba675SRob Herring	regulator-min-microvolt = <700000>;
320724ba675SRob Herring	regulator-max-microvolt = <1100000>;
321724ba675SRob Herring	regulator-name = "vdd-cpua";
322724ba675SRob Herring};
323724ba675SRob Herring
324724ba675SRob Herring&reg_dcdc3 {
325724ba675SRob Herring	regulator-always-on;
326724ba675SRob Herring	regulator-min-microvolt = <700000>;
327724ba675SRob Herring	regulator-max-microvolt = <1100000>;
328724ba675SRob Herring	regulator-name = "vdd-cpub";
329724ba675SRob Herring};
330724ba675SRob Herring
331724ba675SRob Herring&reg_dcdc4 {
332724ba675SRob Herring	regulator-min-microvolt = <700000>;
333724ba675SRob Herring	regulator-max-microvolt = <1100000>;
334724ba675SRob Herring	regulator-name = "vdd-gpu";
335724ba675SRob Herring};
336724ba675SRob Herring
337724ba675SRob Herring&reg_dcdc5 {
338724ba675SRob Herring	regulator-always-on;
339724ba675SRob Herring	regulator-min-microvolt = <1500000>;
340724ba675SRob Herring	regulator-max-microvolt = <1500000>;
341724ba675SRob Herring	regulator-name = "vcc-dram";
342724ba675SRob Herring};
343724ba675SRob Herring
344724ba675SRob Herring&reg_dcdc6 {
345724ba675SRob Herring	regulator-always-on;
346724ba675SRob Herring	regulator-min-microvolt = <900000>;
347724ba675SRob Herring	regulator-max-microvolt = <900000>;
348724ba675SRob Herring	regulator-name = "vdd-sys";
349724ba675SRob Herring};
350724ba675SRob Herring
351724ba675SRob Herring&reg_dldo2 {
352724ba675SRob Herring	regulator-min-microvolt = <3300000>;
353724ba675SRob Herring	regulator-max-microvolt = <3300000>;
354724ba675SRob Herring	regulator-name = "dp-pwr";
355724ba675SRob Herring};
356724ba675SRob Herring
357724ba675SRob Herring&reg_dldo3 {
358724ba675SRob Herring	regulator-always-on;
359724ba675SRob Herring	regulator-min-microvolt = <2500000>;
360724ba675SRob Herring	regulator-max-microvolt = <2500000>;
361724ba675SRob Herring	regulator-name = "ephy-io";
362724ba675SRob Herring};
363724ba675SRob Herring
364724ba675SRob Herring&reg_dldo4 {
365724ba675SRob Herring	/*
366724ba675SRob Herring	 * The PHY requires 20ms after all voltages are applied until core
367724ba675SRob Herring	 * logic is ready and 30ms after the reset pin is de-asserted.
368724ba675SRob Herring	 * Set a 100ms delay to account for PMIC ramp time and board traces.
369724ba675SRob Herring	 */
370724ba675SRob Herring	regulator-enable-ramp-delay = <100000>;
371724ba675SRob Herring	regulator-min-microvolt = <3300000>;
372724ba675SRob Herring	regulator-max-microvolt = <3300000>;
373724ba675SRob Herring	regulator-name = "ephy";
374724ba675SRob Herring};
375724ba675SRob Herring
376724ba675SRob Herring&reg_drivevbus {
377724ba675SRob Herring	regulator-name = "usb0-vbus";
378724ba675SRob Herring	status = "okay";
379724ba675SRob Herring};
380724ba675SRob Herring
381724ba675SRob Herring&reg_eldo1 {
382724ba675SRob Herring	regulator-min-microvolt = <1200000>;
383724ba675SRob Herring	regulator-max-microvolt = <1200000>;
384724ba675SRob Herring	regulator-name = "dp-bridge-1";
385724ba675SRob Herring};
386724ba675SRob Herring
387724ba675SRob Herring&reg_eldo2 {
388724ba675SRob Herring	regulator-min-microvolt = <1200000>;
389724ba675SRob Herring	regulator-max-microvolt = <1200000>;
390724ba675SRob Herring	regulator-name = "dp-bridge-2";
391724ba675SRob Herring};
392724ba675SRob Herring
393724ba675SRob Herring&reg_fldo1 {
394724ba675SRob Herring	/* TODO should be handled by USB PHY */
395724ba675SRob Herring	regulator-always-on;
396724ba675SRob Herring	regulator-min-microvolt = <1080000>;
397724ba675SRob Herring	regulator-max-microvolt = <1320000>;
398724ba675SRob Herring	regulator-name = "vdd12-hsic";
399724ba675SRob Herring};
400724ba675SRob Herring
401724ba675SRob Herring&reg_fldo2 {
402724ba675SRob Herring	/*
403724ba675SRob Herring	 * Despite the embedded CPUs core not being used in any way,
404724ba675SRob Herring	 * this must remain on or the system will hang.
405724ba675SRob Herring	 */
406724ba675SRob Herring	regulator-always-on;
407724ba675SRob Herring	regulator-min-microvolt = <700000>;
408724ba675SRob Herring	regulator-max-microvolt = <1100000>;
409724ba675SRob Herring	regulator-name = "vdd-cpus";
410724ba675SRob Herring};
411724ba675SRob Herring
412724ba675SRob Herring&reg_rtc_ldo {
413724ba675SRob Herring	regulator-name = "vcc-rtc";
414724ba675SRob Herring};
415724ba675SRob Herring
416724ba675SRob Herring&reg_sw {
417724ba675SRob Herring	regulator-name = "vcc-wifi-io";
418724ba675SRob Herring};
419724ba675SRob Herring
420724ba675SRob Herring&spdif {
421724ba675SRob Herring	status = "okay";
422724ba675SRob Herring};
423724ba675SRob Herring
424724ba675SRob Herring&uart0 {
425724ba675SRob Herring	pinctrl-names = "default";
426724ba675SRob Herring	pinctrl-0 = <&uart0_pb_pins>;
427724ba675SRob Herring	status = "okay";
428724ba675SRob Herring};
429724ba675SRob Herring
430724ba675SRob Herring&uart1 {
431724ba675SRob Herring	pinctrl-names = "default";
432724ba675SRob Herring	pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
433724ba675SRob Herring	uart-has-rtscts;
434724ba675SRob Herring	status = "okay";
435724ba675SRob Herring
436724ba675SRob Herring	bluetooth {
437724ba675SRob Herring		compatible = "brcm,bcm4330-bt";
438724ba675SRob Herring		clocks = <&ac100_rtc 1>;
439724ba675SRob Herring		clock-names = "lpo";
440724ba675SRob Herring		vbat-supply = <&reg_dcdc1>;
441724ba675SRob Herring		vddio-supply = <&reg_sw>;
442724ba675SRob Herring		device-wakeup-gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PL10 */
443724ba675SRob Herring		host-wakeup-gpios = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
444724ba675SRob Herring		shutdown-gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
445724ba675SRob Herring	};
446724ba675SRob Herring};
447724ba675SRob Herring
448724ba675SRob Herring&usb_otg {
449724ba675SRob Herring	dr_mode = "otg";
450724ba675SRob Herring	status = "okay";
451724ba675SRob Herring};
452724ba675SRob Herring
453724ba675SRob Herring&usb_power_supply {
454724ba675SRob Herring	status = "okay";
455724ba675SRob Herring};
456724ba675SRob Herring
457724ba675SRob Herring&usbphy {
458724ba675SRob Herring	usb0_id_det-gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */
459724ba675SRob Herring	usb0_vbus_power-supply = <&usb_power_supply>;
460724ba675SRob Herring	usb0_vbus-supply = <&reg_drivevbus>;
461724ba675SRob Herring	usb1_vbus-supply = <&reg_usb1_vbus>;
462724ba675SRob Herring	usb2_vbus-supply = <&reg_usb2_vbus>;
463724ba675SRob Herring	status = "okay";
464724ba675SRob Herring};
465