From patchwork Sun Feb 1 12:58:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Sampson X-Patchwork-Id: 435280 X-Patchwork-Delegate: hdegoede@redhat.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 84CF2140142 for ; Mon, 2 Feb 2015 04:31:38 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 17DC84B6E0; Sun, 1 Feb 2015 18:30:51 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GinKVlSKlbYZ; Sun, 1 Feb 2015 18:30:50 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 90BF4A7433; Sun, 1 Feb 2015 18:30:05 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A5DFE4A020 for ; Sun, 1 Feb 2015 13:59:10 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0qYjfWYakG2W for ; Sun, 1 Feb 2015 13:59:10 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from b.painless.aa.net.uk (b.painless.aa.net.uk [81.187.30.52]) by theia.denx.de (Postfix) with ESMTPS id 787354A01F for ; Sun, 1 Feb 2015 13:59:07 +0100 (CET) Received: from cartman.offog.org ([2001:8b0:83b:b53f::a]) by b.painless.aa.net.uk with esmtps (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1YHu7E-0003zl-2s; Sun, 01 Feb 2015 12:59:07 +0000 Received: from ats by cartman.offog.org with local (Exim 4.85) (envelope-from ) id 1YHu7B-0000Ix-Gu; Sun, 01 Feb 2015 12:59:01 +0000 From: Adam Sampson To: u-boot@lists.denx.de Date: Sun, 1 Feb 2015 12:58:58 +0000 Message-Id: <1422795538-1123-1-git-send-email-ats@offog.org> X-Mailer: git-send-email 2.2.2 X-Mailman-Approved-At: Sun, 01 Feb 2015 18:29:11 +0100 Cc: linux-sunxi@googlegroups.com Subject: [U-Boot] [PATCH v3] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This is a low-cost Allwinner A20 board with Arduino-style GPIO headers; it features 1G RAM, 4G NAND flash, 1 micro-SD, 2 USB sockets, 1 micro USB socket for OTG and another for power in, HDMI, SATA, 5V power for SATA devices, gigabit Ethernet, an IR receiver, 3.5mm audio out and a MIPI camera connector. Like the BananaPi, this board needs GMAC_TX_DELAY set to 3 in order for GMAC to work reliably at gigabit speeds. For more details, see: http://linux-sunxi.org/LinkSprite_pcDuino3_Nano Changed in v3: - add CONFIG_GMAC_TX_DELAY=3, which corresponds to a patch in LinkSprite's A20 kernel; testing shows the performance is now much better at 1000M Signed-off-by: Adam Sampson --- board/sunxi/MAINTAINERS | 5 +++++ configs/Linksprite_pcDuino3_Nano_defconfig | 11 +++++++++++ 2 files changed, 16 insertions(+) create mode 100644 configs/Linksprite_pcDuino3_Nano_defconfig diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS index 9050059..44f57ad 100644 --- a/board/sunxi/MAINTAINERS +++ b/board/sunxi/MAINTAINERS @@ -81,6 +81,11 @@ M: Zoltan Herpai S: Maintained F: configs/Linksprite_pcDuino_defconfig +LINKSPRITE-PCDUINO3-NANO BOARD +M: Adam Sampson +S: Maintained +F: configs/Linksprite_pcDuino3_Nano_defconfig + MARSBOARD-A10 BOARD M: Aleksei Mamlin S: Maintained diff --git a/configs/Linksprite_pcDuino3_Nano_defconfig b/configs/Linksprite_pcDuino3_Nano_defconfig new file mode 100644 index 0000000..4baba14 --- /dev/null +++ b/configs/Linksprite_pcDuino3_Nano_defconfig @@ -0,0 +1,11 @@ +CONFIG_SPL=y +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPH(2),USB_EHCI" +CONFIG_FDTFILE="sun7i-a20-pcduino3-nano.dtb" +CONFIG_GMAC_TX_DELAY=3 +CONFIG_USB1_VBUS_PIN="PH11" ++S:CONFIG_ARM=y ++S:CONFIG_ARCH_SUNXI=y ++S:CONFIG_MACH_SUN7I=y ++S:CONFIG_DRAM_CLK=408 ++S:CONFIG_DRAM_ZQ=122 ++S:CONFIG_DRAM_EMR1=4