Describe every port by unique label for easier wiring with DT overlays.

Signed-off-by: Michal Simek <michal.si...@amd.com>
---

 arch/arm/dts/zynqmp-sck-kr-g-revB.dtso | 10 ++++------
 arch/arm/dts/zynqmp-sck-kv-g-revB.dtso | 10 ++++------
 arch/arm/dts/zynqmp-zcu106-revA.dts    | 10 ++++------
 arch/arm/dts/zynqmp.dtsi               | 12 ++++++------
 4 files changed, 18 insertions(+), 24 deletions(-)

diff --git a/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso 
b/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
index 60ac5085f738..99ad220d13d6 100644
--- a/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
+++ b/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
@@ -155,13 +155,11 @@
        phy-names = "dp-phy0";
        phys = <&psgtr 1 PHY_TYPE_DP 0 1>;
        assigned-clock-rates = <27000000>, <25000000>, <300000000>;
+};
 
-       ports {
-               port@5 {
-                       dpsub_dp_out: endpoint {
-                               remote-endpoint = <&dpcon_in>;
-                       };
-               };
+&out_dp {
+       dpsub_dp_out: endpoint {
+               remote-endpoint = <&dpcon_in>;
        };
 };
 
diff --git a/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso 
b/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso
index 078d98e8ff34..a4ae37ebaccf 100644
--- a/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso
+++ b/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso
@@ -116,13 +116,11 @@
        phy-names = "dp-phy0", "dp-phy1";
        phys = <&psgtr 1 PHY_TYPE_DP 0 0>, <&psgtr 0 PHY_TYPE_DP 1 0>;
        assigned-clock-rates = <27000000>, <25000000>, <300000000>;
+};
 
-       ports {
-               port@5 {
-                       dpsub_dp_out: endpoint {
-                               remote-endpoint = <&dpcon_in>;
-                       };
-               };
+&out_dp {
+       dpsub_dp_out: endpoint {
+               remote-endpoint = <&dpcon_in>;
        };
 };
 
diff --git a/arch/arm/dts/zynqmp-zcu106-revA.dts 
b/arch/arm/dts/zynqmp-zcu106-revA.dts
index a19d78e5546e..1ec95c67a7d1 100644
--- a/arch/arm/dts/zynqmp-zcu106-revA.dts
+++ b/arch/arm/dts/zynqmp-zcu106-revA.dts
@@ -1079,12 +1079,10 @@
        phy-names = "dp-phy0", "dp-phy1";
        phys = <&psgtr 1 PHY_TYPE_DP 0 3>,
               <&psgtr 0 PHY_TYPE_DP 1 3>;
+};
 
-       ports {
-               port@5 {
-                       dpsub_dp_out: endpoint {
-                               remote-endpoint = <&dpcon_in>;
-                       };
-               };
+&out_dp {
+       dpsub_dp_out: endpoint {
+               remote-endpoint = <&dpcon_in>;
        };
 };
diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi
index 27bbb9230fe7..02e1c4615c7e 100644
--- a/arch/arm/dts/zynqmp.dtsi
+++ b/arch/arm/dts/zynqmp.dtsi
@@ -1320,22 +1320,22 @@
                                #address-cells = <1>;
                                #size-cells = <0>;
 
-                               port@0 {
+                               live_video: port@0 {
                                        reg = <0>;
                                };
-                               port@1 {
+                               live_gfx: port@1 {
                                        reg = <1>;
                                };
-                               port@2 {
+                               live_audio: port@2 {
                                        reg = <2>;
                                };
-                               port@3 {
+                               out_video: port@3 {
                                        reg = <3>;
                                };
-                               port@4 {
+                               out_audio: port@4 {
                                        reg = <4>;
                                };
-                               port@5 {
+                               out_dp: port@5 {
                                        reg = <5>;
                                };
                        };
-- 
2.43.0

Reply via email to