xref: /linux/scripts/dtc/include-prefixes/arm/amlogic/meson8b-ec100.dts (revision 3fd6c59042dbba50391e30862beac979491145fe)
1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Copyright (c) 2018 Martin Blumenstingl <martin.blumenstingl@googlemail.com>.
4*724ba675SRob Herring */
5*724ba675SRob Herring
6*724ba675SRob Herring/dts-v1/;
7*724ba675SRob Herring
8*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
9*724ba675SRob Herring#include <dt-bindings/input/input.h>
10*724ba675SRob Herring
11*724ba675SRob Herring#include "meson8b.dtsi"
12*724ba675SRob Herring
13*724ba675SRob Herring/ {
14*724ba675SRob Herring	model = "Endless Computers Endless Mini";
15*724ba675SRob Herring	compatible = "endless,ec100", "amlogic,meson8b";
16*724ba675SRob Herring
17*724ba675SRob Herring	aliases {
18*724ba675SRob Herring		serial0 = &uart_AO;
19*724ba675SRob Herring	};
20*724ba675SRob Herring
21*724ba675SRob Herring	chosen {
22*724ba675SRob Herring		stdout-path = "serial0:115200n8";
23*724ba675SRob Herring	};
24*724ba675SRob Herring
25*724ba675SRob Herring	memory@40000000 {
26*724ba675SRob Herring		device_type = "memory";
27*724ba675SRob Herring		reg = <0x40000000 0x40000000>;
28*724ba675SRob Herring	};
29*724ba675SRob Herring
30*724ba675SRob Herring	emmc_pwrseq: emmc-pwrseq {
31*724ba675SRob Herring		compatible = "mmc-pwrseq-emmc";
32*724ba675SRob Herring		reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
33*724ba675SRob Herring	};
34*724ba675SRob Herring
35*724ba675SRob Herring	gpio-keys {
36*724ba675SRob Herring		compatible = "gpio-keys-polled";
37*724ba675SRob Herring		poll-interval = <100>;
38*724ba675SRob Herring
39*724ba675SRob Herring		pal-switch {
40*724ba675SRob Herring			label = "pal";
41*724ba675SRob Herring			linux,input-type = <EV_SW>;
42*724ba675SRob Herring			linux,code = <KEY_SWITCHVIDEOMODE>;
43*724ba675SRob Herring			gpios = <&gpio GPIOH_7 GPIO_ACTIVE_LOW>;
44*724ba675SRob Herring		};
45*724ba675SRob Herring
46*724ba675SRob Herring		ntsc-switch {
47*724ba675SRob Herring			label = "ntsc";
48*724ba675SRob Herring			linux,input-type = <EV_SW>;
49*724ba675SRob Herring			linux,code = <KEY_SWITCHVIDEOMODE>;
50*724ba675SRob Herring			gpios = <&gpio GPIOH_8 GPIO_ACTIVE_HIGH>;
51*724ba675SRob Herring		};
52*724ba675SRob Herring
53*724ba675SRob Herring		power-button {
54*724ba675SRob Herring			label = "power";
55*724ba675SRob Herring			linux,code = <KEY_POWER>;
56*724ba675SRob Herring			gpios = <&gpio GPIOH_9 GPIO_ACTIVE_LOW>;
57*724ba675SRob Herring		};
58*724ba675SRob Herring	};
59*724ba675SRob Herring
60*724ba675SRob Herring	gpio-poweroff {
61*724ba675SRob Herring		compatible = "gpio-poweroff";
62*724ba675SRob Herring		/*
63*724ba675SRob Herring		 * shutdown is managed by the EC (embedded micro-controller)
64*724ba675SRob Herring		 * which is configured through GPIOAO_2 (poweroff GPIO) and
65*724ba675SRob Herring		 * GPIOAO_7 (power LED, which has to go LOW as well).
66*724ba675SRob Herring		 */
67*724ba675SRob Herring		gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>;
68*724ba675SRob Herring		timeout-ms = <20000>;
69*724ba675SRob Herring	};
70*724ba675SRob Herring
71*724ba675SRob Herring	leds {
72*724ba675SRob Herring		compatible = "gpio-leds";
73*724ba675SRob Herring
74*724ba675SRob Herring		led-power {
75*724ba675SRob Herring			label = "ec100:red:power";
76*724ba675SRob Herring			/*
77*724ba675SRob Herring			 * Needs to go LOW (together with the poweroff GPIO)
78*724ba675SRob Herring			 * during shutdown to allow the EC (embedded
79*724ba675SRob Herring			 * micro-controller) to shutdown the system. Setting
80*724ba675SRob Herring			 * the output to LOW signals the EC to start a
81*724ba675SRob Herring			 * "breathing"/pulsing effect until the power is fully
82*724ba675SRob Herring			 * turned off.
83*724ba675SRob Herring			 */
84*724ba675SRob Herring			gpios = <&gpio_ao GPIOAO_7 GPIO_ACTIVE_HIGH>;
85*724ba675SRob Herring			default-state = "on";
86*724ba675SRob Herring		};
87*724ba675SRob Herring	};
88*724ba675SRob Herring
89*724ba675SRob Herring	rtc32k_xtal: rtc32k-xtal-clk {
90*724ba675SRob Herring		/* X2 in the schematics */
91*724ba675SRob Herring		compatible = "fixed-clock";
92*724ba675SRob Herring		clock-frequency = <32768>;
93*724ba675SRob Herring		clock-output-names = "RTC32K";
94*724ba675SRob Herring		#clock-cells = <0>;
95*724ba675SRob Herring	};
96*724ba675SRob Herring
97*724ba675SRob Herring	sound {
98*724ba675SRob Herring		compatible = "amlogic,gx-sound-card";
99*724ba675SRob Herring		model = "M8B-EC100";
100*724ba675SRob Herring
101*724ba675SRob Herring		clocks = <&clkc CLKID_MPLL0>,
102*724ba675SRob Herring			 <&clkc CLKID_MPLL1>,
103*724ba675SRob Herring			 <&clkc CLKID_MPLL2>;
104*724ba675SRob Herring
105*724ba675SRob Herring		assigned-clocks = <&clkc CLKID_MPLL0>,
106*724ba675SRob Herring				  <&clkc CLKID_MPLL1>,
107*724ba675SRob Herring				  <&clkc CLKID_MPLL2>;
108*724ba675SRob Herring		assigned-clock-rates = <270950400>,
109*724ba675SRob Herring				       <294912000>,
110*724ba675SRob Herring				       <393216000>;
111*724ba675SRob Herring
112*724ba675SRob Herring		dai-link-0 {
113*724ba675SRob Herring			sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>;
114*724ba675SRob Herring		};
115*724ba675SRob Herring
116*724ba675SRob Herring		dai-link-1 {
117*724ba675SRob Herring			sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>;
118*724ba675SRob Herring			dai-format = "i2s";
119*724ba675SRob Herring			mclk-fs = <256>;
120*724ba675SRob Herring
121*724ba675SRob Herring			codec-0 {
122*724ba675SRob Herring				sound-dai = <&rt5640>;
123*724ba675SRob Herring			};
124*724ba675SRob Herring		};
125*724ba675SRob Herring	};
126*724ba675SRob Herring
127*724ba675SRob Herring	usb_vbus: regulator-usb-vbus {
128*724ba675SRob Herring		/*
129*724ba675SRob Herring		 * Silergy SY6288CCAC-GP 2A Power Distribution Switch.
130*724ba675SRob Herring		 */
131*724ba675SRob Herring		compatible = "regulator-fixed";
132*724ba675SRob Herring
133*724ba675SRob Herring		regulator-name = "USB_VBUS";
134*724ba675SRob Herring
135*724ba675SRob Herring		regulator-min-microvolt = <5000000>;
136*724ba675SRob Herring		regulator-max-microvolt = <5000000>;
137*724ba675SRob Herring
138*724ba675SRob Herring		vin-supply = <&vcc_5v>;
139*724ba675SRob Herring
140*724ba675SRob Herring		/*
141*724ba675SRob Herring		 * signal name from the schematics: USB_PWR_EN
142*724ba675SRob Herring		 */
143*724ba675SRob Herring		gpio = <&gpio_ao GPIOAO_5 GPIO_ACTIVE_HIGH>;
144*724ba675SRob Herring		enable-active-high;
145*724ba675SRob Herring	};
146*724ba675SRob Herring
147*724ba675SRob Herring	vcc_5v: regulator-vcc5v {
148*724ba675SRob Herring		/*
149*724ba675SRob Herring		 * supplied by the main power input which called PWR_5V_STB
150*724ba675SRob Herring		 * in the schematics
151*724ba675SRob Herring		 */
152*724ba675SRob Herring		compatible = "regulator-fixed";
153*724ba675SRob Herring
154*724ba675SRob Herring		regulator-name = "VCC5V";
155*724ba675SRob Herring
156*724ba675SRob Herring		regulator-min-microvolt = <5000000>;
157*724ba675SRob Herring		regulator-max-microvolt = <5000000>;
158*724ba675SRob Herring
159*724ba675SRob Herring		/*
160*724ba675SRob Herring		 * signal name from the schematics: 3V3_5V_EN
161*724ba675SRob Herring		 */
162*724ba675SRob Herring		gpio = <&gpio GPIODV_29 GPIO_ACTIVE_LOW>;
163*724ba675SRob Herring
164*724ba675SRob Herring		regulator-boot-on;
165*724ba675SRob Herring		regulator-always-on;
166*724ba675SRob Herring	};
167*724ba675SRob Herring
168*724ba675SRob Herring	vcck: regulator-vcck {
169*724ba675SRob Herring		/*
170*724ba675SRob Herring		 * Silergy SY8089AAC-GP 2A continuous, 3A peak, 1MHz
171*724ba675SRob Herring		 * Synchronous Step Down Regulator.
172*724ba675SRob Herring		 */
173*724ba675SRob Herring		compatible = "pwm-regulator";
174*724ba675SRob Herring
175*724ba675SRob Herring		regulator-name = "VCCK";
176*724ba675SRob Herring		regulator-min-microvolt = <860000>;
177*724ba675SRob Herring		regulator-max-microvolt = <1140000>;
178*724ba675SRob Herring
179*724ba675SRob Herring		pwm-supply = <&vcc_5v>;
180*724ba675SRob Herring
181*724ba675SRob Herring		pwms = <&pwm_cd 0 1148 0>;
182*724ba675SRob Herring		pwm-dutycycle-range = <100 0>;
183*724ba675SRob Herring
184*724ba675SRob Herring		regulator-boot-on;
185*724ba675SRob Herring		regulator-always-on;
186*724ba675SRob Herring	};
187*724ba675SRob Herring
188*724ba675SRob Herring	vcc_1v8: regulator-vcc1v8 {
189*724ba675SRob Herring		/*
190*724ba675SRob Herring		 * ABLIC S-1339D18-M5001-GP
191*724ba675SRob Herring		 */
192*724ba675SRob Herring		compatible = "regulator-fixed";
193*724ba675SRob Herring
194*724ba675SRob Herring		regulator-name = "VCC1V8";
195*724ba675SRob Herring		regulator-min-microvolt = <1800000>;
196*724ba675SRob Herring		regulator-max-microvolt = <1800000>;
197*724ba675SRob Herring
198*724ba675SRob Herring		vin-supply = <&vcc_3v3>;
199*724ba675SRob Herring	};
200*724ba675SRob Herring
201*724ba675SRob Herring	vcc_3v3: regulator-vcc3v3 {
202*724ba675SRob Herring		/*
203*724ba675SRob Herring		 * Silergy SY8089AAC-GP 2A continuous, 3A peak, 1MHz
204*724ba675SRob Herring		 * Synchronous Step Down Regulator. Also called
205*724ba675SRob Herring		 * VDDIO_AO3.3V in the schematics.
206*724ba675SRob Herring		 */
207*724ba675SRob Herring		compatible = "regulator-fixed";
208*724ba675SRob Herring
209*724ba675SRob Herring		regulator-name = "VCC3V3";
210*724ba675SRob Herring		regulator-min-microvolt = <3300000>;
211*724ba675SRob Herring		regulator-max-microvolt = <3300000>;
212*724ba675SRob Herring
213*724ba675SRob Herring		vin-supply = <&vcc_5v>;
214*724ba675SRob Herring	};
215*724ba675SRob Herring
216*724ba675SRob Herring	vcc_ddr3: regulator-vcc-ddr3 {
217*724ba675SRob Herring		/*
218*724ba675SRob Herring		 * Silergy SY8089AAC-GP 2A continuous, 3A peak, 1MHz
219*724ba675SRob Herring		 * Synchronous Step Down Regulator. Also called
220*724ba675SRob Herring		 * DDR3_1.5V in the schematics.
221*724ba675SRob Herring		 */
222*724ba675SRob Herring		compatible = "regulator-fixed";
223*724ba675SRob Herring
224*724ba675SRob Herring		regulator-name = "VCC_DDR3_1V5";
225*724ba675SRob Herring		regulator-min-microvolt = <1500000>;
226*724ba675SRob Herring		regulator-max-microvolt = <1500000>;
227*724ba675SRob Herring
228*724ba675SRob Herring		vin-supply = <&vcc_5v>;
229*724ba675SRob Herring
230*724ba675SRob Herring		regulator-boot-on;
231*724ba675SRob Herring		regulator-always-on;
232*724ba675SRob Herring	};
233*724ba675SRob Herring
234*724ba675SRob Herring	vcc_rtc: regulator-vcc-rtc {
235*724ba675SRob Herring		/*
236*724ba675SRob Herring		 * Global Mixed-mode Technology Inc. G918T12U-GP
237*724ba675SRob Herring		 */
238*724ba675SRob Herring		compatible = "regulator-fixed";
239*724ba675SRob Herring
240*724ba675SRob Herring		regulator-name = "VCC_RTC";
241*724ba675SRob Herring		regulator-min-microvolt = <900000>;
242*724ba675SRob Herring		regulator-max-microvolt = <900000>;
243*724ba675SRob Herring
244*724ba675SRob Herring		/*
245*724ba675SRob Herring		 * When the board is powered then the input is VCC3V3,
246*724ba675SRob Herring		 * otherwise power is taken from the coin cell battery.
247*724ba675SRob Herring		 */
248*724ba675SRob Herring		vin-supply = <&vcc_3v3>;
249*724ba675SRob Herring	};
250*724ba675SRob Herring
251*724ba675SRob Herring	vddee: regulator-vddee {
252*724ba675SRob Herring		/*
253*724ba675SRob Herring		 * Silergy SY8089AAC-GP 2A continuous, 3A peak, 1MHz
254*724ba675SRob Herring		 * Synchronous Step Down Regulator. Also called VDDAO
255*724ba675SRob Herring		 * in a part of the schematics.
256*724ba675SRob Herring		 */
257*724ba675SRob Herring		compatible = "pwm-regulator";
258*724ba675SRob Herring
259*724ba675SRob Herring		regulator-name = "VDDEE";
260*724ba675SRob Herring		regulator-min-microvolt = <860000>;
261*724ba675SRob Herring		regulator-max-microvolt = <1140000>;
262*724ba675SRob Herring
263*724ba675SRob Herring		pwm-supply = <&vcc_5v>;
264*724ba675SRob Herring
265*724ba675SRob Herring		pwms = <&pwm_cd 1 1148 0>;
266*724ba675SRob Herring		pwm-dutycycle-range = <100 0>;
267*724ba675SRob Herring
268*724ba675SRob Herring		regulator-boot-on;
269*724ba675SRob Herring		regulator-always-on;
270*724ba675SRob Herring	};
271*724ba675SRob Herring};
272*724ba675SRob Herring
273*724ba675SRob Herring&aiu {
274*724ba675SRob Herring	status = "okay";
275*724ba675SRob Herring
276*724ba675SRob Herring	pinctrl-0 = <&i2s_am_clk_pins>, <&i2s_out_ao_clk_pins>,
277*724ba675SRob Herring		    <&i2s_out_lr_clk_pins>, <&i2s_out_ch01_ao_pins>;
278*724ba675SRob Herring	pinctrl-names = "default";
279*724ba675SRob Herring};
280*724ba675SRob Herring
281*724ba675SRob Herring&cpu0 {
282*724ba675SRob Herring	cpu-supply = <&vcck>;
283*724ba675SRob Herring};
284*724ba675SRob Herring
285*724ba675SRob Herring&ethmac {
286*724ba675SRob Herring	status = "okay";
287*724ba675SRob Herring
288*724ba675SRob Herring	pinctrl-0 = <&eth_rmii_pins>;
289*724ba675SRob Herring	pinctrl-names = "default";
290*724ba675SRob Herring
291*724ba675SRob Herring	phy-handle = <&eth_phy0>;
292*724ba675SRob Herring	phy-mode = "rmii";
293*724ba675SRob Herring
294*724ba675SRob Herring	mdio {
295*724ba675SRob Herring		compatible = "snps,dwmac-mdio";
296*724ba675SRob Herring		#address-cells = <1>;
297*724ba675SRob Herring		#size-cells = <0>;
298*724ba675SRob Herring
299*724ba675SRob Herring		eth_phy0: ethernet-phy@0 {
300*724ba675SRob Herring			/* IC Plus IP101A/G (0x02430c54) */
301*724ba675SRob Herring			reg = <0>;
302*724ba675SRob Herring
303*724ba675SRob Herring			reset-assert-us = <10000>;
304*724ba675SRob Herring			reset-deassert-us = <10000>;
305*724ba675SRob Herring			reset-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_LOW>;
306*724ba675SRob Herring
307*724ba675SRob Herring			icplus,select-interrupt;
308*724ba675SRob Herring			interrupt-parent = <&gpio_intc>;
309*724ba675SRob Herring			/* GPIOH_3 */
310*724ba675SRob Herring			interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
311*724ba675SRob Herring		};
312*724ba675SRob Herring	};
313*724ba675SRob Herring};
314*724ba675SRob Herring
315*724ba675SRob Herring&i2c_A {
316*724ba675SRob Herring	status = "okay";
317*724ba675SRob Herring	pinctrl-0 = <&i2c_a_pins>;
318*724ba675SRob Herring	pinctrl-names = "default";
319*724ba675SRob Herring
320*724ba675SRob Herring	rt5640: codec@1c {
321*724ba675SRob Herring		compatible = "realtek,rt5640";
322*724ba675SRob Herring
323*724ba675SRob Herring		reg = <0x1c>;
324*724ba675SRob Herring
325*724ba675SRob Herring		#sound-dai-cells = <0>;
326*724ba675SRob Herring
327*724ba675SRob Herring		interrupt-parent = <&gpio_intc>;
328*724ba675SRob Herring		interrupts = <13 IRQ_TYPE_EDGE_BOTH>; /* GPIOAO_13 */
329*724ba675SRob Herring
330*724ba675SRob Herring		/*
331*724ba675SRob Herring		 * TODO: realtek,ldo1-en-gpios is connected to GPIO_BSD_EN.
332*724ba675SRob Herring		 * We currently cannot configure this pin correctly.
333*724ba675SRob Herring		 * Luckily for us it's in the "right" state by default.
334*724ba675SRob Herring		 */
335*724ba675SRob Herring		realtek,in1-differential;
336*724ba675SRob Herring	};
337*724ba675SRob Herring};
338*724ba675SRob Herring
339*724ba675SRob Herring&mali {
340*724ba675SRob Herring	mali-supply = <&vddee>;
341*724ba675SRob Herring};
342*724ba675SRob Herring
343*724ba675SRob Herring&saradc {
344*724ba675SRob Herring	status = "okay";
345*724ba675SRob Herring	vref-supply = <&vcc_1v8>;
346*724ba675SRob Herring};
347*724ba675SRob Herring
348*724ba675SRob Herring&sdhc {
349*724ba675SRob Herring	status = "okay";
350*724ba675SRob Herring
351*724ba675SRob Herring	pinctrl-0 = <&sdxc_c_pins>;
352*724ba675SRob Herring	pinctrl-names = "default";
353*724ba675SRob Herring
354*724ba675SRob Herring	bus-width = <8>;
355*724ba675SRob Herring	max-frequency = <50000000>;
356*724ba675SRob Herring
357*724ba675SRob Herring	cap-mmc-highspeed;
358*724ba675SRob Herring	disable-wp;
359*724ba675SRob Herring	non-removable;
360*724ba675SRob Herring	no-sdio;
361*724ba675SRob Herring
362*724ba675SRob Herring	mmc-pwrseq = <&emmc_pwrseq>;
363*724ba675SRob Herring
364*724ba675SRob Herring	vmmc-supply = <&vcc_3v3>;
365*724ba675SRob Herring	vqmmc-supply = <&vcc_3v3>;
366*724ba675SRob Herring};
367*724ba675SRob Herring
368*724ba675SRob Herring&sdio {
369*724ba675SRob Herring	status = "okay";
370*724ba675SRob Herring
371*724ba675SRob Herring	pinctrl-0 = <&sd_b_pins>;
372*724ba675SRob Herring	pinctrl-names = "default";
373*724ba675SRob Herring
374*724ba675SRob Herring	/* SD card */
375*724ba675SRob Herring	sd_card_slot: slot@1 {
376*724ba675SRob Herring		compatible = "mmc-slot";
377*724ba675SRob Herring		reg = <1>;
378*724ba675SRob Herring		status = "okay";
379*724ba675SRob Herring
380*724ba675SRob Herring		bus-width = <4>;
381*724ba675SRob Herring		no-sdio;
382*724ba675SRob Herring		cap-mmc-highspeed;
383*724ba675SRob Herring		cap-sd-highspeed;
384*724ba675SRob Herring		disable-wp;
385*724ba675SRob Herring
386*724ba675SRob Herring		cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
387*724ba675SRob Herring
388*724ba675SRob Herring		vmmc-supply = <&vcc_3v3>;
389*724ba675SRob Herring	};
390*724ba675SRob Herring};
391*724ba675SRob Herring
392*724ba675SRob Herring&gpio_ao {
393*724ba675SRob Herring	gpio-line-names = "Linux_TX", "Linux_RX",
394*724ba675SRob Herring			  "SLP_S5_N", "USB2_OC_FLAG#",
395*724ba675SRob Herring			  "HUB_RST", "USB_PWR_EN",
396*724ba675SRob Herring			  "I2S_IN", "SLP_S1_N",
397*724ba675SRob Herring			  "TCK", "TMS", "TDI", "TDO",
398*724ba675SRob Herring			  "HDMI_CEC", "5640_IRQ",
399*724ba675SRob Herring			  "MUTE", "S805_TEST#";
400*724ba675SRob Herring};
401*724ba675SRob Herring
402*724ba675SRob Herring&gpio {
403*724ba675SRob Herring	gpio-line-names = /* Bank GPIOX */
404*724ba675SRob Herring			  "WIFI_SD_D0", "WIFI_SD_D1", "WIFI_SD_D2",
405*724ba675SRob Herring			  "WIFI_SD_D3", "BTPCM_DOUT", "BTPCM_DIN",
406*724ba675SRob Herring			  "BTPCM_SYNC", "BTPCM_CLK", "WIFI_SD_CLK",
407*724ba675SRob Herring			  "WIFI_SD_CMD", "WIFI_32K", "WIFI_PWREN",
408*724ba675SRob Herring			  "UART_B_TX", "UART_B_RX", "UART_B_CTS_N",
409*724ba675SRob Herring			  "UART_B_RTS_N", "BT_EN", "WIFI_WAKE_HOST",
410*724ba675SRob Herring			  /* Bank GPIOY */
411*724ba675SRob Herring			  "", "", "", "", "", "", "", "", "", "",
412*724ba675SRob Herring			  "", "",
413*724ba675SRob Herring			  /* Bank GPIODV */
414*724ba675SRob Herring			  "VCCK_PWM_C", "I2C_SDA_A", "I2C_SCL_A",
415*724ba675SRob Herring			  "I2C_SDA_B", "I2C_SCL_B", "VDDEE_PWM_D",
416*724ba675SRob Herring			  "VDDEE_PWM 3V3_5V_EN",
417*724ba675SRob Herring			  /* Bank GPIOH */
418*724ba675SRob Herring			  "HDMI_HPD", "HDMI_I2C_SDA", "HDMI_I2C_SCL",
419*724ba675SRob Herring			  "RMII_IRQ", "RMII_RST#", "RMII_TXD1",
420*724ba675SRob Herring			  "RMII_TXD0", "AV_select_1", "AV_select_2",
421*724ba675SRob Herring			  "MCU_Control_S",
422*724ba675SRob Herring			  /* Bank CARD */
423*724ba675SRob Herring			  "SD_D1_B", "SD_D0_B", "SD_CLK_8726MX",
424*724ba675SRob Herring			  "SD_CMD_8726MX", "SD_D3_B", "SD_D2_B",
425*724ba675SRob Herring			  "CARD_EN_DET (CARD_DET)",
426*724ba675SRob Herring			  /* Bank BOOT */
427*724ba675SRob Herring			  "NAND_D0 (EMMC)", "NAND_D1 (EMMC)",
428*724ba675SRob Herring			  "NAND_D2 (EMMC)", "NAND_D3 (EMMC)",
429*724ba675SRob Herring			  "NAND_D4 (EMMC)", "NAND_D5 (EMMC)",
430*724ba675SRob Herring			  "NAND_D6 (EMMC)", "NAND_D7 (EMMC)",
431*724ba675SRob Herring			  "NAND_CS1 (EMMC)", "NAND_CS2 iNAND_RS1 (EMMC)",
432*724ba675SRob Herring			  "NAND_nR/B iNAND_CMD (EMMC)", "NAND_ALE (EMMC)",
433*724ba675SRob Herring			  "NAND_CLE (EMMC)", "nRE_S1 NAND_nRE (EMMC)",
434*724ba675SRob Herring			  "nWE_S1 NAND_nWE (EMMC)",  "", "", "", "SPI_CS",
435*724ba675SRob Herring			  /* Bank DIF */
436*724ba675SRob Herring			  "RMII_RXD1", "RMII_RXD0", "RMII_CRS_DV",
437*724ba675SRob Herring			  "RMII_50M_IN", "GPIODIF_4", "GPIODIF_5",
438*724ba675SRob Herring			  "RMII_TXEN", "CPUETH_25MOUT", "RMII_MDC",
439*724ba675SRob Herring			  "RMII_MDIO";
440*724ba675SRob Herring};
441*724ba675SRob Herring
442*724ba675SRob Herring&pwm_cd {
443*724ba675SRob Herring	status = "okay";
444*724ba675SRob Herring	pinctrl-0 = <&pwm_c1_pins>, <&pwm_d_pins>;
445*724ba675SRob Herring	pinctrl-names = "default";
446*724ba675SRob Herring	clocks = <&xtal>, <&xtal>;
447*724ba675SRob Herring	clock-names = "clkin0", "clkin1";
448*724ba675SRob Herring};
449*724ba675SRob Herring
450*724ba675SRob Herring&rtc {
451*724ba675SRob Herring	status = "okay";
452*724ba675SRob Herring	clocks = <&rtc32k_xtal>;
453*724ba675SRob Herring	vdd-supply = <&vcc_rtc>;
454*724ba675SRob Herring};
455*724ba675SRob Herring
456*724ba675SRob Herring/* exposed through the pin headers labeled "URDUG1" on the top of the PCB */
457*724ba675SRob Herring&uart_AO {
458*724ba675SRob Herring	status = "okay";
459*724ba675SRob Herring	pinctrl-0 = <&uart_ao_a_pins>;
460*724ba675SRob Herring	pinctrl-names = "default";
461*724ba675SRob Herring};
462*724ba675SRob Herring
463*724ba675SRob Herring/*
464*724ba675SRob Herring * connected to the Bluetooth part of the RTL8723BS SDIO wifi / Bluetooth
465*724ba675SRob Herring * combo chip. This is only available on the variant with 2GB RAM.
466*724ba675SRob Herring */
467*724ba675SRob Herring&uart_B {
468*724ba675SRob Herring	status = "okay";
469*724ba675SRob Herring	pinctrl-0 = <&uart_b0_pins>, <&uart_b0_cts_rts_pins>;
470*724ba675SRob Herring	pinctrl-names = "default";
471*724ba675SRob Herring	uart-has-rtscts;
472*724ba675SRob Herring};
473*724ba675SRob Herring
474*724ba675SRob Herring&usb1 {
475*724ba675SRob Herring	status = "okay";
476*724ba675SRob Herring	vbus-supply = <&usb_vbus>;
477*724ba675SRob Herring};
478
479&usb1_phy {
480	status = "okay";
481};
482