xref: /freebsd/sys/contrib/device-tree/src/arm64/hisilicon/hi3660-hikey960.dts (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * dts file for Hisilicon HiKey960 Development Board
4c66ec88fSEmmanuel Vadot *
55956d97fSEmmanuel Vadot * Copyright (C) 2016, HiSilicon Ltd.
6c66ec88fSEmmanuel Vadot *
7c66ec88fSEmmanuel Vadot */
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadot/dts-v1/;
10c66ec88fSEmmanuel Vadot
11c66ec88fSEmmanuel Vadot#include "hi3660.dtsi"
12c66ec88fSEmmanuel Vadot#include "hikey960-pinctrl.dtsi"
13c66ec88fSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
14c66ec88fSEmmanuel Vadot#include <dt-bindings/input/input.h>
15c66ec88fSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
16c66ec88fSEmmanuel Vadot#include <dt-bindings/usb/pd.h>
17c66ec88fSEmmanuel Vadot
18c66ec88fSEmmanuel Vadot/ {
19c66ec88fSEmmanuel Vadot	model = "HiKey960";
20c66ec88fSEmmanuel Vadot	compatible = "hisilicon,hi3660-hikey960", "hisilicon,hi3660";
21c66ec88fSEmmanuel Vadot
22c66ec88fSEmmanuel Vadot	aliases {
23c66ec88fSEmmanuel Vadot		mshc1 = &dwmmc1;
24c66ec88fSEmmanuel Vadot		mshc2 = &dwmmc2;
25c66ec88fSEmmanuel Vadot		serial0 = &uart0;
26c66ec88fSEmmanuel Vadot		serial1 = &uart1;
27c66ec88fSEmmanuel Vadot		serial2 = &uart2;
28c66ec88fSEmmanuel Vadot		serial3 = &uart3;
29c66ec88fSEmmanuel Vadot		serial4 = &uart4;
30c66ec88fSEmmanuel Vadot		serial5 = &uart5;
31c66ec88fSEmmanuel Vadot		serial6 = &uart6;
32c66ec88fSEmmanuel Vadot	};
33c66ec88fSEmmanuel Vadot
34c66ec88fSEmmanuel Vadot	chosen {
35c66ec88fSEmmanuel Vadot		stdout-path = "serial6:115200n8";
36c66ec88fSEmmanuel Vadot	};
37c66ec88fSEmmanuel Vadot
38c66ec88fSEmmanuel Vadot	memory@0 {
39c66ec88fSEmmanuel Vadot		device_type = "memory";
40c66ec88fSEmmanuel Vadot		/* rewrite this at bootloader */
41c66ec88fSEmmanuel Vadot		reg = <0x0 0x0 0x0 0x0>;
42c66ec88fSEmmanuel Vadot	};
43c66ec88fSEmmanuel Vadot
44c66ec88fSEmmanuel Vadot	reserved-memory {
45c66ec88fSEmmanuel Vadot		#address-cells = <2>;
46c66ec88fSEmmanuel Vadot		#size-cells = <2>;
47c66ec88fSEmmanuel Vadot		ranges;
48c66ec88fSEmmanuel Vadot
49c66ec88fSEmmanuel Vadot		ramoops@32000000 {
50c66ec88fSEmmanuel Vadot			compatible = "ramoops";
51c66ec88fSEmmanuel Vadot			reg = <0x0 0x32000000 0x0 0x00100000>;
52c66ec88fSEmmanuel Vadot			record-size = <0x00020000>;
53c66ec88fSEmmanuel Vadot			console-size = <0x00020000>;
54c66ec88fSEmmanuel Vadot			ftrace-size = <0x00020000>;
55c66ec88fSEmmanuel Vadot		};
56c66ec88fSEmmanuel Vadot	};
57c66ec88fSEmmanuel Vadot
58c66ec88fSEmmanuel Vadot	reboot-mode-syscon@32100000 {
59c66ec88fSEmmanuel Vadot		compatible = "syscon", "simple-mfd";
60c66ec88fSEmmanuel Vadot		reg = <0x0 0x32100000 0x0 0x00001000>;
61c66ec88fSEmmanuel Vadot
62c66ec88fSEmmanuel Vadot		reboot-mode {
63c66ec88fSEmmanuel Vadot			compatible = "syscon-reboot-mode";
64c66ec88fSEmmanuel Vadot			offset = <0x0>;
65c66ec88fSEmmanuel Vadot
66c66ec88fSEmmanuel Vadot			mode-normal = <0x77665501>;
67c66ec88fSEmmanuel Vadot			mode-bootloader = <0x77665500>;
68c66ec88fSEmmanuel Vadot			mode-recovery = <0x77665502>;
69c66ec88fSEmmanuel Vadot		};
70c66ec88fSEmmanuel Vadot	};
71c66ec88fSEmmanuel Vadot
72c66ec88fSEmmanuel Vadot	keys {
73c66ec88fSEmmanuel Vadot		compatible = "gpio-keys";
74c66ec88fSEmmanuel Vadot		pinctrl-names = "default";
75c66ec88fSEmmanuel Vadot		pinctrl-0 = <&pwr_key_pmx_func &pwr_key_cfg_func>;
76c66ec88fSEmmanuel Vadot
77b97ee269SEmmanuel Vadot		key-power {
78c66ec88fSEmmanuel Vadot			wakeup-source;
79c66ec88fSEmmanuel Vadot			gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
80c66ec88fSEmmanuel Vadot			label = "GPIO Power";
81c66ec88fSEmmanuel Vadot			linux,code = <KEY_POWER>;
82c66ec88fSEmmanuel Vadot		};
83c66ec88fSEmmanuel Vadot	};
84c66ec88fSEmmanuel Vadot
85c66ec88fSEmmanuel Vadot	leds {
86c66ec88fSEmmanuel Vadot		compatible = "gpio-leds";
87c66ec88fSEmmanuel Vadot
88*cb7aa33aSEmmanuel Vadot		led-user-1 {
89c66ec88fSEmmanuel Vadot			label = "green:user1";
90c66ec88fSEmmanuel Vadot			/* gpio_150_user_led1 */
91c66ec88fSEmmanuel Vadot			gpios = <&gpio18 6 0>;
92c66ec88fSEmmanuel Vadot			linux,default-trigger = "heartbeat";
93c66ec88fSEmmanuel Vadot		};
94c66ec88fSEmmanuel Vadot
95*cb7aa33aSEmmanuel Vadot		led-user-2 {
96c66ec88fSEmmanuel Vadot			label = "green:user2";
97c66ec88fSEmmanuel Vadot			/* gpio_151_user_led2 */
98c66ec88fSEmmanuel Vadot			gpios = <&gpio18 7 0>;
99c66ec88fSEmmanuel Vadot			linux,default-trigger = "none";
100c66ec88fSEmmanuel Vadot		};
101c66ec88fSEmmanuel Vadot
102*cb7aa33aSEmmanuel Vadot		led-user-3 {
103c66ec88fSEmmanuel Vadot			label = "green:user3";
104c66ec88fSEmmanuel Vadot			/* gpio_189_user_led3 */
105c66ec88fSEmmanuel Vadot			gpios = <&gpio23 5 0>;
106c66ec88fSEmmanuel Vadot			linux,default-trigger = "mmc0";
107c66ec88fSEmmanuel Vadot		};
108c66ec88fSEmmanuel Vadot
109*cb7aa33aSEmmanuel Vadot		led-user-4 {
110c66ec88fSEmmanuel Vadot			label = "green:user4";
111c66ec88fSEmmanuel Vadot			/* gpio_190_user_led4 */
112c66ec88fSEmmanuel Vadot			gpios = <&gpio23 6 0>;
113c66ec88fSEmmanuel Vadot			panic-indicator;
114c66ec88fSEmmanuel Vadot			linux,default-trigger = "none";
115c66ec88fSEmmanuel Vadot		};
116c66ec88fSEmmanuel Vadot
117*cb7aa33aSEmmanuel Vadot		led-wlan {
118c66ec88fSEmmanuel Vadot			label = "yellow:wlan";
119c66ec88fSEmmanuel Vadot			/* gpio_205_wifi_active */
120c66ec88fSEmmanuel Vadot			gpios = <&gpio25 5 0>;
121c66ec88fSEmmanuel Vadot			linux,default-trigger = "phy0tx";
122c66ec88fSEmmanuel Vadot			default-state = "off";
123c66ec88fSEmmanuel Vadot		};
124c66ec88fSEmmanuel Vadot
125*cb7aa33aSEmmanuel Vadot		led-bt {
126c66ec88fSEmmanuel Vadot			label = "blue:bt";
127c66ec88fSEmmanuel Vadot			gpios = <&gpio25 7 0>;
128c66ec88fSEmmanuel Vadot			/* gpio_207_user_led1 */
129c66ec88fSEmmanuel Vadot			linux,default-trigger = "hci0-power";
130c66ec88fSEmmanuel Vadot			default-state = "off";
131c66ec88fSEmmanuel Vadot		};
132c66ec88fSEmmanuel Vadot	};
133c66ec88fSEmmanuel Vadot
134c66ec88fSEmmanuel Vadot	pmic: pmic@fff34000 {
135c66ec88fSEmmanuel Vadot		compatible = "hisilicon,hi6421v530-pmic";
136c66ec88fSEmmanuel Vadot		reg = <0x0 0xfff34000 0x0 0x1000>;
137c66ec88fSEmmanuel Vadot		interrupt-controller;
138c66ec88fSEmmanuel Vadot		#interrupt-cells = <2>;
139c66ec88fSEmmanuel Vadot
140c66ec88fSEmmanuel Vadot		regulators {
141c66ec88fSEmmanuel Vadot			ldo3: LDO3 { /* HDMI */
142c66ec88fSEmmanuel Vadot				regulator-name = "VOUT3_1V85";
143c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
144c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <2200000>;
145c66ec88fSEmmanuel Vadot				regulator-enable-ramp-delay = <120>;
146c66ec88fSEmmanuel Vadot			};
147c66ec88fSEmmanuel Vadot
148c66ec88fSEmmanuel Vadot			ldo9: LDO9 { /* SDCARD I/O */
149c66ec88fSEmmanuel Vadot				regulator-name = "VOUT9_1V8_2V95";
150c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1750000>;
151c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
152c66ec88fSEmmanuel Vadot				regulator-enable-ramp-delay = <240>;
153c66ec88fSEmmanuel Vadot			};
154c66ec88fSEmmanuel Vadot
155c66ec88fSEmmanuel Vadot			ldo11: LDO11 { /* Low Speed Connector */
156c66ec88fSEmmanuel Vadot				regulator-name = "VOUT11_1V8_2V95";
157c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1750000>;
158c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
159c66ec88fSEmmanuel Vadot				regulator-enable-ramp-delay = <240>;
160c66ec88fSEmmanuel Vadot			};
161c66ec88fSEmmanuel Vadot
162c66ec88fSEmmanuel Vadot			ldo15: LDO15 { /* UFS VCC */
163c66ec88fSEmmanuel Vadot				regulator-name = "VOUT15_3V0";
164c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1750000>;
165c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <3000000>;
166c66ec88fSEmmanuel Vadot				regulator-boot-on;
167c66ec88fSEmmanuel Vadot				regulator-always-on;
168c66ec88fSEmmanuel Vadot				regulator-enable-ramp-delay = <120>;
169c66ec88fSEmmanuel Vadot			};
170c66ec88fSEmmanuel Vadot
171c66ec88fSEmmanuel Vadot			ldo16: LDO16 { /* SD VDD */
172c66ec88fSEmmanuel Vadot				regulator-name = "VOUT16_2V95";
173c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1750000>;
174c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <3000000>;
175c66ec88fSEmmanuel Vadot				regulator-enable-ramp-delay = <360>;
176c66ec88fSEmmanuel Vadot			};
177c66ec88fSEmmanuel Vadot		};
178c66ec88fSEmmanuel Vadot	};
179c66ec88fSEmmanuel Vadot
180c66ec88fSEmmanuel Vadot	wlan_en: wlan-en-1-8v {
181c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
182c66ec88fSEmmanuel Vadot		regulator-name = "wlan-en-regulator";
183c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
184c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
185c66ec88fSEmmanuel Vadot
186c66ec88fSEmmanuel Vadot		/* GPIO_051_WIFI_EN */
187c66ec88fSEmmanuel Vadot		gpio = <&gpio6 3 0>;
188c66ec88fSEmmanuel Vadot
189c66ec88fSEmmanuel Vadot		/* WLAN card specific delay */
190c66ec88fSEmmanuel Vadot		startup-delay-us = <70000>;
191c66ec88fSEmmanuel Vadot		enable-active-high;
192c66ec88fSEmmanuel Vadot	};
193c66ec88fSEmmanuel Vadot
194c66ec88fSEmmanuel Vadot	firmware {
195c66ec88fSEmmanuel Vadot		optee {
196c66ec88fSEmmanuel Vadot			compatible = "linaro,optee-tz";
197c66ec88fSEmmanuel Vadot			method = "smc";
198c66ec88fSEmmanuel Vadot		};
199c66ec88fSEmmanuel Vadot	};
200c66ec88fSEmmanuel Vadot};
201c66ec88fSEmmanuel Vadot
202c66ec88fSEmmanuel Vadot/*
203c66ec88fSEmmanuel Vadot * Legend: proper name = the GPIO line is used as GPIO
204c66ec88fSEmmanuel Vadot *         NC = not connected (pin out but not routed from the chip to
205c66ec88fSEmmanuel Vadot *              anything the board)
206c66ec88fSEmmanuel Vadot *         "[PER]" = pin is muxed for [peripheral] (not GPIO)
207c66ec88fSEmmanuel Vadot *         "" = no idea, schematic doesn't say, could be
208c66ec88fSEmmanuel Vadot *              unrouted (not connected to any external pin)
209c66ec88fSEmmanuel Vadot *         LSEC = Low Speed External Connector
210c66ec88fSEmmanuel Vadot *         HSEC = High Speed External Connector
211c66ec88fSEmmanuel Vadot *
212c66ec88fSEmmanuel Vadot * Line names are taken from "HiKey 960 Board ver A" schematics
213c66ec88fSEmmanuel Vadot * from Huawei. The 40 pin low speed expansion connector is named
214c66ec88fSEmmanuel Vadot * J2002 63453-140LF.
215c66ec88fSEmmanuel Vadot *
216c66ec88fSEmmanuel Vadot * For the lines routed to the external connectors the
217c66ec88fSEmmanuel Vadot * lines are named after the 96Boards CE Specification 1.0,
218c66ec88fSEmmanuel Vadot * Appendix "Expansion Connector Signal Description".
219c66ec88fSEmmanuel Vadot *
220c66ec88fSEmmanuel Vadot * When the 96Board naming of a line and the schematic name of
221c66ec88fSEmmanuel Vadot * the same line are in conflict, the 96Board specification
222c66ec88fSEmmanuel Vadot * takes precedence, which means that the external UART on the
223c66ec88fSEmmanuel Vadot * LSEC is named UART0 while the schematic and SoC names this
224c66ec88fSEmmanuel Vadot * UART3. This is only for the informational lines i.e. "[FOO]",
225c66ec88fSEmmanuel Vadot * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
226c66ec88fSEmmanuel Vadot * ones actually used for GPIO.
227c66ec88fSEmmanuel Vadot */
228c66ec88fSEmmanuel Vadot&gpio0 {
229c66ec88fSEmmanuel Vadot	/* GPIO_000-GPIO_007 */
230c66ec88fSEmmanuel Vadot	gpio-line-names =
231c66ec88fSEmmanuel Vadot		"",
232c66ec88fSEmmanuel Vadot		"TP901", /* TEST_MODE connected to TP901 */
233c66ec88fSEmmanuel Vadot		"[PMU0_SSI]",
234c66ec88fSEmmanuel Vadot		"[PMU1_SSI]",
235c66ec88fSEmmanuel Vadot		"[PMU2_SSI]",
236c66ec88fSEmmanuel Vadot		"[PMU0_CLKOUT]",
237c66ec88fSEmmanuel Vadot		"[JTAG_TCK]",
238c66ec88fSEmmanuel Vadot		"[JTAG_TMS]";
239c66ec88fSEmmanuel Vadot};
240c66ec88fSEmmanuel Vadot
241c66ec88fSEmmanuel Vadot&gpio1 {
242c66ec88fSEmmanuel Vadot	/* GPIO_008-GPIO_015 */
243c66ec88fSEmmanuel Vadot	gpio-line-names =
244c66ec88fSEmmanuel Vadot		"[JTAG_TRST_N]",
245c66ec88fSEmmanuel Vadot		"[JTAG_TDI]",
246c66ec88fSEmmanuel Vadot		"[JTAG_TDO]",
247c66ec88fSEmmanuel Vadot		"NC", "NC",
248c66ec88fSEmmanuel Vadot		"[I2C3_SCL]",
249c66ec88fSEmmanuel Vadot		"[I2C3_SDA]",
250c66ec88fSEmmanuel Vadot		"NC";
251c66ec88fSEmmanuel Vadot};
252c66ec88fSEmmanuel Vadot
253c66ec88fSEmmanuel Vadot&gpio2 {
254c66ec88fSEmmanuel Vadot	/* GPIO_016-GPIO_023 */
255c66ec88fSEmmanuel Vadot	gpio-line-names =
256c66ec88fSEmmanuel Vadot		"NC", "NC", "NC",
257c66ec88fSEmmanuel Vadot		"GPIO-J", /* LSEC pin 32: GPIO_019 */
258c66ec88fSEmmanuel Vadot		"GPIO_020_HDMI_SEL",
259c66ec88fSEmmanuel Vadot		"GPIO-L", /* LSEC pin 34: GPIO_021 */
260c66ec88fSEmmanuel Vadot		"GPIO_022_UFSBUCK_INT_N",
261c66ec88fSEmmanuel Vadot		"GPIO-G"; /* LSEC pin 29: LCD_TE0 */
262c66ec88fSEmmanuel Vadot};
263c66ec88fSEmmanuel Vadot
264c66ec88fSEmmanuel Vadot&gpio3 {
265c66ec88fSEmmanuel Vadot	/* GPIO_024-GPIO_031 */
266c66ec88fSEmmanuel Vadot	/* The rail from pin BK36 is named LCD_TE0, we assume to be muxed as GPIO for GPIO-G */
267c66ec88fSEmmanuel Vadot	gpio-line-names =
268c66ec88fSEmmanuel Vadot		"[CSI0_MCLK]", /* HSEC pin 15: ISP_CCLK0_MCAM */
269c66ec88fSEmmanuel Vadot		"[CSI1_MCLK]", /* HSEC pin 17: ISP_CCLK1_SCAM */
270c66ec88fSEmmanuel Vadot		"NC",
271c66ec88fSEmmanuel Vadot		"[I2C2_SCL]", /* HSEC pin 32: ISP_SCL0 */
272c66ec88fSEmmanuel Vadot		"[I2C2_SDA]", /* HSEC pin 34: ISP_SDA0 */
273c66ec88fSEmmanuel Vadot		"[I2C3_SCL]", /* HSEC pin 36: ISP_SCL1 */
274c66ec88fSEmmanuel Vadot		"[I2C3_SDA]", /* HSEC pin 38: ISP_SDA1 */
275c66ec88fSEmmanuel Vadot		"NC";
276c66ec88fSEmmanuel Vadot};
277c66ec88fSEmmanuel Vadot
278c66ec88fSEmmanuel Vadot&gpio4 {
279c66ec88fSEmmanuel Vadot	/* GPIO_032-GPIO_039 */
280c66ec88fSEmmanuel Vadot	gpio-line-names =
281c66ec88fSEmmanuel Vadot		"NC", "NC",
282c66ec88fSEmmanuel Vadot		"PWR_BTN_N", /* LSEC pin 4: GPIO_034_PWRON_DET */
283c66ec88fSEmmanuel Vadot		"GPIO_035_PMU2_EN",
284c66ec88fSEmmanuel Vadot		"GPIO_036_USB_HUB_RESET",
285c66ec88fSEmmanuel Vadot		"NC", "NC", "NC";
286c66ec88fSEmmanuel Vadot};
287c66ec88fSEmmanuel Vadot
288c66ec88fSEmmanuel Vadot&gpio5 {
289c66ec88fSEmmanuel Vadot	/* GPIO_040-GPIO_047 */
290c66ec88fSEmmanuel Vadot	gpio-line-names =
291c66ec88fSEmmanuel Vadot		"GPIO-H", /* LSEC pin 30: GPIO_040_LCD_RST_N */
292c66ec88fSEmmanuel Vadot		"GPIO_041_HDMI_PD",
293c66ec88fSEmmanuel Vadot		"TP904", /* Test point */
294c66ec88fSEmmanuel Vadot		"TP905", /* Test point */
295c66ec88fSEmmanuel Vadot		"NC", "NC",
296c66ec88fSEmmanuel Vadot		"GPIO_046_HUB_VDD33_EN",
297c66ec88fSEmmanuel Vadot		"GPIO_047_PMU1_EN";
298c66ec88fSEmmanuel Vadot};
299c66ec88fSEmmanuel Vadot
300c66ec88fSEmmanuel Vadot&gpio6 {
301c66ec88fSEmmanuel Vadot	/* GPIO_048-GPIO_055 */
302c66ec88fSEmmanuel Vadot	gpio-line-names =
303c66ec88fSEmmanuel Vadot		"NC", "NC", "NC",
304c66ec88fSEmmanuel Vadot		"GPIO_051_WIFI_EN",
305c66ec88fSEmmanuel Vadot		"GPIO-I", /* LSEC pin 31: GPIO_052_CAM0_RST_N */
306c66ec88fSEmmanuel Vadot		/*
307c66ec88fSEmmanuel Vadot		 * These two pins should be used for SD(IO) data according to the
308c66ec88fSEmmanuel Vadot		 * 96boards specification but seems to be repurposed for a IRDA UART.
309c66ec88fSEmmanuel Vadot		 * They are however named according to the spec.
310c66ec88fSEmmanuel Vadot		 */
311c66ec88fSEmmanuel Vadot		"[SD_DAT1]", /* HSEC pin 3: UART0_IRDA_RXD */
312c66ec88fSEmmanuel Vadot		"[SD_DAT2]", /* HSEC pin 5: UART0_IRDA_TXD */
313c66ec88fSEmmanuel Vadot		"[UART1_RXD]"; /* LSEC pin 13: DEBUG_UART6_RXD */
314c66ec88fSEmmanuel Vadot};
315c66ec88fSEmmanuel Vadot
316c66ec88fSEmmanuel Vadot&gpio7 {
317c66ec88fSEmmanuel Vadot	/* GPIO_056-GPIO_063 */
318c66ec88fSEmmanuel Vadot	gpio-line-names =
319c66ec88fSEmmanuel Vadot		"[UART1_TXD]", /* LSEC pin 11: DEBUG_UART6_TXD */
320c66ec88fSEmmanuel Vadot		"[UART0_CTS]", /* LSEC pin 3: UART3_CTS_N */
321c66ec88fSEmmanuel Vadot		"[UART0_RTS]", /* LSEC pin 9: UART3_RTS_N */
322c66ec88fSEmmanuel Vadot		"[UART0_RXD]", /* LSEC pin 7: UART3_RXD */
323c66ec88fSEmmanuel Vadot		"[UART0_TXD]", /* LSEC pin 5: UART3_TXD */
324c66ec88fSEmmanuel Vadot		"[SOC_BT_UART4_CTS_N]",
325c66ec88fSEmmanuel Vadot		"[SOC_BT_UART4_RTS_N]",
326c66ec88fSEmmanuel Vadot		"[SOC_BT_UART4_RXD]";
327c66ec88fSEmmanuel Vadot};
328c66ec88fSEmmanuel Vadot
329c66ec88fSEmmanuel Vadot&gpio8 {
330c66ec88fSEmmanuel Vadot	/* GPIO_064-GPIO_071 */
331c66ec88fSEmmanuel Vadot	gpio-line-names =
332c66ec88fSEmmanuel Vadot		"[SOC_BT_UART4_TXD]",
333c66ec88fSEmmanuel Vadot		"NC",
334c66ec88fSEmmanuel Vadot		"[PMU_HKADC_SSI]",
335c66ec88fSEmmanuel Vadot		"NC",
336c66ec88fSEmmanuel Vadot		"GPIO_068_SEL",
337c66ec88fSEmmanuel Vadot		"NC", "NC", "NC";
338c66ec88fSEmmanuel Vadot
339c66ec88fSEmmanuel Vadot};
340c66ec88fSEmmanuel Vadot
341c66ec88fSEmmanuel Vadot&gpio9 {
342c66ec88fSEmmanuel Vadot	/* GPIO_072-GPIO_079 */
343c66ec88fSEmmanuel Vadot	gpio-line-names =
344c66ec88fSEmmanuel Vadot		"NC", "NC", "NC",
345c66ec88fSEmmanuel Vadot		"GPIO-K", /* LSEC pin 33: GPIO_075_CAM1_RST_N */
346c66ec88fSEmmanuel Vadot		"NC", "NC", "NC", "NC";
347c66ec88fSEmmanuel Vadot};
348c66ec88fSEmmanuel Vadot
349c66ec88fSEmmanuel Vadot&gpio10 {
350c66ec88fSEmmanuel Vadot	/* GPIO_080-GPIO_087 */
351c66ec88fSEmmanuel Vadot	gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC";
352c66ec88fSEmmanuel Vadot};
353c66ec88fSEmmanuel Vadot
354c66ec88fSEmmanuel Vadot&gpio11 {
355c66ec88fSEmmanuel Vadot	/* GPIO_088-GPIO_095 */
356c66ec88fSEmmanuel Vadot	gpio-line-names =
357c66ec88fSEmmanuel Vadot		"NC",
358c66ec88fSEmmanuel Vadot		"[PCIE_PERST_N]",
359c66ec88fSEmmanuel Vadot		"NC", "NC", "NC", "NC", "NC", "NC";
360c66ec88fSEmmanuel Vadot};
361c66ec88fSEmmanuel Vadot
362c66ec88fSEmmanuel Vadot&gpio12 {
363c66ec88fSEmmanuel Vadot	/* GPIO_096-GPIO_103 */
364c66ec88fSEmmanuel Vadot	gpio-line-names = "NC", "NC", "NC", "", "", "", "", "NC";
365c66ec88fSEmmanuel Vadot};
366c66ec88fSEmmanuel Vadot
367c66ec88fSEmmanuel Vadot&gpio13 {
368c66ec88fSEmmanuel Vadot	/* GPIO_104-GPIO_111 */
369c66ec88fSEmmanuel Vadot	gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC";
370c66ec88fSEmmanuel Vadot};
371c66ec88fSEmmanuel Vadot
372c66ec88fSEmmanuel Vadot&gpio14 {
373c66ec88fSEmmanuel Vadot	/* GPIO_112-GPIO_119 */
374c66ec88fSEmmanuel Vadot	gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC";
375c66ec88fSEmmanuel Vadot};
376c66ec88fSEmmanuel Vadot
377c66ec88fSEmmanuel Vadot&gpio15 {
378c66ec88fSEmmanuel Vadot	/* GPIO_120-GPIO_127 */
379c66ec88fSEmmanuel Vadot	gpio-line-names =
380c66ec88fSEmmanuel Vadot		"NC", "NC", "NC", "NC", "NC", "NC",
381c66ec88fSEmmanuel Vadot		"GPIO_126_BT_EN",
382c66ec88fSEmmanuel Vadot		"TP902"; /* GPIO_127_JTAG_SEL0 */
383c66ec88fSEmmanuel Vadot};
384c66ec88fSEmmanuel Vadot
385c66ec88fSEmmanuel Vadot&gpio16 {
386c66ec88fSEmmanuel Vadot	/* GPIO_128-GPIO_135 */
387c66ec88fSEmmanuel Vadot	gpio-line-names = "", "", "", "", "", "", "", "";
388c66ec88fSEmmanuel Vadot};
389c66ec88fSEmmanuel Vadot
390c66ec88fSEmmanuel Vadot&gpio17 {
391c66ec88fSEmmanuel Vadot	/* GPIO_136-GPIO_143 */
392c66ec88fSEmmanuel Vadot	gpio-line-names = "", "", "", "", "", "", "", "";
393c66ec88fSEmmanuel Vadot};
394c66ec88fSEmmanuel Vadot
395c66ec88fSEmmanuel Vadot&gpio18 {
396c66ec88fSEmmanuel Vadot	/* GPIO_144-GPIO_151 */
397c66ec88fSEmmanuel Vadot	gpio-line-names =
398c66ec88fSEmmanuel Vadot		"[UFS_REF_CLK]",
399c66ec88fSEmmanuel Vadot		"[UFS_RST_N]",
400c66ec88fSEmmanuel Vadot		"[SPI1_SCLK]", /* HSEC pin 9: GPIO_146_SPI3_CLK */
401c66ec88fSEmmanuel Vadot		"[SPI1_DIN]", /* HSEC pin 11: GPIO_147_SPI3_DI */
402c66ec88fSEmmanuel Vadot		"[SPI1_DOUT]", /* HSEC pin 1: GPIO_148_SPI3_DO */
403c66ec88fSEmmanuel Vadot		"[SPI1_CS]", /* HSEC pin 7: GPIO_149_SPI3_CS0_N */
404c66ec88fSEmmanuel Vadot		"GPIO_150_USER_LED1",
405c66ec88fSEmmanuel Vadot		"GPIO_151_USER_LED2";
406c66ec88fSEmmanuel Vadot};
407c66ec88fSEmmanuel Vadot
408c66ec88fSEmmanuel Vadot&gpio19 {
409c66ec88fSEmmanuel Vadot	/* GPIO_152-GPIO_159 */
410c66ec88fSEmmanuel Vadot	gpio-line-names = "NC", "NC", "NC", "NC", "", "", "", "";
411c66ec88fSEmmanuel Vadot};
412c66ec88fSEmmanuel Vadot
413c66ec88fSEmmanuel Vadot&gpio20 {
414c66ec88fSEmmanuel Vadot	/* GPIO_160-GPIO_167 */
415c66ec88fSEmmanuel Vadot	gpio-line-names =
416c66ec88fSEmmanuel Vadot		"[SD_CLK]",
417c66ec88fSEmmanuel Vadot		"[SD_CMD]",
418c66ec88fSEmmanuel Vadot		"[SD_DATA0]",
419c66ec88fSEmmanuel Vadot		"[SD_DATA1]",
420c66ec88fSEmmanuel Vadot		"[SD_DATA2]",
421c66ec88fSEmmanuel Vadot		"[SD_DATA3]",
422c66ec88fSEmmanuel Vadot		"", "";
423c66ec88fSEmmanuel Vadot};
424c66ec88fSEmmanuel Vadot
425c66ec88fSEmmanuel Vadot&gpio21 {
426c66ec88fSEmmanuel Vadot	/* GPIO_168-GPIO_175 */
427c66ec88fSEmmanuel Vadot	gpio-line-names =
428c66ec88fSEmmanuel Vadot		"[WL_SDIO_CLK]",
429c66ec88fSEmmanuel Vadot		"[WL_SDIO_CMD]",
430c66ec88fSEmmanuel Vadot		"[WL_SDIO_DATA0]",
431c66ec88fSEmmanuel Vadot		"[WL_SDIO_DATA1]",
432c66ec88fSEmmanuel Vadot		"[WL_SDIO_DATA2]",
433c66ec88fSEmmanuel Vadot		"[WL_SDIO_DATA3]",
434c66ec88fSEmmanuel Vadot		"", "";
435c66ec88fSEmmanuel Vadot};
436c66ec88fSEmmanuel Vadot
437c66ec88fSEmmanuel Vadot&gpio22 {
438c66ec88fSEmmanuel Vadot	/* GPIO_176-GPIO_183 */
439c66ec88fSEmmanuel Vadot	gpio-line-names =
440c66ec88fSEmmanuel Vadot		"[GPIO_176_PMU_PWR_HOLD]",
441c66ec88fSEmmanuel Vadot		"NA",
442c66ec88fSEmmanuel Vadot		"[SYSCLK_EN]",
443c66ec88fSEmmanuel Vadot		"GPIO_179_WL_WAKEUP_AP",
444c66ec88fSEmmanuel Vadot		"GPIO_180_HDMI_INT",
445c66ec88fSEmmanuel Vadot		"NA",
446c66ec88fSEmmanuel Vadot		"GPIO-F", /* LSEC pin 28: LCD_BL_PWM */
447c66ec88fSEmmanuel Vadot		"[I2C0_SCL]"; /* LSEC pin 15 */
448c66ec88fSEmmanuel Vadot};
449c66ec88fSEmmanuel Vadot
450c66ec88fSEmmanuel Vadot&gpio23 {
451c66ec88fSEmmanuel Vadot	/* GPIO_184-GPIO_191 */
452c66ec88fSEmmanuel Vadot	gpio-line-names =
453c66ec88fSEmmanuel Vadot		"[I2C0_SDA]", /* LSEC pin 17 */
454c66ec88fSEmmanuel Vadot		"[I2C1_SCL]", /* Actual SoC I2C1 */
455c66ec88fSEmmanuel Vadot		"[I2C1_SDA]", /* Actual SoC I2C1 */
456c66ec88fSEmmanuel Vadot		"[I2C1_SCL]", /* LSEC pin 19: I2C7_SCL */
457c66ec88fSEmmanuel Vadot		"[I2C1_SDA]", /* LSEC pin 21: I2C7_SDA */
458c66ec88fSEmmanuel Vadot		"GPIO_189_USER_LED3",
459c66ec88fSEmmanuel Vadot		"GPIO_190_USER_LED4",
460c66ec88fSEmmanuel Vadot		"";
461c66ec88fSEmmanuel Vadot};
462c66ec88fSEmmanuel Vadot
463c66ec88fSEmmanuel Vadot&gpio24 {
464c66ec88fSEmmanuel Vadot	/* GPIO_192-GPIO_199 */
465c66ec88fSEmmanuel Vadot	gpio-line-names =
466c66ec88fSEmmanuel Vadot		"[PCM_DI]", /* LSEC pin 22: GPIO_192_I2S0_DI */
467c66ec88fSEmmanuel Vadot		"[PCM_DO]", /* LSEC pin 20: GPIO_193_I2S0_DO */
468c66ec88fSEmmanuel Vadot		"[PCM_CLK]", /* LSEC pin 18: GPIO_194_I2S0_XCLK */
469c66ec88fSEmmanuel Vadot		"[PCM_FS]", /* LSEC pin 16: GPIO_195_I2S0_XFS */
470c66ec88fSEmmanuel Vadot		"[GPIO_196_I2S2_DI]",
471c66ec88fSEmmanuel Vadot		"[GPIO_197_I2S2_DO]",
472c66ec88fSEmmanuel Vadot		"[GPIO_198_I2S2_XCLK]",
473c66ec88fSEmmanuel Vadot		"[GPIO_199_I2S2_XFS]";
474c66ec88fSEmmanuel Vadot};
475c66ec88fSEmmanuel Vadot
476c66ec88fSEmmanuel Vadot&gpio25 {
477c66ec88fSEmmanuel Vadot	/* GPIO_200-GPIO_207 */
478c66ec88fSEmmanuel Vadot	gpio-line-names =
479c66ec88fSEmmanuel Vadot		"NC",
480c66ec88fSEmmanuel Vadot		"NC",
481c66ec88fSEmmanuel Vadot		"GPIO_202_VBUS_TYPEC",
482c66ec88fSEmmanuel Vadot		"GPIO_203_SD_DET",
483c66ec88fSEmmanuel Vadot		"GPIO_204_PMU12_IRQ_N",
484c66ec88fSEmmanuel Vadot		"GPIO_205_WIFI_ACTIVE",
485c66ec88fSEmmanuel Vadot		"GPIO_206_USBSW_SEL",
486c66ec88fSEmmanuel Vadot		"GPIO_207_BT_ACTIVE";
487c66ec88fSEmmanuel Vadot};
488c66ec88fSEmmanuel Vadot
489c66ec88fSEmmanuel Vadot&gpio26 {
490c66ec88fSEmmanuel Vadot	/* GPIO_208-GPIO_215 */
491c66ec88fSEmmanuel Vadot	gpio-line-names =
492c66ec88fSEmmanuel Vadot		"GPIO-A", /* LSEC pin 23: GPIO_208 */
493c66ec88fSEmmanuel Vadot		"GPIO-B", /* LSEC pin 24: GPIO_209 */
494c66ec88fSEmmanuel Vadot		"GPIO-C", /* LSEC pin 25: GPIO_210 */
495c66ec88fSEmmanuel Vadot		"GPIO-D", /* LSEC pin 26: GPIO_211 */
496c66ec88fSEmmanuel Vadot		"GPIO-E", /* LSEC pin 27: GPIO_212 */
497c66ec88fSEmmanuel Vadot		"[PCIE_CLKREQ_N]",
498c66ec88fSEmmanuel Vadot		"[PCIE_WAKE_N]",
499c66ec88fSEmmanuel Vadot		"[SPI0_CLK]"; /* LSEC pin 8: SPI2_CLK */
500c66ec88fSEmmanuel Vadot};
501c66ec88fSEmmanuel Vadot
502c66ec88fSEmmanuel Vadot&gpio27 {
503c66ec88fSEmmanuel Vadot	/* GPIO_216-GPIO_223 */
504c66ec88fSEmmanuel Vadot	gpio-line-names =
505c66ec88fSEmmanuel Vadot		"[SPI0_DIN]", /* LSEC pin 10: SPI2_DI */
506c66ec88fSEmmanuel Vadot		"[SPI0_DOUT]", /* LSEC pin 14: SPI2_DO */
507c66ec88fSEmmanuel Vadot		"[SPI0_CS]", /* LSEC pin 12: SPI2_CS0_N */
508c66ec88fSEmmanuel Vadot		"GPIO_219_CC_INT",
509c66ec88fSEmmanuel Vadot		"NC",
510c66ec88fSEmmanuel Vadot		"NC",
511c66ec88fSEmmanuel Vadot		"[PMU_INT]",
512c66ec88fSEmmanuel Vadot		"";
513c66ec88fSEmmanuel Vadot};
514c66ec88fSEmmanuel Vadot
515c66ec88fSEmmanuel Vadot&gpio28 {
516c66ec88fSEmmanuel Vadot	/* GPIO_224-GPIO_231 */
517c66ec88fSEmmanuel Vadot	gpio-line-names =
518c66ec88fSEmmanuel Vadot		"", "", "", "", "", "", "", "";
519c66ec88fSEmmanuel Vadot};
520c66ec88fSEmmanuel Vadot
521c66ec88fSEmmanuel Vadot&i2c0 {
522c66ec88fSEmmanuel Vadot	/* On Low speed expansion */
523c66ec88fSEmmanuel Vadot	label = "LS-I2C0";
524c66ec88fSEmmanuel Vadot	status = "okay";
525c66ec88fSEmmanuel Vadot};
526c66ec88fSEmmanuel Vadot
527c66ec88fSEmmanuel Vadot&i2c1 {
528c66ec88fSEmmanuel Vadot	status = "okay";
529c66ec88fSEmmanuel Vadot
530c66ec88fSEmmanuel Vadot	rt1711h: rt1711h@4e {
531c66ec88fSEmmanuel Vadot		compatible = "richtek,rt1711h";
532c66ec88fSEmmanuel Vadot		reg = <0x4e>;
5336be33864SEmmanuel Vadot		status = "okay";
534c66ec88fSEmmanuel Vadot		interrupt-parent = <&gpio27>;
535c66ec88fSEmmanuel Vadot		interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
536c66ec88fSEmmanuel Vadot		pinctrl-names = "default";
537c66ec88fSEmmanuel Vadot		pinctrl-0 = <&usb_cfg_func>;
538c66ec88fSEmmanuel Vadot
539c66ec88fSEmmanuel Vadot		usb_con: connector {
540c66ec88fSEmmanuel Vadot			compatible = "usb-c-connector";
541c66ec88fSEmmanuel Vadot			label = "USB-C";
542c66ec88fSEmmanuel Vadot			data-role = "dual";
543c66ec88fSEmmanuel Vadot			power-role = "dual";
544c66ec88fSEmmanuel Vadot			try-power-role = "sink";
545c66ec88fSEmmanuel Vadot			source-pdos = <PDO_FIXED(5000, 500, PDO_FIXED_USB_COMM)>;
546c66ec88fSEmmanuel Vadot			sink-pdos = <PDO_FIXED(5000, 500, PDO_FIXED_USB_COMM)
547c66ec88fSEmmanuel Vadot				PDO_VAR(5000, 5000, 1000)>;
548c66ec88fSEmmanuel Vadot			op-sink-microwatt = <10000000>;
549c66ec88fSEmmanuel Vadot
550c66ec88fSEmmanuel Vadot			ports {
551c66ec88fSEmmanuel Vadot				#address-cells = <1>;
552c66ec88fSEmmanuel Vadot				#size-cells = <0>;
553c66ec88fSEmmanuel Vadot				port@1 {
554c66ec88fSEmmanuel Vadot					reg = <1>;
555c66ec88fSEmmanuel Vadot					usb_con_ss: endpoint {
556c66ec88fSEmmanuel Vadot						remote-endpoint = <&dwc3_ss>;
557c66ec88fSEmmanuel Vadot					};
558c66ec88fSEmmanuel Vadot				};
559c66ec88fSEmmanuel Vadot			};
560c66ec88fSEmmanuel Vadot		};
561c66ec88fSEmmanuel Vadot		port {
562c66ec88fSEmmanuel Vadot			#address-cells = <1>;
563c66ec88fSEmmanuel Vadot			#size-cells = <0>;
564c66ec88fSEmmanuel Vadot
565c66ec88fSEmmanuel Vadot			rt1711h_ep: endpoint@0 {
566c66ec88fSEmmanuel Vadot				reg = <0>;
567c66ec88fSEmmanuel Vadot				remote-endpoint = <&dwc3_role_switch>;
568c66ec88fSEmmanuel Vadot			};
569c66ec88fSEmmanuel Vadot		};
570c66ec88fSEmmanuel Vadot	};
571c66ec88fSEmmanuel Vadot
572c66ec88fSEmmanuel Vadot	adv7533: adv7533@39 {
5736be33864SEmmanuel Vadot		status = "okay";
574c66ec88fSEmmanuel Vadot		compatible = "adi,adv7533";
575c66ec88fSEmmanuel Vadot		reg = <0x39>;
576c66ec88fSEmmanuel Vadot		adi,dsi-lanes = <4>;
577c66ec88fSEmmanuel Vadot		ports {
578c66ec88fSEmmanuel Vadot			#address-cells = <1>;
579c66ec88fSEmmanuel Vadot			#size-cells = <0>;
580c66ec88fSEmmanuel Vadot			port@0 {
581c66ec88fSEmmanuel Vadot				reg = <0>;
582c66ec88fSEmmanuel Vadot			};
583c66ec88fSEmmanuel Vadot			port@1 {
584c66ec88fSEmmanuel Vadot				reg = <1>;
585c66ec88fSEmmanuel Vadot			};
586c66ec88fSEmmanuel Vadot		};
587c66ec88fSEmmanuel Vadot	};
588c66ec88fSEmmanuel Vadot};
589c66ec88fSEmmanuel Vadot
590c66ec88fSEmmanuel Vadot&i2c7 {
591c66ec88fSEmmanuel Vadot	/* On Low speed expansion */
592c66ec88fSEmmanuel Vadot	label = "LS-I2C1";
593c66ec88fSEmmanuel Vadot	status = "okay";
594c66ec88fSEmmanuel Vadot};
595c66ec88fSEmmanuel Vadot
596c66ec88fSEmmanuel Vadot&uart3 {
597c66ec88fSEmmanuel Vadot	/* On Low speed expansion */
598c66ec88fSEmmanuel Vadot	label = "LS-UART0";
599c66ec88fSEmmanuel Vadot	status = "okay";
600c66ec88fSEmmanuel Vadot};
601c66ec88fSEmmanuel Vadot
602c66ec88fSEmmanuel Vadot&uart4 {
603c66ec88fSEmmanuel Vadot	status = "okay";
604c66ec88fSEmmanuel Vadot
605c66ec88fSEmmanuel Vadot	bluetooth {
606c66ec88fSEmmanuel Vadot		compatible = "ti,wl1837-st";
607c66ec88fSEmmanuel Vadot		enable-gpios = <&gpio15 6 GPIO_ACTIVE_HIGH>;
608c66ec88fSEmmanuel Vadot		max-speed = <3000000>;
609c66ec88fSEmmanuel Vadot	};
610c66ec88fSEmmanuel Vadot};
611c66ec88fSEmmanuel Vadot
612c66ec88fSEmmanuel Vadot&uart6 {
613c66ec88fSEmmanuel Vadot	/* On Low speed expansion */
614c66ec88fSEmmanuel Vadot	label = "LS-UART1";
615c66ec88fSEmmanuel Vadot	status = "okay";
616c66ec88fSEmmanuel Vadot};
617c66ec88fSEmmanuel Vadot
618c66ec88fSEmmanuel Vadot&spi2 {
619c66ec88fSEmmanuel Vadot	/* On Low speed expansion */
620c66ec88fSEmmanuel Vadot	label = "LS-SPI0";
621c66ec88fSEmmanuel Vadot	status = "okay";
622c66ec88fSEmmanuel Vadot};
623c66ec88fSEmmanuel Vadot
624c66ec88fSEmmanuel Vadot&spi3 {
625c66ec88fSEmmanuel Vadot	/* On High speed expansion */
626c66ec88fSEmmanuel Vadot	label = "HS-SPI1";
627c66ec88fSEmmanuel Vadot	status = "okay";
628c66ec88fSEmmanuel Vadot};
629c66ec88fSEmmanuel Vadot
630c66ec88fSEmmanuel Vadot&dwmmc1 {
631c66ec88fSEmmanuel Vadot	bus-width = <0x4>;
632c66ec88fSEmmanuel Vadot	cap-sd-highspeed;
633c66ec88fSEmmanuel Vadot	sd-uhs-sdr12;
634c66ec88fSEmmanuel Vadot	sd-uhs-sdr25;
635c66ec88fSEmmanuel Vadot	sd-uhs-sdr50;
636c66ec88fSEmmanuel Vadot	sd-uhs-sdr104;
637c66ec88fSEmmanuel Vadot	disable-wp;
638c66ec88fSEmmanuel Vadot	cd-gpios = <&gpio25 3 GPIO_ACTIVE_LOW>;
639c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
640c66ec88fSEmmanuel Vadot	pinctrl-0 = <&sd_pmx_func
641c66ec88fSEmmanuel Vadot		     &sd_clk_cfg_func
642c66ec88fSEmmanuel Vadot		     &sd_cfg_func>;
643c66ec88fSEmmanuel Vadot	vmmc-supply = <&ldo16>;
644c66ec88fSEmmanuel Vadot	vqmmc-supply = <&ldo9>;
645c66ec88fSEmmanuel Vadot	status = "okay";
646c66ec88fSEmmanuel Vadot};
647c66ec88fSEmmanuel Vadot
648c66ec88fSEmmanuel Vadot&dwmmc2 { /* WIFI */
649c66ec88fSEmmanuel Vadot	bus-width = <0x4>;
650c66ec88fSEmmanuel Vadot	non-removable;
651c66ec88fSEmmanuel Vadot	broken-cd;
652c66ec88fSEmmanuel Vadot	cap-power-off-card;
653c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
654c66ec88fSEmmanuel Vadot	pinctrl-0 = <&sdio_pmx_func
655c66ec88fSEmmanuel Vadot		     &sdio_clk_cfg_func
656c66ec88fSEmmanuel Vadot		     &sdio_cfg_func>;
657c66ec88fSEmmanuel Vadot	/* WL_EN */
658c66ec88fSEmmanuel Vadot	vmmc-supply = <&wlan_en>;
6596be33864SEmmanuel Vadot	status = "okay";
660c66ec88fSEmmanuel Vadot
661c66ec88fSEmmanuel Vadot	wlcore: wlcore@2 {
662c66ec88fSEmmanuel Vadot		compatible = "ti,wl1837";
663c66ec88fSEmmanuel Vadot		reg = <2>;      /* sdio func num */
664c66ec88fSEmmanuel Vadot		/* WL_IRQ, GPIO_179_WL_WAKEUP_AP */
665c66ec88fSEmmanuel Vadot		interrupt-parent = <&gpio22>;
666c66ec88fSEmmanuel Vadot		interrupts = <3 IRQ_TYPE_EDGE_RISING>;
667c66ec88fSEmmanuel Vadot	};
668c66ec88fSEmmanuel Vadot};
669c66ec88fSEmmanuel Vadot
670c66ec88fSEmmanuel Vadot&dwc3 { /* USB */
671c66ec88fSEmmanuel Vadot	dr_mode = "otg";
672c66ec88fSEmmanuel Vadot	maximum-speed = "super-speed";
673c66ec88fSEmmanuel Vadot	phy_type = "utmi";
674c66ec88fSEmmanuel Vadot	snps,dis-del-phy-power-chg-quirk;
675c66ec88fSEmmanuel Vadot	snps,lfps_filter_quirk;
676c66ec88fSEmmanuel Vadot	snps,dis_u2_susphy_quirk;
677c66ec88fSEmmanuel Vadot	snps,dis_u3_susphy_quirk;
678c66ec88fSEmmanuel Vadot	snps,tx_de_emphasis_quirk;
679c66ec88fSEmmanuel Vadot	snps,tx_de_emphasis = <1>;
680c66ec88fSEmmanuel Vadot	snps,dis_enblslpm_quirk;
681c66ec88fSEmmanuel Vadot	snps,gctl-reset-quirk;
682c66ec88fSEmmanuel Vadot	usb-role-switch;
683c66ec88fSEmmanuel Vadot	role-switch-default-mode = "host";
684c66ec88fSEmmanuel Vadot	port {
685c66ec88fSEmmanuel Vadot		#address-cells = <1>;
686c66ec88fSEmmanuel Vadot		#size-cells = <0>;
687c66ec88fSEmmanuel Vadot		dwc3_role_switch: endpoint@0 {
688c66ec88fSEmmanuel Vadot			reg = <0>;
689c66ec88fSEmmanuel Vadot			remote-endpoint = <&rt1711h_ep>;
690c66ec88fSEmmanuel Vadot		};
691c66ec88fSEmmanuel Vadot
692c66ec88fSEmmanuel Vadot		dwc3_ss: endpoint@1 {
693c66ec88fSEmmanuel Vadot			reg = <1>;
694c66ec88fSEmmanuel Vadot			remote-endpoint = <&usb_con_ss>;
695c66ec88fSEmmanuel Vadot		};
696c66ec88fSEmmanuel Vadot	};
697c66ec88fSEmmanuel Vadot};
698