* [U-Boot] [RFT PATCH v2 0/2] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY
@ 2019-04-19 16:28 Chen-Yu Tsai
2019-04-19 16:28 ` [U-Boot] [RFT PATCH v2 1/2] sunxi: Enable EMAC on the Cubietruck Plus Chen-Yu Tsai
2019-04-19 16:28 ` [U-Boot] [RFT PATCH v2 2/2] sunxi: Enable EMAC on the Bananapi M3 Chen-Yu Tsai
0 siblings, 2 replies; 3+ messages in thread
From: Chen-Yu Tsai @ 2019-04-19 16:28 UTC (permalink / raw)
To: u-boot
From: Chen-Yu Tsai <wens@csie.org>
Hi everyone,
This series enables EMAC (Ethernet controller) on two A83T boards,
the Cubietruck Plus and Bananapi M3.
This series is now based on sunxi/next, which has patches that convert
sun8i-emac to use the common CLK and DM_RESET framework.
The two patches enable the sun8i-emac and Realtek PHY driver in their
respective defconfigs. The device trees already have the EMAC enabled.
For the Bananapi M3, the regulator providing the I/O voltages is raised
to 3.3V.
As I currently do not have access to my boards, testing by others is
requested.
Regards
ChenYu
Changes in v2:
- Dropped clk/reset related changes in favor of DM CLK / RESET support
- Raised DLDO3 for RGMII I/O on Bananapi M3 to 3.3V per design
Chen-Yu Tsai (2):
sunxi: Enable EMAC on the Cubietruck Plus
sunxi: Enable EMAC on the Bananapi M3
configs/Cubietruck_plus_defconfig | 2 ++
configs/Sinovoip_BPI_M3_defconfig | 4 +++-
2 files changed, 5 insertions(+), 1 deletion(-)
--
2.20.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [RFT PATCH v2 1/2] sunxi: Enable EMAC on the Cubietruck Plus
2019-04-19 16:28 [U-Boot] [RFT PATCH v2 0/2] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY Chen-Yu Tsai
@ 2019-04-19 16:28 ` Chen-Yu Tsai
2019-04-19 16:28 ` [U-Boot] [RFT PATCH v2 2/2] sunxi: Enable EMAC on the Bananapi M3 Chen-Yu Tsai
1 sibling, 0 replies; 3+ messages in thread
From: Chen-Yu Tsai @ 2019-04-19 16:28 UTC (permalink / raw)
To: u-boot
From: Chen-Yu Tsai <wens@csie.org>
The Cubietruck Plus has an RTL8211E PHY connected to the EMAC using
RGMII. The PHY is powered by DLDO4 @ 3.3V, while the I/O pins are
powered by DLDO3 @ 2.5V.
This patch enables the EMAC and Realtek PHY drivers in the defconfig.
The device tree file already has the EMAC enabled.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
Changes in v2: None
configs/Cubietruck_plus_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/Cubietruck_plus_defconfig b/configs/Cubietruck_plus_defconfig
index 869bffcfca0c..044af12779c6 100644
--- a/configs/Cubietruck_plus_defconfig
+++ b/configs/Cubietruck_plus_defconfig
@@ -20,6 +20,8 @@ CONFIG_CONSOLE_MUX=y
# CONFIG_SPL_DOS_PARTITION is not set
# CONFIG_SPL_EFI_PARTITION is not set
CONFIG_DEFAULT_DEVICE_TREE="sun8i-a83t-cubietruck-plus"
+CONFIG_PHY_REALTEK=y
+CONFIG_SUN8I_EMAC=y
CONFIG_AXP_DLDO3_VOLT=2500
CONFIG_AXP_DLDO4_VOLT=3300
CONFIG_AXP_FLDO1_VOLT=1200
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [RFT PATCH v2 2/2] sunxi: Enable EMAC on the Bananapi M3
2019-04-19 16:28 [U-Boot] [RFT PATCH v2 0/2] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY Chen-Yu Tsai
2019-04-19 16:28 ` [U-Boot] [RFT PATCH v2 1/2] sunxi: Enable EMAC on the Cubietruck Plus Chen-Yu Tsai
@ 2019-04-19 16:28 ` Chen-Yu Tsai
1 sibling, 0 replies; 3+ messages in thread
From: Chen-Yu Tsai @ 2019-04-19 16:28 UTC (permalink / raw)
To: u-boot
From: Chen-Yu Tsai <wens@csie.org>
The Bananapi M3 has an RTL8211E PHY connected to the EMAC using
RGMII. The PHY is powered by DCDC1 through SW @ 3.3V.
The board is designed to use 3.3V with RGMII, instead of the standard
reduced voltage of 2.5V we see everywhere. DLDO3, which provides the
I/O voltages, is raised to match.
This patch enables the EMAC and Realtek PHY drivers in the defconfig.
The device tree file already has the EMAC enabled.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
Changes in v2:
- Dropped clk/reset related changes in favor of DM CLK / RESET support
- Raised DLDO3 for RGMII I/O on Bananapi M3 to 3.3V per design
configs/Sinovoip_BPI_M3_defconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configs/Sinovoip_BPI_M3_defconfig b/configs/Sinovoip_BPI_M3_defconfig
index 79743a9c9a51..b9ab00cb8a29 100644
--- a/configs/Sinovoip_BPI_M3_defconfig
+++ b/configs/Sinovoip_BPI_M3_defconfig
@@ -21,8 +21,10 @@ CONFIG_CONSOLE_MUX=y
# CONFIG_SPL_DOS_PARTITION is not set
# CONFIG_SPL_EFI_PARTITION is not set
CONFIG_DEFAULT_DEVICE_TREE="sun8i-a83t-bananapi-m3"
+CONFIG_PHY_REALTEK=y
+CONFIG_SUN8I_EMAC=y
CONFIG_AXP_DCDC5_VOLT=1200
-CONFIG_AXP_DLDO3_VOLT=2500
+CONFIG_AXP_DLDO3_VOLT=3300
CONFIG_AXP_SW_ON=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-04-19 16:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-19 16:28 [U-Boot] [RFT PATCH v2 0/2] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY Chen-Yu Tsai
2019-04-19 16:28 ` [U-Boot] [RFT PATCH v2 1/2] sunxi: Enable EMAC on the Cubietruck Plus Chen-Yu Tsai
2019-04-19 16:28 ` [U-Boot] [RFT PATCH v2 2/2] sunxi: Enable EMAC on the Bananapi M3 Chen-Yu Tsai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.