]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: sun8i: v40: bananapi-m2-berry: Enable HDMI output
authorPablo Greco <pgreco@centosproject.org>
Thu, 2 May 2019 13:33:47 +0000 (10:33 -0300)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 20 May 2019 07:27:31 +0000 (09:27 +0200)
This patch adds the hdmi nodes to the Bananapi M2 Berry, the same way it
was done to the Bananapi M2 Ultra

Signed-off-by: Pablo Greco <pgreco@centosproject.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts

index 0dfde5808bf8ef632896e0793f931fdd2474c875..1f4f51f941882dec4ab9afb8c6929a257844fe41 100644 (file)
@@ -58,6 +58,17 @@ chosen {
                stdout-path = "serial0:115200n8";
        };
 
+       connector {
+               compatible = "hdmi-connector";
+               type = "a";
+
+               port {
+                       hdmi_con_in: endpoint {
+                               remote-endpoint = <&hdmi_out_con>;
+                       };
+               };
+       };
+
        leds {
                compatible = "gpio-leds";
 
@@ -88,6 +99,10 @@ wifi_pwrseq: wifi_pwrseq {
        };
 };
 
+&de {
+       status = "okay";
+};
+
 &ehci1 {
        /* Terminus Tech FE 1.1s 4-port USB 2.0 hub here */
        status = "okay";
@@ -109,6 +124,16 @@ phy1: ethernet-phy@1 {
        };
 };
 
+&hdmi {
+       status = "okay";
+};
+
+&hdmi_out {
+       hdmi_out_con: endpoint {
+               remote-endpoint = <&hdmi_con_in>;
+       };
+};
+
 &i2c0 {
        status = "okay";
 
@@ -208,6 +233,10 @@ &reg_dldo2 {
        regulator-name = "vcc-wifi";
 };
 
+&tcon_tv0 {
+       status = "okay";
+};
+
 &uart0 {
        pinctrl-names = "default";
        pinctrl-0 = <&uart0_pb_pins>;