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