[PATCH 3/5] arm64: dts: qcom: qrb5165-rb5: add onboard USB-C redriver
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Sun Jul 9 04:19:24 UTC 2023
Add the nb7vpq904m, onboard USB-C redriver / retimer.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
---
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 52 +++++++++++++++++++++++-
1 file changed, 50 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
index b6c587ffdf8f..a03f334a3d01 100644
--- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
+++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
@@ -610,6 +610,46 @@ lt9611_out: endpoint {
/* LS-I2C1 */
&i2c15 {
status = "okay";
+
+ typec-mux at 1c {
+ compatible = "onnn,nb7vpq904m";
+ reg = <0x1c>;
+
+ vcc-supply = <&vreg_s4a_1p8>;
+
+ retimer-switch;
+ orientation-switch;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port at 0 {
+ reg = <0>;
+
+ redriver_usb_con_ss: endpoint {
+ remote-endpoint = <&pm8150b_typec_mux_out>;
+ };
+ };
+
+ port at 1 {
+ reg = <1>;
+
+ redriver_phy_con_ss: endpoint {
+ remote-endpoint = <&usb_1_qmpphy_typec_mux_in>;
+ data-lanes = <0 1 2 3>;
+ };
+ };
+
+ port at 2 {
+ reg = <2>;
+
+ redriver_usb_con_sbu: endpoint {
+ remote-endpoint = <&pm8150b_typec_sbu_out>;
+ };
+ };
+ };
+ };
};
&mdss {
@@ -1294,7 +1334,7 @@ &usb_1_qmpphy {
};
&usb_1_qmpphy_typec_mux_in {
- remote-endpoint = <&pm8150b_typec_mux_out>;
+ remote-endpoint = <&redriver_phy_con_ss>;
};
&usb_2 {
@@ -1382,7 +1422,15 @@ pm8150b_role_switch_out: endpoint {
port at 1 {
reg = <1>;
pm8150b_typec_mux_out: endpoint {
- remote-endpoint = <&usb_1_qmpphy_typec_mux_in>;
+ remote-endpoint = <&redriver_usb_con_ss>;
+ };
+ };
+
+ port at 2 {
+ reg = <2>;
+
+ pm8150b_typec_sbu_out: endpoint {
+ remote-endpoint = <&redriver_usb_con_sbu>;
};
};
};
--
2.39.2
More information about the dri-devel
mailing list