ARM64: dts: rk3399: modify i2s node in rk3399-evb.dtsi
[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 &i2s2 {
243         #sound-dai-cells = <0>;
244 };
245
246 &spdif {
247         pinctrl-0 = <&spdif_bus_1>;
248         status = "okay";
249         #sound-dai-cells = <0>;
250 };
251
252 &i2c0 {
253         status = "okay";
254         i2c-scl-rising-time-ns = <168>;
255         i2c-scl-falling-time-ns = <4>;
256         clock-frequency = <400000>;
257
258         vdd_cpu_b: syr827@40 {
259                 compatible = "silergy,syr827";
260                 reg = <0x40>;
261                 regulator-compatible = "fan53555-reg";
262                 regulator-name = "vdd_cpu_b";
263                 regulator-min-microvolt = <712500>;
264                 regulator-max-microvolt = <1500000>;
265                 regulator-ramp-delay = <1000>;
266                 fcs,suspend-voltage-selector = <1>;
267                 regulator-always-on;
268                 regulator-boot-on;
269                 regulator-initial-state = <3>;
270                 vin-supply = <&vcc_sys>;
271                 regulator-state-mem {
272                         regulator-off-in-suspend;
273                 };
274         };
275
276         vdd_gpu: syr828@41 {
277                 compatible = "silergy,syr828";
278                 reg = <0x41>;
279                 regulator-compatible = "fan53555-reg";
280                 regulator-name = "vdd_gpu";
281                 regulator-min-microvolt = <735000>;
282                 regulator-max-microvolt = <1400000>;
283                 regulator-ramp-delay = <1000>;
284                 fcs,suspend-voltage-selector = <1>;
285                 regulator-always-on;
286                 regulator-boot-on;
287                 vin-supply = <&vcc_sys>;
288                 regulator-state-mem {
289                         regulator-off-in-suspend;
290                 };
291         };
292
293         rk808: pmic@1b {
294                 compatible = "rockchip,rk808";
295                 reg = <0x1b>;
296                 interrupt-parent = <&gpio1>;
297                 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
298                 pinctrl-names = "default";
299                 pinctrl-0 = <&pmic_int_l>;
300                 rockchip,system-power-controller;
301                 wakeup-source;
302                 #clock-cells = <1>;
303                 clock-output-names = "xin32k", "rk808-clkout2";
304
305                 vcc1-supply = <&vcc_sys>;
306                 vcc2-supply = <&vcc_sys>;
307                 vcc3-supply = <&vcc_sys>;
308                 vcc4-supply = <&vcc_sys>;
309                 vcc6-supply = <&vcc_sys>;
310                 vcc7-supply = <&vcc_sys>;
311                 vcc8-supply = <&vcc3v3_sys>;
312                 vcc9-supply = <&vcc_sys>;
313                 vcc10-supply = <&vcc_sys>;
314                 vcc11-supply = <&vcc_sys>;
315                 vcc12-supply = <&vcc3v3_sys>;
316                 vddio-supply = <&vcc_1v8>;
317
318                 regulators {
319                         vdd_log: DCDC_REG1 {
320                                 regulator-name = "vdd_log";
321                                 regulator-min-microvolt = <750000>;
322                                 regulator-max-microvolt = <1350000>;
323                                 regulator-always-on;
324                                 regulator-boot-on;
325                                 regulator-state-mem {
326                                         regulator-on-in-suspend;
327                                         regulator-suspend-microvolt = <900000>;
328                                 };
329                         };
330
331                         vdd_cpu_l: DCDC_REG2 {
332                                 regulator-name = "vdd_cpu_l";
333                                 regulator-min-microvolt = <750000>;
334                                 regulator-max-microvolt = <1350000>;
335                                 regulator-always-on;
336                                 regulator-boot-on;
337                                 regulator-state-mem {
338                                         regulator-off-in-suspend;
339                                 };
340                         };
341
342                         vcc_ddr: DCDC_REG3 {
343                                 regulator-name = "vcc_ddr";
344                                 regulator-always-on;
345                                 regulator-boot-on;
346                                 regulator-state-mem {
347                                         regulator-on-in-suspend;
348                                 };
349                         };
350
351                         vcc_1v8: DCDC_REG4 {
352                                 regulator-name = "vcc_1v8";
353                                 regulator-min-microvolt = <1800000>;
354                                 regulator-max-microvolt = <1800000>;
355                                 regulator-always-on;
356                                 regulator-boot-on;
357                                 regulator-state-mem {
358                                         regulator-on-in-suspend;
359                                         regulator-suspend-microvolt = <1800000>;
360                                 };
361                         };
362
363                         vcc1v8_dvp: LDO_REG1 {
364                                 regulator-name = "vcc1v8_dvp";
365                                 regulator-min-microvolt = <1800000>;
366                                 regulator-max-microvolt = <1800000>;
367                                 regulator-always-on;
368                                 regulator-boot-on;
369                                 regulator-state-mem {
370                                         regulator-on-in-suspend;
371                                         regulator-suspend-microvolt = <1800000>;
372                                 };
373                         };
374
375                         vcc3v0_tp: LDO_REG2 {
376                                 regulator-name = "vcc3v0_tp";
377                                 regulator-min-microvolt = <3000000>;
378                                 regulator-max-microvolt = <3000000>;
379                                 regulator-always-on;
380                                 regulator-boot-on;
381                                 regulator-state-mem {
382                                         regulator-off-in-suspend;
383                                 };
384                         };
385
386                         vcc1v8_pll: LDO_REG3 {
387                                 regulator-name = "vcc1v8_pll";
388                                 regulator-min-microvolt = <1800000>;
389                                 regulator-max-microvolt = <1800000>;
390                                 regulator-always-on;
391                                 regulator-boot-on;
392                                 regulator-state-mem {
393                                         regulator-on-in-suspend;
394                                         regulator-suspend-microvolt = <1800000>;
395                                 };
396                         };
397
398                         vcc_sd: LDO_REG4 {
399                                 regulator-name = "vcc_sd";
400                                 regulator-min-microvolt = <1800000>;
401                                 regulator-max-microvolt = <3300000>;
402                                 regulator-always-on;
403                                 regulator-boot-on;
404                                 regulator-state-mem {
405                                         regulator-on-in-suspend;
406                                         regulator-suspend-microvolt = <3300000>;
407                                 };
408                         };
409
410                         vcc3v0_sd: LDO_REG5 {
411                                 regulator-name = "vcc3v0_sd";
412                                 regulator-min-microvolt = <3000000>;
413                                 regulator-max-microvolt = <3000000>;
414                                 regulator-always-on;
415                                 regulator-boot-on;
416                                 regulator-state-mem {
417                                         regulator-on-in-suspend;
418                                         regulator-suspend-microvolt = <3000000>;
419                                 };
420                         };
421
422                         vcc_1v5: LDO_REG6 {
423                                 regulator-name = "vcc_1v5";
424                                 regulator-min-microvolt = <1500000>;
425                                 regulator-max-microvolt = <1500000>;
426                                 regulator-always-on;
427                                 regulator-boot-on;
428                                 regulator-state-mem {
429                                         regulator-on-in-suspend;
430                                         regulator-suspend-microvolt = <1500000>;
431                                 };
432                         };
433
434                         vcc_0v9a: LDO_REG7 {
435                                 regulator-name = "vcc_0v9a";
436                                 regulator-min-microvolt = <900000>;
437                                 regulator-max-microvolt = <900000>;
438                                 regulator-always-on;
439                                 regulator-boot-on;
440                                 regulator-state-mem {
441                                         regulator-on-in-suspend;
442                                         regulator-suspend-microvolt = <900000>;
443                                 };
444                         };
445
446                         vcc_3v0: LDO_REG8 {
447                                 regulator-name = "vcc_3v0";
448                                 regulator-min-microvolt = <3000000>;
449                                 regulator-max-microvolt = <3000000>;
450                                 regulator-always-on;
451                                 regulator-boot-on;
452                                 regulator-state-mem {
453                                         regulator-on-in-suspend;
454                                         regulator-suspend-microvolt = <3000000>;
455                                 };
456                         };
457
458                         vcc3v3_s3: SWITCH_REG1 {
459                                 regulator-name = "vcc3v3_s3";
460                                 regulator-always-on;
461                                 regulator-boot-on;
462                                 regulator-state-mem {
463                                         regulator-on-in-suspend;
464                                 };
465                         };
466
467                         vcc3v3_s0: SWITCH_REG2 {
468                                 regulator-name = "vcc3v3_s0";
469                                 regulator-always-on;
470                                 regulator-boot-on;
471                                 regulator-state-mem {
472                                         regulator-on-in-suspend;
473                                 };
474                         };
475                 };
476         };
477 };
478
479 &cpu_l0 {
480         cpu-supply = <&vdd_cpu_l>;
481 };
482
483 &cpu_l1 {
484         cpu-supply = <&vdd_cpu_l>;
485 };
486
487 &cpu_l2 {
488         cpu-supply = <&vdd_cpu_l>;
489 };
490
491 &cpu_l3 {
492         cpu-supply = <&vdd_cpu_l>;
493 };
494
495 &cpu_b0 {
496         cpu-supply = <&vdd_cpu_b>;
497 };
498
499 &cpu_b1 {
500         cpu-supply = <&vdd_cpu_b>;
501 };
502
503 &gpu {
504         status = "okay";
505         mali-supply = <&vdd_gpu>;
506 };
507
508 &rga {
509         status = "okay";
510 };
511
512 &tsadc {
513         /* tshut mode 0:CRU 1:GPIO */
514         rockchip,hw-tshut-mode = <1>;
515         /* tshut polarity 0:LOW 1:HIGH */
516         rockchip,hw-tshut-polarity = <1>;
517         status = "okay";
518 };
519
520 &uart0 {
521         pinctrl-names = "default";
522         pinctrl-0 = <&uart0_xfer &uart0_cts>;
523         status = "okay";
524 };
525
526 &uart2 {
527         status = "okay";
528 };
529
530 &usb2phy {
531         vbus_drv-gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
532 };
533
534 &usb_host0_ehci {
535         status = "okay";
536 };
537
538 &usb_host0_ohci {
539         status = "okay";
540 };
541
542 &usb_host1_ehci {
543         status = "okay";
544 };
545
546 &usb_host1_ohci {
547         status = "okay";
548 };
549
550 &usbdrd3_0 {
551         status = "okay";
552 };
553
554 &usbdrd_dwc3_0 {
555         dr_mode = "peripheral";
556         status = "okay";
557 };
558
559 &usbdrd3_1 {
560         status = "okay";
561 };
562
563 &usbdrd_dwc3_1 {
564         dr_mode = "host";
565         status = "okay";
566 };
567
568 &pwm2 {
569         status = "okay";
570 };
571
572 &pwm3 {
573         status = "disabled";
574
575         interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
576         compatible = "rockchip,remotectl-pwm";
577         remote_pwm_id = <3>;
578         handle_cpu_id = <0>;
579
580         ir_key1 {
581                 rockchip,usercode = <0x4040>;
582                 rockchip,key_table =
583                         <0xf2   KEY_REPLY>,
584                         <0xba   KEY_BACK>,
585                         <0xf4   KEY_UP>,
586                         <0xf1   KEY_DOWN>,
587                         <0xef   KEY_LEFT>,
588                         <0xee   KEY_RIGHT>,
589                         <0xbd   KEY_HOME>,
590                         <0xea   KEY_VOLUMEUP>,
591                         <0xe3   KEY_VOLUMEDOWN>,
592                         <0xe2   KEY_SEARCH>,
593                         <0xb2   KEY_POWER>,
594                         <0xbc   KEY_MUTE>,
595                         <0xec   KEY_MENU>,
596                         <0xbf   0x190>,
597                         <0xe0   0x191>,
598                         <0xe1   0x192>,
599                         <0xe9   183>,
600                         <0xe6   248>,
601                         <0xe8   185>,
602                         <0xe7   186>,
603                         <0xf0   388>,
604                         <0xbe   0x175>;
605         };
606
607         ir_key2 {
608                 rockchip,usercode = <0xff00>;
609                 rockchip,key_table =
610                         <0xf9   KEY_HOME>,
611                         <0xbf   KEY_BACK>,
612                         <0xfb   KEY_MENU>,
613                         <0xaa   KEY_REPLY>,
614                         <0xb9   KEY_UP>,
615                         <0xe9   KEY_DOWN>,
616                         <0xb8   KEY_LEFT>,
617                         <0xea   KEY_RIGHT>,
618                         <0xeb   KEY_VOLUMEDOWN>,
619                         <0xef   KEY_VOLUMEUP>,
620                         <0xf7   KEY_MUTE>,
621                         <0xe7   KEY_POWER>,
622                         <0xfc   KEY_POWER>,
623                         <0xa9   KEY_VOLUMEDOWN>,
624                         <0xa8   KEY_VOLUMEDOWN>,
625                         <0xe0   KEY_VOLUMEDOWN>,
626                         <0xa5   KEY_VOLUMEDOWN>,
627                         <0xab   183>,
628                         <0xb7   388>,
629                         <0xf8   184>,
630                         <0xaf   185>,
631                         <0xed   KEY_VOLUMEDOWN>,
632                         <0xee   186>,
633                         <0xb3   KEY_VOLUMEDOWN>,
634                         <0xf1   KEY_VOLUMEDOWN>,
635                         <0xf2   KEY_VOLUMEDOWN>,
636                         <0xf3   KEY_SEARCH>,
637                         <0xb4   KEY_VOLUMEDOWN>,
638                         <0xbe   KEY_SEARCH>;
639         };
640
641         ir_key3 {
642                 rockchip,usercode = <0x1dcc>;
643                 rockchip,key_table =
644                         <0xee   KEY_REPLY>,
645                         <0xf0   KEY_BACK>,
646                         <0xf8   KEY_UP>,
647                         <0xbb   KEY_DOWN>,
648                         <0xef   KEY_LEFT>,
649                         <0xed   KEY_RIGHT>,
650                         <0xfc   KEY_HOME>,
651                         <0xf1   KEY_VOLUMEUP>,
652                         <0xfd   KEY_VOLUMEDOWN>,
653                         <0xb7   KEY_SEARCH>,
654                         <0xff   KEY_POWER>,
655                         <0xf3   KEY_MUTE>,
656                         <0xbf   KEY_MENU>,
657                         <0xf9   0x191>,
658                         <0xf5   0x192>,
659                         <0xb3   388>,
660                         <0xbe   KEY_1>,
661                         <0xba   KEY_2>,
662                         <0xb2   KEY_3>,
663                         <0xbd   KEY_4>,
664                         <0xf9   KEY_5>,
665                         <0xb1   KEY_6>,
666                         <0xfc   KEY_7>,
667                         <0xf8   KEY_8>,
668                         <0xb0   KEY_9>,
669                         <0xb6   KEY_0>,
670                         <0xb5   KEY_BACKSPACE>;
671         };
672 };
673
674 &gmac {
675         phy-supply = <&vcc_phy>;
676         phy-mode = "rgmii";
677         clock_in_out = "input";
678         snps,reset-gpio = <&gpio3 15 GPIO_ACTIVE_LOW>;
679         snps,reset-active-low;
680         snps,reset-delays-us = <0 10000 50000>;
681         assigned-clocks = <&cru SCLK_RMII_SRC>;
682         assigned-clock-parents = <&clkin_gmac>;
683         pinctrl-names = "default";
684         pinctrl-0 = <&rgmii_pins>;
685         tx_delay = <0x28>;
686         rx_delay = <0x11>;
687         status = "okay";
688 };
689
690 &saradc {
691         status = "okay";
692 };
693
694 &pinctrl {
695         sdio-pwrseq {
696                 wifi_enable_h: wifi-enable-h {
697                         rockchip,pins = <0 10 RK_FUNC_GPIO &pcfg_pull_none>;
698                 };
699         };
700
701         wireless-bluetooth {
702                 uart0_gpios: uart0-gpios {
703                         rockchip,pins = <2 19 RK_FUNC_GPIO &pcfg_pull_none>;
704                 };
705         };
706
707         pmic {
708                 pmic_int_l: pmic-int-l {
709                         rockchip,pins =
710                                 <1 21 RK_FUNC_GPIO &pcfg_pull_up>;
711                 };
712         };
713 };
714
715 &rk_screen {
716         #include <dt-bindings/display/screen-timing/lcd-box.dtsi>
717 };
718
719 &vopb_rk_fb {
720         status = "okay";
721 };
722
723 &fb {
724         rockchip,disp-mode = <NO_DUAL>;
725         rockchip,disp-policy = <DISPLAY_POLICY_BOX>;
726 };
727
728 &hdmi_rk_fb {
729         status = "okay";
730         rockchip,hdmi_video_source = <DISPLAY_SOURCE_LCDC0>;
731 };
732
733 &i2s2 {
734         status = "okay";
735 };
736
737 &dw_hdmi_audio {
738         status = "okay";
739 };
740
741 &hdmi_sound {
742         status = "okay";
743 };