arm64: dts: qcom: sm8550: add port subnodes in dwc3 node
authorNeil Armstrong <neil.armstrong@linaro.org>
Tue, 21 Mar 2023 13:21:48 +0000 (14:21 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 22 Mar 2023 02:36:00 +0000 (19:36 -0700)
Add ports subnodes in dwc3 node to avoid repeating the
same description in each board DT.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230130-topic-sm8450-upstream-pmic-glink-v5-8-552f3b721f9e@linaro.org
arch/arm64/boot/dts/qcom/sm8550.dtsi

index 8789ea4..9c13541 100644 (file)
                                phys = <&usb_1_hsphy>,
                                       <&usb_dp_qmpphy QMP_USB43DP_USB3_PHY>;
                                phy-names = "usb2-phy", "usb3-phy";
+
+                               ports {
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
+
+                                       port@0 {
+                                               reg = <0>;
+
+                                               usb_1_dwc3_hs: endpoint {
+                                               };
+                                       };
+
+                                       port@1 {
+                                               reg = <1>;
+
+                                               usb_1_dwc3_ss: endpoint {
+                                               };
+                                       };
+                               };
                        };
                };