xref: /openbmc/linux/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts (revision 62e73f000696cc41cfd237a1ad90b001ad0f76c6)
1*62e73f00SNeil Armstrong// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*62e73f00SNeil Armstrong/*
3*62e73f00SNeil Armstrong * Copyright (c) 2022 Neil Armstrong <neil.armstrong@linaro.org>
4*62e73f00SNeil Armstrong */
5*62e73f00SNeil Armstrong
6*62e73f00SNeil Armstrong/dts-v1/;
7*62e73f00SNeil Armstrong
8*62e73f00SNeil Armstrong#include "meson-g12b-s922x.dtsi"
9*62e73f00SNeil Armstrong#include <dt-bindings/input/input.h>
10*62e73f00SNeil Armstrong#include <dt-bindings/leds/common.h>
11*62e73f00SNeil Armstrong#include <dt-bindings/gpio/meson-g12a-gpio.h>
12*62e73f00SNeil Armstrong#include <dt-bindings/sound/meson-g12a-toacodec.h>
13*62e73f00SNeil Armstrong#include <dt-bindings/sound/meson-g12a-tohdmitx.h>
14*62e73f00SNeil Armstrong
15*62e73f00SNeil Armstrong/ {
16*62e73f00SNeil Armstrong	compatible = "hardkernel,odroid-go-ultra", "amlogic,s922x", "amlogic,g12b";
17*62e73f00SNeil Armstrong	model = "Hardkernel ODROID-GO-Ultra";
18*62e73f00SNeil Armstrong
19*62e73f00SNeil Armstrong	aliases {
20*62e73f00SNeil Armstrong		serial0 = &uart_AO;
21*62e73f00SNeil Armstrong		rtc0 = &vrtc;
22*62e73f00SNeil Armstrong	};
23*62e73f00SNeil Armstrong
24*62e73f00SNeil Armstrong	adc-joystick-left {
25*62e73f00SNeil Armstrong		compatible = "adc-joystick";
26*62e73f00SNeil Armstrong		io-channels = <&saradc 2>, <&saradc 3>;
27*62e73f00SNeil Armstrong		poll-interval = <10>;
28*62e73f00SNeil Armstrong		#address-cells = <1>;
29*62e73f00SNeil Armstrong		#size-cells = <0>;
30*62e73f00SNeil Armstrong
31*62e73f00SNeil Armstrong		axis@0 {
32*62e73f00SNeil Armstrong			reg = <0>;
33*62e73f00SNeil Armstrong			linux,code = <ABS_Y>;
34*62e73f00SNeil Armstrong			abs-range = <3150 950>;
35*62e73f00SNeil Armstrong			abs-fuzz = <32>;
36*62e73f00SNeil Armstrong			abs-flat = <64>;
37*62e73f00SNeil Armstrong		};
38*62e73f00SNeil Armstrong		axis@1 {
39*62e73f00SNeil Armstrong			reg = <1>;
40*62e73f00SNeil Armstrong			linux,code = <ABS_X>;
41*62e73f00SNeil Armstrong			abs-range = <700 2900>;
42*62e73f00SNeil Armstrong			abs-fuzz = <32>;
43*62e73f00SNeil Armstrong			abs-flat = <64>;
44*62e73f00SNeil Armstrong		};
45*62e73f00SNeil Armstrong	};
46*62e73f00SNeil Armstrong
47*62e73f00SNeil Armstrong	adc-joystick-right {
48*62e73f00SNeil Armstrong		compatible = "adc-joystick";
49*62e73f00SNeil Armstrong		io-channels = <&saradc 0>, <&saradc 1>;
50*62e73f00SNeil Armstrong		poll-interval = <10>;
51*62e73f00SNeil Armstrong		#address-cells = <1>;
52*62e73f00SNeil Armstrong		#size-cells = <0>;
53*62e73f00SNeil Armstrong
54*62e73f00SNeil Armstrong		axis@0 {
55*62e73f00SNeil Armstrong			reg = <0>;
56*62e73f00SNeil Armstrong			linux,code = <ABS_RY>;
57*62e73f00SNeil Armstrong			abs-range = <3150 950>;
58*62e73f00SNeil Armstrong			abs-fuzz = <32>;
59*62e73f00SNeil Armstrong			abs-flat = <64>;
60*62e73f00SNeil Armstrong		};
61*62e73f00SNeil Armstrong		axis@1 {
62*62e73f00SNeil Armstrong			reg = <1>;
63*62e73f00SNeil Armstrong			linux,code = <ABS_RX>;
64*62e73f00SNeil Armstrong			abs-range = <800 3000>;
65*62e73f00SNeil Armstrong			abs-fuzz = <32>;
66*62e73f00SNeil Armstrong			abs-flat = <64>;
67*62e73f00SNeil Armstrong		};
68*62e73f00SNeil Armstrong	};
69*62e73f00SNeil Armstrong
70*62e73f00SNeil Armstrong	chosen {
71*62e73f00SNeil Armstrong		stdout-path = "serial0:115200n8";
72*62e73f00SNeil Armstrong	};
73*62e73f00SNeil Armstrong
74*62e73f00SNeil Armstrong	codec_clk: codec-clk {
75*62e73f00SNeil Armstrong		compatible = "fixed-clock";
76*62e73f00SNeil Armstrong		clock-frequency = <12288000>;
77*62e73f00SNeil Armstrong		clock-output-names = "codec_clk";
78*62e73f00SNeil Armstrong		#clock-cells = <0>;
79*62e73f00SNeil Armstrong	};
80*62e73f00SNeil Armstrong
81*62e73f00SNeil Armstrong	gpio-keys {
82*62e73f00SNeil Armstrong		compatible = "gpio-keys-polled";
83*62e73f00SNeil Armstrong		poll-interval = <10>;
84*62e73f00SNeil Armstrong		pinctrl-0 = <&keypad_gpio_pins>;
85*62e73f00SNeil Armstrong		pinctrl-names = "default";
86*62e73f00SNeil Armstrong
87*62e73f00SNeil Armstrong		volume-up-button {
88*62e73f00SNeil Armstrong			label = "VOLUME-UP";
89*62e73f00SNeil Armstrong			linux,code = <KEY_VOLUMEUP>;
90*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_8 GPIO_ACTIVE_LOW>;
91*62e73f00SNeil Armstrong		};
92*62e73f00SNeil Armstrong		volume-down-button {
93*62e73f00SNeil Armstrong			label = "VOLUME-DOWN";
94*62e73f00SNeil Armstrong			linux,code = <KEY_VOLUMEDOWN>;
95*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_9 GPIO_ACTIVE_LOW>;
96*62e73f00SNeil Armstrong		};
97*62e73f00SNeil Armstrong		dpad-up-button {
98*62e73f00SNeil Armstrong			label = "DPAD-UP";
99*62e73f00SNeil Armstrong			linux,code = <BTN_DPAD_UP>;
100*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_0 GPIO_ACTIVE_LOW>;
101*62e73f00SNeil Armstrong		};
102*62e73f00SNeil Armstrong		dpad-down-button {
103*62e73f00SNeil Armstrong			label = "DPAD-DOWN";
104*62e73f00SNeil Armstrong			linux,code = <BTN_DPAD_DOWN>;
105*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_1 GPIO_ACTIVE_LOW>;
106*62e73f00SNeil Armstrong		};
107*62e73f00SNeil Armstrong		dpad-left-button {
108*62e73f00SNeil Armstrong			label = "DPAD-LEFT";
109*62e73f00SNeil Armstrong			linux,code = <BTN_DPAD_LEFT>;
110*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_2 GPIO_ACTIVE_LOW>;
111*62e73f00SNeil Armstrong		};
112*62e73f00SNeil Armstrong		dpad-right-button {
113*62e73f00SNeil Armstrong			label = "DPAD-RIGHT";
114*62e73f00SNeil Armstrong			linux,code = <BTN_DPAD_RIGHT>;
115*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_3 GPIO_ACTIVE_LOW>;
116*62e73f00SNeil Armstrong		};
117*62e73f00SNeil Armstrong		a-button {
118*62e73f00SNeil Armstrong			label = "A";
119*62e73f00SNeil Armstrong			linux,code = <BTN_EAST>;
120*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_4 GPIO_ACTIVE_LOW>;
121*62e73f00SNeil Armstrong		};
122*62e73f00SNeil Armstrong		b-button {
123*62e73f00SNeil Armstrong			label = "B";
124*62e73f00SNeil Armstrong			linux,code = <BTN_SOUTH>;
125*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_5 GPIO_ACTIVE_LOW>;
126*62e73f00SNeil Armstrong		};
127*62e73f00SNeil Armstrong		y-button {
128*62e73f00SNeil Armstrong			label = "Y";
129*62e73f00SNeil Armstrong			linux,code = <BTN_WEST>;
130*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
131*62e73f00SNeil Armstrong		};
132*62e73f00SNeil Armstrong		x-button {
133*62e73f00SNeil Armstrong			label = "X";
134*62e73f00SNeil Armstrong			linux,code = <BTN_NORTH>;
135*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_7 GPIO_ACTIVE_LOW>;
136*62e73f00SNeil Armstrong		};
137*62e73f00SNeil Armstrong		f1-button {
138*62e73f00SNeil Armstrong			label = "F1";
139*62e73f00SNeil Armstrong			linux,code = <BTN_TRIGGER_HAPPY1>;
140*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_17 GPIO_ACTIVE_LOW>;
141*62e73f00SNeil Armstrong		};
142*62e73f00SNeil Armstrong		f2-button {
143*62e73f00SNeil Armstrong			label = "F2";
144*62e73f00SNeil Armstrong			linux,code = <BTN_TRIGGER_HAPPY2>;
145*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_10 GPIO_ACTIVE_LOW>;
146*62e73f00SNeil Armstrong		};
147*62e73f00SNeil Armstrong		f3-button {
148*62e73f00SNeil Armstrong			label = "F3";
149*62e73f00SNeil Armstrong			linux,code = <BTN_TRIGGER_HAPPY3>;
150*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_11 GPIO_ACTIVE_LOW>;
151*62e73f00SNeil Armstrong		};
152*62e73f00SNeil Armstrong		f4-button {
153*62e73f00SNeil Armstrong			label = "F4";
154*62e73f00SNeil Armstrong			linux,code = <BTN_TRIGGER_HAPPY4>;
155*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_12 GPIO_ACTIVE_LOW>;
156*62e73f00SNeil Armstrong		};
157*62e73f00SNeil Armstrong		f5-button {
158*62e73f00SNeil Armstrong			label = "F5";
159*62e73f00SNeil Armstrong			linux,code = <BTN_TRIGGER_HAPPY5>;
160*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_13 GPIO_ACTIVE_LOW>;
161*62e73f00SNeil Armstrong		};
162*62e73f00SNeil Armstrong		f6-button {
163*62e73f00SNeil Armstrong			label = "F6";
164*62e73f00SNeil Armstrong			linux,code = <BTN_TRIGGER_HAPPY6>;
165*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_16 GPIO_ACTIVE_LOW>;
166*62e73f00SNeil Armstrong		};
167*62e73f00SNeil Armstrong		top-left-button {
168*62e73f00SNeil Armstrong			label = "TOP Left";
169*62e73f00SNeil Armstrong			linux,code = <BTN_TL>;
170*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_14 GPIO_ACTIVE_LOW>;
171*62e73f00SNeil Armstrong		};
172*62e73f00SNeil Armstrong		top-left2-button {
173*62e73f00SNeil Armstrong			label = "TOP Left 2";
174*62e73f00SNeil Armstrong			linux,code = <BTN_TL2>;
175*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_19 GPIO_ACTIVE_LOW>;
176*62e73f00SNeil Armstrong		};
177*62e73f00SNeil Armstrong		top-right-button {
178*62e73f00SNeil Armstrong			label = "TOP Right";
179*62e73f00SNeil Armstrong			linux,code = <BTN_TR>;
180*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_15 GPIO_ACTIVE_LOW>;
181*62e73f00SNeil Armstrong		};
182*62e73f00SNeil Armstrong		top-right2-button {
183*62e73f00SNeil Armstrong			label = "TOP Right 2";
184*62e73f00SNeil Armstrong			linux,code = <BTN_TR2>;
185*62e73f00SNeil Armstrong			gpios = <&gpio GPIOX_18 GPIO_ACTIVE_LOW>;
186*62e73f00SNeil Armstrong		};
187*62e73f00SNeil Armstrong	};
188*62e73f00SNeil Armstrong
189*62e73f00SNeil Armstrong	memory@0 {
190*62e73f00SNeil Armstrong		device_type = "memory";
191*62e73f00SNeil Armstrong		reg = <0x0 0x0 0x0 0x40000000>;
192*62e73f00SNeil Armstrong	};
193*62e73f00SNeil Armstrong
194*62e73f00SNeil Armstrong	emmc_pwrseq: emmc-pwrseq {
195*62e73f00SNeil Armstrong		compatible = "mmc-pwrseq-emmc";
196*62e73f00SNeil Armstrong		reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
197*62e73f00SNeil Armstrong	};
198*62e73f00SNeil Armstrong
199*62e73f00SNeil Armstrong	leds {
200*62e73f00SNeil Armstrong		compatible = "gpio-leds";
201*62e73f00SNeil Armstrong
202*62e73f00SNeil Armstrong		led-blue {
203*62e73f00SNeil Armstrong			color = <LED_COLOR_ID_BLUE>;
204*62e73f00SNeil Armstrong			gpios = <&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
205*62e73f00SNeil Armstrong			linux,default-trigger = "heartbeat";
206*62e73f00SNeil Armstrong		};
207*62e73f00SNeil Armstrong	};
208*62e73f00SNeil Armstrong
209*62e73f00SNeil Armstrong	vdd_sys: regulator-vdd-sys {
210*62e73f00SNeil Armstrong		compatible = "regulator-fixed";
211*62e73f00SNeil Armstrong		regulator-name = "VDD_SYS";
212*62e73f00SNeil Armstrong		regulator-min-microvolt = <3800000>;
213*62e73f00SNeil Armstrong		regulator-max-microvolt = <3800000>;
214*62e73f00SNeil Armstrong		regulator-always-on;
215*62e73f00SNeil Armstrong	};
216*62e73f00SNeil Armstrong
217*62e73f00SNeil Armstrong	sound {
218*62e73f00SNeil Armstrong		compatible = "amlogic,axg-sound-card";
219*62e73f00SNeil Armstrong		model = "Odroid GO Ultra";
220*62e73f00SNeil Armstrong		audio-widgets = "Microphone", "Mic Jack",
221*62e73f00SNeil Armstrong				"Headphone", "Headphones",
222*62e73f00SNeil Armstrong				"Speaker", "Internal Speakers";
223*62e73f00SNeil Armstrong		audio-aux-devs = <&tdmout_b>, <&tdmin_b>, <&speaker_amp>;
224*62e73f00SNeil Armstrong		audio-routing =	"TDMOUT_B IN 0", "FRDDR_A OUT 1",
225*62e73f00SNeil Armstrong				"TDM_B Playback", "TDMOUT_B OUT",
226*62e73f00SNeil Armstrong				"TDMIN_B IN 1", "TDM_B Capture",
227*62e73f00SNeil Armstrong				"TDMIN_B IN 4", "TDM_B Loopback",
228*62e73f00SNeil Armstrong				"TODDR_A IN 1", "TDMIN_B OUT",
229*62e73f00SNeil Armstrong				"MICL", "Mic Jack",
230*62e73f00SNeil Armstrong				"Headphones", "HPOL",
231*62e73f00SNeil Armstrong				"Headphones", "HPOR",
232*62e73f00SNeil Armstrong				"Speaker Amplifier INL", "HPOL",
233*62e73f00SNeil Armstrong				"Speaker Amplifier INR", "HPOR",
234*62e73f00SNeil Armstrong				"Internal Speakers", "Speaker Amplifier OUTL",
235*62e73f00SNeil Armstrong				"Internal Speakers", "Speaker Amplifier OUTR";
236*62e73f00SNeil Armstrong
237*62e73f00SNeil Armstrong		assigned-clocks = <&clkc CLKID_MPLL2>,
238*62e73f00SNeil Armstrong				  <&clkc CLKID_MPLL0>,
239*62e73f00SNeil Armstrong				  <&clkc CLKID_MPLL1>;
240*62e73f00SNeil Armstrong		assigned-clock-parents = <0>, <0>, <0>;
241*62e73f00SNeil Armstrong		assigned-clock-rates = <294912000>,
242*62e73f00SNeil Armstrong				       <270950400>,
243*62e73f00SNeil Armstrong				       <393216000>;
244*62e73f00SNeil Armstrong
245*62e73f00SNeil Armstrong		dai-link-0 {
246*62e73f00SNeil Armstrong			sound-dai = <&frddr_a>;
247*62e73f00SNeil Armstrong		};
248*62e73f00SNeil Armstrong
249*62e73f00SNeil Armstrong		dai-link-1 {
250*62e73f00SNeil Armstrong			sound-dai = <&toddr_a>;
251*62e73f00SNeil Armstrong		};
252*62e73f00SNeil Armstrong
253*62e73f00SNeil Armstrong		dai-link-2 {
254*62e73f00SNeil Armstrong			sound-dai = <&tdmif_b>;
255*62e73f00SNeil Armstrong			dai-format = "i2s";
256*62e73f00SNeil Armstrong			dai-tdm-slot-tx-mask-0 = <1 1>;
257*62e73f00SNeil Armstrong			mclk-fs = <256>;
258*62e73f00SNeil Armstrong
259*62e73f00SNeil Armstrong			codec-0 {
260*62e73f00SNeil Armstrong				sound-dai = <&rk817>;
261*62e73f00SNeil Armstrong			};
262*62e73f00SNeil Armstrong		};
263*62e73f00SNeil Armstrong	};
264*62e73f00SNeil Armstrong
265*62e73f00SNeil Armstrong	speaker_amp: speaker-amplifier {
266*62e73f00SNeil Armstrong		compatible = "simple-audio-amplifier";
267*62e73f00SNeil Armstrong		sound-name-prefix = "Speaker Amplifier";
268*62e73f00SNeil Armstrong		VCC-supply = <&hp_5v>;
269*62e73f00SNeil Armstrong	};
270*62e73f00SNeil Armstrong};
271*62e73f00SNeil Armstrong
272*62e73f00SNeil Armstrong&arb {
273*62e73f00SNeil Armstrong	status = "okay";
274*62e73f00SNeil Armstrong};
275*62e73f00SNeil Armstrong
276*62e73f00SNeil Armstrong&cpu0 {
277*62e73f00SNeil Armstrong	cpu-supply = <&vddcpu_b>;
278*62e73f00SNeil Armstrong	operating-points-v2 = <&cpu_opp_table_0>;
279*62e73f00SNeil Armstrong	clocks = <&clkc CLKID_CPU_CLK>;
280*62e73f00SNeil Armstrong	clock-latency = <50000>;
281*62e73f00SNeil Armstrong};
282*62e73f00SNeil Armstrong
283*62e73f00SNeil Armstrong&cpu1 {
284*62e73f00SNeil Armstrong	cpu-supply = <&vddcpu_b>;
285*62e73f00SNeil Armstrong	operating-points-v2 = <&cpu_opp_table_0>;
286*62e73f00SNeil Armstrong	clocks = <&clkc CLKID_CPU_CLK>;
287*62e73f00SNeil Armstrong	clock-latency = <50000>;
288*62e73f00SNeil Armstrong};
289*62e73f00SNeil Armstrong
290*62e73f00SNeil Armstrong&cpu100 {
291*62e73f00SNeil Armstrong	cpu-supply = <&vddcpu_a>;
292*62e73f00SNeil Armstrong	operating-points-v2 = <&cpub_opp_table_1>;
293*62e73f00SNeil Armstrong	clocks = <&clkc CLKID_CPUB_CLK>;
294*62e73f00SNeil Armstrong	clock-latency = <50000>;
295*62e73f00SNeil Armstrong};
296*62e73f00SNeil Armstrong
297*62e73f00SNeil Armstrong&cpu101 {
298*62e73f00SNeil Armstrong	cpu-supply = <&vddcpu_a>;
299*62e73f00SNeil Armstrong	operating-points-v2 = <&cpub_opp_table_1>;
300*62e73f00SNeil Armstrong	clocks = <&clkc CLKID_CPUB_CLK>;
301*62e73f00SNeil Armstrong	clock-latency = <50000>;
302*62e73f00SNeil Armstrong};
303*62e73f00SNeil Armstrong
304*62e73f00SNeil Armstrong&cpu102 {
305*62e73f00SNeil Armstrong	cpu-supply = <&vddcpu_a>;
306*62e73f00SNeil Armstrong	operating-points-v2 = <&cpub_opp_table_1>;
307*62e73f00SNeil Armstrong	clocks = <&clkc CLKID_CPUB_CLK>;
308*62e73f00SNeil Armstrong	clock-latency = <50000>;
309*62e73f00SNeil Armstrong};
310*62e73f00SNeil Armstrong
311*62e73f00SNeil Armstrong&cpu103 {
312*62e73f00SNeil Armstrong	cpu-supply = <&vddcpu_a>;
313*62e73f00SNeil Armstrong	operating-points-v2 = <&cpub_opp_table_1>;
314*62e73f00SNeil Armstrong	clocks = <&clkc CLKID_CPUB_CLK>;
315*62e73f00SNeil Armstrong	clock-latency = <50000>;
316*62e73f00SNeil Armstrong};
317*62e73f00SNeil Armstrong
318*62e73f00SNeil Armstrong/* RK817 only supports 12.5mV steps, round up the values */
319*62e73f00SNeil Armstrong&cpu_opp_table_0 {
320*62e73f00SNeil Armstrong	opp-1000000000 {
321*62e73f00SNeil Armstrong		opp-microvolt = <737500>;
322*62e73f00SNeil Armstrong	};
323*62e73f00SNeil Armstrong	opp-1200000000 {
324*62e73f00SNeil Armstrong		opp-microvolt = <737500>;
325*62e73f00SNeil Armstrong	};
326*62e73f00SNeil Armstrong	opp-1398000000 {
327*62e73f00SNeil Armstrong		opp-microvolt = <762500>;
328*62e73f00SNeil Armstrong	};
329*62e73f00SNeil Armstrong	opp-1512000000 {
330*62e73f00SNeil Armstrong		opp-microvolt = <800000>;
331*62e73f00SNeil Armstrong	};
332*62e73f00SNeil Armstrong	opp-1608000000 {
333*62e73f00SNeil Armstrong		opp-microvolt = <837500>;
334*62e73f00SNeil Armstrong	};
335*62e73f00SNeil Armstrong	opp-1704000000 {
336*62e73f00SNeil Armstrong		opp-microvolt = <862500>;
337*62e73f00SNeil Armstrong	};
338*62e73f00SNeil Armstrong	opp-1896000000 {
339*62e73f00SNeil Armstrong		opp-microvolt = <987500>;
340*62e73f00SNeil Armstrong	};
341*62e73f00SNeil Armstrong	opp-1992000000 {
342*62e73f00SNeil Armstrong		opp-microvolt = <1012500>;
343*62e73f00SNeil Armstrong	};
344*62e73f00SNeil Armstrong};
345*62e73f00SNeil Armstrong
346*62e73f00SNeil Armstrong/* RK818 only supports 12.5mV steps, round up the values */
347*62e73f00SNeil Armstrong&cpub_opp_table_1 {
348*62e73f00SNeil Armstrong	opp-1000000000 {
349*62e73f00SNeil Armstrong		opp-microvolt = <775000>;
350*62e73f00SNeil Armstrong	};
351*62e73f00SNeil Armstrong	opp-1200000000 {
352*62e73f00SNeil Armstrong		opp-microvolt = <775000>;
353*62e73f00SNeil Armstrong	};
354*62e73f00SNeil Armstrong	opp-1398000000 {
355*62e73f00SNeil Armstrong		opp-microvolt = <800000>;
356*62e73f00SNeil Armstrong	};
357*62e73f00SNeil Armstrong	opp-1512000000 {
358*62e73f00SNeil Armstrong		opp-microvolt = <825000>;
359*62e73f00SNeil Armstrong	};
360*62e73f00SNeil Armstrong	opp-1608000000 {
361*62e73f00SNeil Armstrong		opp-microvolt = <862500>;
362*62e73f00SNeil Armstrong	};
363*62e73f00SNeil Armstrong	opp-1704000000 {
364*62e73f00SNeil Armstrong		opp-microvolt = <900000>;
365*62e73f00SNeil Armstrong	};
366*62e73f00SNeil Armstrong	opp-1800000000 {
367*62e73f00SNeil Armstrong		opp-microvolt = <987500>;
368*62e73f00SNeil Armstrong	};
369*62e73f00SNeil Armstrong	opp-1908000000 {
370*62e73f00SNeil Armstrong		opp-microvolt = <1025000>;
371*62e73f00SNeil Armstrong	};
372*62e73f00SNeil Armstrong};
373*62e73f00SNeil Armstrong
374*62e73f00SNeil Armstrong&i2c_AO {
375*62e73f00SNeil Armstrong	status = "okay";
376*62e73f00SNeil Armstrong	pinctrl-0 = <&i2c_ao_sck_pins>, <&i2c_ao_sda_pins>;
377*62e73f00SNeil Armstrong	pinctrl-names = "default";
378*62e73f00SNeil Armstrong
379*62e73f00SNeil Armstrong	rk818: pmic@1c {
380*62e73f00SNeil Armstrong		compatible = "rockchip,rk818";
381*62e73f00SNeil Armstrong		reg = <0x1c>;
382*62e73f00SNeil Armstrong		interrupt-parent = <&gpio_intc>;
383*62e73f00SNeil Armstrong		interrupts = <7 IRQ_TYPE_LEVEL_LOW>; /* GPIOAO_7 */
384*62e73f00SNeil Armstrong
385*62e73f00SNeil Armstrong		vcc1-supply = <&vdd_sys>;
386*62e73f00SNeil Armstrong		vcc2-supply = <&vdd_sys>;
387*62e73f00SNeil Armstrong		vcc3-supply = <&vdd_sys>;
388*62e73f00SNeil Armstrong		vcc4-supply = <&vdd_sys>;
389*62e73f00SNeil Armstrong		vcc6-supply = <&vdd_sys>;
390*62e73f00SNeil Armstrong		vcc7-supply = <&vcc_2v3>;
391*62e73f00SNeil Armstrong		vcc8-supply = <&vcc_2v3>;
392*62e73f00SNeil Armstrong		vcc9-supply = <&vddao_3v3>;
393*62e73f00SNeil Armstrong		boost-supply = <&vdd_sys>;
394*62e73f00SNeil Armstrong		switch-supply = <&vdd_sys>;
395*62e73f00SNeil Armstrong
396*62e73f00SNeil Armstrong		regulators {
397*62e73f00SNeil Armstrong			vddcpu_a: DCDC_REG1 {
398*62e73f00SNeil Armstrong				regulator-name = "vddcpu_a";
399*62e73f00SNeil Armstrong				regulator-always-on;
400*62e73f00SNeil Armstrong				regulator-boot-on;
401*62e73f00SNeil Armstrong				regulator-min-microvolt = <775000>;
402*62e73f00SNeil Armstrong				regulator-max-microvolt = <1025000>;
403*62e73f00SNeil Armstrong				regulator-ramp-delay = <6001>;
404*62e73f00SNeil Armstrong				regulator-state-mem {
405*62e73f00SNeil Armstrong					regulator-on-in-suspend;
406*62e73f00SNeil Armstrong					regulator-suspend-microvolt = <775000>;
407*62e73f00SNeil Armstrong				};
408*62e73f00SNeil Armstrong			};
409*62e73f00SNeil Armstrong
410*62e73f00SNeil Armstrong			vdd_ee: DCDC_REG2 {
411*62e73f00SNeil Armstrong				regulator-name = "vdd_ee";
412*62e73f00SNeil Armstrong				regulator-always-on;
413*62e73f00SNeil Armstrong				regulator-boot-on;
414*62e73f00SNeil Armstrong				regulator-min-microvolt = <875000>;
415*62e73f00SNeil Armstrong				regulator-max-microvolt = <1250000>;
416*62e73f00SNeil Armstrong				regulator-ramp-delay = <6001>;
417*62e73f00SNeil Armstrong				regulator-state-mem {
418*62e73f00SNeil Armstrong					regulator-on-in-suspend;
419*62e73f00SNeil Armstrong					regulator-suspend-microvolt = <875000>;
420*62e73f00SNeil Armstrong				};
421*62e73f00SNeil Armstrong			};
422*62e73f00SNeil Armstrong
423*62e73f00SNeil Armstrong			vddq_1v1: DCDC_REG3 {
424*62e73f00SNeil Armstrong				regulator-name = "vddq_1v1";
425*62e73f00SNeil Armstrong				regulator-always-on;
426*62e73f00SNeil Armstrong				regulator-boot-on;
427*62e73f00SNeil Armstrong				regulator-state-mem {
428*62e73f00SNeil Armstrong					regulator-on-in-suspend;
429*62e73f00SNeil Armstrong				};
430*62e73f00SNeil Armstrong			};
431*62e73f00SNeil Armstrong
432*62e73f00SNeil Armstrong			vddao_3v3: DCDC_REG4 {
433*62e73f00SNeil Armstrong				regulator-always-on;
434*62e73f00SNeil Armstrong				regulator-boot-on;
435*62e73f00SNeil Armstrong				regulator-min-microvolt = <3300000>;
436*62e73f00SNeil Armstrong				regulator-max-microvolt = <3300000>;
437*62e73f00SNeil Armstrong				regulator-name = "vddao_3v3";
438*62e73f00SNeil Armstrong				regulator-state-mem {
439*62e73f00SNeil Armstrong					regulator-on-in-suspend;
440*62e73f00SNeil Armstrong					regulator-suspend-microvolt = <3300000>;
441*62e73f00SNeil Armstrong				};
442*62e73f00SNeil Armstrong			};
443*62e73f00SNeil Armstrong
444*62e73f00SNeil Armstrong			hp_5v: DCDC_BOOST {
445*62e73f00SNeil Armstrong				regulator-always-on;
446*62e73f00SNeil Armstrong				regulator-boot-on;
447*62e73f00SNeil Armstrong				regulator-name = "hp_5v";
448*62e73f00SNeil Armstrong				regulator-min-microvolt = <5000000>;
449*62e73f00SNeil Armstrong				regulator-max-microvolt = <5000000>;
450*62e73f00SNeil Armstrong				regulator-state-mem {
451*62e73f00SNeil Armstrong					regulator-off-in-suspend;
452*62e73f00SNeil Armstrong				};
453*62e73f00SNeil Armstrong			};
454*62e73f00SNeil Armstrong
455*62e73f00SNeil Armstrong			vddio_ao1v8: LDO_REG5 {
456*62e73f00SNeil Armstrong				regulator-always-on;
457*62e73f00SNeil Armstrong				regulator-boot-on;
458*62e73f00SNeil Armstrong				regulator-min-microvolt = <1800000>;
459*62e73f00SNeil Armstrong				regulator-max-microvolt = <1800000>;
460*62e73f00SNeil Armstrong				regulator-name = "vddio_ao1v8";
461*62e73f00SNeil Armstrong				regulator-state-mem {
462*62e73f00SNeil Armstrong					regulator-on-in-suspend;
463*62e73f00SNeil Armstrong					regulator-suspend-microvolt = <1800000>;
464*62e73f00SNeil Armstrong				};
465*62e73f00SNeil Armstrong			};
466*62e73f00SNeil Armstrong
467*62e73f00SNeil Armstrong			vddq_1v8: LDO_REG7 {
468*62e73f00SNeil Armstrong				regulator-always-on;
469*62e73f00SNeil Armstrong				regulator-boot-on;
470*62e73f00SNeil Armstrong				regulator-min-microvolt = <1800000>;
471*62e73f00SNeil Armstrong				regulator-max-microvolt = <1800000>;
472*62e73f00SNeil Armstrong				regulator-name = "vddq_1v8";
473*62e73f00SNeil Armstrong				regulator-state-mem {
474*62e73f00SNeil Armstrong					regulator-on-in-suspend;
475*62e73f00SNeil Armstrong					regulator-suspend-microvolt = <1800000>;
476*62e73f00SNeil Armstrong				};
477*62e73f00SNeil Armstrong			};
478*62e73f00SNeil Armstrong
479*62e73f00SNeil Armstrong			vddio_c: LDO_REG9 {
480*62e73f00SNeil Armstrong				regulator-always-on;
481*62e73f00SNeil Armstrong				regulator-boot-on;
482*62e73f00SNeil Armstrong				regulator-min-microvolt = <1800000>;
483*62e73f00SNeil Armstrong				regulator-max-microvolt = <3300000>;
484*62e73f00SNeil Armstrong				regulator-name = "vddio_c";
485*62e73f00SNeil Armstrong				regulator-state-mem {
486*62e73f00SNeil Armstrong					regulator-on-in-suspend;
487*62e73f00SNeil Armstrong					regulator-suspend-microvolt = <3300000>;
488*62e73f00SNeil Armstrong				};
489*62e73f00SNeil Armstrong			};
490*62e73f00SNeil Armstrong
491*62e73f00SNeil Armstrong			vcc_sd: SWITCH_REG {
492*62e73f00SNeil Armstrong				regulator-name = "vcc_sd";
493*62e73f00SNeil Armstrong				regulator-always-on;
494*62e73f00SNeil Armstrong				regulator-boot-on;
495*62e73f00SNeil Armstrong				regulator-min-microvolt = <3300000>;
496*62e73f00SNeil Armstrong				regulator-max-microvolt = <3300000>;
497*62e73f00SNeil Armstrong				regulator-state-mem {
498*62e73f00SNeil Armstrong					regulator-on-in-suspend;
499*62e73f00SNeil Armstrong				};
500*62e73f00SNeil Armstrong			};
501*62e73f00SNeil Armstrong
502*62e73f00SNeil Armstrong			OTG_SWITCH {
503*62e73f00SNeil Armstrong				regulator-name = "otg_switch";
504*62e73f00SNeil Armstrong				regulator-state-mem {
505*62e73f00SNeil Armstrong					regulator-off-in-suspend;
506*62e73f00SNeil Armstrong				};
507*62e73f00SNeil Armstrong			};
508*62e73f00SNeil Armstrong		};
509*62e73f00SNeil Armstrong	};
510*62e73f00SNeil Armstrong};
511*62e73f00SNeil Armstrong
512*62e73f00SNeil Armstrong&i2c3 {
513*62e73f00SNeil Armstrong	status = "okay";
514*62e73f00SNeil Armstrong	pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
515*62e73f00SNeil Armstrong	pinctrl-names = "default";
516*62e73f00SNeil Armstrong
517*62e73f00SNeil Armstrong	rk817: pmic@20 {
518*62e73f00SNeil Armstrong		compatible = "rockchip,rk817";
519*62e73f00SNeil Armstrong		reg = <0x20>;
520*62e73f00SNeil Armstrong		interrupt-parent = <&gpio_intc>;
521*62e73f00SNeil Armstrong
522*62e73f00SNeil Armstrong		interrupts = <5 IRQ_TYPE_LEVEL_LOW>; /* GPIOAO_5 */
523*62e73f00SNeil Armstrong
524*62e73f00SNeil Armstrong		vcc1-supply = <&vdd_sys>;
525*62e73f00SNeil Armstrong		vcc2-supply = <&vdd_sys>;
526*62e73f00SNeil Armstrong		vcc3-supply = <&vdd_sys>;
527*62e73f00SNeil Armstrong		vcc4-supply = <&vdd_sys>;
528*62e73f00SNeil Armstrong		vcc5-supply = <&vdd_sys>;
529*62e73f00SNeil Armstrong		vcc6-supply = <&vdd_sys>;
530*62e73f00SNeil Armstrong		vcc7-supply = <&vdd_sys>;
531*62e73f00SNeil Armstrong		vcc8-supply = <&vdd_sys>;
532*62e73f00SNeil Armstrong		vcc9-supply = <&rk817_boost>;
533*62e73f00SNeil Armstrong
534*62e73f00SNeil Armstrong		#sound-dai-cells = <0>;
535*62e73f00SNeil Armstrong		clocks = <&codec_clk>;
536*62e73f00SNeil Armstrong		clock-names = "mclk";
537*62e73f00SNeil Armstrong
538*62e73f00SNeil Armstrong		#clock-cells = <1>;
539*62e73f00SNeil Armstrong
540*62e73f00SNeil Armstrong		regulators {
541*62e73f00SNeil Armstrong			vddcpu_b: DCDC_REG2 {
542*62e73f00SNeil Armstrong				regulator-always-on;
543*62e73f00SNeil Armstrong				regulator-boot-on;
544*62e73f00SNeil Armstrong				regulator-min-microvolt = <737500>;
545*62e73f00SNeil Armstrong				regulator-max-microvolt = <1012500>;
546*62e73f00SNeil Armstrong				regulator-ramp-delay = <6001>;
547*62e73f00SNeil Armstrong				regulator-initial-mode = <0x2>;
548*62e73f00SNeil Armstrong				regulator-name = "vddcpu_b";
549*62e73f00SNeil Armstrong				regulator-state-mem {
550*62e73f00SNeil Armstrong					regulator-on-in-suspend;
551*62e73f00SNeil Armstrong					regulator-suspend-microvolt = <1000000>;
552*62e73f00SNeil Armstrong				};
553*62e73f00SNeil Armstrong			};
554*62e73f00SNeil Armstrong
555*62e73f00SNeil Armstrong			vcc_2v3: DCDC_REG3 {
556*62e73f00SNeil Armstrong				regulator-always-on;
557*62e73f00SNeil Armstrong				regulator-boot-on;
558*62e73f00SNeil Armstrong				regulator-min-microvolt = <2300000>;
559*62e73f00SNeil Armstrong				regulator-max-microvolt = <2400000>;
560*62e73f00SNeil Armstrong				regulator-initial-mode = <0x2>;
561*62e73f00SNeil Armstrong				regulator-name = "vcc_2v3";
562*62e73f00SNeil Armstrong				regulator-state-mem {
563*62e73f00SNeil Armstrong					regulator-on-in-suspend;
564*62e73f00SNeil Armstrong				};
565*62e73f00SNeil Armstrong			};
566*62e73f00SNeil Armstrong
567*62e73f00SNeil Armstrong			LDO_REG4 {
568*62e73f00SNeil Armstrong				regulator-always-on;
569*62e73f00SNeil Armstrong				regulator-boot-on;
570*62e73f00SNeil Armstrong				regulator-min-microvolt = <3300000>;
571*62e73f00SNeil Armstrong				regulator-max-microvolt = <3300000>;
572*62e73f00SNeil Armstrong				regulator-name = "vdd_codec";
573*62e73f00SNeil Armstrong				regulator-state-mem {
574*62e73f00SNeil Armstrong					regulator-off-in-suspend;
575*62e73f00SNeil Armstrong				};
576*62e73f00SNeil Armstrong			};
577*62e73f00SNeil Armstrong
578*62e73f00SNeil Armstrong			vcc_lcd: LDO_REG8 {
579*62e73f00SNeil Armstrong				regulator-min-microvolt = <3300000>;
580*62e73f00SNeil Armstrong				regulator-max-microvolt = <3300000>;
581*62e73f00SNeil Armstrong				regulator-name = "vcc_lcd";
582*62e73f00SNeil Armstrong				regulator-state-mem {
583*62e73f00SNeil Armstrong					regulator-off-in-suspend;
584*62e73f00SNeil Armstrong				};
585*62e73f00SNeil Armstrong			};
586*62e73f00SNeil Armstrong
587*62e73f00SNeil Armstrong			rk817_boost: BOOST {
588*62e73f00SNeil Armstrong				regulator-always-on;
589*62e73f00SNeil Armstrong				regulator-boot-on;
590*62e73f00SNeil Armstrong				regulator-min-microvolt = <5000000>;
591*62e73f00SNeil Armstrong				regulator-max-microvolt = <5400000>;
592*62e73f00SNeil Armstrong				regulator-name = "rk817_boost";
593*62e73f00SNeil Armstrong				regulator-state-mem {
594*62e73f00SNeil Armstrong					regulator-off-in-suspend;
595*62e73f00SNeil Armstrong				};
596*62e73f00SNeil Armstrong			};
597*62e73f00SNeil Armstrong
598*62e73f00SNeil Armstrong			usb_host: OTG_SWITCH {
599*62e73f00SNeil Armstrong				regulator-name = "usb_host";
600*62e73f00SNeil Armstrong				regulator-min-microvolt = <5000000>;
601*62e73f00SNeil Armstrong				regulator-max-microvolt = <5000000>;
602*62e73f00SNeil Armstrong				regulator-state-mem {
603*62e73f00SNeil Armstrong					regulator-off-in-suspend;
604*62e73f00SNeil Armstrong				};
605*62e73f00SNeil Armstrong			};
606*62e73f00SNeil Armstrong		};
607*62e73f00SNeil Armstrong	};
608*62e73f00SNeil Armstrong};
609*62e73f00SNeil Armstrong
610*62e73f00SNeil Armstrong&clkc_audio {
611*62e73f00SNeil Armstrong	status = "okay";
612*62e73f00SNeil Armstrong};
613*62e73f00SNeil Armstrong
614*62e73f00SNeil Armstrong&eth_phy {
615*62e73f00SNeil Armstrong	status = "disabled";
616*62e73f00SNeil Armstrong};
617*62e73f00SNeil Armstrong
618*62e73f00SNeil Armstrong&frddr_a {
619*62e73f00SNeil Armstrong	status = "okay";
620*62e73f00SNeil Armstrong};
621*62e73f00SNeil Armstrong
622*62e73f00SNeil Armstrong&periphs_pinctrl {
623*62e73f00SNeil Armstrong	keypad_gpio_pins: keypad-gpio {
624*62e73f00SNeil Armstrong		mux {
625*62e73f00SNeil Armstrong			groups = "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3",
626*62e73f00SNeil Armstrong			         "GPIOX_4", "GPIOX_5", "GPIOX_6", "GPIOX_7",
627*62e73f00SNeil Armstrong				 "GPIOX_8", "GPIOX_9", "GPIOX_10", "GPIOX_11",
628*62e73f00SNeil Armstrong				 "GPIOX_12", "GPIOX_13", "GPIOX_14",  "GPIOX_15",
629*62e73f00SNeil Armstrong				 "GPIOX_16", "GPIOX_17", "GPIOX_18",  "GPIOX_19";
630*62e73f00SNeil Armstrong			function = "gpio_periphs";
631*62e73f00SNeil Armstrong			bias-pull-up;
632*62e73f00SNeil Armstrong			output-disable;
633*62e73f00SNeil Armstrong		};
634*62e73f00SNeil Armstrong	};
635*62e73f00SNeil Armstrong};
636*62e73f00SNeil Armstrong
637*62e73f00SNeil Armstrong&saradc {
638*62e73f00SNeil Armstrong	status = "okay";
639*62e73f00SNeil Armstrong	vref-supply = <&vddio_ao1v8>;
640*62e73f00SNeil Armstrong};
641*62e73f00SNeil Armstrong
642*62e73f00SNeil Armstrong/* SD card */
643*62e73f00SNeil Armstrong&sd_emmc_b {
644*62e73f00SNeil Armstrong	status = "okay";
645*62e73f00SNeil Armstrong	pinctrl-0 = <&sdcard_c_pins>;
646*62e73f00SNeil Armstrong	pinctrl-1 = <&sdcard_clk_gate_c_pins>;
647*62e73f00SNeil Armstrong	pinctrl-names = "default", "clk-gate";
648*62e73f00SNeil Armstrong
649*62e73f00SNeil Armstrong	bus-width = <4>;
650*62e73f00SNeil Armstrong	cap-sd-highspeed;
651*62e73f00SNeil Armstrong	max-frequency = <50000000>;
652*62e73f00SNeil Armstrong	disable-wp;
653*62e73f00SNeil Armstrong
654*62e73f00SNeil Armstrong	cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
655*62e73f00SNeil Armstrong	vmmc-supply = <&vcc_sd>;
656*62e73f00SNeil Armstrong	vqmmc-supply = <&vddio_c>;
657*62e73f00SNeil Armstrong
658*62e73f00SNeil Armstrong};
659*62e73f00SNeil Armstrong
660*62e73f00SNeil Armstrong/* eMMC */
661*62e73f00SNeil Armstrong&sd_emmc_c {
662*62e73f00SNeil Armstrong	status = "okay";
663*62e73f00SNeil Armstrong	pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>;
664*62e73f00SNeil Armstrong	pinctrl-1 = <&emmc_clk_gate_pins>;
665*62e73f00SNeil Armstrong	pinctrl-names = "default", "clk-gate";
666*62e73f00SNeil Armstrong
667*62e73f00SNeil Armstrong	bus-width = <8>;
668*62e73f00SNeil Armstrong	cap-mmc-highspeed;
669*62e73f00SNeil Armstrong	mmc-ddr-1_8v;
670*62e73f00SNeil Armstrong	mmc-hs200-1_8v;
671*62e73f00SNeil Armstrong	max-frequency = <200000000>;
672*62e73f00SNeil Armstrong	disable-wp;
673*62e73f00SNeil Armstrong
674*62e73f00SNeil Armstrong	mmc-pwrseq = <&emmc_pwrseq>;
675*62e73f00SNeil Armstrong	vmmc-supply = <&vcc_sd>;
676*62e73f00SNeil Armstrong	vqmmc-supply = <&vddio_ao1v8>;
677*62e73f00SNeil Armstrong};
678*62e73f00SNeil Armstrong
679*62e73f00SNeil Armstrong
680*62e73f00SNeil Armstrong&tdmif_b {
681*62e73f00SNeil Armstrong	pinctrl-0 = <&tdm_b_dout0_pins>, <&tdm_b_fs_pins>, <&tdm_b_sclk_pins>, <&tdm_b_din1_pins>;
682*62e73f00SNeil Armstrong	pinctrl-names = "default";
683*62e73f00SNeil Armstrong	status = "okay";
684*62e73f00SNeil Armstrong
685*62e73f00SNeil Armstrong	assigned-clocks = <&clkc_audio AUD_CLKID_TDM_SCLK_PAD1>,
686*62e73f00SNeil Armstrong			  <&clkc_audio AUD_CLKID_TDM_LRCLK_PAD1>;
687*62e73f00SNeil Armstrong	assigned-clock-parents = <&clkc_audio AUD_CLKID_MST_B_SCLK>,
688*62e73f00SNeil Armstrong				 <&clkc_audio AUD_CLKID_MST_B_LRCLK>;
689*62e73f00SNeil Armstrong	assigned-clock-rates = <0>, <0>;
690*62e73f00SNeil Armstrong};
691*62e73f00SNeil Armstrong
692*62e73f00SNeil Armstrong&tdmin_b {
693*62e73f00SNeil Armstrong	status = "okay";
694*62e73f00SNeil Armstrong};
695*62e73f00SNeil Armstrong
696*62e73f00SNeil Armstrong&tdmout_b {
697*62e73f00SNeil Armstrong	status = "okay";
698*62e73f00SNeil Armstrong};
699*62e73f00SNeil Armstrong
700*62e73f00SNeil Armstrong&toddr_a {
701*62e73f00SNeil Armstrong	status = "okay";
702*62e73f00SNeil Armstrong};
703*62e73f00SNeil Armstrong
704*62e73f00SNeil Armstrong&uart_AO {
705*62e73f00SNeil Armstrong	status = "okay";
706*62e73f00SNeil Armstrong	pinctrl-0 = <&uart_ao_a_pins>;
707*62e73f00SNeil Armstrong	pinctrl-names = "default";
708*62e73f00SNeil Armstrong};
709*62e73f00SNeil Armstrong
710*62e73f00SNeil Armstrong&usb {
711*62e73f00SNeil Armstrong	status = "okay";
712*62e73f00SNeil Armstrong	dr_mode = "peripheral";
713*62e73f00SNeil Armstrong};
714*62e73f00SNeil Armstrong
715*62e73f00SNeil Armstrong&usb2_phy0 {
716*62e73f00SNeil Armstrong	status = "okay";
717*62e73f00SNeil Armstrong};
718*62e73f00SNeil Armstrong
719*62e73f00SNeil Armstrong&usb2_phy1 {
720*62e73f00SNeil Armstrong	status = "okay";
721*62e73f00SNeil Armstrong	phy-supply = <&usb_host>;
722*62e73f00SNeil Armstrong};
723