87 lines
1.9 KiB
Diff
87 lines
1.9 KiB
Diff
From 2956436a55d001b49e904197e0ac228287eb0ec0 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 073/101] arm:dts: a20-orangepi and mini fix phy-mode, hdmi
|
|
|
|
---
|
|
arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts | 2 +-
|
|
arch/arm/boot/dts/sun7i-a20-orangepi.dts | 31 ++++++++++++++++++-
|
|
2 files changed, 31 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts b/arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts
|
|
index 84efa01e7..fc87309ae 100644
|
|
--- a/arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts
|
|
+++ b/arch/arm/boot/dts/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/sun7i-a20-orangepi.dts b/arch/arm/boot/dts/sun7i-a20-orangepi.dts
|
|
index 5d77f1d98..0c760b0a5 100644
|
|
--- a/arch/arm/boot/dts/sun7i-a20-orangepi.dts
|
|
+++ b/arch/arm/boot/dts/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.31.1
|
|
|