]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: zynqmp: Describe DisplayPort connector for Kria
authorVishal Sagar <vishal.sagar@amd.com>
Mon, 27 May 2024 09:34:16 +0000 (11:34 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 17 Jun 2024 06:36:22 +0000 (08:36 +0200)
Add a device tree node to describe the DisplayPort connector, and
connect it to the DPSUB output.

The patch was tested on kv260-revB/rev2.

Signed-off-by: Vishal Sagar <vishal.sagar@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/4f69489c005719d280b8df97f3e82a5ce0cd9660.1716802450.git.michal.simek@amd.com
arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso

index 3ada04781950452e08c62c119f656f67edafcbfd..a74d0ac7e07a10701c06280e89314ac160c489f7 100644 (file)
                #clock-cells = <0>;
                clock-frequency = <27000000>;
        };
+
+       dpcon {
+               compatible = "dp-connector";
+               label = "P11";
+               type = "full-size";
+
+               port {
+                       dpcon_in: endpoint {
+                               remote-endpoint = <&dpsub_dp_out>;
+                       };
+               };
+       };
 };
 
 &i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */
        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>;
+                       };
+               };
+       };
 };
 
 &zynqmp_dpdma {