arm64: zynqmp: Introduce DP port labels
authorMichal Simek <michal.simek@amd.com>
Tue, 2 Sep 2025 08:53:32 +0000 (10:53 +0200)
committerMichal Simek <michal.simek@amd.com>
Thu, 9 Oct 2025 07:07:04 +0000 (09:07 +0200)
Describe every port by unique label for easier wiring with DT overlays.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/933151f48f236f64ec9e91b9da4f174460a269e6.1756803198.git.michal.simek@amd.com
arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
arch/arm/dts/zynqmp-sck-kv-g-revB.dtso
arch/arm/dts/zynqmp-zcu106-revA.dts
arch/arm/dts/zynqmp.dtsi

index 60ac508..99ad220 100644 (file)
        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>;
        };
 };
 
index 078d98e..a4ae37e 100644 (file)
        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>;
        };
 };
 
index a19d78e..1ec95c6 100644 (file)
        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>;
        };
 };
index 27bbb92..02e1c46 100644 (file)
                                #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>;
                                };
                        };