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

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
...@@ -60,6 +60,17 @@ chosen { ...@@ -60,6 +60,17 @@ chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
hdmi-connector {
compatible = "hdmi-connector";
type = "a";
port {
hdmi_con_in: endpoint {
remote-endpoint = <&hdmi_out_con>;
};
};
};
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
...@@ -86,6 +97,10 @@ wifi_pwrseq: wifi_pwrseq { ...@@ -86,6 +97,10 @@ wifi_pwrseq: wifi_pwrseq {
}; };
}; };
&de {
status = "okay";
};
&ehci0 { &ehci0 {
status = "okay"; status = "okay";
}; };
...@@ -103,6 +118,17 @@ &emac { ...@@ -103,6 +118,17 @@ &emac {
status = "okay"; status = "okay";
}; };
&hdmi {
hvcc-supply = <&reg_dldo1>;
status = "okay";
};
&hdmi_out {
hdmi_out_con: endpoint {
remote-endpoint = <&hdmi_con_in>;
};
};
&i2c1 { &i2c1 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins>; pinctrl-0 = <&i2c1_pins>;
......
...@@ -59,6 +59,17 @@ chosen { ...@@ -59,6 +59,17 @@ chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
hdmi-connector {
compatible = "hdmi-connector";
type = "a";
port {
hdmi_con_in: endpoint {
remote-endpoint = <&hdmi_out_con>;
};
};
};
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
...@@ -76,6 +87,10 @@ wifi_pwrseq: wifi_pwrseq { ...@@ -76,6 +87,10 @@ wifi_pwrseq: wifi_pwrseq {
}; };
}; };
&de {
status = "okay";
};
&ehci0 { &ehci0 {
status = "okay"; status = "okay";
}; };
...@@ -93,6 +108,17 @@ &emac { ...@@ -93,6 +108,17 @@ &emac {
status = "okay"; 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 connected with gpio headers like pine64, bananapi */
&i2c1 { &i2c1 {
pinctrl-names = "default"; pinctrl-names = "default";
......
...@@ -59,6 +59,17 @@ chosen { ...@@ -59,6 +59,17 @@ chosen {
stdout-path = "serial0:115200n8"; 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 { reg_usb1_vbus: usb1-vbus {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "usb1-vbus"; regulator-name = "usb1-vbus";
...@@ -76,6 +87,10 @@ wifi_pwrseq: wifi_pwrseq { ...@@ -76,6 +87,10 @@ wifi_pwrseq: wifi_pwrseq {
}; };
}; };
&de {
status = "okay";
};
&ehci0 { &ehci0 {
status = "okay"; status = "okay";
}; };
...@@ -93,6 +108,17 @@ &emac { ...@@ -93,6 +108,17 @@ &emac {
status = "okay"; status = "okay";
}; };
&hdmi {
hvcc-supply = <&reg_dldo1>;
status = "okay";
};
&hdmi_out {
hdmi_out_con: endpoint {
remote-endpoint = <&hdmi_con_in>;
};
};
&mdio { &mdio {
ext_rgmii_phy: ethernet-phy@1 { ext_rgmii_phy: ethernet-phy@1 {
compatible = "ethernet-phy-ieee802.3-c22"; compatible = "ethernet-phy-ieee802.3-c22";
......
...@@ -64,6 +64,17 @@ chosen { ...@@ -64,6 +64,17 @@ chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
hdmi-connector {
compatible = "hdmi-connector";
type = "a";
port {
hdmi_con_in: endpoint {
remote-endpoint = <&hdmi_out_con>;
};
};
};
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
...@@ -101,6 +112,10 @@ wifi_pwrseq: wifi_pwrseq { ...@@ -101,6 +112,10 @@ wifi_pwrseq: wifi_pwrseq {
}; };
}; };
&de {
status = "okay";
};
&ehci0 { &ehci0 {
status = "okay"; status = "okay";
}; };
...@@ -118,6 +133,17 @@ &emac { ...@@ -118,6 +133,17 @@ &emac {
status = "okay"; status = "okay";
}; };
&hdmi {
hvcc-supply = <&reg_dldo1>;
status = "okay";
};
&hdmi_out {
hdmi_out_con: endpoint {
remote-endpoint = <&hdmi_con_in>;
};
};
&mdio { &mdio {
ext_rgmii_phy: ethernet-phy@1 { ext_rgmii_phy: ethernet-phy@1 {
compatible = "ethernet-phy-ieee802.3-c22"; compatible = "ethernet-phy-ieee802.3-c22";
......
...@@ -62,6 +62,21 @@ aliases { ...@@ -62,6 +62,21 @@ aliases {
chosen { chosen {
stdout-path = "serial0:115200n8"; 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 { &ehci0 {
...@@ -82,6 +97,17 @@ &emac { ...@@ -82,6 +97,17 @@ &emac {
}; };
&hdmi {
hvcc-supply = <&reg_dldo1>;
status = "okay";
};
&hdmi_out {
hdmi_out_con: endpoint {
remote-endpoint = <&hdmi_con_in>;
};
};
&i2c1 { &i2c1 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins>; pinctrl-0 = <&i2c1_pins>;
......
...@@ -61,6 +61,17 @@ chosen { ...@@ -61,6 +61,17 @@ chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
hdmi-connector {
compatible = "hdmi-connector";
type = "a";
port {
hdmi_con_in: endpoint {
remote-endpoint = <&hdmi_out_con>;
};
};
};
reg_vcc1v8: vcc1v8 { reg_vcc1v8: vcc1v8 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "vcc1v8"; regulator-name = "vcc1v8";
...@@ -69,6 +80,10 @@ reg_vcc1v8: vcc1v8 { ...@@ -69,6 +80,10 @@ reg_vcc1v8: vcc1v8 {
}; };
}; };
&de {
status = "okay";
};
&ehci0 { &ehci0 {
status = "okay"; status = "okay";
}; };
...@@ -86,6 +101,17 @@ &emac { ...@@ -86,6 +101,17 @@ &emac {
status = "okay"; status = "okay";
}; };
&hdmi {
hvcc-supply = <&reg_dldo1>;
status = "okay";
};
&hdmi_out {
hdmi_out_con: endpoint {
remote-endpoint = <&hdmi_con_in>;
};
};
&mdio { &mdio {
ext_rgmii_phy: ethernet-phy@1 { ext_rgmii_phy: ethernet-phy@1 {
compatible = "ethernet-phy-ieee802.3-c22"; compatible = "ethernet-phy-ieee802.3-c22";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment