arm64: dts: qcom: sc7280: Add ports subnodes in usb/dp qmpphy node
authorLuca Weiss <luca.weiss@fairphone.com>
Fri, 29 Sep 2023 12:51:22 +0000 (14:51 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 16 Oct 2023 03:47:21 +0000 (20:47 -0700)
Add the USB3+DP Combo QMP PHY port subnodes to facilitate the
description of the connection between the hardware blocks.

Put it in the SoC DTSI to avoid duplication in the device DTs.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Link: https://lore.kernel.org/r/20230929-sc7280-qmpphy-ports-v2-1-aae7e9c286b0@fairphone.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sc7280.dtsi

index 3585fa3c9594551b54bc18d12e4ea41bf40a6196..871beba2ffcc43d7f376dfa4e100c7ee3548d759 100644 (file)
 
                        #clock-cells = <1>;
                        #phy-cells = <1>;
+
+                       ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               port@0 {
+                                       reg = <0>;
+
+                                       usb_dp_qmpphy_out: endpoint {
+                                       };
+                               };
+
+                               port@1 {
+                                       reg = <1>;
+
+                                       usb_dp_qmpphy_usb_ss_in: endpoint {
+                                       };
+                               };
+
+                               port@2 {
+                                       reg = <2>;
+
+                                       usb_dp_qmpphy_dp_in: endpoint {
+                                       };
+                               };
+                       };
                };
 
                usb_2: usb@8cf8800 {