From d0563a95220f0afeb0c85b79bc831e874d1452d9 Mon Sep 17 00:00:00 2001 From: The-going <48602507+The-going@users.noreply.github.com> Date: Mon, 24 Jan 2022 13:18:28 +0300 Subject: [PATCH 055/153] arm:dts: a20-orangepi and mini fix phy-mode, hdmi --- arch/arm/boot/dts/allwinner/sun7i-a20-orangepi-mini.dts | 2 +- arch/arm/boot/dts/allwinner/sun7i-a20-orangepi.dts | 31 ++++++++++++++++++- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/allwinner/sun7i-a20-orangepi-mini.dts b/arch/arm/boot/dts/allwinner/sun7i-a20-orangepi-mini.dts index 84efa01e7..fc87309ae 100644 --- a/arch/arm/boot/dts/allwinner/sun7i-a20-orangepi-mini.dts +++ b/arch/arm/boot/dts/allwinner/sun7i-a20-orangepi-mini.dts @@ -121,7 +121,7 @@ &gmac { pinctrl-names = "default"; pinctrl-0 = <&gmac_rgmii_pins>; phy-handle = <&phy1>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; phy-supply = <®_gmac_3v3>; status = "okay"; }; diff --git a/arch/arm/boot/dts/allwinner/sun7i-a20-orangepi.dts b/arch/arm/boot/dts/allwinner/sun7i-a20-orangepi.dts index 5d77f1d98..0c760b0a5 100644 --- a/arch/arm/boot/dts/allwinner/sun7i-a20-orangepi.dts +++ b/arch/arm/boot/dts/allwinner/sun7i-a20-orangepi.dts @@ -61,6 +61,17 @@ chosen { 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"; @@ -85,6 +96,14 @@ &ahci { status = "okay"; }; +&codec { + status = "okay"; +}; + +&de { + status = "okay"; +}; + &ehci0 { status = "okay"; }; @@ -97,11 +116,21 @@ &gmac { pinctrl-names = "default"; pinctrl-0 = <&gmac_rgmii_pins>; phy-handle = <&phy1>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; phy-supply = <®_gmac_3v3>; status = "okay"; }; +&hdmi { + status = "okay"; +}; + +&hdmi_out { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + &i2c0 { status = "okay"; -- 2.35.3