GNU Linux-libre 5.4.274-gnu1
[releases.git] / arch / arm64 / boot / dts / rockchip / rk3399-orangepi.dts
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3  * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd.
4  */
5
6 /dts-v1/;
7
8 #include "dt-bindings/pwm/pwm.h"
9 #include "dt-bindings/input/input.h"
10 #include "rk3399.dtsi"
11 #include "rk3399-opp.dtsi"
12
13 / {
14         model = "Orange Pi RK3399 Board";
15         compatible = "rockchip,rk3399-orangepi", "rockchip,rk3399";
16
17         chosen {
18                 stdout-path = "serial2:1500000n8";
19         };
20
21         clkin_gmac: external-gmac-clock {
22                 compatible = "fixed-clock";
23                 clock-frequency = <125000000>;
24                 clock-output-names = "clkin_gmac";
25                 #clock-cells = <0>;
26         };
27
28         adc-keys {
29                 compatible = "adc-keys";
30                 io-channels = <&saradc 1>;
31                 io-channel-names = "buttons";
32                 keyup-threshold-microvolt = <1800000>;
33                 poll-interval = <100>;
34
35                 button-up {
36                         label = "Volume Up";
37                         linux,code = <KEY_VOLUMEUP>;
38                         press-threshold-microvolt = <100000>;
39                 };
40
41                 button-down {
42                         label = "Volume Down";
43                         linux,code = <KEY_VOLUMEDOWN>;
44                         press-threshold-microvolt = <300000>;
45                 };
46
47                 back {
48                         label = "Back";
49                         linux,code = <KEY_BACK>;
50                         press-threshold-microvolt = <985000>;
51                 };
52
53                 menu {
54                         label = "Menu";
55                         linux,code = <KEY_MENU>;
56                         press-threshold-microvolt = <1314000>;
57                 };
58         };
59
60         dc_12v: dc-12v {
61                 compatible = "regulator-fixed";
62                 regulator-name = "dc_12v";
63                 regulator-always-on;
64                 regulator-boot-on;
65                 regulator-min-microvolt = <12000000>;
66                 regulator-max-microvolt = <12000000>;
67         };
68
69         keys: gpio-keys {
70                 compatible = "gpio-keys";
71                 autorepeat;
72
73                 power {
74                         debounce-interval = <100>;
75                         gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
76                         label = "GPIO Power";
77                         linux,code = <KEY_POWER>;
78                         linux,input-type = <1>;
79                         pinctrl-names = "default";
80                         pinctrl-0 = <&pwr_btn>;
81                         wakeup-source;
82                 };
83         };
84
85         sdio_pwrseq: sdio-pwrseq {
86                 compatible = "mmc-pwrseq-simple";
87                 clocks = <&rk808 1>;
88                 clock-names = "ext_clock";
89                 pinctrl-names = "default";
90                 pinctrl-0 = <&wifi_reg_on_h>;
91                 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
92         };
93
94         /* switched by pmic_sleep */
95         vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {
96                 compatible = "regulator-fixed";
97                 regulator-name = "vcc1v8_s3";
98                 regulator-always-on;
99                 regulator-boot-on;
100                 regulator-min-microvolt = <1800000>;
101                 regulator-max-microvolt = <1800000>;
102                 vin-supply = <&vcc_1v8>;
103         };
104
105         vcc3v0_sd: vcc3v0-sd {
106                 compatible = "regulator-fixed";
107                 enable-active-high;
108                 gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>;
109                 pinctrl-names = "default";
110                 pinctrl-0 = <&sdmmc0_pwr_h>;
111                 regulator-boot-on;
112                 regulator-max-microvolt = <3000000>;
113                 regulator-min-microvolt = <3000000>;
114                 regulator-name = "vcc3v0_sd";
115                 vin-supply = <&vcc3v3_sys>;
116         };
117
118         vcc3v3_sys: vcc3v3-sys {
119                 compatible = "regulator-fixed";
120                 regulator-name = "vcc3v3_sys";
121                 regulator-always-on;
122                 regulator-boot-on;
123                 regulator-min-microvolt = <3300000>;
124                 regulator-max-microvolt = <3300000>;
125                 vin-supply = <&vcc_sys>;
126         };
127
128         vcc5v0_host: vcc5v0-host-regulator {
129                 compatible = "regulator-fixed";
130                 enable-active-high;
131                 gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>;
132                 pinctrl-names = "default";
133                 pinctrl-0 = <&vcc5v0_host_en>;
134                 regulator-name = "vcc5v0_host";
135                 regulator-always-on;
136                 vin-supply = <&vcc_sys>;
137         };
138
139         vbus_typec: vbus-typec-regulator {
140                 compatible = "regulator-fixed";
141                 enable-active-high;
142                 gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>;
143                 pinctrl-names = "default";
144                 pinctrl-0 = <&vcc5v0_typec_en>;
145                 regulator-name = "vbus_typec";
146                 vin-supply = <&vcc_sys>;
147         };
148
149         vcc_sys: vcc-sys {
150                 compatible = "regulator-fixed";
151                 regulator-name = "vcc_sys";
152                 regulator-always-on;
153                 regulator-boot-on;
154                 regulator-min-microvolt = <5000000>;
155                 regulator-max-microvolt = <5000000>;
156                 vin-supply = <&dc_12v>;
157         };
158
159         vdd_log: vdd-log {
160                 compatible = "pwm-regulator";
161                 pwms = <&pwm2 0 25000 1>;
162                 regulator-name = "vdd_log";
163                 regulator-always-on;
164                 regulator-boot-on;
165                 regulator-min-microvolt = <800000>;
166                 regulator-max-microvolt = <1400000>;
167                 vin-supply = <&vcc_sys>;
168         };
169 };
170
171 &cpu_l0 {
172         cpu-supply = <&vdd_cpu_l>;
173 };
174
175 &cpu_l1 {
176         cpu-supply = <&vdd_cpu_l>;
177 };
178
179 &cpu_l2 {
180         cpu-supply = <&vdd_cpu_l>;
181 };
182
183 &cpu_l3 {
184         cpu-supply = <&vdd_cpu_l>;
185 };
186
187 &cpu_b0 {
188         cpu-supply = <&vdd_cpu_b>;
189 };
190
191 &cpu_b1 {
192         cpu-supply = <&vdd_cpu_b>;
193 };
194
195 &emmc_phy {
196         status = "okay";
197 };
198
199 &gmac {
200         assigned-clocks = <&cru SCLK_RMII_SRC>;
201         assigned-clock-parents = <&clkin_gmac>;
202         clock_in_out = "input";
203         phy-supply = <&vcc3v3_s3>;
204         phy-mode = "rgmii";
205         pinctrl-names = "default";
206         pinctrl-0 = <&rgmii_pins>;
207         snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
208         snps,reset-active-low;
209         snps,reset-delays-us = <0 10000 50000>;
210         tx_delay = <0x28>;
211         rx_delay = <0x11>;
212         status = "okay";
213 };
214
215 &gpu {
216         mali-supply = <&vdd_gpu>;
217         status = "okay";
218 };
219
220 &hdmi {
221         ddc-i2c-bus = <&i2c3>;
222         status = "okay";
223 };
224
225 &hdmi_sound {
226         status = "okay";
227 };
228
229 &i2c0 {
230         clock-frequency = <400000>;
231         i2c-scl-rising-time-ns = <168>;
232         i2c-scl-falling-time-ns = <4>;
233         status = "okay";
234
235         rk808: pmic@1b {
236                 compatible = "rockchip,rk808";
237                 reg = <0x1b>;
238                 interrupt-parent = <&gpio1>;
239                 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
240                 #clock-cells = <1>;
241                 clock-output-names = "rtc_clko_soc", "rtc_clko_wifi";
242                 pinctrl-names = "default";
243                 pinctrl-0 = <&pmic_int_l>;
244                 rockchip,system-power-controller;
245                 wakeup-source;
246
247                 vcc1-supply = <&vcc3v3_sys>;
248                 vcc2-supply = <&vcc3v3_sys>;
249                 vcc3-supply = <&vcc3v3_sys>;
250                 vcc4-supply = <&vcc3v3_sys>;
251                 vcc6-supply = <&vcc3v3_sys>;
252                 vcc7-supply = <&vcc3v3_sys>;
253                 vcc8-supply = <&vcc3v3_sys>;
254                 vcc9-supply = <&vcc3v3_sys>;
255                 vcc10-supply = <&vcc3v3_sys>;
256                 vcc11-supply = <&vcc3v3_sys>;
257                 vcc12-supply = <&vcc3v3_sys>;
258                 vddio-supply = <&vcc_3v0>;
259
260                 regulators {
261                         vdd_center: DCDC_REG1 {
262                                 regulator-name = "vdd_center";
263                                 regulator-always-on;
264                                 regulator-boot-on;
265                                 regulator-min-microvolt = <700000>;
266                                 regulator-max-microvolt = <1500000>;
267                                 regulator-ramp-delay = <6001>;
268                                 regulator-state-mem {
269                                         regulator-off-in-suspend;
270                                 };
271                         };
272
273                         vdd_cpu_l: DCDC_REG2 {
274                                 regulator-name = "vdd_cpu_l";
275                                 regulator-always-on;
276                                 regulator-boot-on;
277                                 regulator-min-microvolt = <700000>;
278                                 regulator-max-microvolt = <1500000>;
279                                 regulator-ramp-delay = <6001>;
280                                 regulator-state-mem {
281                                         regulator-off-in-suspend;
282                                 };
283                         };
284
285                         vcc_ddr: DCDC_REG3 {
286                                 regulator-name = "vcc_ddr";
287                                 regulator-always-on;
288                                 regulator-boot-on;
289                                 regulator-state-mem {
290                                         regulator-on-in-suspend;
291                                 };
292                         };
293
294                         vcc_1v8: DCDC_REG4 {
295                                 regulator-name = "vcc_1v8";
296                                 regulator-always-on;
297                                 regulator-boot-on;
298                                 regulator-min-microvolt = <1800000>;
299                                 regulator-max-microvolt = <3300000>;
300                                 regulator-state-mem {
301                                         regulator-on-in-suspend;
302                                         regulator-suspend-microvolt = <1800000>;
303                                 };
304                         };
305
306                         vcc1v8_dvp: LDO_REG1 {
307                                 regulator-name = "vcc1v8_dvp";
308                                 regulator-always-on;
309                                 regulator-boot-on;
310                                 regulator-min-microvolt = <1800000>;
311                                 regulator-max-microvolt = <3400000>;
312                                 regulator-state-mem {
313                                         regulator-off-in-suspend;
314                                 };
315                         };
316
317                         vcc3v0_tp: LDO_REG2 {
318                                 regulator-name = "vcc3v0_tp";
319                                 regulator-always-on;
320                                 regulator-boot-on;
321                                 regulator-min-microvolt = <1800000>;
322                                 regulator-max-microvolt = <3400000>;
323                                 regulator-state-mem {
324                                         regulator-off-in-suspend;
325                                 };
326                         };
327
328                         vcc1v8_pmupll: LDO_REG3 {
329                                 regulator-name = "vcc1v8_pmupll";
330                                 regulator-always-on;
331                                 regulator-boot-on;
332                                 regulator-min-microvolt = <800000>;
333                                 regulator-max-microvolt = <2500000>;
334                                 regulator-state-mem {
335                                         regulator-on-in-suspend;
336                                         regulator-suspend-microvolt = <1800000>;
337                                 };
338                         };
339
340                         vcc_sdio: LDO_REG4 {
341                                 regulator-name = "vcc_sdio";
342                                 regulator-always-on;
343                                 regulator-boot-on;
344                                 regulator-min-microvolt = <1800000>;
345                                 regulator-max-microvolt = <3400000>;
346                                 regulator-state-mem {
347                                         regulator-on-in-suspend;
348                                         regulator-suspend-microvolt = <3000000>;
349                                 };
350                         };
351
352                         vcca3v0_codec: LDO_REG5 {
353                                 regulator-name = "vcca3v0_codec";
354                                 regulator-always-on;
355                                 regulator-boot-on;
356                                 regulator-min-microvolt = <1800000>;
357                                 regulator-max-microvolt = <3400000>;
358                                 regulator-state-mem {
359                                         regulator-off-in-suspend;
360                                 };
361                         };
362
363                         vcc_1v5: LDO_REG6 {
364                                 regulator-name = "vcc_1v5";
365                                 regulator-always-on;
366                                 regulator-boot-on;
367                                 regulator-min-microvolt = <800000>;
368                                 regulator-max-microvolt = <2500000>;
369                                 regulator-state-mem {
370                                         regulator-on-in-suspend;
371                                         regulator-suspend-microvolt = <1500000>;
372                                 };
373                         };
374
375                         vcca1v8_codec: LDO_REG7 {
376                                 regulator-name = "vcca1v8_codec";
377                                 regulator-always-on;
378                                 regulator-boot-on;
379                                 regulator-min-microvolt = <800000>;
380                                 regulator-max-microvolt = <2500000>;
381                                 regulator-state-mem {
382                                         regulator-off-in-suspend;
383                                 };
384                         };
385
386                         vcc_3v0: LDO_REG8 {
387                                 regulator-name = "vcc_3v0";
388                                 regulator-always-on;
389                                 regulator-boot-on;
390                                 regulator-min-microvolt = <1800000>;
391                                 regulator-max-microvolt = <3400000>;
392                                 regulator-state-mem {
393                                         regulator-on-in-suspend;
394                                         regulator-suspend-microvolt = <3000000>;
395                                 };
396                         };
397
398                         vcc3v3_s3: SWITCH_REG1 {
399                                 regulator-name = "vcc3v3_s3";
400                                 regulator-always-on;
401                                 regulator-boot-on;
402                                 regulator-state-mem {
403                                         regulator-off-in-suspend;
404                                 };
405                         };
406
407                         vcc3v3_s0: SWITCH_REG2 {
408                                 regulator-name = "vcc3v3_s0";
409                                 regulator-always-on;
410                                 regulator-boot-on;
411                                 regulator-state-mem {
412                                         regulator-off-in-suspend;
413                                 };
414                         };
415                 };
416         };
417
418         vdd_cpu_b: regulator@40 {
419                 compatible = "silergy,syr827";
420                 reg = <0x40>;
421                 fcs,suspend-voltage-selector = <1>;
422                 regulator-name = "vdd_cpu_b";
423                 regulator-min-microvolt = <712500>;
424                 regulator-max-microvolt = <1500000>;
425                 regulator-ramp-delay = <1000>;
426                 regulator-always-on;
427                 regulator-boot-on;
428                 vin-supply = <&vcc3v3_sys>;
429
430                 regulator-state-mem {
431                         regulator-off-in-suspend;
432                 };
433         };
434
435         vdd_gpu: regulator@41 {
436                 compatible = "silergy,syr828";
437                 reg = <0x41>;
438                 fcs,suspend-voltage-selector = <1>;
439                 regulator-name = "vdd_gpu";
440                 regulator-min-microvolt = <712500>;
441                 regulator-max-microvolt = <1500000>;
442                 regulator-ramp-delay = <1000>;
443                 regulator-always-on;
444                 regulator-boot-on;
445                 vin-supply = <&vcc3v3_sys>;
446
447                 regulator-state-mem {
448                         regulator-off-in-suspend;
449                 };
450         };
451 };
452
453 &i2c1 {
454         i2c-scl-rising-time-ns = <450>;
455         i2c-scl-falling-time-ns = <15>;
456         status = "okay";
457 };
458
459 &i2c3 {
460         i2c-scl-rising-time-ns = <450>;
461         i2c-scl-falling-time-ns = <15>;
462         status = "okay";
463 };
464
465 &i2c4 {
466         clock-frequency = <400000>;
467         i2c-scl-rising-time-ns = <450>;
468         i2c-scl-falling-time-ns = <15>;
469         status = "okay";
470
471         ak09911@c {
472                 compatible = "asahi-kasei,ak09911";
473                 reg = <0x0c>;
474                 vdd-supply = <&vcc3v3_s3>;
475                 vid-supply = <&vcc3v3_s3>;
476         };
477
478         mpu6500@68 {
479                 compatible = "invensense,mpu6500";
480                 reg = <0x68>;
481                 interrupt-parent = <&gpio1>;
482                 interrupts = <RK_PC6 IRQ_TYPE_EDGE_RISING>;
483                 pinctrl-names = "default";
484                 pinctrl-0 = <&gsensor_int_l>;
485                 vddio-supply = <&vcc3v3_s3>;
486         };
487
488         lsm6ds3@6a {
489                 compatible = "st,lsm6ds3";
490                 reg = <0x6a>;
491                 interrupt-parent = <&gpio1>;
492                 interrupts = <RK_PD0 IRQ_TYPE_EDGE_RISING>;
493                 pinctrl-names = "default";
494                 pinctrl-0 = <&gyr_int_l>;
495                 vdd-supply = <&vcc3v3_s3>;
496                 vddio-supply = <&vcc3v3_s3>;
497         };
498
499         cm32181@10 {
500                 compatible = "capella,cm32181";
501                 reg = <0x10>;
502                 interrupt-parent = <&gpio4>;
503                 interrupts = <RK_PD0 IRQ_TYPE_EDGE_RISING>;
504                 pinctrl-names = "default";
505                 pinctrl-0 = <&light_int_l>;
506                 vdd-supply = <&vcc3v3_s3>;
507         };
508
509         fusb302@22 {
510                 compatible = "fcs,fusb302";
511                 reg = <0x22>;
512                 interrupt-parent = <&gpio1>;
513                 interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>;
514                 pinctrl-names = "default";
515                 pinctrl-0 = <&chg_cc_int_l>;
516                 vbus-supply = <&vbus_typec>;
517         };
518 };
519
520 &io_domains {
521         status = "okay";
522         bt656-supply = <&vcc_3v0>;
523         audio-supply = <&vcca1v8_codec>;
524         sdmmc-supply = <&vcc_sdio>;
525         gpio1830-supply = <&vcc_3v0>;
526 };
527
528 &pmu_io_domains {
529         status = "okay";
530         pmu1830-supply = <&vcc_3v0>;
531 };
532
533 &pinctrl {
534         buttons {
535                 pwr_btn: pwr-btn {
536                         rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
537                 };
538         };
539
540         pmic {
541                 pmic_int_l: pmic-int-l {
542                         rockchip,pins =
543                                 <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
544                 };
545         };
546
547         sd {
548                 sdmmc0_pwr_h: sdmmc0-pwr-h {
549                         rockchip,pins =
550                                 <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
551                 };
552         };
553
554         usb2 {
555                 vcc5v0_host_en: vcc5v0-host-en {
556                         rockchip,pins =
557                                 <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
558                 };
559
560                 vcc5v0_typec_en: vcc5v0-typec-en {
561                         rockchip,pins =
562                                 <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
563                 };
564         };
565
566         sdio-pwrseq {
567                 wifi_reg_on_h: wifi-reg-on-h {
568                         rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
569                 };
570         };
571
572         wifi {
573                 wifi_host_wake_l: wifi-host-wake-l {
574                         rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
575                 };
576         };
577
578         bluetooth {
579                 bt_reg_on_h: bt-enable-h {
580                         rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
581                 };
582
583                 bt_host_wake_l: bt-host-wake-l {
584                         rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
585                 };
586
587                 bt_wake_l: bt-wake-l {
588                         rockchip,pins = <2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
589                 };
590         };
591
592         mpu6500 {
593                 gsensor_int_l: gsensor-int-l {
594                         rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
595                 };
596         };
597
598         lsm6ds3 {
599                 gyr_int_l: gyr-int-l {
600                         rockchip,pins = <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
601                 };
602         };
603
604         cm32181 {
605                 light_int_l: light-int-l {
606                         rockchip,pins = <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
607                 };
608         };
609
610         fusb302 {
611                 chg_cc_int_l: chg-cc-int-l {
612                         rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>;
613                 };
614         };
615 };
616
617 &pwm0 {
618         status = "okay";
619 };
620
621 &pwm2 {
622         status = "okay";
623 };
624
625 &saradc {
626         vref-supply = <&vcca1v8_s3>;
627         status = "okay";
628 };
629
630 &sdhci {
631         bus-width = <8>;
632         mmc-hs400-1_8v;
633         mmc-hs400-enhanced-strobe;
634         non-removable;
635         status = "okay";
636 };
637
638 &sdio0 {
639         bus-width = <4>;
640         cap-sd-highspeed;
641         cap-sdio-irq;
642         clock-frequency = <50000000>;
643         disable-wp;
644         keep-power-in-suspend;
645         max-frequency = <50000000>;
646         mmc-pwrseq = <&sdio_pwrseq>;
647         non-removable;
648         pinctrl-names = "default";
649         pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
650         sd-uhs-sdr104;
651         #address-cells = <1>;
652         #size-cells = <0>;
653         status = "okay";
654
655         brcmf: wifi@1 {
656                 reg = <1>;
657                 compatible = "brcm,bcm4329-fmac";
658                 interrupt-parent = <&gpio0>;
659                 interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>;
660                 interrupt-names = "host-wake";
661                 pinctrl-names = "default";
662                 pinctrl-0 = <&wifi_host_wake_l>;
663         };
664 };
665
666 &sdmmc {
667         bus-width = <4>;
668         cap-mmc-highspeed;
669         cap-sd-highspeed;
670         cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
671         clock-frequency = <150000000>;
672         disable-wp;
673         max-frequency = <150000000>;
674         pinctrl-names = "default";
675         pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
676         vmmc-supply = <&vcc3v0_sd>;
677         vqmmc-supply = <&vcc_sdio>;
678         status = "okay";
679 };
680
681 &tcphy0 {
682         status = "okay";
683 };
684
685 &tcphy1 {
686         status = "okay";
687 };
688
689 &tsadc {
690         rockchip,hw-tshut-mode = <1>;
691         rockchip,hw-tshut-polarity = <1>;
692         status = "okay";
693 };
694
695 &u2phy0 {
696         status = "okay";
697
698         u2phy0_otg: otg-port {
699                 phy-supply = <&vbus_typec>;
700                 status = "okay";
701         };
702
703         u2phy0_host: host-port {
704                 phy-supply = <&vcc5v0_host>;
705                 status = "okay";
706         };
707 };
708
709 &u2phy1 {
710         status = "okay";
711
712         u2phy1_otg: otg-port {
713                 status = "okay";
714         };
715
716         u2phy1_host: host-port {
717                 phy-supply = <&vcc5v0_host>;
718                 status = "okay";
719         };
720 };
721
722 &uart0 {
723         pinctrl-names = "default";
724         pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
725         status = "okay";
726
727         bluetooth {
728                 compatible = "brcm,bcm43438-bt";
729                 clocks = <&rk808 1>;
730                 clock-names = "lpo";
731                 device-wakeup-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
732                 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
733                 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
734                 pinctrl-names = "default";
735                 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_reg_on_h>;
736                 vbat-supply = <&vcc3v3_sys>;
737                 vddio-supply = <&vcc_1v8>;
738         };
739 };
740
741 &uart2 {
742         status = "okay";
743 };
744
745 &usb_host0_ehci {
746         status = "okay";
747 };
748
749 &usb_host0_ohci {
750         status = "okay";
751 };
752
753 &usb_host1_ehci {
754         status = "okay";
755 };
756
757 &usb_host1_ohci {
758         status = "okay";
759 };
760
761 &usbdrd3_0 {
762         status = "okay";
763 };
764
765 &usbdrd_dwc3_0 {
766         status = "okay";
767         dr_mode = "otg";
768 };
769
770 &usbdrd3_1 {
771         status = "okay";
772 };
773
774 &usbdrd_dwc3_1 {
775         status = "okay";
776         dr_mode = "host";
777 };
778
779 &vopb {
780         status = "okay";
781 };
782
783 &vopb_mmu {
784         status = "okay";
785 };
786
787 &vopl {
788         status = "okay";
789 };
790
791 &vopl_mmu {
792         status = "okay";
793 };