{"id":809865,"url":"http://patchwork.ozlabs.org/api/1.2/patches/809865/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1504504505-2848-1-git-send-email-stefan@olimex.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1504504505-2848-1-git-send-email-stefan@olimex.com>","list_archive_url":null,"date":"2017-09-04T05:55:05","name":"[U-Boot,1/1] sunxi: Add support for A20-OLinuXino-MICRO-eMMC","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"3c40f2f1b33d7feea4657d0aedf797dd3dbb7986","submitter":{"id":72237,"url":"http://patchwork.ozlabs.org/api/1.2/people/72237/?format=json","name":"Stefan Mavrodiev","email":"stefan@olimex.com"},"delegate":{"id":17739,"url":"http://patchwork.ozlabs.org/api/1.2/users/17739/?format=json","username":"jagan","first_name":"Jagannadha Sutradharudu","last_name":"Teki","email":"jagannadh.teki@gmail.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1504504505-2848-1-git-send-email-stefan@olimex.com/mbox/","series":[{"id":1465,"url":"http://patchwork.ozlabs.org/api/1.2/series/1465/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=1465","date":"2017-09-04T05:55:05","name":"[U-Boot,1/1] sunxi: Add support for A20-OLinuXino-MICRO-eMMC","version":1,"mbox":"http://patchwork.ozlabs.org/series/1465/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/809865/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/809865/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xmQcY2qCFz9sNc\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 09:13:01 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 0FB92C21DA3; Mon,  4 Sep 2017 23:12:56 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 83B15C21C6D;\n\tMon,  4 Sep 2017 23:12:53 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 940F7C21DD0; Mon,  4 Sep 2017 05:55:35 +0000 (UTC)","from olimex.com (olimex.com [184.105.72.32])\n\tby lists.denx.de (Postfix) with ESMTPS id B0366C21DAD\n\tfor <u-boot@lists.denx.de>; Mon,  4 Sep 2017 05:55:34 +0000 (UTC)","from localhost.localdomain ([195.238.85.143])\n\tby olimex.com with ESMTPSA\n\t(ECDHE-RSA-AES128-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AES(128):Mac=SHA256)\n\t(SMTP-AUTH username stefan@olimex.com, mechanism PLAIN)\n\tfor <u-boot@lists.denx.de>; Sun, 3 Sep 2017 22:55:31 -0700"],"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\n\tautolearn_force=no version=3.4.0","From":"Stefan Mavrodiev <stefan@olimex.com>","To":"u-boot@lists.denx.de","Date":"Mon,  4 Sep 2017 08:55:05 +0300","Message-Id":"<1504504505-2848-1-git-send-email-stefan@olimex.com>","X-Mailer":"git-send-email 2.7.4","X-Mailman-Approved-At":"Mon, 04 Sep 2017 23:12:51 +0000","Cc":"Stefan Mavrodiev <stefan@olimex.com>","Subject":"[U-Boot] [PATCH 1/1] sunxi: Add support for A20-OLinuXino-MICRO-eMMC","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"From rev.J A20-OLinuXino-MICRO has eMMC option. For now this is\nonly 4GB, but in the future size may increase.\n\nThe dts file is the same from mainline kernel.\n\nSigned-off-by: Stefan Mavrodiev <stefan@olimex.com>\n---\n arch/arm/dts/Makefile                           |  1 +\n arch/arm/dts/sun7i-a20-olinuxino-micro-emmc.dts | 70 +++++++++++++++++++++++++\n board/sunxi/MAINTAINERS                         |  5 ++\n configs/A20-OLinuXino_MICRO-eMMC_defconfig      | 28 ++++++++++\n 4 files changed, 104 insertions(+)\n create mode 100644 arch/arm/dts/sun7i-a20-olinuxino-micro-emmc.dts\n create mode 100644 configs/A20-OLinuXino_MICRO-eMMC_defconfig","diff":"diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile\nindex 762429c..a6f2cba 100644\n--- a/arch/arm/dts/Makefile\n+++ b/arch/arm/dts/Makefile\n@@ -282,6 +282,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \\\n \tsun7i-a20-olinuxino-lime2.dtb \\\n \tsun7i-a20-olinuxino-lime2-emmc.dtb \\\n \tsun7i-a20-olinuxino-micro.dtb \\\n+\tsun7i-a20-olinuxino-micro-emmc.dtb \\\n \tsun7i-a20-orangepi.dtb \\\n \tsun7i-a20-orangepi-mini.dtb \\\n \tsun7i-a20-pcduino3.dtb \\\ndiff --git a/arch/arm/dts/sun7i-a20-olinuxino-micro-emmc.dts b/arch/arm/dts/sun7i-a20-olinuxino-micro-emmc.dts\nnew file mode 100644\nindex 0000000..d99e7b1\n--- /dev/null\n+++ b/arch/arm/dts/sun7i-a20-olinuxino-micro-emmc.dts\n@@ -0,0 +1,70 @@\n+ /*\n+ * Copyright 2017 Olimex Ltd.\n+ * Stefan Mavrodiev <stefan@olimex.com>\n+ *\n+ * This file is dual-licensed: you can use it either under the terms\n+ * of the GPL or the X11 license, at your option. Note that this dual\n+ * licensing only applies to this file, and not this project as a\n+ * whole.\n+ *\n+ *  a) This file is free software; you can redistribute it and/or\n+ *     modify it under the terms of the GNU General Public License as\n+ *     published by the Free Software Foundation; either version 2 of the\n+ *     License, or (at your option) any later version.\n+ *\n+ *     This file is distributed in the hope that it will be useful,\n+ *     but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+ *     GNU General Public License for more details.\n+ *\n+ * Or, alternatively,\n+ *\n+ *  b) Permission is hereby granted, free of charge, to any person\n+ *     obtaining a copy of this software and associated documentation\n+ *     files (the \"Software\"), to deal in the Software without\n+ *     restriction, including without limitation the rights to use,\n+ *     copy, modify, merge, publish, distribute, sublicense, and/or\n+ *     sell copies of the Software, and to permit persons to whom the\n+ *     Software is furnished to do so, subject to the following\n+ *     conditions:\n+ *\n+ *     The above copyright notice and this permission notice shall be\n+ *     included in all copies or substantial portions of the Software.\n+ *\n+ *     THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n+ *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n+ *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n+ *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n+ *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n+ *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n+ *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n+ *     OTHER DEALINGS IN THE SOFTWARE.\n+ */\n+\n+#include \"sun7i-a20-olinuxino-micro.dts\"\n+\n+/ {\n+\tmodel = \"Olimex A20-OLinuXino-MICRO-eMMC\";\n+\tcompatible = \"olimex,a20-olinuxino-micro-emmc\", \"allwinner,sun7i-a20\";\n+\n+\tmmc2_pwrseq: pwrseq {\n+\t\tcompatible = \"mmc-pwrseq-emmc\";\n+\t\treset-gpios = <&pio 2 16 GPIO_ACTIVE_LOW>;\n+\t};\n+};\n+\n+&mmc2 {\n+\tpinctrl-names = \"default\";\n+\tpinctrl-0 = <&mmc2_pins_a>;\n+\tvmmc-supply = <&reg_vcc3v3>;\n+\tbus-width = <4>;\n+\tnon-removable;\n+\tmmc-pwrseq = <&mmc2_pwrseq>;\n+\tstatus = \"okay\";\n+\n+\temmc: emmc@0 {\n+\t\treg = <0>;\n+\t\tcompatible = \"mmc-card\";\n+\t\tbroken-hpi;\n+\t};\n+};\ndiff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS\nindex ff6eea2..eddf38f 100644\n--- a/board/sunxi/MAINTAINERS\n+++ b/board/sunxi/MAINTAINERS\n@@ -83,6 +83,11 @@ M:\tFUKAUMI Naoki <naobsd@gmail.com>\n S:\tMaintained\n F:\tconfigs/A20-OLinuXino-Lime_defconfig\n \n+A20-OLINUXINO-MICRO-EMMC BOARD\n+M:\tStefan Mavrodiev <stefan@olimex.com>\n+S:\tMaintained\n+F:\tconfigs/A20-OLinuXino_MICRO-eMMC_defconfig\n+\n A20-OLINUXINO-LIME2 BOARD\n M:\tIain Paton <ipaton0@gmail.com>\n S:\tMaintained\ndiff --git a/configs/A20-OLinuXino_MICRO-eMMC_defconfig b/configs/A20-OLinuXino_MICRO-eMMC_defconfig\nnew file mode 100644\nindex 0000000..cfcb770\n--- /dev/null\n+++ b/configs/A20-OLinuXino_MICRO-eMMC_defconfig\n@@ -0,0 +1,28 @@\n+CONFIG_ARM=y\n+CONFIG_ARCH_SUNXI=y\n+CONFIG_MACH_SUN7I=y\n+CONFIG_DRAM_CLK=384\n+CONFIG_MMC0_CD_PIN=\"PH1\"\n+CONFIG_MMC3_CD_PIN=\"PH11\"\n+CONFIG_MMC_SUNXI_SLOT_EXTRA=2\n+CONFIG_I2C1_ENABLE=y\n+CONFIG_VIDEO_VGA=y\n+CONFIG_SATAPWR=\"PB8\"\n+CONFIG_DEFAULT_DEVICE_TREE=\"sun7i-a20-olinuxino-micro-emmc\"\n+CONFIG_AHCI=y\n+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set\n+CONFIG_SPL=y\n+CONFIG_SPL_I2C_SUPPORT=y\n+# CONFIG_CMD_IMLS is not set\n+# CONFIG_CMD_FLASH is not set\n+# CONFIG_CMD_FPGA is not set\n+# CONFIG_SPL_DOS_PARTITION is not set\n+# CONFIG_SPL_ISO_PARTITION is not set\n+# CONFIG_SPL_EFI_PARTITION is not set\n+CONFIG_ETH_DESIGNWARE=y\n+CONFIG_SUN7I_GMAC=y\n+CONFIG_AXP_ALDO3_VOLT=2800\n+CONFIG_AXP_ALDO4_VOLT=2800\n+CONFIG_SCSI=y\n+CONFIG_USB_EHCI_HCD=y\n+CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n","prefixes":["U-Boot","1/1"]}