From: Chen-Yu Tsai <wens@kernel.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 2/2] sunxi: Enable EMAC on the Bananapi M3
Date: Fri, 3 May 2019 10:27:41 +0800 [thread overview]
Message-ID: <20190503022741.11578-3-wens@kernel.org> (raw)
In-Reply-To: <20190503022741.11578-1-wens@kernel.org>
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 v3:
- Rebased on sunxi/master
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
next prev parent reply other threads:[~2019-05-03 2:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-03 2:27 [U-Boot] [PATCH v3 0/2] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY Chen-Yu Tsai
2019-05-03 2:27 ` [U-Boot] [PATCH v3 1/2] sunxi: Enable EMAC on the Cubietruck Plus Chen-Yu Tsai
2019-05-03 2:27 ` Chen-Yu Tsai [this message]
2019-05-03 9:49 ` [U-Boot] [PATCH v3 0/2] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY Jagan Teki
2019-05-03 10:01 ` Chen-Yu Tsai
2019-05-03 12:15 ` Jagan Teki
2019-05-03 12:28 ` Chen-Yu Tsai
2019-05-03 12:20 ` Jagan Teki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190503022741.11578-3-wens@kernel.org \
--to=wens@kernel.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox