arm64: dts: ti: k3-j721e-sk: Enable DisplayPort
authorRahul T R <r-ravikumar@ti.com>
Thu, 5 May 2022 09:07:08 +0000 (14:37 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Thu, 5 May 2022 17:15:16 +0000 (22:45 +0530)
Add the endpoint nodes to describe connection from
DSS => MHDP => DisplayPort connector.

Signed-off-by: Rahul T R <r-ravikumar@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Aradhya Bhatia <a-bhatia1@ti.com>
Link: https://lore.kernel.org/r/20220505090709.9252-2-r-ravikumar@ti.com
arch/arm64/boot/dts/ti/k3-j721e-sk.dts

index 98177a20b45f10695f2e00cd724342de933c9258..07b1e40fbc47004feb7953a0f83172379a94df32 100644 (file)
                enable-active-high;
        };
 
+       dp0: connector {
+               compatible = "dp-connector";
+               label = "DP0";
+               type = "full-size";
+               dp-pwr-supply = <&dp_pwr_3v3>;
+
+               port {
+                       dp_connector_in: endpoint {
+                               remote-endpoint = <&dp0_out>;
+                       };
+               };
+       };
 };
 
 &main_pmx0 {
 &mhdp {
        phys = <&torrent_phy_dp>;
        phy-names = "dpphy";
+       pinctrl-names = "default";
+       pinctrl-0 = <&dp0_pins_default>;
 };
 
 &usbss0 {
                                 <&k3_clks 152 18>;     /* DPI1_EXT_CLKSEL_OUT0 */
 };
 
+&dss_ports {
+       port {
+               dpi0_out: endpoint {
+                       remote-endpoint = <&dp0_in>;
+               };
+       };
+};
+
+&dp0_ports {
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       port@0 {
+               reg = <0>;
+               dp0_in: endpoint {
+                       remote-endpoint = <&dpi0_out>;
+               };
+       };
+
+       port@4 {
+               reg = <4>;
+               dp0_out: endpoint {
+                       remote-endpoint = <&dp_connector_in>;
+               };
+       };
+};
+
 &mcasp0 {
        /* Unused */
        status = "disabled";
        status = "disabled";
 };
 
-&dss {
-       status = "disabled";
-};
-
 &icssg0_mdio {
        status = "disabled";
 };