xref: /OK3568_Linux_fs/kernel/arch/arm/boot/dts/rk3288-evb-rk1608.dts (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1/*
2 * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd
3 *
4 * This file is dual-licensed: you can use it either under the terms
5 * of the GPL or the X11 license, at your option. Note that this dual
6 * licensing only applies to this file, and not this project as a
7 * whole.
8 *
9 *  a) This file is free software; you can redistribute it and/or
10 *     modify it under the terms of the GNU General Public License as
11 *     published by the Free Software Foundation; either version 2 of the
12 *     License, or (at your option) any later version.
13 *
14 *     This file is distributed in the hope that it will be useful,
15 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 *     GNU General Public License for more details.
18 *
19 * Or, alternatively,
20 *
21 *  b) Permission is hereby granted, free of charge, to any person
22 *     obtaining a copy of this software and associated documentation
23 *     files (the "Software"), to deal in the Software without
24 *     restriction, including without limitation the rights to use,
25 *     copy, modify, merge, publish, distribute, sublicense, and/or
26 *     sell copies of the Software, and to permit persons to whom the
27 *     Software is furnished to do so, subject to the following
28 *     conditions:
29 *
30 *     The above copyright notice and this permission notice shall be
31 *     included in all copies or substantial portions of the Software.
32 *
33 *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34 *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35 *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36 *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37 *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38 *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39 *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40 *     OTHER DEALINGS IN THE SOFTWARE.
41 */
42
43/dts-v1/;
44#include <dt-bindings/display/media-bus-format.h>
45#include <dt-bindings/input/input.h>
46#include <dt-bindings/pwm/pwm.h>
47#include "rk3288.dtsi"
48#include "rk3288-linux.dtsi"
49
50/ {
51	compatible = "rockchip,rk3288-evb-rk1608", "rockchip,rk3288";
52
53	backlight: backlight {
54		compatible = "pwm-backlight";
55		brightness-levels = <
56			  0   1   2   3   4   5   6   7
57			  8   9  10  11  12  13  14  15
58			 16  17  18  19  20  21  22  23
59			 24  25  26  27  28  29  30  31
60			 32  33  34  35  36  37  38  39
61			 40  41  42  43  44  45  46  47
62			 48  49  50  51  52  53  54  55
63			 56  57  58  59  60  61  62  63
64			 64  65  66  67  68  69  70  71
65			 72  73  74  75  76  77  78  79
66			 80  81  82  83  84  85  86  87
67			 88  89  90  91  92  93  94  95
68			 96  97  98  99 100 101 102 103
69			104 105 106 107 108 109 110 111
70			112 113 114 115 116 117 118 119
71			120 121 122 123 124 125 126 127
72			128 129 130 131 132 133 134 135
73			136 137 138 139 140 141 142 143
74			144 145 146 147 148 149 150 151
75			152 153 154 155 156 157 158 159
76			160 161 162 163 164 165 166 167
77			168 169 170 171 172 173 174 175
78			176 177 178 179 180 181 182 183
79			184 185 186 187 188 189 190 191
80			192 193 194 195 196 197 198 199
81			200 201 202 203 204 205 206 207
82			208 209 210 211 212 213 214 215
83			216 217 218 219 220 221 222 223
84			224 225 226 227 228 229 230 231
85			232 233 234 235 236 237 238 239
86			240 241 242 243 244 245 246 247
87			248 249 250 251 252 253 254 255>;
88		default-brightness-level = <128>;
89		enable-gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>;
90		pinctrl-names = "default";
91		pinctrl-0 = <&bl_en>;
92		pwms = <&pwm0 0 1000000 PWM_POLARITY_INVERTED>;
93	};
94
95	ext_gmac: external-gmac-clock {
96		compatible = "fixed-clock";
97		clock-frequency = <125000000>;
98		clock-output-names = "ext_gmac";
99		#clock-cells = <0>;
100	};
101
102	sdio_pwrseq: sdio-pwrseq {
103		compatible = "mmc-pwrseq-simple";
104		clocks = <&hym8563>;
105		clock-names = "ext_clock";
106		pinctrl-names = "default";
107		pinctrl-0 = <&wifi_enable_h>;
108
109		/*
110		 * On the module itself this is one of these (depending
111		 * on the actual card populated):
112		 * - SDIO_RESET_L_WL_REG_ON
113		 * - PDN (power down when low)
114		 */
115		reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
116	};
117
118	/* This turns on USB vbus for both host0 (ehci) and host1 (dwc2) */
119	vcc_host: vcc-host-regulator {
120		compatible = "regulator-fixed";
121		enable-active-high;
122		gpio = <&gpio0 14 GPIO_ACTIVE_HIGH>;
123		pinctrl-names = "default";
124		pinctrl-0 = <&host_vbus_drv>;
125		regulator-name = "vcc_host";
126		regulator-always-on;
127		regulator-boot-on;
128	};
129
130	vcc_lcd: vcc-lcd {
131		compatible = "regulator-fixed";
132		enable-active-high;
133		gpio = <&gpio7 3 GPIO_ACTIVE_HIGH>;
134		pinctrl-names = "default";
135		pinctrl-0 = <&lcd_en>;
136		regulator-name = "vcc_lcd";
137		vin-supply = <&vcc_io>;
138	};
139
140	vcc_sys: vsys-regulator {
141		compatible = "regulator-fixed";
142		regulator-name = "vcc_sys";
143		regulator-min-microvolt = <5000000>;
144		regulator-max-microvolt = <5000000>;
145		regulator-always-on;
146		regulator-boot-on;
147	};
148
149	/*
150	 * NOTE: vcc_sd isn't hooked up on v1.0 boards where power comes from
151	 * vcc_io directly.  Those boards won't be able to power cycle SD cards
152	 * but it shouldn't hurt to toggle this pin there anyway.
153	 */
154	vcc_sd: sdmmc-regulator {
155		compatible = "regulator-fixed";
156		pinctrl-names = "default";
157		pinctrl-0 = <&sdmmc_pwr>;
158		regulator-name = "vcc_sd";
159		regulator-min-microvolt = <3300000>;
160		regulator-max-microvolt = <3300000>;
161		startup-delay-us = <100000>;
162		vin-supply = <&vcc_io>;
163	};
164
165	wireless-bluetooth {
166		compatible = "bluetooth-platdata";
167		uart_rts_gpios = <&gpio4 19 GPIO_ACTIVE_LOW>;
168		pinctrl-names = "default", "rts_gpio";
169		pinctrl-0 = <&uart0_rts>;
170		pinctrl-1 = <&uart0_gpios>;
171		BT,reset_gpio    = <&gpio4 29 GPIO_ACTIVE_HIGH>;
172		BT,wake_gpio     = <&gpio4 26 GPIO_ACTIVE_HIGH>;
173		BT,wake_host_irq = <&gpio4 31 GPIO_ACTIVE_HIGH>;
174		status = "okay";
175	};
176
177	wireless-wlan {
178		compatible = "wlan-platdata";
179		rockchip,grf = <&grf>;
180		wifi_chip_type = "ap6335";
181		sdio_vref = <1800>;
182		WIFI,host_wake_irq = <&gpio4 30 GPIO_ACTIVE_HIGH>;
183		status = "okay";
184	};
185};
186
187&cpu0 {
188	cpu0-supply = <&vdd_cpu>;
189};
190
191&dsi0 {
192	status = "okay";
193
194	panel: panel {
195		status = "okay";
196		compatible = "simple-panel-dsi";
197		reg = <0>;
198		backlight = <&backlight>;
199		enable-gpios = <&gpio7 6 GPIO_ACTIVE_HIGH>;
200		supply = <&vcc_lcd>;
201		bus-format = <MEDIA_BUS_FMT_RGB888_1X24>;
202		dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST)>;
203		dsi,format = <MIPI_DSI_FMT_RGB888>;
204		dsi,lanes = <4>;
205		delay,prepare = <120>;
206		delay,enable = <100>;
207		delay,reset = <100>;
208		delay,init = <1>;
209		panel-init-sequence = [
210			15 00 02 FF 05
211			15 00 02 FB 01
212			15 78 02 C5 01
213			15 00 02 FF EE
214			15 00 02 FB 01
215			15 00 02 1F 45
216			15 00 02 24 45
217			15 00 02 38 C8
218			15 00 02 39 27
219			15 00 02 1E 77
220			15 00 02 1D 0F
221			15 00 02 7E 71
222			15 00 02 7C 03
223			15 00 02 FF 01
224			15 00 02 FB 01
225			15 00 02 00 01
226			15 00 02 01 55
227			15 00 02 02 40
228			15 00 02 05 40
229			15 00 02 06 4A
230			15 00 02 07 24
231			15 00 02 08 0C
232			15 00 02 0B 7D
233			15 00 02 0C 7D
234			15 00 02 0E B0
235			15 00 02 0F AE
236			15 00 02 11 10
237			15 00 02 12 10
238			15 00 02 13 03
239			15 00 02 14 4A
240			15 00 02 15 12
241			15 00 02 16 12
242			15 00 02 18 00
243			15 00 02 19 77
244			15 00 02 1A 55
245			15 00 02 1B 13
246			15 00 02 1C 00
247			15 00 02 1D 00
248			15 00 02 1E 13
249			15 00 02 1F 00
250			15 00 02 23 00
251			15 00 02 24 00
252			15 00 02 25 00
253			15 00 02 26 00
254			15 00 02 27 00
255			15 00 02 28 00
256			15 00 02 35 00
257			15 00 02 66 00
258			15 00 02 58 82
259			15 00 02 59 02
260			15 00 02 5A 02
261			15 00 02 5B 02
262			15 00 02 5C 82
263			15 00 02 5D 82
264			15 00 02 5E 02
265			15 00 02 5F 02
266			15 00 02 72 31
267			15 00 02 FF 05
268			15 00 02 FB 01
269			15 00 02 00 01
270			15 00 02 01 0B
271			15 00 02 02 0C
272			15 00 02 03 09
273			15 00 02 04 0A
274			15 00 02 05 00
275			15 00 02 06 0F
276			15 00 02 07 10
277			15 00 02 08 00
278			15 00 02 09 00
279			15 00 02 0A 00
280			15 00 02 0B 00
281			15 00 02 0C 00
282			15 00 02 0D 13
283			15 00 02 0E 15
284			15 00 02 0F 17
285			15 00 02 10 01
286			15 00 02 11 0B
287			15 00 02 12 0C
288			15 00 02 13 09
289			15 00 02 14 0A
290			15 00 02 15 00
291			15 00 02 16 0F
292			15 00 02 17 10
293			15 00 02 18 00
294			15 00 02 19 00
295			15 00 02 1A 00
296			15 00 02 1B 00
297			15 00 02 1C 00
298			15 00 02 1D 13
299			15 00 02 1E 15
300			15 00 02 1F 17
301			15 00 02 20 00
302			15 00 02 21 03
303			15 00 02 22 01
304			15 00 02 23 40
305			15 00 02 24 40
306			15 00 02 25 ED
307			15 00 02 29 58
308			15 00 02 2A 12
309			15 00 02 2B 01
310			15 00 02 4B 06
311			15 00 02 4C 11
312			15 00 02 4D 20
313			15 00 02 4E 02
314			15 00 02 4F 02
315			15 00 02 50 20
316			15 00 02 51 61
317			15 00 02 52 01
318			15 00 02 53 63
319			15 00 02 54 77
320			15 00 02 55 ED
321			15 00 02 5B 00
322			15 00 02 5C 00
323			15 00 02 5D 00
324			15 00 02 5E 00
325			15 00 02 5F 15
326			15 00 02 60 75
327			15 00 02 61 00
328			15 00 02 62 00
329			15 00 02 63 00
330			15 00 02 64 00
331			15 00 02 65 00
332			15 00 02 66 00
333			15 00 02 67 00
334			15 00 02 68 04
335			15 00 02 69 00
336			15 00 02 6A 00
337			15 00 02 6C 40
338			15 00 02 68 04
339			15 00 02 69 00
340			15 00 02 6A 00
341			15 00 02 6C 40
342			15 00 02 75 01
343			15 00 02 76 01
344			15 00 02 7A 80
345			15 00 02 7B A3
346			15 00 02 7C D8
347			15 00 02 7D 60
348			15 00 02 7F 15
349			15 00 02 80 81
350			15 00 02 83 05
351			15 00 02 93 08
352			15 00 02 94 10
353			15 00 02 8A 00
354			15 00 02 9B 0F
355			15 00 02 FF 01
356			15 00 02 FB 01
357			15 00 02 FF 02
358			15 00 02 FB 01
359			15 00 02 FF 04
360			15 00 02 FB 01
361			15 00 02 FF 00
362			15 00 02 D3 06
363			15 00 02 D4 04
364			05 78 01 11
365			15 00 02 FF 00
366			15 00 02 35 00
367			05 00 01 29
368			15 78 02 FF 00
369		];
370
371		panel-exit-sequence = [
372			05 00 01 28
373			05 78 01 10
374		];
375
376		display-timings {
377			native-mode = <&timing0>;
378			compatible = "rockchip,display-timings";
379			timing0: timing0 {
380				    clock-frequency = <130000000>;
381				    hactive = <1080>;
382				    vactive = <1920>;
383
384				    hsync-len = <10>;
385				    hback-porch = <8>;
386				    hfront-porch = <40>;
387
388				    vsync-len = <3>;
389				    vback-porch = <2>;
390				    vfront-porch = <4>;
391
392				    hsync-active = <0>;
393				    vsync-active = <0>;
394				    de-active = <0>;
395				    pixelclk-active = <0>;
396			};
397		};
398	};
399};
400
401&dsi0_in_vopl {
402	status = "okay";
403};
404
405&dsi0_in_vopb {
406	status = "disabled";
407};
408
409&emmc {
410	bus-width = <8>;
411	cap-mmc-highspeed;
412	disable-wp;
413	non-removable;
414	num-slots = <1>;
415	pinctrl-names = "default";
416	pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>;
417	max-frequency = <100000000>;
418	mmc-hs200-1_8v;
419	mmc-ddr-1_8v;
420	status = "okay";
421};
422
423&gmac {
424	phy-supply = <&vccio_pmu>;
425	phy-mode = "rgmii";
426	clock_in_out = "output";
427	assigned-clocks = <&cru SCLK_MAC>;
428	assigned-clock-parents = <&cru PLL_NPLL>;
429	assigned-clock-rates = <125000000>;
430	snps,reset-gpio = <&gpio4 7 0>;
431	snps,reset-active-low;
432	snps,reset-delays-us = <0 10000 50000>;
433	pinctrl-names = "default";
434	pinctrl-0 = <&rgmii_pins>;
435	tx_delay = <0x30>;
436	rx_delay = <0x10>;
437	max-speed = <100>;
438	status = "okay";
439};
440
441&gpu {
442	status = "okay";
443	mali-supply = <&vdd_gpu>;
444};
445
446&hevc_service {
447	status = "okay";
448};
449
450&i2c0 {
451	status = "okay";
452	clock-frequency = <400000>;
453
454	vdd_cpu: syr827@40 {
455		compatible = "silergy,syr827";
456		fcs,suspend-voltage-selector = <1>;
457		reg = <0x40>;
458		regulator-name = "vdd_cpu";
459		regulator-min-microvolt = <850000>;
460		regulator-max-microvolt = <1350000>;
461		regulator-always-on;
462		regulator-boot-on;
463		regulator-enable-ramp-delay = <300>;
464		regulator-ramp-delay = <8000>;
465		vin-supply = <&vcc_sys>;
466		regulator-state-mem {
467			regulator-off-in-suspend;
468		};
469	};
470
471	vdd_gpu: syr828@41 {
472		compatible = "silergy,syr828";
473		fcs,suspend-voltage-selector = <1>;
474		reg = <0x41>;
475		regulator-name = "vdd_gpu";
476		regulator-min-microvolt = <850000>;
477		regulator-max-microvolt = <1350000>;
478		regulator-always-on;
479		regulator-ramp-delay = <6000>;
480		vin-supply = <&vcc_sys>;
481		regulator-state-mem {
482			regulator-off-in-suspend;
483		};
484	};
485
486	hym8563: hym8563@51 {
487		compatible = "haoyu,hym8563";
488		reg = <0x51>;
489
490		interrupt-parent = <&gpio0>;
491		interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
492
493		pinctrl-names = "default";
494		pinctrl-0 = <&pmic_int>;
495
496		#clock-cells = <0>;
497		clock-output-names = "xin32k";
498	};
499
500	act8846: act8846@5a {
501		compatible = "active-semi,act8846";
502		reg = <0x5a>;
503		system-power-controller;
504		status = "okay";
505
506		vp1-supply = <&vcc_sys>;
507		vp2-supply = <&vcc_sys>;
508		vp3-supply = <&vcc_sys>;
509		vp4-supply = <&vcc_sys>;
510		inl1-supply = <&vcc_io>;
511		inl2-supply = <&vcc_sys>;
512		inl3-supply = <&vcc_20>;
513
514		regulators {
515			vcc_ddr: REG1 {
516				regulator-name = "VCC_DDR";
517				regulator-min-microvolt = <1200000>;
518				regulator-max-microvolt = <1200000>;
519				regulator-always-on;
520			};
521
522			vcc_io: REG2 {
523				regulator-name = "VCC_IO";
524				regulator-min-microvolt = <3300000>;
525				regulator-max-microvolt = <3300000>;
526				regulator-always-on;
527			};
528
529			vdd_log: REG3 {
530				regulator-name = "VDD_LOG";
531				regulator-min-microvolt = <1150000>;
532				regulator-max-microvolt = <1150000>;
533				regulator-always-on;
534			};
535
536			vcc_20: REG4 {
537				regulator-name = "VCC_20";
538				regulator-min-microvolt = <2000000>;
539				regulator-max-microvolt = <2000000>;
540				regulator-always-on;
541			};
542
543			vccio_sd: REG5 {
544				regulator-name = "VCCIO_SD";
545				regulator-min-microvolt = <1800000>;
546				regulator-max-microvolt = <3300000>;
547				regulator-always-on;
548			};
549
550			vdd10_lcd: REG6 {
551				regulator-name = "VDD10_LCD";
552				regulator-min-microvolt = <1000000>;
553				regulator-max-microvolt = <1000000>;
554				regulator-always-on;
555			};
556
557			vcca_codec: REG7 {
558				regulator-name = "VCCA_CODEC";
559				regulator-min-microvolt = <3300000>;
560				regulator-max-microvolt = <3300000>;
561				regulator-always-on;
562			};
563
564			vcca_tp: REG8 {
565				regulator-name = "VCCA_TP";
566				regulator-min-microvolt = <3300000>;
567				regulator-max-microvolt = <3300000>;
568				regulator-always-on;
569			};
570
571			vccio_pmu: REG9 {
572				regulator-name = "VCCIO_PMU";
573				regulator-min-microvolt = <3300000>;
574				regulator-max-microvolt = <3300000>;
575				regulator-always-on;
576			};
577
578			vdd_10: REG10 {
579				regulator-name = "VDD_10";
580				regulator-min-microvolt = <1000000>;
581				regulator-max-microvolt = <1000000>;
582				regulator-always-on;
583			};
584
585			vcc_18: REG11 {
586				regulator-name = "VCC_18";
587				regulator-min-microvolt = <1800000>;
588				regulator-max-microvolt = <1800000>;
589				regulator-always-on;
590			};
591
592			vcc18_lcd: REG12 {
593				regulator-name = "VCC18_LCD";
594				regulator-min-microvolt = <1800000>;
595				regulator-max-microvolt = <1800000>;
596				regulator-always-on;
597			};
598		};
599	};
600};
601
602&i2c4 {
603	status = "okay";
604	clock-frequency = <100000>;
605
606	vdd_core_rk1608: syr827_rk1608@40 {
607		compatible = "silergy,syr827";
608		fcs,suspend-voltage-selector = <1>;
609		reg = <0x40>;
610		regulator-name = "vdd_core_rk1608";
611		regulator-min-microvolt = <712500>;
612		regulator-max-microvolt = <1500000>;
613		regulator-always-on;
614		regulator-boot-on;
615		vin-supply = <&vcc_sys>;
616		regulator-state-mem {
617			regulator-off-in-suspend;
618		};
619	};
620};
621
622&io_domains {
623	status = "okay";
624
625	bb-supply = <&vcc_18>;
626	sdcard-supply = <&vccio_sd>;
627	wifi-supply = <&vcc_18>;
628};
629
630&isp {
631	status = "okay";
632};
633
634&isp_mmu {
635	status = "okay";
636};
637
638&pinctrl {
639	pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
640		drive-strength = <8>;
641	};
642
643	pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
644		bias-pull-up;
645		drive-strength = <8>;
646	};
647
648	backlight {
649		bl_en: bl-en {
650			rockchip,pins = <7 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
651		};
652	};
653
654	lcd {
655		lcd_en: lcd-en  {
656			rockchip,pins = <7 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
657		};
658	};
659
660	pmic {
661		pmic_int: pmic-int {
662			rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>;
663		};
664	};
665
666	sdio-pwrseq {
667		wifi_enable_h: wifi-enable-h {
668			rockchip,pins = <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
669		};
670	};
671
672	sdmmc {
673		/*
674		 * Default drive strength isn't enough to achieve even
675		 * high-speed mode on EVB board so bump up to 8ma.
676		 */
677		sdmmc_bus4: sdmmc-bus4 {
678			rockchip,pins = <6 RK_PC0 1 &pcfg_pull_up_drv_8ma>,
679					<6 RK_PC1 1 &pcfg_pull_up_drv_8ma>,
680					<6 RK_PC2 1 &pcfg_pull_up_drv_8ma>,
681					<6 RK_PC3 1 &pcfg_pull_up_drv_8ma>;
682		};
683
684		sdmmc_clk: sdmmc-clk {
685			rockchip,pins = <6 RK_PC4 1 &pcfg_pull_none_drv_8ma>;
686		};
687
688		sdmmc_cmd: sdmmc-cmd {
689			rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_8ma>;
690		};
691
692		sdmmc_pwr: sdmmc-pwr {
693			rockchip,pins = <7 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
694		};
695	};
696
697	usb {
698		host_vbus_drv: host-vbus-drv {
699			rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
700		};
701	};
702
703	wireless-bluetooth {
704		uart0_gpios: uart0-gpios {
705			rockchip,pins = <4 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
706		};
707	};
708};
709
710&pwm0 {
711	status = "okay";
712};
713
714&rga {
715	status = "okay";
716};
717
718&route_dsi0 {
719	status = "okay";
720};
721
722&saradc {
723	vref-supply = <&vcc_18>;
724	status = "okay";
725};
726
727&sdio0 {
728	status = "okay";
729
730	clock-frequency = <50000000>;
731	clock-freq-min-max = <200000 50000000>;
732
733	bus-width = <4>;
734	cap-sd-highspeed;
735	cap-sdio-irq;
736	disable-wp;
737	keep-power-in-suspend;
738	mmc-pwrseq = <&sdio_pwrseq>;
739	non-removable;
740	num-slots = <1>;
741	pinctrl-names = "default";
742	pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk &sdio0_int>;
743	sd-uhs-sdr104;
744	no-sd;
745	no-mmc;
746};
747
748&sdmmc {
749	no-sdio;
750	no-mmc;
751	bus-width = <4>;
752	cap-mmc-highspeed;
753	sd-uhs-sdr12;
754	sd-uhs-sdr25;
755	sd-uhs-sdr50;
756	sd-uhs-sdr104;
757	cap-sd-highspeed;
758	card-detect-delay = <200>;
759	disable-wp;			/* wp not hooked up */
760	num-slots = <1>;
761	pinctrl-names = "default";
762	pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
763	status = "okay";
764	vmmc-supply = <&vcc_sd>;
765	vqmmc-supply = <&vccio_sd>;
766	no-sdio;
767	no-mmc;
768};
769
770&tsadc {
771	rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
772	status = "okay";
773};
774
775&uart0 {
776	pinctrl-names = "default";
777	pinctrl-0 = <&uart0_xfer &uart0_cts>;
778	status = "okay";
779};
780
781&uart2 {
782	status = "okay";
783};
784
785&usbphy {
786	status = "okay";
787};
788
789&usb_host0_ehci {
790	rockchip-relinquish-port;
791	status = "okay";
792};
793
794&usb_host0_ohci {
795	status = "okay";
796};
797
798&usb_host1 {
799	status = "okay";
800};
801
802&usb_otg {
803	status = "okay";
804};
805
806&vopb {
807	status = "okay";
808};
809
810&vopb_mmu {
811	status = "okay";
812};
813
814&vopl {
815	status = "okay";
816};
817
818&vopl_mmu {
819	status = "okay";
820};
821
822&vpu_service {
823	status = "okay";
824};
825
826&wdt {
827	status = "okay";
828};
829