1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd.
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>;
54 panel_in_edp: endpoint {
55 remote-endpoint = <&edp_out_panel>;
61 * Use separate nodes for gpio-keys to allow for selective deactivation
62 * of wakeup sources via sysfs without disabling the whole key
65 compatible = "gpio-keys";
66 pinctrl-names = "default";
67 pinctrl-0 = <&lidbtn_pin>;
70 debounce-interval = <20>;
71 gpios = <&gpio1 RK_PA1 GPIO_ACTIVE_LOW>;
73 linux,code = <SW_LID>;
74 linux,input-type = <EV_SW>;
75 wakeup-event-action = <EV_ACT_DEASSERTED>;
81 compatible = "gpio-keys";
82 pinctrl-names = "default";
83 pinctrl-0 = <&pwrbtn_pin>;
86 debounce-interval = <20>;
87 gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
89 linux,code = <KEY_POWER>;
95 compatible = "gpio-leds";
96 pinctrl-names = "default";
97 pinctrl-0 = <&pwr_led_pin &slp_led_pin>;
100 color = <LED_COLOR_ID_GREEN>;
101 default-state = "on";
102 function = LED_FUNCTION_POWER;
103 gpios = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
104 label = "green:power";
108 color = <LED_COLOR_ID_RED>;
109 default-state = "off";
110 function = LED_FUNCTION_STANDBY;
111 gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>;
112 label = "red:standby";
114 retain-state-suspended;
118 /* Power sequence for SDIO WiFi module */
119 sdio_pwrseq: sdio-pwrseq {
120 compatible = "mmc-pwrseq-simple";
122 clock-names = "ext_clock";
123 pinctrl-names = "default";
124 pinctrl-0 = <&wifi_enable_h_pin>;
125 post-power-on-delay-ms = <100>;
126 power-off-delay-us = <500000>;
128 /* WL_REG_ON on module */
129 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
132 /* Audio components */
134 compatible = "simple-audio-card";
135 pinctrl-names = "default";
136 pinctrl-0 = <&hp_det_pin>;
137 simple-audio-card,name = "rockchip,es8316-codec";
138 simple-audio-card,format = "i2s";
139 simple-audio-card,mclk-fs = <256>;
141 simple-audio-card,widgets =
142 "Microphone", "Mic Jack",
143 "Headphone", "Headphones",
144 "Speaker", "Speaker";
145 simple-audio-card,routing =
147 "Headphones", "HPOL",
148 "Headphones", "HPOR",
149 "Speaker Amplifier INL", "HPOL",
150 "Speaker Amplifier INR", "HPOR",
151 "Speaker", "Speaker Amplifier OUTL",
152 "Speaker", "Speaker Amplifier OUTR";
154 simple-audio-card,hp-det-gpio = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>;
155 simple-audio-card,aux-devs = <&speaker_amp>;
156 simple-audio-card,pin-switches = "Speaker";
158 simple-audio-card,cpu {
162 simple-audio-card,codec {
163 sound-dai = <&es8316>;
167 speaker_amp: speaker-amplifier {
168 compatible = "simple-audio-amplifier";
169 enable-gpios = <&gpio4 RK_PD3 GPIO_ACTIVE_HIGH>;
170 sound-name-prefix = "Speaker Amplifier";
171 VCC-supply = <&pa_5v>;
175 /* Root power source */
176 vcc_sysin: vcc-sysin {
177 compatible = "regulator-fixed";
178 regulator-name = "vcc_sysin";
183 /* Regulators supplied by vcc_sysin */
184 /* LCD backlight supply */
186 compatible = "regulator-fixed";
187 regulator-name = "vcc_12v";
190 regulator-min-microvolt = <12000000>;
191 regulator-max-microvolt = <12000000>;
192 vin-supply = <&vcc_sysin>;
194 regulator-state-mem {
195 regulator-off-in-suspend;
199 /* Main 3.3 V supply */
200 vcc3v3_sys: wifi_bat: vcc3v3-sys {
201 compatible = "regulator-fixed";
202 regulator-name = "vcc3v3_sys";
205 regulator-min-microvolt = <3300000>;
206 regulator-max-microvolt = <3300000>;
207 vin-supply = <&vcc_sysin>;
209 regulator-state-mem {
210 regulator-on-in-suspend;
214 /* 5 V USB power supply */
215 vcc5v0_usb: pa_5v: vcc5v0-usb-regulator {
216 compatible = "regulator-fixed";
218 gpio = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>;
219 pinctrl-names = "default";
220 pinctrl-0 = <&pwr_5v_pin>;
221 regulator-name = "vcc5v0_usb";
223 regulator-min-microvolt = <5000000>;
224 regulator-max-microvolt = <5000000>;
225 vin-supply = <&vcc_sysin>;
227 regulator-state-mem {
228 regulator-off-in-suspend;
232 /* RK3399 logic supply */
234 compatible = "pwm-regulator";
235 pwms = <&pwm2 0 25000 1>;
236 pwm-supply = <&vcc_sysin>;
237 regulator-name = "vdd_log";
240 regulator-min-microvolt = <800000>;
241 regulator-max-microvolt = <1400000>;
243 regulator-state-mem {
244 regulator-on-in-suspend;
248 /* Regulators supplied by vcc3v3_sys */
249 /* 0.9 V supply, always on */
251 compatible = "regulator-fixed";
252 regulator-name = "vcc_0v9";
255 regulator-min-microvolt = <900000>;
256 regulator-max-microvolt = <900000>;
257 vin-supply = <&vcc3v3_sys>;
260 /* S3 1.8 V supply, switched by vcc1v8_s3 */
261 vcca1v8_s3: vcc1v8-s3 {
262 compatible = "regulator-fixed";
263 regulator-name = "vcca1v8_s3";
266 regulator-min-microvolt = <1800000>;
267 regulator-max-microvolt = <1800000>;
268 vin-supply = <&vcc3v3_sys>;
271 /* micro SD card power */
272 vcc3v0_sd: vcc3v0-sd {
273 compatible = "regulator-fixed";
275 gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>;
276 pinctrl-names = "default";
277 pinctrl-0 = <&sdmmc0_pwr_h_pin>;
278 regulator-name = "vcc3v0_sd";
280 regulator-min-microvolt = <3000000>;
281 regulator-max-microvolt = <3000000>;
282 vin-supply = <&vcc3v3_sys>;
284 regulator-state-mem {
285 regulator-off-in-suspend;
289 /* LCD panel power, called VCC3V3_S0 in schematic */
290 vcc3v3_panel: vcc3v3-panel {
291 compatible = "regulator-fixed";
293 gpio = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>;
294 pinctrl-names = "default";
295 pinctrl-0 = <&lcdvcc_en_pin>;
296 regulator-name = "vcc3v3_panel";
298 regulator-min-microvolt = <3300000>;
299 regulator-max-microvolt = <3300000>;
300 regulator-enable-ramp-delay = <100000>;
301 vin-supply = <&vcc3v3_sys>;
303 regulator-state-mem {
304 regulator-off-in-suspend;
308 /* M.2 adapter power, switched by vcc1v8_s3 */
309 vcc3v3_ssd: vcc3v3-ssd {
310 compatible = "regulator-fixed";
311 regulator-name = "vcc3v3_ssd";
312 regulator-min-microvolt = <3300000>;
313 regulator-max-microvolt = <3300000>;
314 vin-supply = <&vcc3v3_sys>;
317 /* Regulators supplied by vcc5v0_usb */
318 /* USB 3 port power supply regulator */
319 vcc5v0_otg: vcc5v0-otg {
320 compatible = "regulator-fixed";
322 gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
323 pinctrl-names = "default";
324 pinctrl-0 = <&vcc5v0_host_en_pin>;
325 regulator-name = "vcc5v0_otg";
327 regulator-min-microvolt = <5000000>;
328 regulator-max-microvolt = <5000000>;
329 vin-supply = <&vcc5v0_usb>;
331 regulator-state-mem {
332 regulator-off-in-suspend;
336 /* Regulators supplied by vcc5v0_usb */
337 /* Type C port power supply regulator */
338 vbus_5vout: vbus_typec: vbus-5vout {
339 compatible = "regulator-fixed";
341 gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>;
342 pinctrl-names = "default";
343 pinctrl-0 = <&vcc5v0_typec0_en_pin>;
344 regulator-name = "vbus_5vout";
345 regulator-min-microvolt = <5000000>;
346 regulator-max-microvolt = <5000000>;
347 vin-supply = <&vcc5v0_usb>;
349 regulator-state-mem {
350 regulator-off-in-suspend;
354 /* Regulators supplied by vcc_1v8 */
355 /* Primary 0.9 V LDO */
356 vcca0v9_s3: vcca0v9-s3 {
357 compatible = "regulator-fixed";
358 regulator-name = "vcc0v9_s3";
359 regulator-min-microvolt = <5000000>;
360 regulator-max-microvolt = <5000000>;
361 vin-supply = <&vcc_1v8>;
363 regulator-state-mem {
364 regulator-on-in-suspend;
368 mains_charger: dc-charger {
369 compatible = "gpio-charger";
370 charger-type = "mains";
371 gpios = <&gpio4 RK_PD0 GPIO_ACTIVE_LOW>;
373 /* Also triggered by USB charger */
374 pinctrl-names = "default";
375 pinctrl-0 = <&dc_det_pin>;
380 cpu-supply = <&vdd_cpu_b>;
384 cpu-supply = <&vdd_cpu_b>;
388 cpu-supply = <&vdd_cpu_l>;
392 cpu-supply = <&vdd_cpu_l>;
396 cpu-supply = <&vdd_cpu_l>;
400 cpu-supply = <&vdd_cpu_l>;
405 pinctrl-names = "default";
406 pinctrl-0 = <&edp_hpd>;
412 #address-cells = <1>;
415 edp_out_panel: endpoint@0 {
417 remote-endpoint = <&panel_in_edp>;
428 mali-supply = <&vdd_gpu>;
437 clock-frequency = <400000>;
438 i2c-scl-falling-time-ns = <4>;
439 i2c-scl-rising-time-ns = <168>;
443 compatible = "rockchip,rk808";
446 clock-output-names = "xin32k", "rk808-clkout2";
447 interrupt-parent = <&gpio3>;
448 interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
449 pinctrl-names = "default";
450 pinctrl-0 = <&pmic_int_l_pin>;
451 rockchip,system-power-controller;
454 vcc1-supply = <&vcc_sysin>;
455 vcc2-supply = <&vcc_sysin>;
456 vcc3-supply = <&vcc_sysin>;
457 vcc4-supply = <&vcc_sysin>;
458 vcc6-supply = <&vcc_sysin>;
459 vcc7-supply = <&vcc_sysin>;
460 vcc8-supply = <&vcc3v3_sys>;
461 vcc9-supply = <&vcc_sysin>;
462 vcc10-supply = <&vcc_sysin>;
463 vcc11-supply = <&vcc_sysin>;
464 vcc12-supply = <&vcc3v3_sys>;
467 /* rk3399 center logic supply */
468 vdd_center: DCDC_REG1 {
469 regulator-name = "vdd_center";
472 regulator-min-microvolt = <750000>;
473 regulator-max-microvolt = <1350000>;
474 regulator-ramp-delay = <6001>;
476 regulator-state-mem {
477 regulator-off-in-suspend;
481 vdd_cpu_l: DCDC_REG2 {
482 regulator-name = "vdd_cpu_l";
485 regulator-min-microvolt = <750000>;
486 regulator-max-microvolt = <1350000>;
487 regulator-ramp-delay = <6001>;
489 regulator-state-mem {
490 regulator-off-in-suspend;
495 regulator-name = "vcc_ddr";
499 regulator-state-mem {
500 regulator-on-in-suspend;
504 vcc_1v8: vcc_wl: DCDC_REG4 {
505 regulator-name = "vcc_1v8";
508 regulator-min-microvolt = <1800000>;
509 regulator-max-microvolt = <1800000>;
511 regulator-state-mem {
512 regulator-on-in-suspend;
513 regulator-suspend-microvolt = <1800000>;
525 vcc1v8_pmupll: LDO_REG3 {
526 regulator-name = "vcc1v8_pmupll";
529 regulator-min-microvolt = <1800000>;
530 regulator-max-microvolt = <1800000>;
532 regulator-state-mem {
533 regulator-on-in-suspend;
534 regulator-suspend-microvolt = <1800000>;
539 regulator-name = "vcc_sdio";
542 regulator-min-microvolt = <1800000>;
543 regulator-max-microvolt = <3000000>;
545 regulator-state-mem {
546 regulator-on-in-suspend;
547 regulator-suspend-microvolt = <3000000>;
551 vcca3v0_codec: LDO_REG5 {
552 regulator-name = "vcca3v0_codec";
555 regulator-min-microvolt = <3000000>;
556 regulator-max-microvolt = <3000000>;
558 regulator-state-mem {
559 regulator-off-in-suspend;
564 regulator-name = "vcc_1v5";
567 regulator-min-microvolt = <1500000>;
568 regulator-max-microvolt = <1500000>;
570 regulator-state-mem {
571 regulator-on-in-suspend;
572 regulator-suspend-microvolt = <1500000>;
576 vcca1v8_codec: LDO_REG7 {
577 regulator-name = "vcca1v8_codec";
580 regulator-min-microvolt = <1800000>;
581 regulator-max-microvolt = <1800000>;
583 regulator-state-mem {
584 regulator-off-in-suspend;
589 regulator-name = "vcc_3v0";
592 regulator-min-microvolt = <3000000>;
593 regulator-max-microvolt = <3000000>;
595 regulator-state-mem {
596 regulator-on-in-suspend;
597 regulator-suspend-microvolt = <3000000>;
601 vcc3v3_s3: SWITCH_REG1 {
602 regulator-name = "vcc3v3_s3";
606 regulator-state-mem {
607 regulator-off-in-suspend;
611 vcc3v3_s0: SWITCH_REG2 {
612 regulator-name = "vcc3v3_s0";
616 regulator-state-mem {
617 regulator-off-in-suspend;
623 vdd_cpu_b: regulator@40 {
624 compatible = "silergy,syr827";
626 fcs,suspend-voltage-selector = <1>;
627 pinctrl-names = "default";
628 pinctrl-0 = <&vsel1_pin>;
629 regulator-name = "vdd_cpu_b";
632 regulator-min-microvolt = <712500>;
633 regulator-max-microvolt = <1500000>;
634 regulator-ramp-delay = <1000>;
635 vin-supply = <&vcc_1v8>;
637 regulator-state-mem {
638 regulator-off-in-suspend;
642 vdd_gpu: regulator@41 {
643 compatible = "silergy,syr828";
645 fcs,suspend-voltage-selector = <1>;
646 pinctrl-names = "default";
647 pinctrl-0 = <&vsel2_pin>;
648 regulator-name = "vdd_gpu";
651 regulator-min-microvolt = <712500>;
652 regulator-max-microvolt = <1500000>;
653 regulator-ramp-delay = <1000>;
654 vin-supply = <&vcc_1v8>;
656 regulator-state-mem {
657 regulator-off-in-suspend;
663 clock-frequency = <100000>;
664 i2c-scl-falling-time-ns = <4>;
665 i2c-scl-rising-time-ns = <168>;
668 es8316: audio-codec@11 {
669 compatible = "everest,es8316";
671 clocks = <&cru SCLK_I2S_8CH_OUT>;
672 clock-names = "mclk";
673 #sound-dai-cells = <0>;
678 i2c-scl-falling-time-ns = <15>;
679 i2c-scl-rising-time-ns = <450>;
684 i2c-scl-falling-time-ns = <20>;
685 i2c-scl-rising-time-ns = <600>;
689 compatible = "fcs,fusb302";
691 interrupt-parent = <&gpio1>;
692 interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>;
693 pinctrl-names = "default";
694 pinctrl-0 = <&fusb0_int_pin>;
695 vbus-supply = <&vbus_typec>;
698 compatible = "usb-c-connector";
701 op-sink-microwatt = <1000000>;
704 <PDO_FIXED(5000, 2500, PDO_FIXED_USB_COMM)>;
706 <PDO_FIXED(5000, 1400, PDO_FIXED_USB_COMM)>;
707 try-power-role = "sink";
710 #address-cells = <1>;
744 compatible = "cellwise,cw2015";
746 cellwise,battery-profile = /bits/ 8 <
747 0x17 0x67 0x80 0x73 0x6E 0x6C 0x6B 0x63
748 0x77 0x51 0x5C 0x58 0x50 0x4C 0x48 0x36
749 0x15 0x0C 0x0C 0x19 0x5B 0x7D 0x6F 0x69
750 0x69 0x5B 0x0C 0x29 0x20 0x40 0x52 0x59
751 0x57 0x56 0x54 0x4F 0x3B 0x1F 0x7F 0x17
752 0x06 0x1A 0x30 0x5A 0x85 0x93 0x96 0x2D
753 0x48 0x77 0x9C 0xB3 0x80 0x52 0x94 0xCB
754 0x2F 0x00 0x64 0xA5 0xB5 0x11 0xF0 0x11
756 cellwise,monitor-interval-ms = <5000>;
757 monitored-battery = <&bat>;
758 power-supplies = <&mains_charger>, <&fusb0>;
763 pinctrl-names = "default";
764 pinctrl-0 = <&i2s_8ch_mclk_pin>, <&i2s1_2ch_bus>;
765 rockchip,capture-channels = <8>;
766 rockchip,playback-channels = <8>;
771 audio-supply = <&vcc_3v0>;
772 gpio1830-supply = <&vcc_3v0>;
773 sdmmc-supply = <&vcc_sdio>;
782 ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>;
784 pinctrl-names = "default";
785 pinctrl-0 = <&pcie_clkreqn_cpm>;
786 vpcie0v9-supply = <&vcca0v9_s3>;
787 vpcie1v8-supply = <&vcca1v8_s3>;
788 vpcie3v3-supply = <&vcc3v3_ssd>;
794 pwrbtn_pin: pwrbtn-pin {
795 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
798 lidbtn_pin: lidbtn-pin {
799 rockchip,pins = <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>;
804 dc_det_pin: dc-det-pin {
805 rockchip,pins = <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_up>;
810 hp_det_pin: hp-det-pin {
811 rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
816 fusb0_int_pin: fusb0-int-pin {
817 rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>;
822 i2s_8ch_mclk_pin: i2s-8ch-mclk-pin {
823 rockchip,pins = <4 RK_PA0 1 &pcfg_pull_none>;
828 lcdvcc_en_pin: lcdvcc-en-pin {
829 rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
832 panel_en_pin: panel-en-pin {
833 rockchip,pins = <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
836 lcd_panel_reset_pin: lcd-panel-reset-pin {
837 rockchip,pins = <4 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up>;
842 pwr_led_pin: pwr-led-pin {
843 rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
846 slp_led_pin: slp-led-pin {
847 rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
852 pmic_int_l_pin: pmic-int-l-pin {
853 rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>;
856 vsel1_pin: vsel1-pin {
857 rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
860 vsel2_pin: vsel2-pin {
861 rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
866 sdmmc0_pwr_h_pin: sdmmc0-pwr-h-pin {
867 rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
873 wifi_enable_h_pin: wifi-enable-h-pin {
874 rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
879 vcc5v0_typec0_en_pin: vcc5v0-typec0-en-pin {
880 rockchip,pins = <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
885 pwr_5v_pin: pwr-5v-pin {
886 rockchip,pins = <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
889 vcc5v0_host_en_pin: vcc5v0-host-en-pin {
890 rockchip,pins = <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
895 bt_wake_pin: bt-wake-pin {
896 rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
899 bt_host_wake_pin: bt-host-wake-pin {
900 rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
903 bt_reset_pin: bt-reset-pin {
904 rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
910 pmu1830-supply = <&vcc_3v0>;
923 vref-supply = <&vcca1v8_s3>;
931 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
933 pinctrl-names = "default";
934 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
936 vmmc-supply = <&vcc3v0_sd>;
937 vqmmc-supply = <&vcc_sdio>;
945 keep-power-in-suspend;
946 mmc-pwrseq = <&sdio_pwrseq>;
948 pinctrl-names = "default";
949 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
962 max-freq = <10000000>;
966 compatible = "jedec,spi-nor";
969 spi-max-frequency = <10000000>;
979 tcphy0_typec_dp: endpoint {
980 remote-endpoint = <&usbc_dp>;
987 tcphy0_typec_ss: endpoint {
988 remote-endpoint = <&usbc_ss>;
998 /* tshut mode 0:CRU 1:GPIO */
999 rockchip,hw-tshut-mode = <1>;
1000 /* tshut polarity 0:LOW 1:HIGH */
1001 rockchip,hw-tshut-polarity = <1>;
1008 u2phy0_otg: otg-port {
1012 u2phy0_host: host-port {
1013 phy-supply = <&vcc5v0_otg>;
1018 u2phy0_typec_hs: endpoint {
1019 remote-endpoint = <&usbc_hs>;
1027 u2phy1_otg: otg-port {
1031 u2phy1_host: host-port {
1032 phy-supply = <&vcc5v0_otg>;
1038 pinctrl-names = "default";
1039 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
1044 compatible = "brcm,bcm4345c5";
1045 clocks = <&rk808 1>;
1046 clock-names = "lpo";
1047 device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
1048 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
1049 max-speed = <1500000>;
1050 pinctrl-names = "default";
1051 pinctrl-0 = <&bt_host_wake_pin &bt_wake_pin &bt_reset_pin>;
1052 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
1053 vbat-supply = <&wifi_bat>;
1054 vddio-supply = <&vcc_wl>;