]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: zynqmp: Introduce DP port labels
authorMichal Simek <michal.simek@amd.com>
Fri, 18 Jul 2025 10:45:11 +0000 (12:45 +0200)
committerMichal Simek <michal.simek@amd.com>
Fri, 29 Aug 2025 05:41:00 +0000 (07:41 +0200)
Describe every port by unique label for easier wiring with DT overlays.
And also labels help to describe which port is used for what.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/99ec1532d0cce877b1d365ede9bd15a909706637.1752835502.git.michal.simek@amd.com
arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts
arch/arm64/boot/dts/xilinx/zynqmp.dtsi

index 7490efea98bdaa65fdddc214bde9c07b5b8c5784..1d2b46d7949e81618c21b68a31f6c1d1e3af4f2b 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 7beedd730f940e279411f1cf2990f4272a892b6d..cd132abf6e00c9afeabd6f1652de1a49a2d17364 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 e11d282462bd3d65f577ca0ab4a31afc50e27a7c..b20a560741e52836e12d778e193f90ffc995a58b 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>;
                                };
                        };