1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd.
4 * Copyright (c) 2018 Akash Gajjar <Akash_Gajjar@mentor.com>
5 * Copyright (c) 2020 Tobias Schramm <t.schramm@manjaro.org>
9 #include <dt-bindings/input/gpio-keys.h>
10 #include <dt-bindings/input/linux-event-codes.h>
11 #include <dt-bindings/pwm/pwm.h>
12 #include <dt-bindings/usb/pd.h>
13 #include <dt-bindings/leds/common.h>
14 #include "rk3399.dtsi"
15 #include "rk3399-opp.dtsi"
18 model = "Pine64 Pinebook Pro";
19 compatible = "pine64,pinebook-pro", "rockchip,rk3399";
20 chassis-type = "laptop";
29 stdout-path = "serial2:1500000n8";
32 backlight: edp-backlight {
33 compatible = "pwm-backlight";
34 power-supply = <&vcc_12v>;
35 pwms = <&pwm0 0 740740 0>;
39 compatible = "simple-battery";
40 charge-full-design-microamp-hours = <9800000>;
41 voltage-max-design-microvolt = <4350000>;
42 voltage-min-design-microvolt = <3000000>;
45 edp_panel: edp-panel {
46 compatible = "boe,nv140fhmn49";
47 backlight = <&backlight>;
48 enable-gpios = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
49 pinctrl-names = "default";
50 pinctrl-0 = <&panel_en_pin>;
51 power-supply = <&vcc3v3_panel>;
62 panel_in_edp: endpoint@0 {
64 remote-endpoint = <&edp_out_panel>;
71 * Use separate nodes for gpio-keys to allow for selective deactivation
72 * of wakeup sources via sysfs without disabling the whole key
75 compatible = "gpio-keys";
76 pinctrl-names = "default";
77 pinctrl-0 = <&lidbtn_pin>;
80 debounce-interval = <20>;
81 gpios = <&gpio1 RK_PA1 GPIO_ACTIVE_LOW>;
83 linux,code = <SW_LID>;
84 linux,input-type = <EV_SW>;
85 wakeup-event-action = <EV_ACT_DEASSERTED>;
91 compatible = "gpio-keys";
92 pinctrl-names = "default";
93 pinctrl-0 = <&pwrbtn_pin>;
96 debounce-interval = <20>;
97 gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
99 linux,code = <KEY_POWER>;
105 compatible = "gpio-leds";
106 pinctrl-names = "default";
107 pinctrl-0 = <&pwr_led_pin &slp_led_pin>;
110 color = <LED_COLOR_ID_GREEN>;
111 default-state = "on";
112 function = LED_FUNCTION_POWER;
113 gpios = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
114 label = "green:power";
118 color = <LED_COLOR_ID_RED>;
119 default-state = "off";
120 function = LED_FUNCTION_STANDBY;
121 gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>;
122 label = "red:standby";
124 retain-state-suspended;
128 /* Power sequence for SDIO WiFi module */
129 sdio_pwrseq: sdio-pwrseq {
130 compatible = "mmc-pwrseq-simple";
132 clock-names = "ext_clock";
133 pinctrl-names = "default";
134 pinctrl-0 = <&wifi_enable_h_pin>;
135 post-power-on-delay-ms = <100>;
136 power-off-delay-us = <500000>;
138 /* WL_REG_ON on module */
139 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
142 /* Audio components */
144 compatible = "simple-audio-card";
145 pinctrl-names = "default";
146 pinctrl-0 = <&hp_det_pin>;
147 simple-audio-card,name = "rockchip,es8316-codec";
148 simple-audio-card,format = "i2s";
149 simple-audio-card,mclk-fs = <256>;
151 simple-audio-card,widgets =
152 "Microphone", "Mic Jack",
153 "Headphone", "Headphones",
154 "Speaker", "Speaker";
155 simple-audio-card,routing =
157 "Headphones", "HPOL",
158 "Headphones", "HPOR",
159 "Speaker Amplifier INL", "HPOL",
160 "Speaker Amplifier INR", "HPOR",
161 "Speaker", "Speaker Amplifier OUTL",
162 "Speaker", "Speaker Amplifier OUTR";
164 simple-audio-card,hp-det-gpio = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>;
165 simple-audio-card,aux-devs = <&speaker_amp>;
166 simple-audio-card,pin-switches = "Speaker";
168 simple-audio-card,cpu {
172 simple-audio-card,codec {
173 sound-dai = <&es8316>;
177 speaker_amp: speaker-amplifier {
178 compatible = "simple-audio-amplifier";
179 enable-gpios = <&gpio4 RK_PD3 GPIO_ACTIVE_HIGH>;
180 sound-name-prefix = "Speaker Amplifier";
181 VCC-supply = <&pa_5v>;
185 /* Root power source */
186 vcc_sysin: vcc-sysin {
187 compatible = "regulator-fixed";
188 regulator-name = "vcc_sysin";
193 /* Regulators supplied by vcc_sysin */
194 /* LCD backlight supply */
196 compatible = "regulator-fixed";
197 regulator-name = "vcc_12v";
200 regulator-min-microvolt = <12000000>;
201 regulator-max-microvolt = <12000000>;
202 vin-supply = <&vcc_sysin>;
204 regulator-state-mem {
205 regulator-off-in-suspend;
209 /* Main 3.3 V supply */
210 vcc3v3_sys: wifi_bat: vcc3v3-sys {
211 compatible = "regulator-fixed";
212 regulator-name = "vcc3v3_sys";
215 regulator-min-microvolt = <3300000>;
216 regulator-max-microvolt = <3300000>;
217 vin-supply = <&vcc_sysin>;
219 regulator-state-mem {
220 regulator-on-in-suspend;
224 /* 5 V USB power supply */
225 vcc5v0_usb: pa_5v: vcc5v0-usb-regulator {
226 compatible = "regulator-fixed";
228 gpio = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>;
229 pinctrl-names = "default";
230 pinctrl-0 = <&pwr_5v_pin>;
231 regulator-name = "vcc5v0_usb";
233 regulator-min-microvolt = <5000000>;
234 regulator-max-microvolt = <5000000>;
235 vin-supply = <&vcc_sysin>;
237 regulator-state-mem {
238 regulator-off-in-suspend;
242 /* RK3399 logic supply */
244 compatible = "pwm-regulator";
245 pwms = <&pwm2 0 25000 1>;
246 pwm-supply = <&vcc_sysin>;
247 regulator-name = "vdd_log";
250 regulator-min-microvolt = <800000>;
251 regulator-max-microvolt = <1400000>;
253 regulator-state-mem {
254 regulator-on-in-suspend;
258 /* Regulators supplied by vcc3v3_sys */
259 /* 0.9 V supply, always on */
261 compatible = "regulator-fixed";
262 regulator-name = "vcc_0v9";
265 regulator-min-microvolt = <900000>;
266 regulator-max-microvolt = <900000>;
267 vin-supply = <&vcc3v3_sys>;
270 /* S3 1.8 V supply, switched by vcc1v8_s3 */
271 vcca1v8_s3: vcc1v8-s3 {
272 compatible = "regulator-fixed";
273 regulator-name = "vcca1v8_s3";
276 regulator-min-microvolt = <1800000>;
277 regulator-max-microvolt = <1800000>;
278 vin-supply = <&vcc3v3_sys>;
281 /* micro SD card power */
282 vcc3v0_sd: vcc3v0-sd {
283 compatible = "regulator-fixed";
285 gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>;
286 pinctrl-names = "default";
287 pinctrl-0 = <&sdmmc0_pwr_h_pin>;
288 regulator-name = "vcc3v0_sd";
290 regulator-min-microvolt = <3000000>;
291 regulator-max-microvolt = <3000000>;
292 vin-supply = <&vcc3v3_sys>;
294 regulator-state-mem {
295 regulator-off-in-suspend;
299 /* LCD panel power, called VCC3V3_S0 in schematic */
300 vcc3v3_panel: vcc3v3-panel {
301 compatible = "regulator-fixed";
303 gpio = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>;
304 pinctrl-names = "default";
305 pinctrl-0 = <&lcdvcc_en_pin>;
306 regulator-name = "vcc3v3_panel";
308 regulator-min-microvolt = <3300000>;
309 regulator-max-microvolt = <3300000>;
310 regulator-enable-ramp-delay = <100000>;
311 vin-supply = <&vcc3v3_sys>;
313 regulator-state-mem {
314 regulator-off-in-suspend;
318 /* M.2 adapter power, switched by vcc1v8_s3 */
319 vcc3v3_ssd: vcc3v3-ssd {
320 compatible = "regulator-fixed";
321 regulator-name = "vcc3v3_ssd";
322 regulator-min-microvolt = <3300000>;
323 regulator-max-microvolt = <3300000>;
324 vin-supply = <&vcc3v3_sys>;
327 /* Regulators supplied by vcc5v0_usb */
328 /* USB 3 port power supply regulator */
329 vcc5v0_otg: vcc5v0-otg {
330 compatible = "regulator-fixed";
332 gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
333 pinctrl-names = "default";
334 pinctrl-0 = <&vcc5v0_host_en_pin>;
335 regulator-name = "vcc5v0_otg";
337 regulator-min-microvolt = <5000000>;
338 regulator-max-microvolt = <5000000>;
339 vin-supply = <&vcc5v0_usb>;
341 regulator-state-mem {
342 regulator-off-in-suspend;
346 /* Regulators supplied by vcc5v0_usb */
347 /* Type C port power supply regulator */
348 vbus_5vout: vbus_typec: vbus-5vout {
349 compatible = "regulator-fixed";
351 gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>;
352 pinctrl-names = "default";
353 pinctrl-0 = <&vcc5v0_typec0_en_pin>;
354 regulator-name = "vbus_5vout";
355 regulator-min-microvolt = <5000000>;
356 regulator-max-microvolt = <5000000>;
357 vin-supply = <&vcc5v0_usb>;
359 regulator-state-mem {
360 regulator-off-in-suspend;
364 /* Regulators supplied by vcc_1v8 */
365 /* Primary 0.9 V LDO */
366 vcca0v9_s3: vcca0v9-s3 {
367 compatible = "regulator-fixed";
368 regulator-name = "vcc0v9_s3";
369 regulator-min-microvolt = <5000000>;
370 regulator-max-microvolt = <5000000>;
371 vin-supply = <&vcc_1v8>;
373 regulator-state-mem {
374 regulator-on-in-suspend;
378 mains_charger: dc-charger {
379 compatible = "gpio-charger";
380 charger-type = "mains";
381 gpios = <&gpio4 RK_PD0 GPIO_ACTIVE_LOW>;
383 /* Also triggered by USB charger */
384 pinctrl-names = "default";
385 pinctrl-0 = <&dc_det_pin>;
390 cpu-supply = <&vdd_cpu_b>;
394 cpu-supply = <&vdd_cpu_b>;
398 cpu-supply = <&vdd_cpu_l>;
402 cpu-supply = <&vdd_cpu_l>;
406 cpu-supply = <&vdd_cpu_l>;
410 cpu-supply = <&vdd_cpu_l>;
415 pinctrl-names = "default";
416 pinctrl-0 = <&edp_hpd>;
422 #address-cells = <1>;
425 edp_out_panel: endpoint@0 {
427 remote-endpoint = <&panel_in_edp>;
438 mali-supply = <&vdd_gpu>;
447 clock-frequency = <400000>;
448 i2c-scl-falling-time-ns = <4>;
449 i2c-scl-rising-time-ns = <168>;
453 compatible = "rockchip,rk808";
456 clock-output-names = "xin32k", "rk808-clkout2";
457 interrupt-parent = <&gpio3>;
458 interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
459 pinctrl-names = "default";
460 pinctrl-0 = <&pmic_int_l_pin>;
461 rockchip,system-power-controller;
464 vcc1-supply = <&vcc_sysin>;
465 vcc2-supply = <&vcc_sysin>;
466 vcc3-supply = <&vcc_sysin>;
467 vcc4-supply = <&vcc_sysin>;
468 vcc6-supply = <&vcc_sysin>;
469 vcc7-supply = <&vcc_sysin>;
470 vcc8-supply = <&vcc3v3_sys>;
471 vcc9-supply = <&vcc_sysin>;
472 vcc10-supply = <&vcc_sysin>;
473 vcc11-supply = <&vcc_sysin>;
474 vcc12-supply = <&vcc3v3_sys>;
477 /* rk3399 center logic supply */
478 vdd_center: DCDC_REG1 {
479 regulator-name = "vdd_center";
482 regulator-min-microvolt = <750000>;
483 regulator-max-microvolt = <1350000>;
484 regulator-ramp-delay = <6001>;
486 regulator-state-mem {
487 regulator-off-in-suspend;
491 vdd_cpu_l: DCDC_REG2 {
492 regulator-name = "vdd_cpu_l";
495 regulator-min-microvolt = <750000>;
496 regulator-max-microvolt = <1350000>;
497 regulator-ramp-delay = <6001>;
499 regulator-state-mem {
500 regulator-off-in-suspend;
505 regulator-name = "vcc_ddr";
509 regulator-state-mem {
510 regulator-on-in-suspend;
514 vcc_1v8: vcc_wl: DCDC_REG4 {
515 regulator-name = "vcc_1v8";
518 regulator-min-microvolt = <1800000>;
519 regulator-max-microvolt = <1800000>;
521 regulator-state-mem {
522 regulator-on-in-suspend;
523 regulator-suspend-microvolt = <1800000>;
535 vcc1v8_pmupll: LDO_REG3 {
536 regulator-name = "vcc1v8_pmupll";
539 regulator-min-microvolt = <1800000>;
540 regulator-max-microvolt = <1800000>;
542 regulator-state-mem {
543 regulator-on-in-suspend;
544 regulator-suspend-microvolt = <1800000>;
549 regulator-name = "vcc_sdio";
552 regulator-min-microvolt = <1800000>;
553 regulator-max-microvolt = <3000000>;
555 regulator-state-mem {
556 regulator-on-in-suspend;
557 regulator-suspend-microvolt = <3000000>;
561 vcca3v0_codec: LDO_REG5 {
562 regulator-name = "vcca3v0_codec";
565 regulator-min-microvolt = <3000000>;
566 regulator-max-microvolt = <3000000>;
568 regulator-state-mem {
569 regulator-off-in-suspend;
574 regulator-name = "vcc_1v5";
577 regulator-min-microvolt = <1500000>;
578 regulator-max-microvolt = <1500000>;
580 regulator-state-mem {
581 regulator-on-in-suspend;
582 regulator-suspend-microvolt = <1500000>;
586 vcca1v8_codec: LDO_REG7 {
587 regulator-name = "vcca1v8_codec";
590 regulator-min-microvolt = <1800000>;
591 regulator-max-microvolt = <1800000>;
593 regulator-state-mem {
594 regulator-off-in-suspend;
599 regulator-name = "vcc_3v0";
602 regulator-min-microvolt = <3000000>;
603 regulator-max-microvolt = <3000000>;
605 regulator-state-mem {
606 regulator-on-in-suspend;
607 regulator-suspend-microvolt = <3000000>;
611 vcc3v3_s3: SWITCH_REG1 {
612 regulator-name = "vcc3v3_s3";
616 regulator-state-mem {
617 regulator-off-in-suspend;
621 vcc3v3_s0: SWITCH_REG2 {
622 regulator-name = "vcc3v3_s0";
626 regulator-state-mem {
627 regulator-off-in-suspend;
633 vdd_cpu_b: regulator@40 {
634 compatible = "silergy,syr827";
636 fcs,suspend-voltage-selector = <1>;
637 pinctrl-names = "default";
638 pinctrl-0 = <&vsel1_pin>;
639 regulator-name = "vdd_cpu_b";
642 regulator-min-microvolt = <712500>;
643 regulator-max-microvolt = <1500000>;
644 regulator-ramp-delay = <1000>;
645 vin-supply = <&vcc_1v8>;
647 regulator-state-mem {
648 regulator-off-in-suspend;
652 vdd_gpu: regulator@41 {
653 compatible = "silergy,syr828";
655 fcs,suspend-voltage-selector = <1>;
656 pinctrl-names = "default";
657 pinctrl-0 = <&vsel2_pin>;
658 regulator-name = "vdd_gpu";
661 regulator-min-microvolt = <712500>;
662 regulator-max-microvolt = <1500000>;
663 regulator-ramp-delay = <1000>;
664 vin-supply = <&vcc_1v8>;
666 regulator-state-mem {
667 regulator-off-in-suspend;
673 clock-frequency = <100000>;
674 i2c-scl-falling-time-ns = <4>;
675 i2c-scl-rising-time-ns = <168>;
679 compatible = "everest,es8316";
681 clocks = <&cru SCLK_I2S_8CH_OUT>;
682 clock-names = "mclk";
683 #sound-dai-cells = <0>;
688 i2c-scl-falling-time-ns = <15>;
689 i2c-scl-rising-time-ns = <450>;
694 i2c-scl-falling-time-ns = <20>;
695 i2c-scl-rising-time-ns = <600>;
699 compatible = "fcs,fusb302";
701 interrupt-parent = <&gpio1>;
702 interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>;
703 pinctrl-names = "default";
704 pinctrl-0 = <&fusb0_int_pin>;
705 vbus-supply = <&vbus_typec>;
708 compatible = "usb-c-connector";
711 op-sink-microwatt = <1000000>;
714 <PDO_FIXED(5000, 2500, PDO_FIXED_USB_COMM)>;
716 <PDO_FIXED(5000, 1400, PDO_FIXED_USB_COMM)>;
717 try-power-role = "sink";
720 #address-cells = <1>;
754 compatible = "cellwise,cw2015";
756 cellwise,battery-profile = /bits/ 8 <
757 0x17 0x67 0x80 0x73 0x6E 0x6C 0x6B 0x63
758 0x77 0x51 0x5C 0x58 0x50 0x4C 0x48 0x36
759 0x15 0x0C 0x0C 0x19 0x5B 0x7D 0x6F 0x69
760 0x69 0x5B 0x0C 0x29 0x20 0x40 0x52 0x59
761 0x57 0x56 0x54 0x4F 0x3B 0x1F 0x7F 0x17
762 0x06 0x1A 0x30 0x5A 0x85 0x93 0x96 0x2D
763 0x48 0x77 0x9C 0xB3 0x80 0x52 0x94 0xCB
764 0x2F 0x00 0x64 0xA5 0xB5 0x11 0xF0 0x11
766 cellwise,monitor-interval-ms = <5000>;
767 monitored-battery = <&bat>;
768 power-supplies = <&mains_charger>, <&fusb0>;
773 pinctrl-names = "default";
774 pinctrl-0 = <&i2s_8ch_mclk_pin>, <&i2s1_2ch_bus>;
775 rockchip,capture-channels = <8>;
776 rockchip,playback-channels = <8>;
781 audio-supply = <&vcc_3v0>;
782 gpio1830-supply = <&vcc_3v0>;
783 sdmmc-supply = <&vcc_sdio>;
792 ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>;
794 pinctrl-names = "default";
795 pinctrl-0 = <&pcie_clkreqn_cpm>;
796 vpcie0v9-supply = <&vcca0v9_s3>;
797 vpcie1v8-supply = <&vcca1v8_s3>;
798 vpcie3v3-supply = <&vcc3v3_ssd>;
804 pwrbtn_pin: pwrbtn-pin {
805 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
808 lidbtn_pin: lidbtn-pin {
809 rockchip,pins = <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>;
814 dc_det_pin: dc-det-pin {
815 rockchip,pins = <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_up>;
820 hp_det_pin: hp-det-pin {
821 rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
826 fusb0_int_pin: fusb0-int-pin {
827 rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>;
832 i2s_8ch_mclk_pin: i2s-8ch-mclk-pin {
833 rockchip,pins = <4 RK_PA0 1 &pcfg_pull_none>;
838 lcdvcc_en_pin: lcdvcc-en-pin {
839 rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
842 panel_en_pin: panel-en-pin {
843 rockchip,pins = <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
846 lcd_panel_reset_pin: lcd-panel-reset-pin {
847 rockchip,pins = <4 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up>;
852 pwr_led_pin: pwr-led-pin {
853 rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
856 slp_led_pin: slp-led-pin {
857 rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
862 pmic_int_l_pin: pmic-int-l-pin {
863 rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>;
866 vsel1_pin: vsel1-pin {
867 rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
870 vsel2_pin: vsel2-pin {
871 rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
876 sdmmc0_pwr_h_pin: sdmmc0-pwr-h-pin {
877 rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
883 wifi_enable_h_pin: wifi-enable-h-pin {
884 rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
889 vcc5v0_typec0_en_pin: vcc5v0-typec0-en-pin {
890 rockchip,pins = <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
895 pwr_5v_pin: pwr-5v-pin {
896 rockchip,pins = <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
899 vcc5v0_host_en_pin: vcc5v0-host-en-pin {
900 rockchip,pins = <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
905 bt_wake_pin: bt-wake-pin {
906 rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
909 bt_host_wake_pin: bt-host-wake-pin {
910 rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
913 bt_reset_pin: bt-reset-pin {
914 rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
920 pmu1830-supply = <&vcc_3v0>;
933 vref-supply = <&vcca1v8_s3>;
941 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
943 pinctrl-names = "default";
944 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
946 vmmc-supply = <&vcc3v0_sd>;
947 vqmmc-supply = <&vcc_sdio>;
955 keep-power-in-suspend;
956 mmc-pwrseq = <&sdio_pwrseq>;
958 pinctrl-names = "default";
959 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
972 max-freq = <10000000>;
976 compatible = "jedec,spi-nor";
979 spi-max-frequency = <10000000>;
989 tcphy0_typec_dp: endpoint {
990 remote-endpoint = <&usbc_dp>;
997 tcphy0_typec_ss: endpoint {
998 remote-endpoint = <&usbc_ss>;
1008 /* tshut mode 0:CRU 1:GPIO */
1009 rockchip,hw-tshut-mode = <1>;
1010 /* tshut polarity 0:LOW 1:HIGH */
1011 rockchip,hw-tshut-polarity = <1>;
1018 u2phy0_otg: otg-port {
1022 u2phy0_host: host-port {
1023 phy-supply = <&vcc5v0_otg>;
1028 u2phy0_typec_hs: endpoint {
1029 remote-endpoint = <&usbc_hs>;
1037 u2phy1_otg: otg-port {
1041 u2phy1_host: host-port {
1042 phy-supply = <&vcc5v0_otg>;
1048 pinctrl-names = "default";
1049 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
1054 compatible = "brcm,bcm4345c5";
1055 clocks = <&rk808 1>;
1056 clock-names = "lpo";
1057 device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
1058 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
1059 max-speed = <1500000>;
1060 pinctrl-names = "default";
1061 pinctrl-0 = <&bt_host_wake_pin &bt_wake_pin &bt_reset_pin>;
1062 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
1063 vbat-supply = <&wifi_bat>;
1064 vddio-supply = <&vcc_wl>;