Enable the DW-HDMI controller on the Radxa Cubie A7A. Add the HDMI Type-A
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-a7a.dts   | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7a.dts 
b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7a.dts
index 9017cadf6c6a..eff71aa824be 100644
--- a/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7a.dts
+++ b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7a.dts
@@ -22,6 +22,17 @@ chosen {
                stdout-path = "serial0:115200n8";
        };
 
+       hdmi-connector {
+               compatible = "hdmi-connector";
+               type = "a";
+
+               port {
+                       hdmi_con_in: endpoint {
+                               remote-endpoint = <&hdmi_out_con>;
+                       };
+               };
+       };
+
        leds {
                compatible = "gpio-leds";
 
@@ -103,6 +114,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>;
+       };
+};
+
 &i2c0 {
        pinctrl-names = "default";
        pinctrl-0 = <&i2c0_pg_pins>;
-- 
2.53.0

Reply via email to