|
349 | 349 | }; |
350 | 350 | }; |
351 | 351 |
|
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 | | - |
370 | 352 | /* Regulators supplied by vcc_1v8 */ |
371 | 353 | /* Primary 0.9 V LDO */ |
372 | 354 | vcca0v9_s3: vcca0v9-s3 { |
|
716 | 698 | status = "okay"; |
717 | 699 |
|
718 | 700 | fusb0: fusb30x@22 { |
719 | | - compatible = "fcs,fusb302"; |
| 701 | + compatible = "fairchild,fusb302"; |
720 | 702 | reg = <0x22>; |
721 | | - interrupt-parent = <&gpio1>; |
722 | | - interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>; |
723 | 703 | pinctrl-names = "default"; |
724 | 704 | 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"; |
774 | 708 | }; |
775 | 709 |
|
776 | 710 | cw2015@62 { |
|
1034 | 968 | }; |
1035 | 969 |
|
1036 | 970 | &tcphy0_dp { |
1037 | | - port { |
1038 | | - tcphy0_typec_dp: endpoint { |
1039 | | - remote-endpoint = <&usbc_dp>; |
1040 | | - }; |
1041 | | - }; |
1042 | 971 | }; |
1043 | 972 |
|
1044 | 973 | &tcphy0_usb3 { |
1045 | | - port { |
1046 | | - tcphy0_typec_ss: endpoint { |
1047 | | - remote-endpoint = <&usbc_ss>; |
1048 | | - }; |
1049 | | - }; |
1050 | 974 | }; |
1051 | 975 |
|
1052 | 976 | &tcphy1 { |
|
1072 | 996 | phy-supply = <&vcc5v0_otg>; |
1073 | 997 | status = "okay"; |
1074 | 998 | }; |
1075 | | - |
1076 | | - port { |
1077 | | - u2phy0_typec_hs: endpoint { |
1078 | | - remote-endpoint = <&usbc_hs>; |
1079 | | - }; |
1080 | | - }; |
1081 | 999 | }; |
1082 | 1000 |
|
1083 | 1001 | &u2phy1 { |
|
0 commit comments