[PATCH 06/11] arm64: dts: rockchip: Add USB-C DP AltMode for ArmSom Sige5
From: Sebastian Reichel
Date: Wed Nov 25 2026 - 20:16:21 EST
Enable USB-C DP AltMode for the ArmSom Sige5.
Signed-off-by: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>
---
.../boot/dts/rockchip/rk3576-armsom-sige5.dts | 76 +++++++++++++++++++---
1 file changed, 66 insertions(+), 10 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts b/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
index f50824966860..ce9c4ddd2c33 100644
--- a/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
@@ -272,6 +272,22 @@ &cpu_l3 {
cpu-supply = <&vdd_cpu_lit_s0>;
};
+&dp {
+ status = "okay";
+};
+
+&dp0_in {
+ dp0_in_vp1: endpoint {
+ remote-endpoint = <&vp1_out_dp0>;
+ };
+};
+
+&dp0_out {
+ dp0_out_con: endpoint {
+ remote-endpoint = <&usbdp_phy_dp_in>;
+ };
+};
+
&gmac0 {
phy-mode = "rgmii-id";
clock_in_out = "output";
@@ -722,20 +738,22 @@ ports {
port@0 {
reg = <0>;
- usbc0_hs_ep: endpoint {
+ usbc0_hs: endpoint {
remote-endpoint = <&usb_drd0_hs_ep>;
};
};
+
port@1 {
reg = <1>;
- usbc0_ss_ep: endpoint {
- remote-endpoint = <&usb_drd0_ss_ep>;
+ usbc0_ss: endpoint {
+ remote-endpoint = <&usbdp_phy_ss_out>;
};
};
+
port@2 {
reg = <2>;
- usbc0_dp_ep: endpoint {
- remote-endpoint = <&usbdp_phy_ep>;
+ usbc0_sbu: endpoint {
+ remote-endpoint = <&usbdp_phy0_dp_out>;
};
};
};
@@ -999,14 +1017,14 @@ ports {
port@0 {
reg = <0>;
usb_drd0_hs_ep: endpoint {
- remote-endpoint = <&usbc0_hs_ep>;
+ remote-endpoint = <&usbc0_hs>;
};
};
port@1 {
reg = <1>;
usb_drd0_ss_ep: endpoint {
- remote-endpoint = <&usbc0_ss_ep>;
+ remote-endpoint = <&usbdp_phy_ss_in>;
};
};
};
@@ -1026,9 +1044,40 @@ &usbdp_phy {
sbu2-dc-gpios = <&gpio2 RK_PA7 GPIO_ACTIVE_HIGH>;
status = "okay";
- port {
- usbdp_phy_ep: endpoint {
- remote-endpoint = <&usbc0_dp_ep>;
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ usbdp_phy_ss_out: endpoint {
+ remote-endpoint = <&usbc0_ss>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ usbdp_phy_ss_in: endpoint {
+ remote-endpoint = <&usb_drd0_ss_ep>;
+ };
+ };
+
+ port@2 {
+ reg = <2>;
+
+ usbdp_phy_dp_in: endpoint {
+ remote-endpoint = <&dp0_out_con>;
+ };
+ };
+
+ port@3 {
+ reg = <3>;
+
+ usbdp_phy0_dp_out: endpoint {
+ remote-endpoint = <&usbc0_sbu>;
+ };
};
};
};
@@ -1047,3 +1096,10 @@ vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
remote-endpoint = <&hdmi_in_vp0>;
};
};
+
+&vp1 {
+ vp1_out_dp0: endpoint@a {
+ reg = <ROCKCHIP_VOP2_EP_DP0>;
+ remote-endpoint = <&dp0_in_vp1>;
+ };
+};
--
2.53.0