8e69c562e2564f1bc32f1700237f7ee2efb2a208
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / boot / dts / rockchip / rk3399-box-808-android.dts
1 /*
2  * Copyright (c) 2016 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
45 #include <dt-bindings/pwm/pwm.h>
46 #include <dt-bindings/input/input.h>
47 #include "rk3399.dtsi"
48 #include "rk3399-android.dtsi"
49
50 / {
51         model = "Rockchip RK3399 Box Board v1 (Android)";
52         compatible = "rockchip,rk3399";
53
54         vcc1v8_s0: vcc1v8-s0 {
55                 compatible = "regulator-fixed";
56                 regulator-name = "vcc1v8_s0";
57                 regulator-min-microvolt = <1800000>;
58                 regulator-max-microvolt = <1800000>;
59                 regulator-always-on;
60         };
61
62         vcc_sys: vcc-sys {
63                 compatible = "regulator-fixed";
64                 regulator-name = "vcc_sys";
65                 regulator-min-microvolt = <5000000>;
66                 regulator-max-microvolt = <5000000>;
67                 regulator-always-on;
68         };
69
70         vcc_phy: vcc-phy-regulator {
71                 compatible = "regulator-fixed";
72                 regulator-name = "vcc_phy";
73                 regulator-always-on;
74                 regulator-boot-on;
75         };
76
77         vcc3v3_sys: vcc3v3-sys {
78                 compatible = "regulator-fixed";
79                 regulator-name = "vcc3v3_sys";
80                 regulator-min-microvolt = <3300000>;
81                 regulator-max-microvolt = <3300000>;
82                 regulator-always-on;
83                 vin-supply = <&vcc_sys>;
84         };
85
86         vdd_center: vdd-center {
87                 compatible = "pwm-regulator";
88                 pwms = <&pwm2 0 25000 0>;
89                 regulator-name = "vdd_center";
90                 regulator-min-microvolt = <800000>;
91                 regulator-max-microvolt = <1400000>;
92                 regulator-always-on;
93                 regulator-boot-on;
94
95                 /* for rockchip boot on */
96                 rockchip,pwm_id= <2>;
97                 rockchip,pwm_voltage = <900000>;
98
99                 vin-supply = <&vcc_sys>;
100         };
101
102         clkin_gmac: external-gmac-clock {
103                 compatible = "fixed-clock";
104                 clock-frequency = <125000000>;
105                 clock-output-names = "clkin_gmac";
106                 #clock-cells = <0>;
107         };
108
109         io-domains {
110                 compatible = "rockchip,rk3399-io-voltage-domain";
111                 rockchip,grf = <&grf>;
112
113                 bt656-supply = <&vcc1v8_s0>; /* bt656_gpio2ab_ms */
114                 audio-supply = <&vcc1v8_s0>; /* audio_gpio3d4a_ms */
115                 sdmmc-supply = <&vcc_sd>; /* sdmmc_gpio4b_ms */
116                 gpio1830-supply = <&vcc_3v0>; /* gpio1833_gpio4cd_ms */
117         };
118
119         pmu-io-domains {
120                 compatible = "rockchip,rk3399-pmu-io-voltage-domain";
121                 rockchip,grf = <&pmugrf>;
122
123                 pmu1830-supply = <&vcc_1v8>;
124         };
125
126         spdif-sound {
127                 status = "okay";
128                 compatible = "simple-audio-card";
129                 simple-audio-card,name = "ROCKCHIP,SPDIF";
130                 simple-audio-card,cpu {
131                         sound-dai = <&spdif>;
132                 };
133                 simple-audio-card,codec {
134                         sound-dai = <&spdif_out>;
135                 };
136         };
137
138         spdif_out: spdif-out {
139                 status = "okay";
140                 compatible = "linux,spdif-dit";
141                 #sound-dai-cells = <0>;
142         };
143
144         sdio_pwrseq: sdio-pwrseq {
145                 compatible = "mmc-pwrseq-simple";
146                 clocks = <&rk808 1>;
147                 clock-names = "ext_clock";
148                 pinctrl-names = "default";
149                 pinctrl-0 = <&wifi_enable_h>;
150
151                 /*
152                  * On the module itself this is one of these (depending
153                  * on the actual card populated):
154                  * - SDIO_RESET_L_WL_REG_ON
155                  * - PDN (power down when low)
156                  */
157                 reset-gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
158         };
159
160         wireless-wlan {
161                 compatible = "wlan-platdata";
162                 rockchip,grf = <&grf>;
163                 wifi_chip_type = "ap6354";
164                 sdio_vref = <1800>;
165                 WIFI,host_wake_irq = <&gpio0 3 GPIO_ACTIVE_HIGH>;
166                 status = "okay";
167         };
168
169         wireless-bluetooth {
170                 compatible = "bluetooth-platdata";
171                 /* wifi-bt-power-toggle; */
172                 uart_rts_gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
173                 pinctrl-names = "default", "rts_gpio";
174                 pinctrl-0 = <&uart0_rts>;
175                 pinctrl-1 = <&uart0_gpios>;
176                 /* BT,power_gpio  = <&gpio3 19 GPIO_ACTIVE_HIGH>; */
177                 BT,reset_gpio    = <&gpio0 9 GPIO_ACTIVE_HIGH>;
178                 BT,wake_gpio     = <&gpio2 26 GPIO_ACTIVE_HIGH>;
179                 BT,wake_host_irq = <&gpio0 4 GPIO_ACTIVE_HIGH>;
180                 status = "okay";
181         };
182 };
183
184 &sdmmc {
185         clock-frequency = <150000000>;
186         clock-freq-min-max = <400000 150000000>;
187         supports-sd;
188         bus-width = <4>;
189         cap-mmc-highspeed;
190         cap-sd-highspeed;
191         disable-wp;
192         num-slots = <1>;
193         sd-uhs-sdr104;
194         vqmmc-supply = <&vcc_sd>;
195         pinctrl-names = "default";
196         pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
197         status = "okay";
198 };
199
200 &sdio0 {
201         clock-frequency = <140000000>;
202         clock-freq-min-max = <200000 140000000>;
203         supports-sdio;
204         bus-width = <4>;
205         disable-wp;
206         cap-sd-highspeed;
207         cap-sdio-irq;
208         keep-power-in-suspend;
209         mmc-pwrseq = <&sdio_pwrseq>;
210         non-removable;
211         num-slots = <1>;
212         pinctrl-names = "default";
213         pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
214         sd-uhs-sdr104;
215         status = "okay";
216 };
217
218 &emmc_phy {
219         freq-sel = <200000000>;
220         dr-sel = <50>;
221         opdelay = <4>;
222         status = "okay";
223 };
224
225 &sdhci {
226         bus-width = <8>;
227         mmc-hs400-1_8v;
228         supports-emmc;
229         non-removable;
230         mmc-hs400-enhanced-strobe;
231         status = "okay";
232 };
233
234 &i2s0 {
235         status = "okay";
236         rockchip,i2s-broken-burst-len;
237         rockchip,playback-channels = <8>;
238         rockchip,capture-channels = <8>;
239         #sound-dai-cells = <0>;
240 };
241
242 &spdif {
243         status = "okay";
244         #sound-dai-cells = <0>;
245 };
246
247 &i2c0 {
248         status = "okay";
249         i2c-scl-rising-time-ns = <168>;
250         i2c-scl-falling-time-ns = <4>;
251         clock-frequency = <400000>;
252
253         vdd_cpu_b: syr827@40 {
254                 compatible = "silergy,syr827";
255                 reg = <0x40>;
256                 regulator-compatible = "fan53555-reg";
257                 regulator-name = "vdd_cpu_b";
258                 regulator-min-microvolt = <712500>;
259                 regulator-max-microvolt = <1500000>;
260                 regulator-ramp-delay = <1000>;
261                 fcs,suspend-voltage-selector = <1>;
262                 regulator-always-on;
263                 regulator-boot-on;
264                 regulator-initial-state = <3>;
265                 vin-supply = <&vcc_sys>;
266                 regulator-state-mem {
267                         regulator-off-in-suspend;
268                 };
269         };
270
271         vdd_gpu: syr828@41 {
272                 compatible = "silergy,syr828";
273                 reg = <0x41>;
274                 regulator-compatible = "fan53555-reg";
275                 regulator-name = "vdd_gpu";
276                 regulator-min-microvolt = <735000>;
277                 regulator-max-microvolt = <1400000>;
278                 regulator-ramp-delay = <1000>;
279                 fcs,suspend-voltage-selector = <1>;
280                 regulator-always-on;
281                 regulator-boot-on;
282                 vin-supply = <&vcc_sys>;
283                 regulator-state-mem {
284                         regulator-off-in-suspend;
285                 };
286         };
287
288         rk808: pmic@1b {
289                 compatible = "rockchip,rk808";
290                 reg = <0x1b>;
291                 interrupt-parent = <&gpio1>;
292                 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
293                 pinctrl-names = "default";
294                 pinctrl-0 = <&pmic_int_l>;
295                 rockchip,system-power-controller;
296                 wakeup-source;
297                 #clock-cells = <1>;
298                 clock-output-names = "xin32k", "rk808-clkout2";
299
300                 vcc1-supply = <&vcc_sys>;
301                 vcc2-supply = <&vcc_sys>;
302                 vcc3-supply = <&vcc_sys>;
303                 vcc4-supply = <&vcc_sys>;
304                 vcc6-supply = <&vcc_sys>;
305                 vcc7-supply = <&vcc_sys>;
306                 vcc8-supply = <&vcc3v3_sys>;
307                 vcc9-supply = <&vcc_sys>;
308                 vcc10-supply = <&vcc_sys>;
309                 vcc11-supply = <&vcc_sys>;
310                 vcc12-supply = <&vcc3v3_sys>;
311                 vddio-supply = <&vcc_1v8>;
312
313                 regulators {
314                         vdd_log: DCDC_REG1 {
315                                 regulator-name = "vdd_log";
316                                 regulator-min-microvolt = <750000>;
317                                 regulator-max-microvolt = <1350000>;
318                                 regulator-always-on;
319                                 regulator-boot-on;
320                                 regulator-state-mem {
321                                         regulator-on-in-suspend;
322                                         regulator-suspend-microvolt = <900000>;
323                                 };
324                         };
325
326                         vdd_cpu_l: DCDC_REG2 {
327                                 regulator-name = "vdd_cpu_l";
328                                 regulator-min-microvolt = <750000>;
329                                 regulator-max-microvolt = <1350000>;
330                                 regulator-always-on;
331                                 regulator-boot-on;
332                                 regulator-state-mem {
333                                         regulator-off-in-suspend;
334                                 };
335                         };
336
337                         vcc_ddr: DCDC_REG3 {
338                                 regulator-name = "vcc_ddr";
339                                 regulator-always-on;
340                                 regulator-boot-on;
341                                 regulator-state-mem {
342                                         regulator-on-in-suspend;
343                                 };
344                         };
345
346                         vcc_1v8: DCDC_REG4 {
347                                 regulator-name = "vcc_1v8";
348                                 regulator-min-microvolt = <1800000>;
349                                 regulator-max-microvolt = <1800000>;
350                                 regulator-always-on;
351                                 regulator-boot-on;
352                                 regulator-state-mem {
353                                         regulator-on-in-suspend;
354                                         regulator-suspend-microvolt = <1800000>;
355                                 };
356                         };
357
358                         vcc1v8_dvp: LDO_REG1 {
359                                 regulator-name = "vcc1v8_dvp";
360                                 regulator-min-microvolt = <1800000>;
361                                 regulator-max-microvolt = <1800000>;
362                                 regulator-always-on;
363                                 regulator-boot-on;
364                                 regulator-state-mem {
365                                         regulator-on-in-suspend;
366                                         regulator-suspend-microvolt = <1800000>;
367                                 };
368                         };
369
370                         vcc3v0_tp: LDO_REG2 {
371                                 regulator-name = "vcc3v0_tp";
372                                 regulator-min-microvolt = <3000000>;
373                                 regulator-max-microvolt = <3000000>;
374                                 regulator-always-on;
375                                 regulator-boot-on;
376                                 regulator-state-mem {
377                                         regulator-off-in-suspend;
378                                 };
379                         };
380
381                         vcc1v8_pll: LDO_REG3 {
382                                 regulator-name = "vcc1v8_pll";
383                                 regulator-min-microvolt = <1800000>;
384                                 regulator-max-microvolt = <1800000>;
385                                 regulator-always-on;
386                                 regulator-boot-on;
387                                 regulator-state-mem {
388                                         regulator-on-in-suspend;
389                                         regulator-suspend-microvolt = <1800000>;
390                                 };
391                         };
392
393                         vcc_sd: LDO_REG4 {
394                                 regulator-name = "vcc_sd";
395                                 regulator-min-microvolt = <1800000>;
396                                 regulator-max-microvolt = <3300000>;
397                                 regulator-always-on;
398                                 regulator-boot-on;
399                                 regulator-state-mem {
400                                         regulator-on-in-suspend;
401                                         regulator-suspend-microvolt = <3300000>;
402                                 };
403                         };
404
405                         vcc3v0_sd: LDO_REG5 {
406                                 regulator-name = "vcc3v0_sd";
407                                 regulator-min-microvolt = <3000000>;
408                                 regulator-max-microvolt = <3000000>;
409                                 regulator-always-on;
410                                 regulator-boot-on;
411                                 regulator-state-mem {
412                                         regulator-on-in-suspend;
413                                         regulator-suspend-microvolt = <3000000>;
414                                 };
415                         };
416
417                         vcc_1v5: LDO_REG6 {
418                                 regulator-name = "vcc_1v5";
419                                 regulator-min-microvolt = <1500000>;
420                                 regulator-max-microvolt = <1500000>;
421                                 regulator-always-on;
422                                 regulator-boot-on;
423                                 regulator-state-mem {
424                                         regulator-on-in-suspend;
425                                         regulator-suspend-microvolt = <1500000>;
426                                 };
427                         };
428
429                         vcc_0v9a: LDO_REG7 {
430                                 regulator-name = "vcc_0v9a";
431                                 regulator-min-microvolt = <900000>;
432                                 regulator-max-microvolt = <900000>;
433                                 regulator-always-on;
434                                 regulator-boot-on;
435                                 regulator-state-mem {
436                                         regulator-on-in-suspend;
437                                         regulator-suspend-microvolt = <900000>;
438                                 };
439                         };
440
441                         vcc_3v0: LDO_REG8 {
442                                 regulator-name = "vcc_3v0";
443                                 regulator-min-microvolt = <3000000>;
444                                 regulator-max-microvolt = <3000000>;
445                                 regulator-always-on;
446                                 regulator-boot-on;
447                                 regulator-state-mem {
448                                         regulator-on-in-suspend;
449                                         regulator-suspend-microvolt = <3000000>;
450                                 };
451                         };
452
453                         vcc3v3_s3: SWITCH_REG1 {
454                                 regulator-name = "vcc3v3_s3";
455                                 regulator-always-on;
456                                 regulator-boot-on;
457                                 regulator-state-mem {
458                                         regulator-on-in-suspend;
459                                 };
460                         };
461
462                         vcc3v3_s0: SWITCH_REG2 {
463                                 regulator-name = "vcc3v3_s0";
464                                 regulator-always-on;
465                                 regulator-boot-on;
466                                 regulator-state-mem {
467                                         regulator-on-in-suspend;
468                                 };
469                         };
470                 };
471         };
472 };
473
474 &cpu_l0 {
475         cpu-supply = <&vdd_cpu_l>;
476 };
477
478 &cpu_l1 {
479         cpu-supply = <&vdd_cpu_l>;
480 };
481
482 &cpu_l2 {
483         cpu-supply = <&vdd_cpu_l>;
484 };
485
486 &cpu_l3 {
487         cpu-supply = <&vdd_cpu_l>;
488 };
489
490 &cpu_b0 {
491         cpu-supply = <&vdd_cpu_b>;
492 };
493
494 &cpu_b1 {
495         cpu-supply = <&vdd_cpu_b>;
496 };
497
498 &gpu {
499         status = "okay";
500         mali-supply = <&vdd_gpu>;
501 };
502
503 &rga {
504         status = "okay";
505 };
506
507 &tsadc {
508         /* tshut mode 0:CRU 1:GPIO */
509         rockchip,hw-tshut-mode = <1>;
510         /* tshut polarity 0:LOW 1:HIGH */
511         rockchip,hw-tshut-polarity = <1>;
512         status = "okay";
513 };
514
515 &uart0 {
516         pinctrl-names = "default";
517         pinctrl-0 = <&uart0_xfer &uart0_cts>;
518         status = "okay";
519 };
520
521 &uart2 {
522         status = "okay";
523 };
524
525 &usb2phy {
526         vbus_drv-gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
527 };
528
529 &usb_host0_ehci {
530         status = "okay";
531 };
532
533 &usb_host0_ohci {
534         status = "okay";
535 };
536
537 &usb_host1_ehci {
538         status = "okay";
539 };
540
541 &usb_host1_ohci {
542         status = "okay";
543 };
544
545 &usbdrd3_0 {
546         status = "okay";
547 };
548
549 &usbdrd_dwc3_0 {
550         dr_mode = "peripheral";
551         status = "okay";
552 };
553
554 &usbdrd3_1 {
555         status = "okay";
556 };
557
558 &usbdrd_dwc3_1 {
559         dr_mode = "host";
560         status = "okay";
561 };
562
563 &pwm2 {
564         status = "okay";
565 };
566
567 &pwm3 {
568         status = "disabled";
569
570         interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
571         compatible = "rockchip,remotectl-pwm";
572         remote_pwm_id = <3>;
573         handle_cpu_id = <0>;
574
575         ir_key1 {
576                 rockchip,usercode = <0x4040>;
577                 rockchip,key_table =
578                         <0xf2   KEY_REPLY>,
579                         <0xba   KEY_BACK>,
580                         <0xf4   KEY_UP>,
581                         <0xf1   KEY_DOWN>,
582                         <0xef   KEY_LEFT>,
583                         <0xee   KEY_RIGHT>,
584                         <0xbd   KEY_HOME>,
585                         <0xea   KEY_VOLUMEUP>,
586                         <0xe3   KEY_VOLUMEDOWN>,
587                         <0xe2   KEY_SEARCH>,
588                         <0xb2   KEY_POWER>,
589                         <0xbc   KEY_MUTE>,
590                         <0xec   KEY_MENU>,
591                         <0xbf   0x190>,
592                         <0xe0   0x191>,
593                         <0xe1   0x192>,
594                         <0xe9   183>,
595                         <0xe6   248>,
596                         <0xe8   185>,
597                         <0xe7   186>,
598                         <0xf0   388>,
599                         <0xbe   0x175>;
600         };
601
602         ir_key2 {
603                 rockchip,usercode = <0xff00>;
604                 rockchip,key_table =
605                         <0xf9   KEY_HOME>,
606                         <0xbf   KEY_BACK>,
607                         <0xfb   KEY_MENU>,
608                         <0xaa   KEY_REPLY>,
609                         <0xb9   KEY_UP>,
610                         <0xe9   KEY_DOWN>,
611                         <0xb8   KEY_LEFT>,
612                         <0xea   KEY_RIGHT>,
613                         <0xeb   KEY_VOLUMEDOWN>,
614                         <0xef   KEY_VOLUMEUP>,
615                         <0xf7   KEY_MUTE>,
616                         <0xe7   KEY_POWER>,
617                         <0xfc   KEY_POWER>,
618                         <0xa9   KEY_VOLUMEDOWN>,
619                         <0xa8   KEY_VOLUMEDOWN>,
620                         <0xe0   KEY_VOLUMEDOWN>,
621                         <0xa5   KEY_VOLUMEDOWN>,
622                         <0xab   183>,
623                         <0xb7   388>,
624                         <0xf8   184>,
625                         <0xaf   185>,
626                         <0xed   KEY_VOLUMEDOWN>,
627                         <0xee   186>,
628                         <0xb3   KEY_VOLUMEDOWN>,
629                         <0xf1   KEY_VOLUMEDOWN>,
630                         <0xf2   KEY_VOLUMEDOWN>,
631                         <0xf3   KEY_SEARCH>,
632                         <0xb4   KEY_VOLUMEDOWN>,
633                         <0xbe   KEY_SEARCH>;
634         };
635
636         ir_key3 {
637                 rockchip,usercode = <0x1dcc>;
638                 rockchip,key_table =
639                         <0xee   KEY_REPLY>,
640                         <0xf0   KEY_BACK>,
641                         <0xf8   KEY_UP>,
642                         <0xbb   KEY_DOWN>,
643                         <0xef   KEY_LEFT>,
644                         <0xed   KEY_RIGHT>,
645                         <0xfc   KEY_HOME>,
646                         <0xf1   KEY_VOLUMEUP>,
647                         <0xfd   KEY_VOLUMEDOWN>,
648                         <0xb7   KEY_SEARCH>,
649                         <0xff   KEY_POWER>,
650                         <0xf3   KEY_MUTE>,
651                         <0xbf   KEY_MENU>,
652                         <0xf9   0x191>,
653                         <0xf5   0x192>,
654                         <0xb3   388>,
655                         <0xbe   KEY_1>,
656                         <0xba   KEY_2>,
657                         <0xb2   KEY_3>,
658                         <0xbd   KEY_4>,
659                         <0xf9   KEY_5>,
660                         <0xb1   KEY_6>,
661                         <0xfc   KEY_7>,
662                         <0xf8   KEY_8>,
663                         <0xb0   KEY_9>,
664                         <0xb6   KEY_0>,
665                         <0xb5   KEY_BACKSPACE>;
666         };
667 };
668
669 &gmac {
670         phy-supply = <&vcc_phy>;
671         phy-mode = "rgmii";
672         clock_in_out = "input";
673         snps,reset-gpio = <&gpio3 15 GPIO_ACTIVE_LOW>;
674         snps,reset-active-low;
675         snps,reset-delays-us = <0 10000 50000>;
676         assigned-clocks = <&cru SCLK_RMII_SRC>;
677         assigned-clock-parents = <&clkin_gmac>;
678         pinctrl-names = "default";
679         pinctrl-0 = <&rgmii_pins>;
680         tx_delay = <0x28>;
681         rx_delay = <0x11>;
682         status = "okay";
683 };
684
685 &saradc {
686         status = "okay";
687 };
688
689 &pinctrl {
690         sdio-pwrseq {
691                 wifi_enable_h: wifi-enable-h {
692                         rockchip,pins = <0 10 RK_FUNC_GPIO &pcfg_pull_none>;
693                 };
694         };
695
696         wireless-bluetooth {
697                 uart0_gpios: uart0-gpios {
698                         rockchip,pins = <2 19 RK_FUNC_GPIO &pcfg_pull_none>;
699                 };
700         };
701
702         pmic {
703                 pmic_int_l: pmic-int-l {
704                         rockchip,pins =
705                                 <1 21 RK_FUNC_GPIO &pcfg_pull_up>;
706                 };
707         };
708 };
709
710 &rk_screen {
711         #include <dt-bindings/display/screen-timing/lcd-box.dtsi>
712 };
713
714 &vopb_rk_fb {
715         status = "okay";
716 };
717
718 &fb {
719         rockchip,disp-mode = <NO_DUAL>;
720 };
721
722 &hdmi_rk_fb {
723         status = "okay";
724         rockchip,hdmi_video_source = <DISPLAY_SOURCE_LCDC0>;
725 };
726
727 &i2s2 {
728         status = "okay";
729 };
730
731 &dw_hdmi_audio {
732         status = "okay";
733 };
734
735 &hdmi_sound {
736         status = "okay";
737 };