arm64: dts: mt8173-evb: enable HDMI output
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 11 Aug 2016 10:00:00 +0000 (12:00 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 22 Aug 2016 17:12:08 +0000 (19:12 +0200)
Add an HDMI connector node and enable the devices that are part of the
HDMI display path: cec, dpi0, hdmi_phy, and hdmi0.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8173-evb.dts

index 7453a47..2a7f731 100644 (file)
                gpio = <&pio 130 GPIO_ACTIVE_HIGH>;
                enable-active-high;
        };
+
+       connector {
+               compatible = "hdmi-connector";
+               label = "hdmi";
+               type = "d";
+
+               port {
+                       hdmi_connector_in: endpoint {
+                               remote-endpoint = <&hdmi0_out>;
+                       };
+               };
+       };
+};
+
+&cec {
+       status = "okay";
+};
+
+&dpi0 {
+       status = "okay";
+};
+
+&hdmi_phy {
+       status = "okay";
+};
+
+&hdmi0 {
+       status = "okay";
+
+       ports {
+               port@1 {
+                       reg = <1>;
+
+                       hdmi0_out: endpoint {
+                               remote-endpoint = <&hdmi_connector_in>;
+                       };
+               };
+       };
 };
 
 &i2c1 {