]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: sun7i: Enable HDMI support on the Banana Pi
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 16 Feb 2018 16:16:04 +0000 (11:16 -0500)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Fri, 16 Feb 2018 19:08:52 +0000 (20:08 +0100)
Enable the display pipeline and HDMI output

Signed-off-by: Stefan Monnier <monnier@iro.umontreal.ca>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun7i-a20-bananapi.dts

index 88a1c2363c6ca0ac9b39330ab214c9a362aad0a5..45da8a282288b69f3a7cf958f3c3fc6d24c6db39 100644 (file)
@@ -63,6 +63,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";
                pinctrl-names = "default";
@@ -109,6 +120,10 @@ &cpu0 {
                >;
 };
 
+&de {
+       status = "okay";
+};
+
 &ehci0 {
        status = "okay";
 };
@@ -130,6 +145,16 @@ phy1: ethernet-phy@1 {
        };
 };
 
+&hdmi {
+       status = "okay";
+};
+
+&hdmi_out {
+       hdmi_out_con: endpoint {
+               remote-endpoint = <&hdmi_con_in>;
+       };
+};
+
 &i2c0 {
        pinctrl-names = "default";
        pinctrl-0 = <&i2c0_pins_a>;