Skip to content

Commit 89c29ad

Browse files
committed
ayufan: dts: pinebook-pro: temporarily use fusb302 from 4.4
1 parent 65868d0 commit 89c29ad

File tree

1 file changed

+4
-86
lines changed

1 file changed

+4
-86
lines changed

arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts

Lines changed: 4 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -349,24 +349,6 @@
349349
};
350350
};
351351

352-
/* Regulators supplied by vcc5v0_usb */
353-
/* Type C port power supply regulator */
354-
vbus_5vout: vbus_typec: vbus-5vout {
355-
compatible = "regulator-fixed";
356-
enable-active-high;
357-
gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>;
358-
pinctrl-names = "default";
359-
pinctrl-0 = <&vcc5v0_typec0_en_pin>;
360-
regulator-name = "vbus_5vout";
361-
regulator-min-microvolt = <5000000>;
362-
regulator-max-microvolt = <5000000>;
363-
vin-supply = <&vcc5v0_usb>;
364-
365-
regulator-state-mem {
366-
regulator-off-in-suspend;
367-
};
368-
};
369-
370352
/* Regulators supplied by vcc_1v8 */
371353
/* Primary 0.9 V LDO */
372354
vcca0v9_s3: vcca0v9-s3 {
@@ -716,61 +698,13 @@
716698
status = "okay";
717699

718700
fusb0: fusb30x@22 {
719-
compatible = "fcs,fusb302";
701+
compatible = "fairchild,fusb302";
720702
reg = <0x22>;
721-
interrupt-parent = <&gpio1>;
722-
interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>;
723703
pinctrl-names = "default";
724704
pinctrl-0 = <&fusb0_int_pin>;
725-
vbus-supply = <&vbus_typec>;
726-
727-
connector {
728-
compatible = "usb-c-connector";
729-
data-role = "dual";
730-
label = "USB-C";
731-
op-sink-microwatt = <1000000>;
732-
power-role = "dual";
733-
sink-pdos =
734-
<PDO_FIXED(5000, 2500, PDO_FIXED_USB_COMM)>;
735-
source-pdos =
736-
<PDO_FIXED(5000, 1400, PDO_FIXED_USB_COMM)>;
737-
try-power-role = "sink";
738-
739-
extcon-cables = <1 2 5 6 9 10 12 44>;
740-
typec-altmodes = <0xff01 1 0x001c0c00 1>;
741-
742-
ports {
743-
#address-cells = <1>;
744-
#size-cells = <0>;
745-
746-
port@0 {
747-
reg = <0>;
748-
749-
usbc_hs: endpoint {
750-
remote-endpoint =
751-
<&u2phy0_typec_hs>;
752-
};
753-
};
754-
755-
port@1 {
756-
reg = <1>;
757-
758-
usbc_ss: endpoint {
759-
remote-endpoint =
760-
<&tcphy0_typec_ss>;
761-
};
762-
};
763-
764-
port@2 {
765-
reg = <2>;
766-
767-
usbc_dp: endpoint {
768-
remote-endpoint =
769-
<&tcphy0_typec_dp>;
770-
};
771-
};
772-
};
773-
};
705+
vbus-5v-gpios = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>;
706+
int-n-gpios = <&gpio1 RK_PA2 GPIO_ACTIVE_HIGH>;
707+
status = "okay";
774708
};
775709

776710
cw2015@62 {
@@ -1034,19 +968,9 @@
1034968
};
1035969

1036970
&tcphy0_dp {
1037-
port {
1038-
tcphy0_typec_dp: endpoint {
1039-
remote-endpoint = <&usbc_dp>;
1040-
};
1041-
};
1042971
};
1043972

1044973
&tcphy0_usb3 {
1045-
port {
1046-
tcphy0_typec_ss: endpoint {
1047-
remote-endpoint = <&usbc_ss>;
1048-
};
1049-
};
1050974
};
1051975

1052976
&tcphy1 {
@@ -1072,12 +996,6 @@
1072996
phy-supply = <&vcc5v0_otg>;
1073997
status = "okay";
1074998
};
1075-
1076-
port {
1077-
u2phy0_typec_hs: endpoint {
1078-
remote-endpoint = <&usbc_hs>;
1079-
};
1080-
};
1081999
};
10821000

10831001
&u2phy1 {

0 commit comments

Comments
 (0)