Commit f4e4453a authored by Jagan Teki's avatar Jagan Teki Committed by Chen-Yu Tsai
Browse files

arm64: dts: allwinner: a64: Enable HDMI output on A64 boards w/ HDMI



Enable all necessary device tree nodes and add connector node to device
trees for all supported A64 boards with HDMI.

Jagan, tested on BPI-M64, OPI-Win, A64-Olinuxino, NPI-A64
Vasily, tested on pine64-lts

Signed-off-by: default avatarJagan Teki <jagan@amarulasolutions.com>
[Icenowy: squash all board patches altogether and change supply name]
Signed-off-by: default avatarIcenowy Zheng <icenowy@aosc.io>
Tested-by: default avatarJagan Teki <jagan@amarulasolutions.com>
Tested-by: default avatarVasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
parent e85f28e0
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
@@ -60,6 +60,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";

@@ -86,6 +97,10 @@
	};
};

&de {
	status = "okay";
};

&ehci0 {
	status = "okay";
};
@@ -103,6 +118,17 @@
	status = "okay";
};

&hdmi {
	hvcc-supply = <&reg_dldo1>;
	status = "okay";
};

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

&i2c1 {
	pinctrl-names = "default";
	pinctrl-0 = <&i2c1_pins>;
+26 −0
Original line number Diff line number Diff line
@@ -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";

@@ -76,6 +87,10 @@
	};
};

&de {
	status = "okay";
};

&ehci0 {
	status = "okay";
};
@@ -93,6 +108,17 @@
	status = "okay";
};

&hdmi {
	hvcc-supply = <&reg_dldo1>;
	status = "okay";
};

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

/* i2c1 connected with gpio headers like pine64, bananapi */
&i2c1 {
	pinctrl-names = "default";
+26 −0
Original line number Diff line number Diff line
@@ -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>;
			};
		};
	};

	reg_usb1_vbus: usb1-vbus {
		compatible = "regulator-fixed";
		regulator-name = "usb1-vbus";
@@ -76,6 +87,10 @@
	};
};

&de {
	status = "okay";
};

&ehci0 {
	status = "okay";
};
@@ -93,6 +108,17 @@
	status = "okay";
};

&hdmi {
	hvcc-supply = <&reg_dldo1>;
	status = "okay";
};

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

&mdio {
	ext_rgmii_phy: ethernet-phy@1 {
		compatible = "ethernet-phy-ieee802.3-c22";
+26 −0
Original line number Diff line number Diff line
@@ -64,6 +64,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";

@@ -101,6 +112,10 @@
	};
};

&de {
	status = "okay";
};

&ehci0 {
	status = "okay";
};
@@ -118,6 +133,17 @@
	status = "okay";
};

&hdmi {
	hvcc-supply = <&reg_dldo1>;
	status = "okay";
};

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

&mdio {
	ext_rgmii_phy: ethernet-phy@1 {
		compatible = "ethernet-phy-ieee802.3-c22";
+26 −0
Original line number Diff line number Diff line
@@ -62,6 +62,21 @@
	chosen {
		stdout-path = "serial0:115200n8";
	};

	hdmi-connector {
		compatible = "hdmi-connector";
		type = "a";

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

&de {
	status = "okay";
};

&ehci0 {
@@ -82,6 +97,17 @@

};

&hdmi {
	hvcc-supply = <&reg_dldo1>;
	status = "okay";
};

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

&i2c1 {
	pinctrl-names = "default";
	pinctrl-0 = <&i2c1_pins>;
Loading