]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Describe DisplayPort connector for Kria
authorVishal Sagar <vishal.sagar@amd.com>
Thu, 21 Mar 2024 15:54:56 +0000 (16:54 +0100)
committerMichal Simek <michal.simek@amd.com>
Mon, 25 Mar 2024 14:21:10 +0000 (15:21 +0100)
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 and also kr260-revB.

Signed-off-by: Vishal Sagar <vishal.sagar@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/c8738cb9951c73c6c00a4ce8d0025fb372372346.1711036494.git.michal.simek@amd.com
arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
arch/arm/dts/zynqmp-sck-kv-g-revB.dtso

index 6c29f657413480fccb068e462ab2bfac3b6c809c..0a0cbd2b69ae20fbf1aaedcd2337e68e8611faff 100644 (file)
                #clock-cells = <0>;
                clock-frequency = <74250000>;
        };
+
+       dpcon {
+               compatible = "dp-connector";
+               label = "P11";
+               type = "full-size";
+
+               port {
+                       dpcon_in: endpoint {
+                               remote-endpoint = <&dpsub_dp_out>;
+                       };
+               };
+       };
 };
 
 &i2c1 { /* I2C_SCK C26/C27 - MIO from SOM */
        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>;
+                       };
+               };
+       };
 };
 
 &zynqmp_dpdma {
index 13876fb47db1d58de3d1ffa9a576a5e45eab451b..64683e0ccbb86f0fe0c900a6afa56aff68ab04d8 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 {