Assign the dss clocks in the base dts so that display overlays can be
used in any combination.

Signed-off-by: Dominik Haller <[email protected]>
---
 .../boot/dts/ti/k3-am68-phyboard-izar.dts      | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts 
b/arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts
index e221ccb30e95..b8d17bdb7685 100644
--- a/arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts
+++ b/arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts
@@ -298,6 +298,24 @@ phy0: ethernet-phy@0 {
        };
 };
 
+&dss {
+       /*
+        * VP0 - Displayport
+        * VP1 - DPI0
+        * VP2 - DSI0
+        * VP3 - DPI1/DSI1
+        */
+
+       assigned-clocks = <&k3_clks 158 2>,
+                         <&k3_clks 158 5>,
+                         <&k3_clks 158 14>,
+                         <&k3_clks 158 18>;
+       assigned-clock-parents = <&k3_clks 158 3>,
+                                <&k3_clks 158 7>,
+                                <&k3_clks 158 16>,
+                                <&k3_clks 158 22>;
+};
+
 &i2c_som_rtc {
        trickle-resistor-ohms = <3000>;
 };
-- 
2.43.0

Reply via email to