186e8f528SBintian Wang/*
286e8f528SBintian Wang * dts file for Hisilicon HiKey Development Board
386e8f528SBintian Wang *
486e8f528SBintian Wang * Copyright (C) 2015, Hisilicon Ltd.
586e8f528SBintian Wang *
686e8f528SBintian Wang */
786e8f528SBintian Wang
886e8f528SBintian Wang/dts-v1/;
986e8f528SBintian Wang#include "hi6220.dtsi"
10379e9bf5SZhong Kaihua#include "hikey-pinctrl.dtsi"
11a817137aSChen Feng#include <dt-bindings/gpio/gpio.h>
1286e8f528SBintian Wang
1386e8f528SBintian Wang/ {
1486e8f528SBintian Wang	model = "HiKey Development Board";
1586e8f528SBintian Wang	compatible = "hisilicon,hi6220-hikey", "hisilicon,hi6220";
1686e8f528SBintian Wang
1786e8f528SBintian Wang	aliases {
18a362ec8fSTyler Baker		serial0 = &uart0; /* On board UART0 */
19a362ec8fSTyler Baker		serial1 = &uart1; /* BT UART */
20a362ec8fSTyler Baker		serial2 = &uart2; /* LS Expansion UART0 */
21a362ec8fSTyler Baker		serial3 = &uart3; /* LS Expansion UART1 */
2286e8f528SBintian Wang	};
2386e8f528SBintian Wang
2486e8f528SBintian Wang	chosen {
25a362ec8fSTyler Baker		stdout-path = "serial3:115200n8";
2686e8f528SBintian Wang	};
2786e8f528SBintian Wang
286da3aba6SLeo Yan	/*
296da3aba6SLeo Yan	 * Reserve below regions from memory node:
306da3aba6SLeo Yan	 *
316da3aba6SLeo Yan	 *  0x05e0,0000 - 0x05ef,ffff: MCU firmware runtime using
32330fd87cSJohn Stultz	 *  0x05f0,1000 - 0x05f0,1fff: Reboot reason
336da3aba6SLeo Yan	 *  0x06df,f000 - 0x06df,ffff: Mailbox message data
346da3aba6SLeo Yan	 *  0x0740,f000 - 0x0740,ffff: MCU firmware section
356da3aba6SLeo Yan	 *  0x3e00,0000 - 0x3fff,ffff: OP-TEE
366da3aba6SLeo Yan	 */
3786e8f528SBintian Wang	memory@0 {
3886e8f528SBintian Wang		device_type = "memory";
396da3aba6SLeo Yan		reg = <0x00000000 0x00000000 0x00000000 0x05e00000>,
40330fd87cSJohn Stultz		      <0x00000000 0x05f00000 0x00000000 0x00001000>,
41330fd87cSJohn Stultz		      <0x00000000 0x05f02000 0x00000000 0x00efd000>,
426da3aba6SLeo Yan		      <0x00000000 0x06e00000 0x00000000 0x0060f000>,
436da3aba6SLeo Yan		      <0x00000000 0x07410000 0x00000000 0x36bf0000>;
4486e8f528SBintian Wang	};
4560dac1b1SZhong Kaihua
46330fd87cSJohn Stultz	reboot-mode-syscon@5f01000 {
47330fd87cSJohn Stultz		compatible = "syscon", "simple-mfd";
48330fd87cSJohn Stultz		reg = <0x0 0x05f01000 0x0 0x00001000>;
49330fd87cSJohn Stultz
50330fd87cSJohn Stultz		reboot-mode {
51330fd87cSJohn Stultz			compatible = "syscon-reboot-mode";
52330fd87cSJohn Stultz			offset = <0x0>;
53330fd87cSJohn Stultz
54330fd87cSJohn Stultz			mode-normal	= <0x77665501>;
55330fd87cSJohn Stultz			mode-bootloader	= <0x77665500>;
56330fd87cSJohn Stultz			mode-recovery	= <0x77665502>;
57330fd87cSJohn Stultz		};
58330fd87cSJohn Stultz	};
59330fd87cSJohn Stultz
6060dac1b1SZhong Kaihua	soc {
6160dac1b1SZhong Kaihua		spi0: spi@f7106000 {
6260dac1b1SZhong Kaihua			status = "ok";
6360dac1b1SZhong Kaihua		};
640c231751SGuodong Xu
650c231751SGuodong Xu		i2c0: i2c@f7100000 {
660c231751SGuodong Xu			status = "ok";
670c231751SGuodong Xu		};
680c231751SGuodong Xu
690c231751SGuodong Xu		i2c1: i2c@f7101000 {
700c231751SGuodong Xu			status = "ok";
710c231751SGuodong Xu		};
72c2aad932SGuodong Xu
73c2aad932SGuodong Xu		uart1: uart@f7111000 {
741b9c7b2dSJorge Ramirez-Ortiz			assigned-clocks = <&sys_ctrl HI6220_UART1_SRC>;
751b9c7b2dSJorge Ramirez-Ortiz			assigned-clock-rates = <150000000>;
76c2aad932SGuodong Xu			status = "ok";
77c2aad932SGuodong Xu		};
78c2aad932SGuodong Xu
79c2aad932SGuodong Xu		uart2: uart@f7112000 {
80c2aad932SGuodong Xu			status = "ok";
81c2aad932SGuodong Xu		};
82c2aad932SGuodong Xu
83c2aad932SGuodong Xu		uart3: uart@f7113000 {
84c2aad932SGuodong Xu			status = "ok";
85c2aad932SGuodong Xu		};
86841478d4SGuodong Xu
87bbaf867eSLinus Walleij		/*
88bbaf867eSLinus Walleij		 * Legend: proper name = the GPIO line is used as GPIO
89bbaf867eSLinus Walleij		 *         NC = not connected (not routed from the SoC)
90bbaf867eSLinus Walleij		 *         "[PER]" = pin is muxed for peripheral (not GPIO)
91bbaf867eSLinus Walleij		 *         "" = no idea, schematic doesn't say, could be
92bbaf867eSLinus Walleij		 *              unrouted (not connected to any external pin)
93bbaf867eSLinus Walleij		 *         LSEC = Low Speed External Connector
94bbaf867eSLinus Walleij		 *         HSEC = High Speed External Connector
95bbaf867eSLinus Walleij		 *
96bbaf867eSLinus Walleij		 * Pin assignments taken from LeMaker and CircuitCo Schematics
97bbaf867eSLinus Walleij		 * Rev A1.
98bbaf867eSLinus Walleij		 *
99bbaf867eSLinus Walleij		 * For the lines routed to the external connectors the
100bbaf867eSLinus Walleij		 * lines are named after the 96Boards CE Specification 1.0,
101bbaf867eSLinus Walleij		 * Appendix "Expansion Connector Signal Description".
102bbaf867eSLinus Walleij		 *
103bbaf867eSLinus Walleij		 * When the 96Board naming of a line and the schematic name of
104bbaf867eSLinus Walleij		 * the same line are in conflict, the 96Board specification
105bbaf867eSLinus Walleij		 * takes precedence, which means that the external UART on the
106bbaf867eSLinus Walleij		 * LSEC is named UART0 while the schematic and SoC names this
107bbaf867eSLinus Walleij		 * UART2. This is only for the informational lines i.e. "[FOO]",
108bbaf867eSLinus Walleij		 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
109bbaf867eSLinus Walleij		 * ones actually used for GPIO.
110bbaf867eSLinus Walleij		 */
111bbaf867eSLinus Walleij		gpio0: gpio@f8011000 {
112bbaf867eSLinus Walleij			gpio-line-names = "PWR_HOLD", "DSI_SEL",
113bbaf867eSLinus Walleij			"USB_HUB_RESET_N", "USB_SEL", "HDMI_PD", "WL_REG_ON",
114bbaf867eSLinus Walleij			"PWRON_DET", "5V_HUB_EN";
115bbaf867eSLinus Walleij		};
116bbaf867eSLinus Walleij
117bbaf867eSLinus Walleij		gpio1: gpio@f8012000 {
118bbaf867eSLinus Walleij			gpio-line-names = "SD_DET", "HDMI_INT", "PMU_IRQ_N",
119bbaf867eSLinus Walleij			"WL_HOST_WAKE", "NC", "NC", "NC", "BT_REG_ON";
120bbaf867eSLinus Walleij		};
121bbaf867eSLinus Walleij
122bbaf867eSLinus Walleij		gpio2: gpio@f8013000 {
123bbaf867eSLinus Walleij			gpio-line-names =
124bbaf867eSLinus Walleij				"GPIO-A", /* LSEC Pin 23: GPIO2_0 */
125bbaf867eSLinus Walleij				"GPIO-B", /* LSEC Pin 24: GPIO2_1 */
126bbaf867eSLinus Walleij				"GPIO-C", /* LSEC Pin 25: GPIO2_2 */
127bbaf867eSLinus Walleij				"GPIO-D", /* LSEC Pin 26: GPIO2_3 */
128bbaf867eSLinus Walleij				"GPIO-E", /* LSEC Pin 27: GPIO2_4 */
129bbaf867eSLinus Walleij				"USB_ID_DET", "USB_VBUS_DET",
130bbaf867eSLinus Walleij				"GPIO-H"; /* LSEC Pin 30: GPIO2_7 */
131bbaf867eSLinus Walleij		};
132bbaf867eSLinus Walleij
133bbaf867eSLinus Walleij		gpio3: gpio@f8014000 {
134bbaf867eSLinus Walleij			gpio-line-names = "GPIO3_0", "NC", "NC", "", "NC", "",
135bbaf867eSLinus Walleij			"WLAN_ACTIVE", "NC", "NC";
136bbaf867eSLinus Walleij		};
137bbaf867eSLinus Walleij
138bbaf867eSLinus Walleij		gpio4: gpio@f7020000 {
139bbaf867eSLinus Walleij			gpio-line-names = "USER_LED1", "USER_LED2", "USER_LED3",
140bbaf867eSLinus Walleij			"USER_LED4", "SD_SEL", "NC", "NC", "BT_ACTIVE";
141bbaf867eSLinus Walleij		};
142bbaf867eSLinus Walleij
143bbaf867eSLinus Walleij		gpio5: gpio@f7021000 {
144bbaf867eSLinus Walleij			gpio-line-names = "NC", "NC",
145bbaf867eSLinus Walleij			"[UART1_RxD]", /* LSEC Pin 11: UART3_RX */
146bbaf867eSLinus Walleij			"[UART1_TxD]", /* LSEC Pin 13: UART3_TX */
147bbaf867eSLinus Walleij			"[AUX_SSI1]", "NC",
148bbaf867eSLinus Walleij			"[PCM_CLK]", /* LSEC Pin 18: MODEM_PCM_XCLK */
149bbaf867eSLinus Walleij			"[PCM_FS]"; /* LSEC Pin 16: MODEM_PCM_XFS */
150bbaf867eSLinus Walleij		};
151bbaf867eSLinus Walleij
152bbaf867eSLinus Walleij		gpio6: gpio@f7022000 {
153bbaf867eSLinus Walleij			gpio-line-names =
154bbaf867eSLinus Walleij			"[SPI0_DIN]", /* Pin 10: SPI0_DI */
155bbaf867eSLinus Walleij			"[SPI0_DOUT]", /* Pin 14: SPI0_DO */
156bbaf867eSLinus Walleij			"[SPI0_CS]", /* Pin 12: SPI0_CS_N */
157bbaf867eSLinus Walleij			"[SPI0_SCLK]", /* Pin 8: SPI0_SCLK */
158bbaf867eSLinus Walleij			"NC", "NC", "NC",
159bbaf867eSLinus Walleij			"GPIO-G"; /* Pin 29: GPIO6_7_DSI_TE0 */
160bbaf867eSLinus Walleij		};
161bbaf867eSLinus Walleij
162bbaf867eSLinus Walleij		gpio7: gpio@f7023000 {
163bbaf867eSLinus Walleij			gpio-line-names = "NC", "NC", "NC", "NC",
164bbaf867eSLinus Walleij			"[PCM_DI]", /* Pin 22: MODEM_PCM_DI */
165bbaf867eSLinus Walleij			"[PCM_DO]", /* Pin 20: MODEM_PCM_DO */
166bbaf867eSLinus Walleij			"NC", "NC";
167bbaf867eSLinus Walleij		};
168bbaf867eSLinus Walleij
169bbaf867eSLinus Walleij		gpio8: gpio@f7024000 {
170bbaf867eSLinus Walleij			gpio-line-names = "NC", "[CEC_CLK_19_2MHZ]", "NC",
171bbaf867eSLinus Walleij			"", "", "", "", "", "";
172bbaf867eSLinus Walleij		};
173bbaf867eSLinus Walleij
174bbaf867eSLinus Walleij		gpio9: gpio@f7025000 {
175bbaf867eSLinus Walleij			gpio-line-names = "",
176bbaf867eSLinus Walleij			"GPIO-J", /* LSEC Pin 32: ISP_PWDN0_GPIO9_1 */
177bbaf867eSLinus Walleij			"GPIO-L", /* LSEC Pin 34: ISP_PWDN1_GPIO9_2 */
178bbaf867eSLinus Walleij			"NC", "NC", "NC", "NC", "[ISP_CCLK0]";
179bbaf867eSLinus Walleij		};
180bbaf867eSLinus Walleij
181bbaf867eSLinus Walleij		gpio10: gpio@f7026000 {
182bbaf867eSLinus Walleij			gpio-line-names = "BOOT_SEL",
183bbaf867eSLinus Walleij			"[ISP_CCLK1]",
184bbaf867eSLinus Walleij			"GPIO-I", /* LSEC Pin 31: ISP_RSTB0_GPIO10_2 */
185bbaf867eSLinus Walleij			"GPIO-K", /* LSEC Pin 33: ISP_RSTB1_GPIO10_3 */
186bbaf867eSLinus Walleij			"NC", "NC",
187bbaf867eSLinus Walleij			"[I2C2_SDA]", /* HSEC Pin 34: ISP0_SDA */
188bbaf867eSLinus Walleij			"[I2C2_SCL]"; /* HSEC Pin 32: ISP0_SCL */
189bbaf867eSLinus Walleij		};
190bbaf867eSLinus Walleij
191bbaf867eSLinus Walleij		gpio11: gpio@f7027000 {
192bbaf867eSLinus Walleij			gpio-line-names =
193bbaf867eSLinus Walleij			"[I2C3_SDA]", /* HSEC Pin 38: ISP1_SDA */
194bbaf867eSLinus Walleij			"[I2C3_SCL]", /* HSEC Pin 36: ISP1_SCL */
195bbaf867eSLinus Walleij			"", "NC", "NC", "NC", "", "";
196bbaf867eSLinus Walleij		};
197bbaf867eSLinus Walleij
198bbaf867eSLinus Walleij		gpio12: gpio@f7028000 {
199bbaf867eSLinus Walleij			gpio-line-names = "[BT_PCM_XFS]", "[BT_PCM_DI]",
200bbaf867eSLinus Walleij			"[BT_PCM_DO]",
201bbaf867eSLinus Walleij			"NC", "NC", "NC", "NC",
202bbaf867eSLinus Walleij			"GPIO-F"; /* LSEC Pin 28: BL_PWM_GPIO12_7 */
203bbaf867eSLinus Walleij		};
204bbaf867eSLinus Walleij
205bbaf867eSLinus Walleij		gpio13: gpio@f7029000 {
206bbaf867eSLinus Walleij			gpio-line-names = "[UART0_RX]", "[UART0_TX]",
207bbaf867eSLinus Walleij			"[BT_UART1_CTS]", "[BT_UART1_RTS]",
208bbaf867eSLinus Walleij			"[BT_UART1_RX]", "[BT_UART1_TX]",
209bbaf867eSLinus Walleij			"[UART0_CTS]", /* LSEC Pin 3: UART2_CTS_N */
210bbaf867eSLinus Walleij			"[UART0_RTS]"; /* LSEC Pin 9: UART2_RTS_N */
211bbaf867eSLinus Walleij		};
212bbaf867eSLinus Walleij
213bbaf867eSLinus Walleij		gpio14: gpio@f702a000 {
214bbaf867eSLinus Walleij			gpio-line-names =
215bbaf867eSLinus Walleij			"[UART0_RxD]", /* LSEC Pin 7: UART2_RX */
216bbaf867eSLinus Walleij			"[UART0_TxD]", /* LSEC Pin 5: UART2_TX */
217bbaf867eSLinus Walleij			"[I2C0_SCL]", /* LSEC Pin 15: I2C0_SCL */
218bbaf867eSLinus Walleij			"[I2C0_SDA]", /* LSEC Pin 17: I2C0_SDA */
219bbaf867eSLinus Walleij			"[I2C1_SCL]", /* LSEC Pin 19: I2C1_SCL */
220bbaf867eSLinus Walleij			"[I2C1_SDA]", /* LSEC Pin 21: I2C1_SDA */
221bbaf867eSLinus Walleij			"[I2C2_SCL]", "[I2C2_SDA]";
222bbaf867eSLinus Walleij		};
223bbaf867eSLinus Walleij
224bbaf867eSLinus Walleij		gpio15: gpio@f702b000 {
225bbaf867eSLinus Walleij			gpio-line-names = "", "", "", "", "", "", "NC", "";
226bbaf867eSLinus Walleij		};
227bbaf867eSLinus Walleij
228bbaf867eSLinus Walleij		/* GPIO blocks 16 thru 19 do not appear to be routed to pins */
229bbaf867eSLinus Walleij
230841478d4SGuodong Xu		dwmmc_2: dwmmc2@f723f000 {
231841478d4SGuodong Xu			ti,non-removable;
232841478d4SGuodong Xu			non-removable;
233841478d4SGuodong Xu			/* WL_EN */
234841478d4SGuodong Xu			vmmc-supply = <&wlan_en_reg>;
235841478d4SGuodong Xu
236841478d4SGuodong Xu			#address-cells = <0x1>;
237841478d4SGuodong Xu			#size-cells = <0x0>;
238841478d4SGuodong Xu			wlcore: wlcore@2 {
239841478d4SGuodong Xu				compatible = "ti,wl1835";
240841478d4SGuodong Xu				reg = <2>;	/* sdio func num */
241841478d4SGuodong Xu				/* WL_IRQ, WL_HOST_WAKE_GPIO1_3 */
242841478d4SGuodong Xu				interrupt-parent = <&gpio1>;
243841478d4SGuodong Xu				interrupts = <3 IRQ_TYPE_EDGE_RISING>;
244841478d4SGuodong Xu			};
245841478d4SGuodong Xu		};
246841478d4SGuodong Xu
247841478d4SGuodong Xu		wlan_en_reg: regulator@1 {
248841478d4SGuodong Xu			compatible = "regulator-fixed";
249841478d4SGuodong Xu			regulator-name = "wlan-en-regulator";
250841478d4SGuodong Xu			regulator-min-microvolt = <1800000>;
251841478d4SGuodong Xu			regulator-max-microvolt = <1800000>;
252841478d4SGuodong Xu			/* WLAN_EN GPIO */
253841478d4SGuodong Xu			gpio = <&gpio0 5 0>;
254841478d4SGuodong Xu			/* WLAN card specific delay */
255841478d4SGuodong Xu			startup-delay-us = <70000>;
256841478d4SGuodong Xu			enable-active-high;
257841478d4SGuodong Xu		};
25860dac1b1SZhong Kaihua	};
259ad05f38bSGuodong Xu
260ad05f38bSGuodong Xu	leds {
261ad05f38bSGuodong Xu		compatible = "gpio-leds";
262ad05f38bSGuodong Xu		user_led4 {
263ad05f38bSGuodong Xu			label = "user_led4";
264ad05f38bSGuodong Xu			gpios = <&gpio4 0 0>; /* <&gpio_user_led_1>; */
265ad05f38bSGuodong Xu			linux,default-trigger = "heartbeat";
266ad05f38bSGuodong Xu		};
267ad05f38bSGuodong Xu
268ad05f38bSGuodong Xu		user_led3 {
269ad05f38bSGuodong Xu			label = "user_led3";
270ad05f38bSGuodong Xu			gpios = <&gpio4 1 0>; /* <&gpio_user_led_2>; */
271ad05f38bSGuodong Xu			linux,default-trigger = "mmc0";
272ad05f38bSGuodong Xu		};
273ad05f38bSGuodong Xu
274ad05f38bSGuodong Xu		user_led2 {
275ad05f38bSGuodong Xu			label = "user_led2";
276ad05f38bSGuodong Xu			gpios = <&gpio4 2 0>; /* <&gpio_user_led_3>; */
277ad05f38bSGuodong Xu			linux,default-trigger = "mmc1";
278ad05f38bSGuodong Xu		};
279ad05f38bSGuodong Xu
280ad05f38bSGuodong Xu		user_led1 {
281ad05f38bSGuodong Xu			label = "user_led1";
282ad05f38bSGuodong Xu			gpios = <&gpio4 3 0>; /* <&gpio_user_led_4>; */
283ad05f38bSGuodong Xu			linux,default-trigger = "cpu0";
284ad05f38bSGuodong Xu		};
285ad05f38bSGuodong Xu
286ad05f38bSGuodong Xu		wlan_active_led {
287ad05f38bSGuodong Xu			label = "wifi_active";
288ad05f38bSGuodong Xu			gpios = <&gpio3 5 0>; /* <&gpio_wlan_active_led>; */
289ad05f38bSGuodong Xu			linux,default-trigger = "phy0tx";
290ad05f38bSGuodong Xu			default-state = "off";
291ad05f38bSGuodong Xu		};
292ad05f38bSGuodong Xu
293ad05f38bSGuodong Xu		bt_active_led {
294ad05f38bSGuodong Xu			label = "bt_active";
295ad05f38bSGuodong Xu			gpios = <&gpio4 7 0>; /* <&gpio_bt_active_led>; */
296ad05f38bSGuodong Xu			linux,default-trigger = "hci0rx";
297ad05f38bSGuodong Xu			default-state = "off";
298ad05f38bSGuodong Xu		};
299ad05f38bSGuodong Xu	};
300a817137aSChen Feng
301a817137aSChen Feng	pmic: pmic@f8000000 {
302a817137aSChen Feng		compatible = "hisilicon,hi655x-pmic";
303a817137aSChen Feng		reg = <0x0 0xf8000000 0x0 0x1000>;
304a817137aSChen Feng		interrupt-controller;
305a817137aSChen Feng		#interrupt-cells = <2>;
306a817137aSChen Feng		pmic-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
307a817137aSChen Feng
308a817137aSChen Feng		regulators {
309a817137aSChen Feng			ldo2: LDO2 {
310a817137aSChen Feng				regulator-name = "LDO2_2V8";
311a817137aSChen Feng				regulator-min-microvolt = <2500000>;
312a817137aSChen Feng				regulator-max-microvolt = <3200000>;
313a817137aSChen Feng				regulator-enable-ramp-delay = <120>;
314a817137aSChen Feng			};
315a817137aSChen Feng
316a817137aSChen Feng			ldo7: LDO7 {
317a817137aSChen Feng				regulator-name = "LDO7_SDIO";
318a817137aSChen Feng				regulator-min-microvolt = <1800000>;
319a817137aSChen Feng				regulator-max-microvolt = <3300000>;
320a817137aSChen Feng				regulator-enable-ramp-delay = <120>;
321a817137aSChen Feng			};
322a817137aSChen Feng
323a817137aSChen Feng			ldo10: LDO10 {
324a817137aSChen Feng				regulator-name = "LDO10_2V85";
325a817137aSChen Feng				regulator-min-microvolt = <1800000>;
326a817137aSChen Feng				regulator-max-microvolt = <3000000>;
327a817137aSChen Feng				regulator-enable-ramp-delay = <360>;
328a817137aSChen Feng			};
329a817137aSChen Feng
330a817137aSChen Feng			ldo13: LDO13 {
331a817137aSChen Feng				regulator-name = "LDO13_1V8";
332a817137aSChen Feng				regulator-min-microvolt = <1600000>;
333a817137aSChen Feng				regulator-max-microvolt = <1950000>;
334a817137aSChen Feng				regulator-enable-ramp-delay = <120>;
335a817137aSChen Feng			};
336a817137aSChen Feng
337a817137aSChen Feng			ldo14: LDO14 {
338a817137aSChen Feng				regulator-name = "LDO14_2V8";
339a817137aSChen Feng				regulator-min-microvolt = <2500000>;
340a817137aSChen Feng				regulator-max-microvolt = <3200000>;
341a817137aSChen Feng				regulator-enable-ramp-delay = <120>;
342a817137aSChen Feng			};
343a817137aSChen Feng
344a817137aSChen Feng			ldo15: LDO15 {
345a817137aSChen Feng				regulator-name = "LDO15_1V8";
346a817137aSChen Feng				regulator-min-microvolt = <1600000>;
347a817137aSChen Feng				regulator-max-microvolt = <1950000>;
348a817137aSChen Feng				regulator-boot-on;
349a817137aSChen Feng				regulator-always-on;
350a817137aSChen Feng				regulator-enable-ramp-delay = <120>;
351a817137aSChen Feng			};
352a817137aSChen Feng
353a817137aSChen Feng			ldo17: LDO17 {
354a817137aSChen Feng				regulator-name = "LDO17_2V5";
355a817137aSChen Feng				regulator-min-microvolt = <2500000>;
356a817137aSChen Feng				regulator-max-microvolt = <3200000>;
357a817137aSChen Feng				regulator-enable-ramp-delay = <120>;
358a817137aSChen Feng			};
359a817137aSChen Feng
360a817137aSChen Feng			ldo19: LDO19 {
361a817137aSChen Feng				regulator-name = "LDO19_3V0";
362a817137aSChen Feng				regulator-min-microvolt = <1800000>;
363a817137aSChen Feng				regulator-max-microvolt = <3000000>;
364a817137aSChen Feng				regulator-enable-ramp-delay = <360>;
365a817137aSChen Feng			};
366a817137aSChen Feng
367a817137aSChen Feng			ldo21: LDO21 {
368a817137aSChen Feng				regulator-name = "LDO21_1V8";
369a817137aSChen Feng				regulator-min-microvolt = <1650000>;
370a817137aSChen Feng				regulator-max-microvolt = <2000000>;
371a817137aSChen Feng				regulator-always-on;
372a817137aSChen Feng				regulator-enable-ramp-delay = <120>;
373a817137aSChen Feng			};
374a817137aSChen Feng
375a817137aSChen Feng			ldo22: LDO22 {
376a817137aSChen Feng				regulator-name = "LDO22_1V2";
377a817137aSChen Feng				regulator-min-microvolt = <900000>;
378a817137aSChen Feng				regulator-max-microvolt = <1200000>;
379a817137aSChen Feng				regulator-boot-on;
380a817137aSChen Feng				regulator-always-on;
381a817137aSChen Feng				regulator-enable-ramp-delay = <120>;
382a817137aSChen Feng			};
383a817137aSChen Feng		};
384a817137aSChen Feng	};
38586e8f528SBintian Wang};
386dd90caacSRob Herring
387dd90caacSRob Herring&uart2 {
388dd90caacSRob Herring	label = "LS-UART0";
389dd90caacSRob Herring};
390dd90caacSRob Herring&uart3 {
391dd90caacSRob Herring	label = "LS-UART1";
392dd90caacSRob Herring};
3933814b61bSXinliang Liu
3943814b61bSXinliang Liu&ade {
3953814b61bSXinliang Liu	status = "ok";
3963814b61bSXinliang Liu};
3973814b61bSXinliang Liu
3983814b61bSXinliang Liu&dsi {
3993814b61bSXinliang Liu	status = "ok";
400b77c23a0SXinliang Liu
401b77c23a0SXinliang Liu	ports {
402b77c23a0SXinliang Liu		/* 1 for output port */
403b77c23a0SXinliang Liu		port@1 {
404b77c23a0SXinliang Liu			reg = <1>;
405b77c23a0SXinliang Liu
406b77c23a0SXinliang Liu			dsi_out0: endpoint@0 {
407b77c23a0SXinliang Liu				remote-endpoint = <&adv7533_in>;
408b77c23a0SXinliang Liu			};
409b77c23a0SXinliang Liu		};
410b77c23a0SXinliang Liu	};
411b77c23a0SXinliang Liu};
412b77c23a0SXinliang Liu
413b77c23a0SXinliang Liu&i2c2 {
414b77c23a0SXinliang Liu	#address-cells = <1>;
415b77c23a0SXinliang Liu	#size-cells = <0>;
416b77c23a0SXinliang Liu	status = "ok";
417b77c23a0SXinliang Liu
418b77c23a0SXinliang Liu	adv7533: adv7533@39 {
419b77c23a0SXinliang Liu		compatible = "adi,adv7533";
420b77c23a0SXinliang Liu		reg = <0x39>;
421b77c23a0SXinliang Liu		interrupt-parent = <&gpio1>;
422b77c23a0SXinliang Liu		interrupts = <1 2>;
423b77c23a0SXinliang Liu		pd-gpio = <&gpio0 4 0>;
424b77c23a0SXinliang Liu		adi,dsi-lanes = <4>;
425b77c23a0SXinliang Liu
426b77c23a0SXinliang Liu		port {
427b77c23a0SXinliang Liu			adv7533_in: endpoint {
428b77c23a0SXinliang Liu				remote-endpoint = <&dsi_out0>;
429b77c23a0SXinliang Liu			};
430b77c23a0SXinliang Liu		};
431b77c23a0SXinliang Liu	};
4323814b61bSXinliang Liu};
433