xref: /freebsd-src/sys/contrib/device-tree/src/arm/rockchip/rk3188-bqedison2qc.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright (c) 2018 MundoReader S.L.
4*f126890aSEmmanuel Vadot * Author:  Heiko Stuebner <heiko.stuebner@bq.com>
5*f126890aSEmmanuel Vadot */
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot/dts-v1/;
8*f126890aSEmmanuel Vadot#include <dt-bindings/i2c/i2c.h>
9*f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
10*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
11*f126890aSEmmanuel Vadot#include "rk3188.dtsi"
12*f126890aSEmmanuel Vadot
13*f126890aSEmmanuel Vadot/ {
14*f126890aSEmmanuel Vadot	model = "BQ Edison2 Quad-Core";
15*f126890aSEmmanuel Vadot	compatible = "mundoreader,bq-edison2qc", "rockchip,rk3188";
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot	aliases {
18*f126890aSEmmanuel Vadot		mmc0 = &mmc0;
19*f126890aSEmmanuel Vadot		mmc1 = &mmc1;
20*f126890aSEmmanuel Vadot		mmc2 = &emmc;
21*f126890aSEmmanuel Vadot	};
22*f126890aSEmmanuel Vadot
23*f126890aSEmmanuel Vadot	memory@60000000 {
24*f126890aSEmmanuel Vadot		device_type = "memory";
25*f126890aSEmmanuel Vadot		reg = <0x60000000 0x80000000>;
26*f126890aSEmmanuel Vadot	};
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadot	backlight: backlight {
29*f126890aSEmmanuel Vadot		compatible = "pwm-backlight";
30*f126890aSEmmanuel Vadot		power-supply = <&vsys>;
31*f126890aSEmmanuel Vadot		pwms = <&pwm1 0 25000>;
32*f126890aSEmmanuel Vadot	};
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot	gpio-keys {
35*f126890aSEmmanuel Vadot		compatible = "gpio-keys";
36*f126890aSEmmanuel Vadot		autorepeat;
37*f126890aSEmmanuel Vadot		pinctrl-names = "default";
38*f126890aSEmmanuel Vadot		pinctrl-0 = <&pwr_key &usb_int>;
39*f126890aSEmmanuel Vadot
40*f126890aSEmmanuel Vadot		key-power {
41*f126890aSEmmanuel Vadot			gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
42*f126890aSEmmanuel Vadot			linux,code = <KEY_POWER>;
43*f126890aSEmmanuel Vadot			label = "GPIO Key Power";
44*f126890aSEmmanuel Vadot			linux,input-type = <1>;
45*f126890aSEmmanuel Vadot			debounce-interval = <100>;
46*f126890aSEmmanuel Vadot			wakeup-source;
47*f126890aSEmmanuel Vadot		};
48*f126890aSEmmanuel Vadot
49*f126890aSEmmanuel Vadot		wake_on_usb: key-wake-on-usb {
50*f126890aSEmmanuel Vadot			label = "Wake-on-USB";
51*f126890aSEmmanuel Vadot			gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
52*f126890aSEmmanuel Vadot			linux,code = <KEY_WAKEUP>;
53*f126890aSEmmanuel Vadot			wakeup-source;
54*f126890aSEmmanuel Vadot		};
55*f126890aSEmmanuel Vadot	};
56*f126890aSEmmanuel Vadot
57*f126890aSEmmanuel Vadot	gpio-poweroff {
58*f126890aSEmmanuel Vadot		compatible = "gpio-poweroff";
59*f126890aSEmmanuel Vadot		gpios = <&gpio0 RK_PA0 GPIO_ACTIVE_LOW>;
60*f126890aSEmmanuel Vadot		pinctrl-names = "default";
61*f126890aSEmmanuel Vadot		pinctrl-0 = <&pwr_hold>;
62*f126890aSEmmanuel Vadot		/* only drive the pin low until device is off */
63*f126890aSEmmanuel Vadot		active-delay-ms = <3000>;
64*f126890aSEmmanuel Vadot	};
65*f126890aSEmmanuel Vadot
66*f126890aSEmmanuel Vadot	lvds-encoder {
67*f126890aSEmmanuel Vadot		compatible = "ti,sn75lvds83", "lvds-encoder";
68*f126890aSEmmanuel Vadot
69*f126890aSEmmanuel Vadot		ports {
70*f126890aSEmmanuel Vadot			#address-cells = <1>;
71*f126890aSEmmanuel Vadot			#size-cells = <0>;
72*f126890aSEmmanuel Vadot
73*f126890aSEmmanuel Vadot			port@0 {
74*f126890aSEmmanuel Vadot				reg = <0>;
75*f126890aSEmmanuel Vadot
76*f126890aSEmmanuel Vadot				lvds_in_vop0: endpoint {
77*f126890aSEmmanuel Vadot					remote-endpoint = <&vop0_out_lvds>;
78*f126890aSEmmanuel Vadot				};
79*f126890aSEmmanuel Vadot			};
80*f126890aSEmmanuel Vadot
81*f126890aSEmmanuel Vadot			port@1 {
82*f126890aSEmmanuel Vadot				reg = <1>;
83*f126890aSEmmanuel Vadot
84*f126890aSEmmanuel Vadot				lvds_out_panel: endpoint {
85*f126890aSEmmanuel Vadot					remote-endpoint = <&panel_in_lvds>;
86*f126890aSEmmanuel Vadot				};
87*f126890aSEmmanuel Vadot			};
88*f126890aSEmmanuel Vadot		};
89*f126890aSEmmanuel Vadot	};
90*f126890aSEmmanuel Vadot
91*f126890aSEmmanuel Vadot	panel {
92*f126890aSEmmanuel Vadot		compatible = "innolux,ee101ia-01d", "panel-lvds";
93*f126890aSEmmanuel Vadot		backlight = <&backlight>;
94*f126890aSEmmanuel Vadot
95*f126890aSEmmanuel Vadot		/* pin LCD_CS, Nshtdn input of lvds-encoder */
96*f126890aSEmmanuel Vadot		enable-gpios = <&gpio3 RK_PD6 GPIO_ACTIVE_HIGH>;
97*f126890aSEmmanuel Vadot		pinctrl-names = "default";
98*f126890aSEmmanuel Vadot		pinctrl-0 = <&lcd_cs>;
99*f126890aSEmmanuel Vadot		power-supply = <&vcc_lcd>;
100*f126890aSEmmanuel Vadot
101*f126890aSEmmanuel Vadot		data-mapping = "vesa-24";
102*f126890aSEmmanuel Vadot		height-mm = <163>;
103*f126890aSEmmanuel Vadot		width-mm = <261>;
104*f126890aSEmmanuel Vadot
105*f126890aSEmmanuel Vadot		panel-timing {
106*f126890aSEmmanuel Vadot			clock-frequency = <72000000>;
107*f126890aSEmmanuel Vadot			hactive = <1280>;
108*f126890aSEmmanuel Vadot			vactive = <800>;
109*f126890aSEmmanuel Vadot			hback-porch = <160>;
110*f126890aSEmmanuel Vadot			hfront-porch = <16>;
111*f126890aSEmmanuel Vadot			hsync-len = <10>;
112*f126890aSEmmanuel Vadot			vback-porch = <23>;
113*f126890aSEmmanuel Vadot			vfront-porch = <12>;
114*f126890aSEmmanuel Vadot			vsync-len = <3>;
115*f126890aSEmmanuel Vadot		};
116*f126890aSEmmanuel Vadot
117*f126890aSEmmanuel Vadot		port {
118*f126890aSEmmanuel Vadot			panel_in_lvds: endpoint {
119*f126890aSEmmanuel Vadot				remote-endpoint = <&lvds_out_panel>;
120*f126890aSEmmanuel Vadot			};
121*f126890aSEmmanuel Vadot		};
122*f126890aSEmmanuel Vadot	};
123*f126890aSEmmanuel Vadot
124*f126890aSEmmanuel Vadot	sdio_pwrseq: sdio-pwrseq {
125*f126890aSEmmanuel Vadot		compatible = "mmc-pwrseq-simple";
126*f126890aSEmmanuel Vadot		clocks = <&hym8563>;
127*f126890aSEmmanuel Vadot		clock-names = "ext_clock";
128*f126890aSEmmanuel Vadot		pinctrl-names = "default";
129*f126890aSEmmanuel Vadot		pinctrl-0 = <&wifi_reg_on>;
130*f126890aSEmmanuel Vadot		reset-gpios = <&gpio3 RK_PD0 GPIO_ACTIVE_LOW>;
131*f126890aSEmmanuel Vadot	};
132*f126890aSEmmanuel Vadot
133*f126890aSEmmanuel Vadot	avdd_cif: cif-avdd-regulator {
134*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
135*f126890aSEmmanuel Vadot		regulator-name = "avdd-cif";
136*f126890aSEmmanuel Vadot		regulator-min-microvolt = <2800000>;
137*f126890aSEmmanuel Vadot		regulator-max-microvolt = <2800000>;
138*f126890aSEmmanuel Vadot		gpio = <&gpio1 RK_PA6 GPIO_ACTIVE_LOW>;
139*f126890aSEmmanuel Vadot		pinctrl-names = "default";
140*f126890aSEmmanuel Vadot		pinctrl-0 = <&cif_avdd_en>;
141*f126890aSEmmanuel Vadot		startup-delay-us = <100000>;
142*f126890aSEmmanuel Vadot		vin-supply = <&vcc28_cif>;
143*f126890aSEmmanuel Vadot	};
144*f126890aSEmmanuel Vadot
145*f126890aSEmmanuel Vadot	vcc_5v: vcc-5v-regulator {
146*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
147*f126890aSEmmanuel Vadot		regulator-name = "vcc-5v";
148*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
149*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
150*f126890aSEmmanuel Vadot		enable-active-high;
151*f126890aSEmmanuel Vadot		gpio = <&gpio0 RK_PA3 GPIO_ACTIVE_HIGH>;
152*f126890aSEmmanuel Vadot		pinctrl-names = "default";
153*f126890aSEmmanuel Vadot		pinctrl-0 = <&v5_drv>;
154*f126890aSEmmanuel Vadot		vin-supply = <&vsys>;
155*f126890aSEmmanuel Vadot	};
156*f126890aSEmmanuel Vadot
157*f126890aSEmmanuel Vadot	vcc_lcd: lcd-regulator {
158*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
159*f126890aSEmmanuel Vadot		regulator-name = "vcc-lcd";
160*f126890aSEmmanuel Vadot		gpio = <&gpio0 RK_PB0 GPIO_ACTIVE_LOW>;
161*f126890aSEmmanuel Vadot		pinctrl-names = "default";
162*f126890aSEmmanuel Vadot		pinctrl-0 = <&lcd_en>;
163*f126890aSEmmanuel Vadot		startup-delay-us = <50000>;
164*f126890aSEmmanuel Vadot		vin-supply = <&vcc_io>;
165*f126890aSEmmanuel Vadot	};
166*f126890aSEmmanuel Vadot
167*f126890aSEmmanuel Vadot	vcc_otg: usb-otg-regulator {
168*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
169*f126890aSEmmanuel Vadot		regulator-name = "vcc-otg";
170*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
171*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
172*f126890aSEmmanuel Vadot		enable-active-high;
173*f126890aSEmmanuel Vadot		gpio = <&gpio3 RK_PB1 GPIO_ACTIVE_HIGH>;
174*f126890aSEmmanuel Vadot		pinctrl-names = "default";
175*f126890aSEmmanuel Vadot		pinctrl-0 = <&otg_drv>;
176*f126890aSEmmanuel Vadot		startup-delay-us = <100000>;
177*f126890aSEmmanuel Vadot		vin-supply = <&vcc_5v>;
178*f126890aSEmmanuel Vadot	};
179*f126890aSEmmanuel Vadot
180*f126890aSEmmanuel Vadot	vcc_sd: sdmmc-regulator {
181*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
182*f126890aSEmmanuel Vadot		regulator-name = "vcc-sd";
183*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
184*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
185*f126890aSEmmanuel Vadot		gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_LOW>;
186*f126890aSEmmanuel Vadot		pinctrl-names = "default";
187*f126890aSEmmanuel Vadot		pinctrl-0 = <&sdmmc_pwr>;
188*f126890aSEmmanuel Vadot		startup-delay-us = <100000>;
189*f126890aSEmmanuel Vadot		vin-supply = <&vcc_io>;
190*f126890aSEmmanuel Vadot	};
191*f126890aSEmmanuel Vadot
192*f126890aSEmmanuel Vadot	vccq_emmc: emmc-vccq-regulator {
193*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
194*f126890aSEmmanuel Vadot		regulator-name = "vccq-emmc";
195*f126890aSEmmanuel Vadot		regulator-min-microvolt = <2800000>;
196*f126890aSEmmanuel Vadot		regulator-max-microvolt = <2800000>;
197*f126890aSEmmanuel Vadot		vin-supply = <&vcc_io>;
198*f126890aSEmmanuel Vadot	};
199*f126890aSEmmanuel Vadot
200*f126890aSEmmanuel Vadot	/* supplied from the bq24196 */
201*f126890aSEmmanuel Vadot	vsys: vsys-regulator {
202*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
203*f126890aSEmmanuel Vadot		regulator-name = "vsys";
204*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
205*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
206*f126890aSEmmanuel Vadot		regulator-boot-on;
207*f126890aSEmmanuel Vadot	};
208*f126890aSEmmanuel Vadot};
209*f126890aSEmmanuel Vadot
210*f126890aSEmmanuel Vadot&cpu0 {
211*f126890aSEmmanuel Vadot	cpu-supply = <&vdd_arm>;
212*f126890aSEmmanuel Vadot};
213*f126890aSEmmanuel Vadot
214*f126890aSEmmanuel Vadot&cpu1 {
215*f126890aSEmmanuel Vadot	cpu-supply = <&vdd_arm>;
216*f126890aSEmmanuel Vadot};
217*f126890aSEmmanuel Vadot
218*f126890aSEmmanuel Vadot&cpu2 {
219*f126890aSEmmanuel Vadot	cpu-supply = <&vdd_arm>;
220*f126890aSEmmanuel Vadot};
221*f126890aSEmmanuel Vadot
222*f126890aSEmmanuel Vadot&cpu3 {
223*f126890aSEmmanuel Vadot	cpu-supply = <&vdd_arm>;
224*f126890aSEmmanuel Vadot};
225*f126890aSEmmanuel Vadot
226*f126890aSEmmanuel Vadot&cru {
227*f126890aSEmmanuel Vadot	assigned-clocks = <&cru PLL_GPLL>, <&cru PLL_CPLL>,
228*f126890aSEmmanuel Vadot			  <&cru ACLK_CPU>,
229*f126890aSEmmanuel Vadot			  <&cru HCLK_CPU>, <&cru PCLK_CPU>,
230*f126890aSEmmanuel Vadot			  <&cru ACLK_PERI>, <&cru HCLK_PERI>,
231*f126890aSEmmanuel Vadot			  <&cru PCLK_PERI>;
232*f126890aSEmmanuel Vadot	assigned-clock-rates = <594000000>, <504000000>,
233*f126890aSEmmanuel Vadot			       <300000000>,
234*f126890aSEmmanuel Vadot			       <150000000>, <75000000>,
235*f126890aSEmmanuel Vadot			       <300000000>, <150000000>,
236*f126890aSEmmanuel Vadot			       <75000000>;
237*f126890aSEmmanuel Vadot};
238*f126890aSEmmanuel Vadot
239*f126890aSEmmanuel Vadot&emmc {
240*f126890aSEmmanuel Vadot	bus-width = <8>;
241*f126890aSEmmanuel Vadot	cap-mmc-highspeed;
242*f126890aSEmmanuel Vadot	non-removable;
243*f126890aSEmmanuel Vadot	pinctrl-names = "default";
244*f126890aSEmmanuel Vadot	pinctrl-0 = <&emmc_clk &emmc_cmd>;
245*f126890aSEmmanuel Vadot	vmmc-supply = <&vcc_io>;
246*f126890aSEmmanuel Vadot	vqmmc-supply = <&vccq_emmc>;
247*f126890aSEmmanuel Vadot	status = "okay";
248*f126890aSEmmanuel Vadot};
249*f126890aSEmmanuel Vadot
250*f126890aSEmmanuel Vadot&gpu {
251*f126890aSEmmanuel Vadot	status = "okay";
252*f126890aSEmmanuel Vadot};
253*f126890aSEmmanuel Vadot
254*f126890aSEmmanuel Vadot&i2c0 {
255*f126890aSEmmanuel Vadot	clock-frequency = <400000>;
256*f126890aSEmmanuel Vadot	status = "okay";
257*f126890aSEmmanuel Vadot
258*f126890aSEmmanuel Vadot	lis3de: accelerometer@29 {
259*f126890aSEmmanuel Vadot		compatible = "st,lis3de";
260*f126890aSEmmanuel Vadot		reg = <0x29>;
261*f126890aSEmmanuel Vadot		interrupt-parent = <&gpio0>;
262*f126890aSEmmanuel Vadot		interrupts = <RK_PB7 IRQ_TYPE_EDGE_RISING>;
263*f126890aSEmmanuel Vadot		pinctrl-names = "default";
264*f126890aSEmmanuel Vadot		pinctrl-0 = <&gsensor_int>;
265*f126890aSEmmanuel Vadot		rotation-matrix = "1", "0", "0",
266*f126890aSEmmanuel Vadot				  "0", "-1", "0",
267*f126890aSEmmanuel Vadot				  "0", "0", "1";
268*f126890aSEmmanuel Vadot		vdd-supply = <&vcc_io>;
269*f126890aSEmmanuel Vadot	};
270*f126890aSEmmanuel Vadot};
271*f126890aSEmmanuel Vadot
272*f126890aSEmmanuel Vadot&i2c1 {
273*f126890aSEmmanuel Vadot	clock-frequency = <400000>;
274*f126890aSEmmanuel Vadot	status = "okay";
275*f126890aSEmmanuel Vadot
276*f126890aSEmmanuel Vadot	tmp108@48 {
277*f126890aSEmmanuel Vadot		compatible = "ti,tmp108";
278*f126890aSEmmanuel Vadot		reg = <0x48>;
279*f126890aSEmmanuel Vadot		interrupt-parent = <&gpio1>;
280*f126890aSEmmanuel Vadot		interrupts = <RK_PA7 IRQ_TYPE_LEVEL_LOW>;
281*f126890aSEmmanuel Vadot		pinctrl-names = "default";
282*f126890aSEmmanuel Vadot		pinctrl-0 = <&tmp_alrt>;
283*f126890aSEmmanuel Vadot		#thermal-sensor-cells = <0>;
284*f126890aSEmmanuel Vadot	};
285*f126890aSEmmanuel Vadot
286*f126890aSEmmanuel Vadot	hym8563: rtc@51 {
287*f126890aSEmmanuel Vadot		compatible = "haoyu,hym8563";
288*f126890aSEmmanuel Vadot		reg = <0x51>;
289*f126890aSEmmanuel Vadot		interrupt-parent = <&gpio0>;
290*f126890aSEmmanuel Vadot		interrupts = <RK_PB5 IRQ_TYPE_EDGE_FALLING>;
291*f126890aSEmmanuel Vadot		pinctrl-names = "default";
292*f126890aSEmmanuel Vadot		pinctrl-0 = <&rtc_int>;
293*f126890aSEmmanuel Vadot		#clock-cells = <0>;
294*f126890aSEmmanuel Vadot		clock-output-names = "xin32k";
295*f126890aSEmmanuel Vadot	};
296*f126890aSEmmanuel Vadot
297*f126890aSEmmanuel Vadot	bat: battery@55 {
298*f126890aSEmmanuel Vadot		compatible = "ti,bq27541";
299*f126890aSEmmanuel Vadot		reg = <0x55>;
300*f126890aSEmmanuel Vadot		power-supplies = <&bq24196>;
301*f126890aSEmmanuel Vadot	};
302*f126890aSEmmanuel Vadot
303*f126890aSEmmanuel Vadot	act8846: pmic@5a {
304*f126890aSEmmanuel Vadot		compatible = "active-semi,act8846";
305*f126890aSEmmanuel Vadot		reg = <0x5a>;
306*f126890aSEmmanuel Vadot		pinctrl-names = "default";
307*f126890aSEmmanuel Vadot		pinctrl-0 = <&dvs0_ctl &pmic_int>;
308*f126890aSEmmanuel Vadot
309*f126890aSEmmanuel Vadot		vp1-supply = <&vsys>;
310*f126890aSEmmanuel Vadot		vp2-supply = <&vsys>;
311*f126890aSEmmanuel Vadot		vp3-supply = <&vsys>;
312*f126890aSEmmanuel Vadot		vp4-supply = <&vsys>;
313*f126890aSEmmanuel Vadot		inl1-supply = <&vcc_io>;
314*f126890aSEmmanuel Vadot		inl2-supply = <&vsys>;
315*f126890aSEmmanuel Vadot		inl3-supply = <&vsys>;
316*f126890aSEmmanuel Vadot
317*f126890aSEmmanuel Vadot		regulators {
318*f126890aSEmmanuel Vadot			vcc_ddr: REG1 {
319*f126890aSEmmanuel Vadot				regulator-name = "VCC_DDR";
320*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1200000>;
321*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1200000>;
322*f126890aSEmmanuel Vadot				regulator-always-on;
323*f126890aSEmmanuel Vadot			};
324*f126890aSEmmanuel Vadot
325*f126890aSEmmanuel Vadot			vdd_log: REG2 {
326*f126890aSEmmanuel Vadot				regulator-name = "VDD_LOG";
327*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
328*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1200000>;
329*f126890aSEmmanuel Vadot				regulator-always-on;
330*f126890aSEmmanuel Vadot			};
331*f126890aSEmmanuel Vadot
332*f126890aSEmmanuel Vadot			vdd_arm: REG3 {
333*f126890aSEmmanuel Vadot				regulator-name = "VDD_ARM";
334*f126890aSEmmanuel Vadot				regulator-min-microvolt = <875000>;
335*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1350000>;
336*f126890aSEmmanuel Vadot				regulator-always-on;
337*f126890aSEmmanuel Vadot			};
338*f126890aSEmmanuel Vadot
339*f126890aSEmmanuel Vadot			vcc_io: vcc_hdmi: REG4 {
340*f126890aSEmmanuel Vadot				regulator-name = "VCC_IO";
341*f126890aSEmmanuel Vadot				regulator-min-microvolt = <3000000>;
342*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3000000>;
343*f126890aSEmmanuel Vadot				regulator-always-on;
344*f126890aSEmmanuel Vadot			};
345*f126890aSEmmanuel Vadot
346*f126890aSEmmanuel Vadot			vdd_10: REG5 {
347*f126890aSEmmanuel Vadot				regulator-name = "VDD_10";
348*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
349*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1000000>;
350*f126890aSEmmanuel Vadot				regulator-always-on;
351*f126890aSEmmanuel Vadot			};
352*f126890aSEmmanuel Vadot
353*f126890aSEmmanuel Vadot			vdd_12: REG6 {
354*f126890aSEmmanuel Vadot				regulator-name = "VDD_12";
355*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1200000>;
356*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1200000>;
357*f126890aSEmmanuel Vadot				regulator-always-on;
358*f126890aSEmmanuel Vadot			};
359*f126890aSEmmanuel Vadot
360*f126890aSEmmanuel Vadot			vcc18_cif: REG7 {
361*f126890aSEmmanuel Vadot				regulator-name = "VCC18_CIF";
362*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
363*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
364*f126890aSEmmanuel Vadot				regulator-always-on;
365*f126890aSEmmanuel Vadot			};
366*f126890aSEmmanuel Vadot
367*f126890aSEmmanuel Vadot			vcca_33: REG8 {
368*f126890aSEmmanuel Vadot				regulator-name = "VCCA_33";
369*f126890aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
370*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
371*f126890aSEmmanuel Vadot				regulator-always-on;
372*f126890aSEmmanuel Vadot			};
373*f126890aSEmmanuel Vadot
374*f126890aSEmmanuel Vadot			vcc_tp: REG9 {
375*f126890aSEmmanuel Vadot				regulator-name = "VCC_TP";
376*f126890aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
377*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
378*f126890aSEmmanuel Vadot				regulator-always-on;
379*f126890aSEmmanuel Vadot			};
380*f126890aSEmmanuel Vadot
381*f126890aSEmmanuel Vadot			vccio_wl: REG10 {
382*f126890aSEmmanuel Vadot				regulator-name = "VCCIO_WL";
383*f126890aSEmmanuel Vadot				regulator-min-microvolt = <2800000>;
384*f126890aSEmmanuel Vadot				regulator-max-microvolt = <2800000>;
385*f126890aSEmmanuel Vadot				regulator-always-on;
386*f126890aSEmmanuel Vadot			};
387*f126890aSEmmanuel Vadot
388*f126890aSEmmanuel Vadot			vcc_18: REG11 {
389*f126890aSEmmanuel Vadot				regulator-name = "VCC_18";
390*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
391*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
392*f126890aSEmmanuel Vadot				regulator-always-on;
393*f126890aSEmmanuel Vadot			};
394*f126890aSEmmanuel Vadot
395*f126890aSEmmanuel Vadot			vcc28_cif: REG12 {
396*f126890aSEmmanuel Vadot				regulator-name = "VCC28_CIF";
397*f126890aSEmmanuel Vadot				regulator-min-microvolt = <2800000>;
398*f126890aSEmmanuel Vadot				regulator-max-microvolt = <2800000>;
399*f126890aSEmmanuel Vadot				regulator-always-on;
400*f126890aSEmmanuel Vadot			};
401*f126890aSEmmanuel Vadot		};
402*f126890aSEmmanuel Vadot	};
403*f126890aSEmmanuel Vadot
404*f126890aSEmmanuel Vadot	bq24196: charger@6b {
405*f126890aSEmmanuel Vadot		compatible = "ti,bq24196";
406*f126890aSEmmanuel Vadot		reg = <0x6b>;
407*f126890aSEmmanuel Vadot		interrupt-parent = <&gpio0>;
408*f126890aSEmmanuel Vadot		interrupts = <RK_PD7 IRQ_TYPE_EDGE_FALLING>;
409*f126890aSEmmanuel Vadot		pinctrl-names = "default";
410*f126890aSEmmanuel Vadot		pinctrl-0 = <&charger_int &chg_ctl &otg_en>;
411*f126890aSEmmanuel Vadot		ti,system-minimum-microvolt = <3200000>;
412*f126890aSEmmanuel Vadot		monitored-battery = <&bat>;
413*f126890aSEmmanuel Vadot		omit-battery-class;
414*f126890aSEmmanuel Vadot
415*f126890aSEmmanuel Vadot		usb_otg_vbus: usb-otg-vbus { };
416*f126890aSEmmanuel Vadot	};
417*f126890aSEmmanuel Vadot};
418*f126890aSEmmanuel Vadot
419*f126890aSEmmanuel Vadot&i2c2 {
420*f126890aSEmmanuel Vadot	clock-frequency = <400000>;
421*f126890aSEmmanuel Vadot	status = "okay";
422*f126890aSEmmanuel Vadot
423*f126890aSEmmanuel Vadot	ft5606: touchscreen@3e {
424*f126890aSEmmanuel Vadot		compatible = "edt,edt-ft5506";
425*f126890aSEmmanuel Vadot		reg = <0x3e>;
426*f126890aSEmmanuel Vadot		interrupt-parent = <&gpio1>;
427*f126890aSEmmanuel Vadot		interrupts = <RK_PB7 IRQ_TYPE_EDGE_FALLING>;
428*f126890aSEmmanuel Vadot		pinctrl-names = "default";
429*f126890aSEmmanuel Vadot		pinctrl-0 = <&tp_int &tp_rst>;
430*f126890aSEmmanuel Vadot		reset-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_LOW>;
431*f126890aSEmmanuel Vadot		touchscreen-inverted-y;
432*f126890aSEmmanuel Vadot		/* hw ts resolution does not match display */
433*f126890aSEmmanuel Vadot		touchscreen-size-y = <1024>;
434*f126890aSEmmanuel Vadot		touchscreen-size-x = <768>;
435*f126890aSEmmanuel Vadot		touchscreen-swapped-x-y;
436*f126890aSEmmanuel Vadot	};
437*f126890aSEmmanuel Vadot};
438*f126890aSEmmanuel Vadot
439*f126890aSEmmanuel Vadot&i2c3 {
440*f126890aSEmmanuel Vadot	clock-frequency = <400000>;
441*f126890aSEmmanuel Vadot	status = "okay";
442*f126890aSEmmanuel Vadot};
443*f126890aSEmmanuel Vadot
444*f126890aSEmmanuel Vadot&i2c4 {
445*f126890aSEmmanuel Vadot	clock-frequency = <400000>;
446*f126890aSEmmanuel Vadot	status = "okay";
447*f126890aSEmmanuel Vadot
448*f126890aSEmmanuel Vadot	rt5616: codec@1b {
449*f126890aSEmmanuel Vadot		compatible = "realtek,rt5616";
450*f126890aSEmmanuel Vadot		reg = <0x1b>;
451*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_I2S0>;
452*f126890aSEmmanuel Vadot		clock-names = "mclk";
453*f126890aSEmmanuel Vadot		#sound-dai-cells = <0>;
454*f126890aSEmmanuel Vadot	};
455*f126890aSEmmanuel Vadot};
456*f126890aSEmmanuel Vadot
457*f126890aSEmmanuel Vadot&i2s0 {
458*f126890aSEmmanuel Vadot	status = "okay";
459*f126890aSEmmanuel Vadot};
460*f126890aSEmmanuel Vadot
461*f126890aSEmmanuel Vadot&mmc0 {
462*f126890aSEmmanuel Vadot	bus-width = <4>;
463*f126890aSEmmanuel Vadot	cap-mmc-highspeed;
464*f126890aSEmmanuel Vadot	cap-sd-highspeed;
465*f126890aSEmmanuel Vadot	disable-wp;
466*f126890aSEmmanuel Vadot	pinctrl-names = "default";
467*f126890aSEmmanuel Vadot	pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
468*f126890aSEmmanuel Vadot	vmmc-supply = <&vcc_sd>;
469*f126890aSEmmanuel Vadot	status = "okay";
470*f126890aSEmmanuel Vadot};
471*f126890aSEmmanuel Vadot
472*f126890aSEmmanuel Vadot&mmc1 {
473*f126890aSEmmanuel Vadot	bus-width = <4>;
474*f126890aSEmmanuel Vadot	cap-sd-highspeed;
475*f126890aSEmmanuel Vadot	keep-power-in-suspend;
476*f126890aSEmmanuel Vadot	mmc-pwrseq = <&sdio_pwrseq>;
477*f126890aSEmmanuel Vadot	non-removable;
478*f126890aSEmmanuel Vadot	pinctrl-names = "default";
479*f126890aSEmmanuel Vadot	pinctrl-0 = <&sd1_clk>, <&sd1_cmd>, <&sd1_bus4>;
480*f126890aSEmmanuel Vadot	vqmmc-supply = <&vccio_wl>;
481*f126890aSEmmanuel Vadot	#address-cells = <1>;
482*f126890aSEmmanuel Vadot	#size-cells = <0>;
483*f126890aSEmmanuel Vadot	status = "okay";
484*f126890aSEmmanuel Vadot
485*f126890aSEmmanuel Vadot	brcmf: wifi@1 {
486*f126890aSEmmanuel Vadot		reg = <1>;
487*f126890aSEmmanuel Vadot		compatible = "brcm,bcm4329-fmac";
488*f126890aSEmmanuel Vadot		interrupt-parent = <&gpio3>;
489*f126890aSEmmanuel Vadot		interrupts = <RK_PD2 IRQ_TYPE_NONE>;
490*f126890aSEmmanuel Vadot		interrupt-names = "host-wake";
491*f126890aSEmmanuel Vadot		brcm,drive-strength = <5>;
492*f126890aSEmmanuel Vadot		pinctrl-names = "default";
493*f126890aSEmmanuel Vadot		pinctrl-0 = <&wifi_host_wake>;
494*f126890aSEmmanuel Vadot	};
495*f126890aSEmmanuel Vadot};
496*f126890aSEmmanuel Vadot
497*f126890aSEmmanuel Vadot&pwm1 {
498*f126890aSEmmanuel Vadot	status = "okay";
499*f126890aSEmmanuel Vadot};
500*f126890aSEmmanuel Vadot
501*f126890aSEmmanuel Vadot&pinctrl {
502*f126890aSEmmanuel Vadot	pcfg_output_high: pcfg-output-high {
503*f126890aSEmmanuel Vadot		output-high;
504*f126890aSEmmanuel Vadot	};
505*f126890aSEmmanuel Vadot
506*f126890aSEmmanuel Vadot	pcfg_output_low: pcfg-output-low {
507*f126890aSEmmanuel Vadot		output-low;
508*f126890aSEmmanuel Vadot	};
509*f126890aSEmmanuel Vadot
510*f126890aSEmmanuel Vadot	act8846 {
511*f126890aSEmmanuel Vadot		dvs0_ctl: dvs0-ctl {
512*f126890aSEmmanuel Vadot			rockchip,pins = <3 RK_PD3 RK_FUNC_GPIO &pcfg_output_low>;
513*f126890aSEmmanuel Vadot		};
514*f126890aSEmmanuel Vadot
515*f126890aSEmmanuel Vadot		pmic_int: pmic-int {
516*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_up>;
517*f126890aSEmmanuel Vadot		};
518*f126890aSEmmanuel Vadot	};
519*f126890aSEmmanuel Vadot
520*f126890aSEmmanuel Vadot	bq24196 {
521*f126890aSEmmanuel Vadot		charger_int: charger-int {
522*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PD7 RK_FUNC_GPIO &pcfg_pull_up>;
523*f126890aSEmmanuel Vadot		};
524*f126890aSEmmanuel Vadot
525*f126890aSEmmanuel Vadot		/* pin hog to make it select usb profile */
526*f126890aSEmmanuel Vadot		chg_ctl: chg-ctl {
527*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_output_high>;
528*f126890aSEmmanuel Vadot		};
529*f126890aSEmmanuel Vadot
530*f126890aSEmmanuel Vadot		/* low: charging, high: complete, fault: blinking */
531*f126890aSEmmanuel Vadot		chg_det: chg-det {
532*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
533*f126890aSEmmanuel Vadot		};
534*f126890aSEmmanuel Vadot
535*f126890aSEmmanuel Vadot		/* charging enabled when pin low and register set */
536*f126890aSEmmanuel Vadot		chg_en: chg-en {
537*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PC1 RK_FUNC_GPIO &pcfg_output_low>;
538*f126890aSEmmanuel Vadot		};
539*f126890aSEmmanuel Vadot
540*f126890aSEmmanuel Vadot		/* bq29196 powergood (when low) signal */
541*f126890aSEmmanuel Vadot		dc_det: dc-det {
542*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
543*f126890aSEmmanuel Vadot		};
544*f126890aSEmmanuel Vadot
545*f126890aSEmmanuel Vadot		/* wire bq24196 otg pin to high, to enable 500mA charging */
546*f126890aSEmmanuel Vadot		otg_en: otg-en {
547*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_output_high>;
548*f126890aSEmmanuel Vadot		};
549*f126890aSEmmanuel Vadot	};
550*f126890aSEmmanuel Vadot
551*f126890aSEmmanuel Vadot	camera {
552*f126890aSEmmanuel Vadot		cif0_pdn: cif0-pdn {
553*f126890aSEmmanuel Vadot			rockchip,pins = <3 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
554*f126890aSEmmanuel Vadot		};
555*f126890aSEmmanuel Vadot
556*f126890aSEmmanuel Vadot		cif1_pdn: cif1-pdn {
557*f126890aSEmmanuel Vadot			rockchip,pins = <3 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
558*f126890aSEmmanuel Vadot		};
559*f126890aSEmmanuel Vadot
560*f126890aSEmmanuel Vadot		cif_avdd_en: cif-avdd-en {
561*f126890aSEmmanuel Vadot			rockchip,pins = <1 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
562*f126890aSEmmanuel Vadot		};
563*f126890aSEmmanuel Vadot	};
564*f126890aSEmmanuel Vadot
565*f126890aSEmmanuel Vadot	display {
566*f126890aSEmmanuel Vadot		lcd_cs: lcd-cs {
567*f126890aSEmmanuel Vadot			rockchip,pins = <3 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
568*f126890aSEmmanuel Vadot		};
569*f126890aSEmmanuel Vadot
570*f126890aSEmmanuel Vadot		lcd_en: lcd-en {
571*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
572*f126890aSEmmanuel Vadot		};
573*f126890aSEmmanuel Vadot	};
574*f126890aSEmmanuel Vadot
575*f126890aSEmmanuel Vadot	ft5606 {
576*f126890aSEmmanuel Vadot		tp_int: tp-int {
577*f126890aSEmmanuel Vadot			rockchip,pins = <1 RK_PB7 RK_FUNC_GPIO &pcfg_pull_up>;
578*f126890aSEmmanuel Vadot		};
579*f126890aSEmmanuel Vadot
580*f126890aSEmmanuel Vadot		tp_rst: tp-rst {
581*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
582*f126890aSEmmanuel Vadot		};
583*f126890aSEmmanuel Vadot	};
584*f126890aSEmmanuel Vadot
585*f126890aSEmmanuel Vadot	hdmi {
586*f126890aSEmmanuel Vadot		hdmi_int: hdmi-int {
587*f126890aSEmmanuel Vadot			rockchip,pins = <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up>;
588*f126890aSEmmanuel Vadot		};
589*f126890aSEmmanuel Vadot
590*f126890aSEmmanuel Vadot		hdmi_rst: hdmi-rst {
591*f126890aSEmmanuel Vadot			rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
592*f126890aSEmmanuel Vadot		};
593*f126890aSEmmanuel Vadot	};
594*f126890aSEmmanuel Vadot
595*f126890aSEmmanuel Vadot	hym8563 {
596*f126890aSEmmanuel Vadot		rtc_int: rtc-int {
597*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up>;
598*f126890aSEmmanuel Vadot		};
599*f126890aSEmmanuel Vadot	};
600*f126890aSEmmanuel Vadot
601*f126890aSEmmanuel Vadot	keys {
602*f126890aSEmmanuel Vadot		pwr_hold: pwr-hold {
603*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>;
604*f126890aSEmmanuel Vadot		};
605*f126890aSEmmanuel Vadot
606*f126890aSEmmanuel Vadot		pwr_key: pwr-key {
607*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>;
608*f126890aSEmmanuel Vadot		};
609*f126890aSEmmanuel Vadot	};
610*f126890aSEmmanuel Vadot
611*f126890aSEmmanuel Vadot	lis3de {
612*f126890aSEmmanuel Vadot		gsensor_int: gsensor-int {
613*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
614*f126890aSEmmanuel Vadot		};
615*f126890aSEmmanuel Vadot	};
616*f126890aSEmmanuel Vadot
617*f126890aSEmmanuel Vadot	mmc {
618*f126890aSEmmanuel Vadot		sdmmc_pwr: sdmmc-pwr {
619*f126890aSEmmanuel Vadot			rockchip,pins = <3 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
620*f126890aSEmmanuel Vadot		};
621*f126890aSEmmanuel Vadot	};
622*f126890aSEmmanuel Vadot
623*f126890aSEmmanuel Vadot	tmp108 {
624*f126890aSEmmanuel Vadot		tmp_alrt: tmp-alrt {
625*f126890aSEmmanuel Vadot			rockchip,pins = <1 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>;
626*f126890aSEmmanuel Vadot		};
627*f126890aSEmmanuel Vadot	};
628*f126890aSEmmanuel Vadot
629*f126890aSEmmanuel Vadot	usb {
630*f126890aSEmmanuel Vadot		v5_drv: v5-drv {
631*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
632*f126890aSEmmanuel Vadot		};
633*f126890aSEmmanuel Vadot
634*f126890aSEmmanuel Vadot		otg_drv: otg-drv {
635*f126890aSEmmanuel Vadot			rockchip,pins = <3 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
636*f126890aSEmmanuel Vadot		};
637*f126890aSEmmanuel Vadot
638*f126890aSEmmanuel Vadot		usb_int: usb-int {
639*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>;
640*f126890aSEmmanuel Vadot		};
641*f126890aSEmmanuel Vadot	};
642*f126890aSEmmanuel Vadot
643*f126890aSEmmanuel Vadot	rk903 {
644*f126890aSEmmanuel Vadot		bt_host_wake: bt-host-wake {
645*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
646*f126890aSEmmanuel Vadot		};
647*f126890aSEmmanuel Vadot
648*f126890aSEmmanuel Vadot		bt_reg_on: bt-reg-on {
649*f126890aSEmmanuel Vadot			rockchip,pins = <3 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>;
650*f126890aSEmmanuel Vadot		};
651*f126890aSEmmanuel Vadot
652*f126890aSEmmanuel Vadot		/* pin hog to pull the reset high */
653*f126890aSEmmanuel Vadot		bt_rst: bt-rst {
654*f126890aSEmmanuel Vadot			rockchip,pins = <3 RK_PD1 RK_FUNC_GPIO &pcfg_output_high>;
655*f126890aSEmmanuel Vadot		};
656*f126890aSEmmanuel Vadot
657*f126890aSEmmanuel Vadot		bt_wake: bt-wake {
658*f126890aSEmmanuel Vadot			rockchip,pins = <3 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
659*f126890aSEmmanuel Vadot		};
660*f126890aSEmmanuel Vadot
661*f126890aSEmmanuel Vadot		wifi_host_wake: wifi-host-wake {
662*f126890aSEmmanuel Vadot			rockchip,pins = <3 RK_PD2 RK_FUNC_GPIO &pcfg_pull_up>;
663*f126890aSEmmanuel Vadot		};
664*f126890aSEmmanuel Vadot
665*f126890aSEmmanuel Vadot		wifi_reg_on: wifi-reg-on {
666*f126890aSEmmanuel Vadot			rockchip,pins = <3 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
667*f126890aSEmmanuel Vadot		};
668*f126890aSEmmanuel Vadot	};
669*f126890aSEmmanuel Vadot};
670*f126890aSEmmanuel Vadot
671*f126890aSEmmanuel Vadot&saradc {
672*f126890aSEmmanuel Vadot	vref-supply = <&vcc_18>;
673*f126890aSEmmanuel Vadot	status = "okay";
674*f126890aSEmmanuel Vadot};
675*f126890aSEmmanuel Vadot
676*f126890aSEmmanuel Vadot&spdif {
677*f126890aSEmmanuel Vadot	status = "okay";
678*f126890aSEmmanuel Vadot};
679*f126890aSEmmanuel Vadot
680*f126890aSEmmanuel Vadot&uart0 {
681*f126890aSEmmanuel Vadot	pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
682*f126890aSEmmanuel Vadot	status = "okay";
683*f126890aSEmmanuel Vadot
684*f126890aSEmmanuel Vadot	bluetooth {
685*f126890aSEmmanuel Vadot		compatible = "brcm,bcm43438-bt";
686*f126890aSEmmanuel Vadot		max-speed = <2000000>;
687*f126890aSEmmanuel Vadot		device-wakeup-gpios = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>;
688*f126890aSEmmanuel Vadot		host-wakeup-gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
689*f126890aSEmmanuel Vadot		shutdown-gpios = <&gpio3 RK_PC7 GPIO_ACTIVE_HIGH>;
690*f126890aSEmmanuel Vadot		pinctrl-names = "default";
691*f126890aSEmmanuel Vadot		pinctrl-0 = <&bt_host_wake &bt_reg_on &bt_rst &bt_wake>;
692*f126890aSEmmanuel Vadot	};
693*f126890aSEmmanuel Vadot};
694*f126890aSEmmanuel Vadot
695*f126890aSEmmanuel Vadot&uart1 {
696*f126890aSEmmanuel Vadot	status = "okay";
697*f126890aSEmmanuel Vadot};
698*f126890aSEmmanuel Vadot
699*f126890aSEmmanuel Vadot&uart2 {
700*f126890aSEmmanuel Vadot	status = "okay";
701*f126890aSEmmanuel Vadot};
702*f126890aSEmmanuel Vadot
703*f126890aSEmmanuel Vadot&uart3 {
704*f126890aSEmmanuel Vadot	pinctrl-0 = <&uart3_xfer &uart3_cts &uart3_rts>;
705*f126890aSEmmanuel Vadot	status = "okay";
706*f126890aSEmmanuel Vadot};
707*f126890aSEmmanuel Vadot
708*f126890aSEmmanuel Vadot&usbphy {
709*f126890aSEmmanuel Vadot	status = "okay";
710*f126890aSEmmanuel Vadot};
711*f126890aSEmmanuel Vadot
712*f126890aSEmmanuel Vadot&usb_host {
713*f126890aSEmmanuel Vadot	status = "okay";
714*f126890aSEmmanuel Vadot};
715*f126890aSEmmanuel Vadot
716*f126890aSEmmanuel Vadot&usb_otg {
717*f126890aSEmmanuel Vadot	status = "okay";
718*f126890aSEmmanuel Vadot};
719*f126890aSEmmanuel Vadot
720*f126890aSEmmanuel Vadot&vop0 {
721*f126890aSEmmanuel Vadot	status = "okay";
722*f126890aSEmmanuel Vadot};
723*f126890aSEmmanuel Vadot
724*f126890aSEmmanuel Vadot&vop0_out {
725*f126890aSEmmanuel Vadot	vop0_out_lvds: endpoint {
726*f126890aSEmmanuel Vadot		remote-endpoint = <&lvds_in_vop0>;
727*f126890aSEmmanuel Vadot	};
728*f126890aSEmmanuel Vadot};
729*f126890aSEmmanuel Vadot
730*f126890aSEmmanuel Vadot&vop1 {
731*f126890aSEmmanuel Vadot	pinctrl-names = "default";
732*f126890aSEmmanuel Vadot	pinctrl-0 = <&lcdc1_dclk &lcdc1_den &lcdc1_hsync
733*f126890aSEmmanuel Vadot		     &lcdc1_vsync &lcdc1_rgb24>;
734*f126890aSEmmanuel Vadot	status = "okay";
735*f126890aSEmmanuel Vadot};
736*f126890aSEmmanuel Vadot
737*f126890aSEmmanuel Vadot&wdt {
738*f126890aSEmmanuel Vadot	status = "okay";
739*f126890aSEmmanuel Vadot};
740