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