Enable the DW-HDMI controller on the Radxa Cubie A7Z. Add the Micro-HDMI
Type-D connector node and connect reg_cldo2 as the HDMI 1.8V supply.

Signed-off-by: Alastair D'Silva <[email protected]>
---
 .../dts/allwinner/sun60i-a733-cubie-a7z.dts   | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts 
b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts
index 049e6b67c23a..1ba0542ba347 100644
--- a/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts
+++ b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts
@@ -25,6 +25,17 @@ osc32k: clock-osc32k {
                clock-frequency = <32768>;
        };
 
+       hdmi-connector {
+               compatible = "hdmi-connector";
+               type = "d";
+
+               port {
+                       hdmi_con_in: endpoint {
+                               remote-endpoint = <&hdmi_out_con>;
+                       };
+               };
+       };
+
        leds {
                compatible = "gpio-leds";
 
@@ -102,6 +113,21 @@ &cpu7 {
        cpu-supply = <&reg_dcdc3>;
 };
 
+&de {
+       status = "okay";
+};
+
+&hdmi {
+       hvcc-supply = <&reg_cldo2>;
+       status = "okay";
+};
+
+&hdmi_out {
+       hdmi_out_con: endpoint {
+               remote-endpoint = <&hdmi_con_in>;
+       };
+};
+
 &hosc {
        clock-frequency = <26000000>;
 };
-- 
2.53.0

Reply via email to