xref: /freebsd/sys/contrib/device-tree/src/arm/amlogic/meson8b-odroidc1.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 OR MIT
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright 2015 Endless Mobile, Inc.
4*f126890aSEmmanuel Vadot * Author: Carlo Caione <carlo@endlessm.com>
5*f126890aSEmmanuel Vadot */
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot/dts-v1/;
8*f126890aSEmmanuel Vadot#include "meson8b.dtsi"
9*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
10*f126890aSEmmanuel Vadot
11*f126890aSEmmanuel Vadot/ {
12*f126890aSEmmanuel Vadot	model = "Hardkernel ODROID-C1";
13*f126890aSEmmanuel Vadot	compatible = "hardkernel,odroid-c1", "amlogic,meson8b";
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot	aliases {
16*f126890aSEmmanuel Vadot		serial0 = &uart_AO;
17*f126890aSEmmanuel Vadot		mmc0 = &sd_card_slot;
18*f126890aSEmmanuel Vadot		mmc1 = &sdhc;
19*f126890aSEmmanuel Vadot	};
20*f126890aSEmmanuel Vadot
21*f126890aSEmmanuel Vadot	chosen {
22*f126890aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
23*f126890aSEmmanuel Vadot	};
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot	memory {
26*f126890aSEmmanuel Vadot		device_type = "memory";
27*f126890aSEmmanuel Vadot		reg = <0x40000000 0x40000000>;
28*f126890aSEmmanuel Vadot	};
29*f126890aSEmmanuel Vadot
30*f126890aSEmmanuel Vadot	emmc_pwrseq: emmc-pwrseq {
31*f126890aSEmmanuel Vadot		compatible = "mmc-pwrseq-emmc";
32*f126890aSEmmanuel Vadot		reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
33*f126890aSEmmanuel Vadot	};
34*f126890aSEmmanuel Vadot
35*f126890aSEmmanuel Vadot	leds {
36*f126890aSEmmanuel Vadot		compatible = "gpio-leds";
37*f126890aSEmmanuel Vadot		led-blue {
38*f126890aSEmmanuel Vadot			label = "c1:blue:alive";
39*f126890aSEmmanuel Vadot			gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>;
40*f126890aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
41*f126890aSEmmanuel Vadot			default-state = "off";
42*f126890aSEmmanuel Vadot		};
43*f126890aSEmmanuel Vadot	};
44*f126890aSEmmanuel Vadot
45*f126890aSEmmanuel Vadot	p5v0: regulator-p5v0 {
46*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
47*f126890aSEmmanuel Vadot
48*f126890aSEmmanuel Vadot		regulator-name = "P5V0";
49*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
50*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
51*f126890aSEmmanuel Vadot	};
52*f126890aSEmmanuel Vadot
53*f126890aSEmmanuel Vadot	tflash_vdd: regulator-tflash_vdd {
54*f126890aSEmmanuel Vadot		/*
55*f126890aSEmmanuel Vadot		 * signal name from schematics: TFLASH_VDD_EN
56*f126890aSEmmanuel Vadot		 */
57*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
58*f126890aSEmmanuel Vadot
59*f126890aSEmmanuel Vadot		regulator-name = "TFLASH_VDD";
60*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
61*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
62*f126890aSEmmanuel Vadot
63*f126890aSEmmanuel Vadot		vin-supply = <&vcc_3v3>;
64*f126890aSEmmanuel Vadot
65*f126890aSEmmanuel Vadot		gpio = <&gpio GPIOY_12 GPIO_ACTIVE_HIGH>;
66*f126890aSEmmanuel Vadot		enable-active-high;
67*f126890aSEmmanuel Vadot	};
68*f126890aSEmmanuel Vadot
69*f126890aSEmmanuel Vadot	tf_io: gpio-regulator-tf_io {
70*f126890aSEmmanuel Vadot		compatible = "regulator-gpio";
71*f126890aSEmmanuel Vadot
72*f126890aSEmmanuel Vadot		regulator-name = "TF_IO";
73*f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
74*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
75*f126890aSEmmanuel Vadot
76*f126890aSEmmanuel Vadot		vin-supply = <&vcc_3v3>;
77*f126890aSEmmanuel Vadot
78*f126890aSEmmanuel Vadot		/*
79*f126890aSEmmanuel Vadot		 * signal name from schematics: TF_3V3N_1V8_EN
80*f126890aSEmmanuel Vadot		 */
81*f126890aSEmmanuel Vadot		gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>;
82*f126890aSEmmanuel Vadot		gpios-states = <0>;
83*f126890aSEmmanuel Vadot
84*f126890aSEmmanuel Vadot		states = <3300000 0
85*f126890aSEmmanuel Vadot			  1800000 1>;
86*f126890aSEmmanuel Vadot	};
87*f126890aSEmmanuel Vadot
88*f126890aSEmmanuel Vadot	rtc32k_xtal: rtc32k-xtal-clk {
89*f126890aSEmmanuel Vadot		/* X3 in the schematics */
90*f126890aSEmmanuel Vadot		compatible = "fixed-clock";
91*f126890aSEmmanuel Vadot		clock-frequency = <32768>;
92*f126890aSEmmanuel Vadot		clock-output-names = "RTC32K";
93*f126890aSEmmanuel Vadot		#clock-cells = <0>;
94*f126890aSEmmanuel Vadot	};
95*f126890aSEmmanuel Vadot
96*f126890aSEmmanuel Vadot	vcc_1v8: regulator-vcc-1v8 {
97*f126890aSEmmanuel Vadot		/*
98*f126890aSEmmanuel Vadot		 * RICHTEK RT9179 configured for a fixed output voltage of
99*f126890aSEmmanuel Vadot		 * 1.8V. This supplies not only VCC1V8 but also IOREF_1V8 and
100*f126890aSEmmanuel Vadot		 * VDD1V8 according to the schematics.
101*f126890aSEmmanuel Vadot		 */
102*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
103*f126890aSEmmanuel Vadot
104*f126890aSEmmanuel Vadot		regulator-name = "VCC1V8";
105*f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
106*f126890aSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
107*f126890aSEmmanuel Vadot
108*f126890aSEmmanuel Vadot		vin-supply = <&p5v0>;
109*f126890aSEmmanuel Vadot	};
110*f126890aSEmmanuel Vadot
111*f126890aSEmmanuel Vadot	vcc_3v3: regulator-vcc-3v3 {
112*f126890aSEmmanuel Vadot		/*
113*f126890aSEmmanuel Vadot		 * Monolithic Power Systems MP2161 configured for a fixed
114*f126890aSEmmanuel Vadot		 * output voltage of 3.3V. This supplies not only VCC3V3 but
115*f126890aSEmmanuel Vadot		 * also VDD3V3 and VDDIO_AO3V3 according to the schematics.
116*f126890aSEmmanuel Vadot		 */
117*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
118*f126890aSEmmanuel Vadot
119*f126890aSEmmanuel Vadot		regulator-name = "VCC3V3";
120*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
121*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
122*f126890aSEmmanuel Vadot
123*f126890aSEmmanuel Vadot		vin-supply = <&p5v0>;
124*f126890aSEmmanuel Vadot	};
125*f126890aSEmmanuel Vadot
126*f126890aSEmmanuel Vadot	vcck: regulator-vcck {
127*f126890aSEmmanuel Vadot		/* Monolithic Power Systems MP2161 */
128*f126890aSEmmanuel Vadot		compatible = "pwm-regulator";
129*f126890aSEmmanuel Vadot
130*f126890aSEmmanuel Vadot		regulator-name = "VCCK";
131*f126890aSEmmanuel Vadot		regulator-min-microvolt = <860000>;
132*f126890aSEmmanuel Vadot		regulator-max-microvolt = <1140000>;
133*f126890aSEmmanuel Vadot
134*f126890aSEmmanuel Vadot		pwm-supply = <&p5v0>;
135*f126890aSEmmanuel Vadot
136*f126890aSEmmanuel Vadot		pwms = <&pwm_cd 0 12218 0>;
137*f126890aSEmmanuel Vadot		pwm-dutycycle-range = <91 0>;
138*f126890aSEmmanuel Vadot
139*f126890aSEmmanuel Vadot		regulator-boot-on;
140*f126890aSEmmanuel Vadot		regulator-always-on;
141*f126890aSEmmanuel Vadot	};
142*f126890aSEmmanuel Vadot
143*f126890aSEmmanuel Vadot	vddc_ddr: regulator-vddc-ddr {
144*f126890aSEmmanuel Vadot		/*
145*f126890aSEmmanuel Vadot		 * Monolithic Power Systems MP2161 configured for a fixed
146*f126890aSEmmanuel Vadot		 * output voltage of 1.5V. This supplies not only DDR_VDDC but
147*f126890aSEmmanuel Vadot		 * also DDR3_1V5 according to the schematics.
148*f126890aSEmmanuel Vadot		 */
149*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
150*f126890aSEmmanuel Vadot
151*f126890aSEmmanuel Vadot		regulator-name = "DDR_VDDC";
152*f126890aSEmmanuel Vadot		regulator-min-microvolt = <1500000>;
153*f126890aSEmmanuel Vadot		regulator-max-microvolt = <1500000>;
154*f126890aSEmmanuel Vadot
155*f126890aSEmmanuel Vadot		vin-supply = <&p5v0>;
156*f126890aSEmmanuel Vadot	};
157*f126890aSEmmanuel Vadot
158*f126890aSEmmanuel Vadot	vddee: regulator-vddee {
159*f126890aSEmmanuel Vadot		/* Monolithic Power Systems MP2161 */
160*f126890aSEmmanuel Vadot		compatible = "pwm-regulator";
161*f126890aSEmmanuel Vadot
162*f126890aSEmmanuel Vadot		regulator-name = "VDDEE";
163*f126890aSEmmanuel Vadot		regulator-min-microvolt = <860000>;
164*f126890aSEmmanuel Vadot		regulator-max-microvolt = <1140000>;
165*f126890aSEmmanuel Vadot
166*f126890aSEmmanuel Vadot		pwm-supply = <&p5v0>;
167*f126890aSEmmanuel Vadot
168*f126890aSEmmanuel Vadot		pwms = <&pwm_cd 1 12218 0>;
169*f126890aSEmmanuel Vadot		pwm-dutycycle-range = <91 0>;
170*f126890aSEmmanuel Vadot
171*f126890aSEmmanuel Vadot		regulator-boot-on;
172*f126890aSEmmanuel Vadot		regulator-always-on;
173*f126890aSEmmanuel Vadot	};
174*f126890aSEmmanuel Vadot
175*f126890aSEmmanuel Vadot	vdd_rtc: regulator-vdd-rtc {
176*f126890aSEmmanuel Vadot		/*
177*f126890aSEmmanuel Vadot		 * Torex Semiconductor XC6215 configured for a fixed output of
178*f126890aSEmmanuel Vadot		 * 0.9V.
179*f126890aSEmmanuel Vadot		 */
180*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
181*f126890aSEmmanuel Vadot
182*f126890aSEmmanuel Vadot		regulator-name = "VDD_RTC";
183*f126890aSEmmanuel Vadot		regulator-min-microvolt = <900000>;
184*f126890aSEmmanuel Vadot		regulator-max-microvolt = <900000>;
185*f126890aSEmmanuel Vadot
186*f126890aSEmmanuel Vadot		vin-supply = <&vcc_3v3>;
187*f126890aSEmmanuel Vadot	};
188*f126890aSEmmanuel Vadot};
189*f126890aSEmmanuel Vadot
190*f126890aSEmmanuel Vadot&cpu0 {
191*f126890aSEmmanuel Vadot	cpu-supply = <&vcck>;
192*f126890aSEmmanuel Vadot};
193*f126890aSEmmanuel Vadot
194*f126890aSEmmanuel Vadot&efuse {
195*f126890aSEmmanuel Vadot	ethernet_mac_address: mac@1b4 {
196*f126890aSEmmanuel Vadot		reg = <0x1b4 0x6>;
197*f126890aSEmmanuel Vadot	};
198*f126890aSEmmanuel Vadot};
199*f126890aSEmmanuel Vadot
200*f126890aSEmmanuel Vadot&ethmac {
201*f126890aSEmmanuel Vadot	status = "okay";
202*f126890aSEmmanuel Vadot
203*f126890aSEmmanuel Vadot	pinctrl-0 = <&eth_rgmii_pins>;
204*f126890aSEmmanuel Vadot	pinctrl-names = "default";
205*f126890aSEmmanuel Vadot
206*f126890aSEmmanuel Vadot	phy-handle = <&eth_phy>;
207*f126890aSEmmanuel Vadot	phy-mode = "rgmii-id";
208*f126890aSEmmanuel Vadot
209*f126890aSEmmanuel Vadot	nvmem-cells = <&ethernet_mac_address>;
210*f126890aSEmmanuel Vadot	nvmem-cell-names = "mac-address";
211*f126890aSEmmanuel Vadot
212*f126890aSEmmanuel Vadot	mdio {
213*f126890aSEmmanuel Vadot		compatible = "snps,dwmac-mdio";
214*f126890aSEmmanuel Vadot		#address-cells = <1>;
215*f126890aSEmmanuel Vadot		#size-cells = <0>;
216*f126890aSEmmanuel Vadot
217*f126890aSEmmanuel Vadot		/* Realtek RTL8211F (0x001cc916) */
218*f126890aSEmmanuel Vadot		eth_phy: ethernet-phy@0 {
219*f126890aSEmmanuel Vadot			reg = <0>;
220*f126890aSEmmanuel Vadot
221*f126890aSEmmanuel Vadot			reset-assert-us = <10000>;
222*f126890aSEmmanuel Vadot			reset-deassert-us = <80000>;
223*f126890aSEmmanuel Vadot			reset-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_LOW>;
224*f126890aSEmmanuel Vadot
225*f126890aSEmmanuel Vadot			interrupt-parent = <&gpio_intc>;
226*f126890aSEmmanuel Vadot			/* GPIOH_3 */
227*f126890aSEmmanuel Vadot			interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
228*f126890aSEmmanuel Vadot		};
229*f126890aSEmmanuel Vadot	};
230*f126890aSEmmanuel Vadot};
231*f126890aSEmmanuel Vadot
232*f126890aSEmmanuel Vadot&gpio {
233*f126890aSEmmanuel Vadot	gpio-line-names = /* Bank GPIOX */
234*f126890aSEmmanuel Vadot			  "J2 Header Pin 35", "J2 Header Pin 36",
235*f126890aSEmmanuel Vadot			  "J2 Header Pin 32", "J2 Header Pin 31",
236*f126890aSEmmanuel Vadot			  "J2 Header Pin 29", "J2 Header Pin 18",
237*f126890aSEmmanuel Vadot			  "J2 Header Pin 22", "J2 Header Pin 16",
238*f126890aSEmmanuel Vadot			  "J2 Header Pin 23", "J2 Header Pin 21",
239*f126890aSEmmanuel Vadot			  "J2 Header Pin 19", "J2 Header Pin 33",
240*f126890aSEmmanuel Vadot			  "J2 Header Pin 8", "J2 Header Pin 10",
241*f126890aSEmmanuel Vadot			  "J2 Header Pin 15", "J2 Header Pin 13",
242*f126890aSEmmanuel Vadot			  "J2 Header Pin 24", "J2 Header Pin 26",
243*f126890aSEmmanuel Vadot			  /* Bank GPIOY */
244*f126890aSEmmanuel Vadot			  "Revision (upper)", "Revision (lower)",
245*f126890aSEmmanuel Vadot			  "J2 Header Pin 7", "", "J2 Header Pin 12",
246*f126890aSEmmanuel Vadot			  "J2 Header Pin 11", "", "", "",
247*f126890aSEmmanuel Vadot			  "TFLASH_VDD_EN", "", "",
248*f126890aSEmmanuel Vadot			  /* Bank GPIODV */
249*f126890aSEmmanuel Vadot			  "VCCK_PWM (PWM_C)", "I2CA_SDA", "I2CA_SCL",
250*f126890aSEmmanuel Vadot			  "I2CB_SDA", "I2CB_SCL", "VDDEE_PWM (PWM_D)",
251*f126890aSEmmanuel Vadot			  "",
252*f126890aSEmmanuel Vadot			  /* Bank GPIOH */
253*f126890aSEmmanuel Vadot			  "HDMI_HPD", "HDMI_I2C_SDA", "HDMI_I2C_SCL",
254*f126890aSEmmanuel Vadot			  "ETH_PHY_INTR", "ETH_PHY_NRST", "ETH_TXD1",
255*f126890aSEmmanuel Vadot			  "ETH_TXD0", "ETH_TXD3", "ETH_TXD2",
256*f126890aSEmmanuel Vadot			  "ETH_RGMII_TX_CLK",
257*f126890aSEmmanuel Vadot			  /* Bank CARD */
258*f126890aSEmmanuel Vadot			  "SD_DATA1 (SDB_D1)", "SD_DATA0 (SDB_D0)",
259*f126890aSEmmanuel Vadot			  "SD_CLK",  "SD_CMD", "SD_DATA3 (SDB_D3)",
260*f126890aSEmmanuel Vadot			  "SD_DATA2 (SDB_D2)", "SD_CDN (SD_DET_N)",
261*f126890aSEmmanuel Vadot			  /* Bank BOOT */
262*f126890aSEmmanuel Vadot			  "SDC_D0 (EMMC)", "SDC_D1 (EMMC)",
263*f126890aSEmmanuel Vadot			  "SDC_D2 (EMMC)", "SDC_D3 (EMMC)",
264*f126890aSEmmanuel Vadot			  "SDC_D4 (EMMC)", "SDC_D5 (EMMC)",
265*f126890aSEmmanuel Vadot			  "SDC_D6 (EMMC)", "SDC_D7 (EMMC)",
266*f126890aSEmmanuel Vadot			  "SDC_CLK (EMMC)", "SDC_RSTn (EMMC)",
267*f126890aSEmmanuel Vadot			  "SDC_CMD (EMMC)", "BOOT_SEL", "", "", "",
268*f126890aSEmmanuel Vadot			  "", "", "", "",
269*f126890aSEmmanuel Vadot			  /* Bank DIF */
270*f126890aSEmmanuel Vadot			  "ETH_RXD1", "ETH_RXD0", "ETH_RX_DV",
271*f126890aSEmmanuel Vadot			  "RGMII_RX_CLK", "ETH_RXD3", "ETH_RXD2",
272*f126890aSEmmanuel Vadot			  "ETH_TXEN", "ETH_PHY_REF_CLK_25MOUT",
273*f126890aSEmmanuel Vadot			  "ETH_MDC", "ETH_MDIO";
274*f126890aSEmmanuel Vadot};
275*f126890aSEmmanuel Vadot
276*f126890aSEmmanuel Vadot&gpio_ao {
277*f126890aSEmmanuel Vadot	gpio-line-names = "UART TX", "UART RX", "",
278*f126890aSEmmanuel Vadot			  "TF_3V3N_1V8_EN", "USB_HUB_RST_N",
279*f126890aSEmmanuel Vadot			  "USB_OTG_PWREN", "J7 Header Pin 2",
280*f126890aSEmmanuel Vadot			  "IR_IN", "J7 Header Pin 4",
281*f126890aSEmmanuel Vadot			  "J7 Header Pin 6", "J7 Header Pin 5",
282*f126890aSEmmanuel Vadot			  "J7 Header Pin 7", "HDMI_CEC",
283*f126890aSEmmanuel Vadot			  "SYS_LED", "", "";
284*f126890aSEmmanuel Vadot};
285*f126890aSEmmanuel Vadot
286*f126890aSEmmanuel Vadot&ir_receiver {
287*f126890aSEmmanuel Vadot	status = "okay";
288*f126890aSEmmanuel Vadot	pinctrl-0 = <&ir_recv_pins>;
289*f126890aSEmmanuel Vadot	pinctrl-names = "default";
290*f126890aSEmmanuel Vadot};
291*f126890aSEmmanuel Vadot
292*f126890aSEmmanuel Vadot&mali {
293*f126890aSEmmanuel Vadot	mali-supply = <&vddee>;
294*f126890aSEmmanuel Vadot};
295*f126890aSEmmanuel Vadot
296*f126890aSEmmanuel Vadot&saradc {
297*f126890aSEmmanuel Vadot	status = "okay";
298*f126890aSEmmanuel Vadot	vref-supply = <&vcc_1v8>;
299*f126890aSEmmanuel Vadot};
300*f126890aSEmmanuel Vadot
301*f126890aSEmmanuel Vadot&sdhc {
302*f126890aSEmmanuel Vadot	status = "okay";
303*f126890aSEmmanuel Vadot
304*f126890aSEmmanuel Vadot	pinctrl-0 = <&sdxc_c_pins>;
305*f126890aSEmmanuel Vadot	pinctrl-names = "default";
306*f126890aSEmmanuel Vadot
307*f126890aSEmmanuel Vadot	bus-width = <8>;
308*f126890aSEmmanuel Vadot	max-frequency = <100000000>;
309*f126890aSEmmanuel Vadot
310*f126890aSEmmanuel Vadot	disable-wp;
311*f126890aSEmmanuel Vadot	cap-mmc-highspeed;
312*f126890aSEmmanuel Vadot	mmc-hs200-1_8v;
313*f126890aSEmmanuel Vadot	no-sdio;
314*f126890aSEmmanuel Vadot
315*f126890aSEmmanuel Vadot	mmc-pwrseq = <&emmc_pwrseq>;
316*f126890aSEmmanuel Vadot
317*f126890aSEmmanuel Vadot	vmmc-supply = <&vcc_3v3>;
318*f126890aSEmmanuel Vadot	vqmmc-supply = <&vcc_1v8>;
319*f126890aSEmmanuel Vadot};
320*f126890aSEmmanuel Vadot
321*f126890aSEmmanuel Vadot&sdio {
322*f126890aSEmmanuel Vadot	status = "okay";
323*f126890aSEmmanuel Vadot
324*f126890aSEmmanuel Vadot	pinctrl-0 = <&sd_b_pins>;
325*f126890aSEmmanuel Vadot	pinctrl-names = "default";
326*f126890aSEmmanuel Vadot
327*f126890aSEmmanuel Vadot	/* SD card */
328*f126890aSEmmanuel Vadot	sd_card_slot: slot@1 {
329*f126890aSEmmanuel Vadot		compatible = "mmc-slot";
330*f126890aSEmmanuel Vadot		reg = <1>;
331*f126890aSEmmanuel Vadot		status = "okay";
332*f126890aSEmmanuel Vadot
333*f126890aSEmmanuel Vadot		bus-width = <4>;
334*f126890aSEmmanuel Vadot		no-sdio;
335*f126890aSEmmanuel Vadot		cap-mmc-highspeed;
336*f126890aSEmmanuel Vadot		cap-sd-highspeed;
337*f126890aSEmmanuel Vadot		disable-wp;
338*f126890aSEmmanuel Vadot
339*f126890aSEmmanuel Vadot		cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
340*f126890aSEmmanuel Vadot
341*f126890aSEmmanuel Vadot		vmmc-supply = <&tflash_vdd>;
342*f126890aSEmmanuel Vadot		vqmmc-supply = <&tf_io>;
343*f126890aSEmmanuel Vadot	};
344*f126890aSEmmanuel Vadot};
345*f126890aSEmmanuel Vadot
346*f126890aSEmmanuel Vadot&pwm_cd {
347*f126890aSEmmanuel Vadot	status = "okay";
348*f126890aSEmmanuel Vadot	pinctrl-0 = <&pwm_c1_pins>, <&pwm_d_pins>;
349*f126890aSEmmanuel Vadot	pinctrl-names = "default";
350*f126890aSEmmanuel Vadot	clocks = <&xtal>, <&xtal>;
351*f126890aSEmmanuel Vadot	clock-names = "clkin0", "clkin1";
352*f126890aSEmmanuel Vadot};
353*f126890aSEmmanuel Vadot
354*f126890aSEmmanuel Vadot&rtc {
355*f126890aSEmmanuel Vadot	/* needs to be enabled manually when a battery is connected */
356*f126890aSEmmanuel Vadot	clocks = <&rtc32k_xtal>;
357*f126890aSEmmanuel Vadot	vdd-supply = <&vdd_rtc>;
358*f126890aSEmmanuel Vadot};
359*f126890aSEmmanuel Vadot
360*f126890aSEmmanuel Vadot&uart_AO {
361*f126890aSEmmanuel Vadot	status = "okay";
362*f126890aSEmmanuel Vadot	pinctrl-0 = <&uart_ao_a_pins>;
363*f126890aSEmmanuel Vadot	pinctrl-names = "default";
364*f126890aSEmmanuel Vadot};
365*f126890aSEmmanuel Vadot
366*f126890aSEmmanuel Vadot&usb1_phy {
367*f126890aSEmmanuel Vadot	status = "okay";
368*f126890aSEmmanuel Vadot};
369*f126890aSEmmanuel Vadot
370*f126890aSEmmanuel Vadot&usb1 {
371*f126890aSEmmanuel Vadot	dr_mode = "host";
372*f126890aSEmmanuel Vadot	#address-cells = <1>;
373*f126890aSEmmanuel Vadot	#size-cells = <0>;
374*f126890aSEmmanuel Vadot	status = "okay";
375*f126890aSEmmanuel Vadot
376*f126890aSEmmanuel Vadot	hub@1 {
377*f126890aSEmmanuel Vadot		/* Genesys Logic GL852G usb hub */
378*f126890aSEmmanuel Vadot		compatible = "usb5e3,610";
379*f126890aSEmmanuel Vadot		reg = <1>;
380*f126890aSEmmanuel Vadot		vdd-supply = <&p5v0>;
381*f126890aSEmmanuel Vadot		reset-gpio = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_LOW>;
382*f126890aSEmmanuel Vadot	};
383*f126890aSEmmanuel Vadot};
384