ARM: dts: sunxi: h2-plus-bananapi-m2-zero: Add HDMI out
authorPieter Beers <pjbrs@floorenpj.xs4all.nl>
Thu, 4 Mar 2021 19:14:55 +0000 (20:14 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 8 Mar 2021 15:14:27 +0000 (16:14 +0100)
Add HDMI out, including the display engine, to the BananaPi
M2 Zero.

Signed-off-by: Pieter Beers <pjbrs@floorenpj.xs4all.nl>
Reviewed-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210304191456.2895-2-pjbrs@floorenpj.xs4all.nl
arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts

index f3f7a2c..8e8634f 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
+       connector {
+               compatible = "hdmi-connector";
+               type = "c";
+
+               port {
+                       hdmi_con_in: endpoint {
+                               remote-endpoint = <&hdmi_out_con>;
+                       };
+               };
+       };
+
        leds {
                compatible = "gpio-leds";
 
        cpu-supply = <&reg_vdd_cpux>;
 };
 
+&de {
+       status = "okay";
+};
+
 &ehci0 {
        status = "okay";
 };
 
+&hdmi {
+       status = "okay";
+};
+
+&hdmi_out {
+       hdmi_out_con: endpoint {
+               remote-endpoint = <&hdmi_con_in>;
+       };
+};
+
 &mmc0 {
        vmmc-supply = <&reg_vcc3v3>;
        bus-width = <4>;