Skip to content

Commit

Permalink
ARM: dts: sun4i: Enable HDMI support on some A10 devices
Browse files Browse the repository at this point in the history
Various A10-based development boards have standard HDMI connectors
wired to the dedicated HDMI pins on the SoC.

Enable the display pipeline and HDMI output on boards I have or have
access to schematics:

  - Cubieboard
  - Olimex A10-OLinuXino-LIME

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  • Loading branch information
Chen-Yu Tsai committed Oct 18, 2017
1 parent 59268ff commit 234d260
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
25 changes: 25 additions & 0 deletions arch/arm/boot/dts/sun4i-a10-cubieboard.dts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,17 @@
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";
Expand Down Expand Up @@ -90,6 +101,10 @@
cpu-supply = <&reg_dcdc2>;
};

&de {
status = "okay";
};

&ehci0 {
status = "okay";
};
Expand All @@ -107,6 +122,16 @@
status = "okay";
};

&hdmi {
status = "okay";
};

&hdmi_out {
hdmi_out_con: endpoint {
remote-endpoint = <&hdmi_con_in>;
};
};

&i2c0 {
status = "okay";

Expand Down
25 changes: 25 additions & 0 deletions arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,17 @@
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";
Expand Down Expand Up @@ -89,6 +100,10 @@
cooling-max-level = <2>;
};

&de {
status = "okay";
};

&ehci0 {
status = "okay";
};
Expand All @@ -106,6 +121,16 @@
status = "okay";
};

&hdmi {
status = "okay";
};

&hdmi_out {
hdmi_out_con: endpoint {
remote-endpoint = <&hdmi_con_in>;
};
};

&i2c0 {
status = "okay";

Expand Down

0 comments on commit 234d260

Please sign in to comment.