From patchwork Fri Apr 12 03:37:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 1084612 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=kernel.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44gZ2n0qXnz9s47 for ; Fri, 12 Apr 2019 20:32:17 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id BE540C21E13; Fri, 12 Apr 2019 10:31:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 32CDBC21E3A; Fri, 12 Apr 2019 10:30:44 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C9B5EC21D72; Fri, 12 Apr 2019 03:38:10 +0000 (UTC) Received: from wens.csie.org (mirror2.csie.ntu.edu.tw [140.112.30.76]) by lists.denx.de (Postfix) with ESMTPS id 3D2DDC21CB6 for ; Fri, 12 Apr 2019 03:38:10 +0000 (UTC) Received: by wens.csie.org (Postfix, from userid 1000) id 8A91B60B0F; Fri, 12 Apr 2019 11:38:07 +0800 (CST) From: Chen-Yu Tsai To: u-boot@lists.denx.de Date: Fri, 12 Apr 2019 11:37:47 +0800 Message-Id: <20190412033747.16437-5-wens@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190412033747.16437-1-wens@kernel.org> References: <20190412033747.16437-1-wens@kernel.org> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 12 Apr 2019 10:30:41 +0000 Cc: Maxime Ripard , Joe Hershberger , Chen-Yu Tsai , Jagan Teki Subject: [U-Boot] [RESEND PATCH 4/4] sunxi: Enable EMAC on the Bananapi M3 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Chen-Yu Tsai The Bananapi M3 has an RTL8211E PHY connected to the EMAC using RGMII. The PHY is powered by DCDC1 through SW @ 3.3V. 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 --- configs/Sinovoip_BPI_M3_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/Sinovoip_BPI_M3_defconfig b/configs/Sinovoip_BPI_M3_defconfig index 79743a9c9a51..bb2dbb5dd5c2 100644 --- a/configs/Sinovoip_BPI_M3_defconfig +++ b/configs/Sinovoip_BPI_M3_defconfig @@ -21,6 +21,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-bananapi-m3" +CONFIG_PHY_REALTEK=y +CONFIG_SUN8I_EMAC=y CONFIG_AXP_DCDC5_VOLT=1200 CONFIG_AXP_DLDO3_VOLT=2500 CONFIG_AXP_SW_ON=y