83 lines
2.0 KiB
Diff
83 lines
2.0 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Juan Sanchez <[email protected]>
|
|
Date: Sat, 5 Jul 2025 22:59:14 -0400
|
|
Subject: From: Chen-Yu Tsai <[email protected]>
|
|
|
|
Signed-off-by: Juan Sanchez <[email protected]>
|
|
---
|
|
arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts | 26 +++++++++-
|
|
1 file changed, 24 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts b/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
|
|
index 76e41202ecc8..592a50436454 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
|
|
@@ -11,10 +11,11 @@ / {
|
|
model = "Radxa Cubie A5E";
|
|
compatible = "radxa,cubie-a5e", "allwinner,sun55i-a527";
|
|
|
|
aliases {
|
|
ethernet0 = &gmac0;
|
|
+ ethernet1 = &gmac1;
|
|
ethernet2 = &sdio_wifi;
|
|
serial0 = &uart0;
|
|
};
|
|
|
|
chosen {
|
|
@@ -82,29 +83,50 @@ &ehci1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&gmac0 {
|
|
phy-mode = "rgmii-id";
|
|
- phy-handle = <&ext_rgmii_phy>;
|
|
+ phy-handle = <&ext_rgmii0_phy>;
|
|
phy-supply = <®_cldo3>;
|
|
|
|
allwinner,tx-delay-ps = <300>;
|
|
allwinner,rx-delay-ps = <400>;
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
+&gmac1 {
|
|
+ phy-mode = "rgmii-id";
|
|
+ phy-handle = <&ext_rgmii1_phy>;
|
|
+ phy-supply = <®_cldo4>;
|
|
+
|
|
+ allwinner,tx-delay-ps = <300>;
|
|
+ allwinner,rx-delay-ps = <400>;
|
|
+
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&mdio0 {
|
|
- ext_rgmii_phy: ethernet-phy@1 {
|
|
+ ext_rgmii0_phy: ethernet-phy@1 {
|
|
compatible = "ethernet-phy-ieee802.3-c22";
|
|
reg = <1>;
|
|
reset-gpios = <&pio 7 8 GPIO_ACTIVE_LOW>; /* PH8 */
|
|
reset-assert-us = <10000>;
|
|
reset-deassert-us = <150000>;
|
|
};
|
|
};
|
|
|
|
+&mdio1 {
|
|
+ ext_rgmii1_phy: ethernet-phy@1 {
|
|
+ compatible = "ethernet-phy-ieee802.3-c22";
|
|
+ reg = <1>;
|
|
+ reset-gpios = <&pio 9 16 GPIO_ACTIVE_LOW>; /* PJ16 */
|
|
+ reset-assert-us = <10000>;
|
|
+ reset-deassert-us = <150000>;
|
|
+ };
|
|
+};
|
|
+
|
|
&mmc0 {
|
|
vmmc-supply = <®_cldo3>;
|
|
cd-gpios = <&pio 5 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PF6 */
|
|
bus-width = <4>;
|
|
status = "okay";
|
|
--
|
|
Created with Armbian build tools https://github.com/armbian/build
|
|
|