From patchwork Sun Jan 12 15:36:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 1221778 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=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=default header.b=H0hMx+U1; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47wgnG70t5z9s4Y for ; Mon, 13 Jan 2020 02:36:50 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B942481801; Sun, 12 Jan 2020 16:36:34 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="H0hMx+U1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1E957817FD; Sun, 12 Jan 2020 16:36:31 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 76F47817EE for ; Sun, 12 Jan 2020 16:36:25 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=wens@kernel.org Received: from wens.tw (mirror2.csie.ntu.edu.tw [140.112.30.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A511121744; Sun, 12 Jan 2020 15:36:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578843383; bh=hjNsQBWWzZeq1TvhxE0xhno99fJuaFJGy4G7TdFm2Bo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H0hMx+U1P40FfRUxUShhABDbMmI2FjULip1ewgWdRzFhPvl4pLf30bUmHt6Ndnyak EAjMa6yiS+dhGme3oVWN/mrQZhusY1VCQg7Ww6vl1ERKOZZMH1qlfpzHBrMeXreNtT N2AwyXFacf70cs7gftjSHtAFE0WksCe+huvs1Iag= Received: by wens.tw (Postfix, from userid 1000) id 1DB815FCE9; Sun, 12 Jan 2020 23:36:21 +0800 (CST) From: Chen-Yu Tsai To: u-boot@lists.denx.de, Jagan Teki , Maxime Ripard Subject: [PATCH 2/3] sunxi: Add Libre Computer ALL-H3-IT H5 board Date: Sun, 12 Jan 2020 23:36:14 +0800 Message-Id: <20200112153615.9532-3-wens@kernel.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200112153615.9532-1-wens@kernel.org> References: <20200112153615.9532-1-wens@kernel.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chen-Yu Tsai Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean From: Chen-Yu Tsai The Libre Computer ALL-H3-IT board is a small single board computer that is roughly the same size as the Raspberry Pi Zero, or around 20% smaller than a credit card. The board features: - H2, H3, or H5 SoC from Allwinner - 2 DDR3 DRAM chips - Realtek RTL8821CU based WiFi module - 128 Mbit SPI-NOR flash - micro-SD card slot - micro HDMI video output - FPC connector for camera sensor module - generic Raspberri-Pi style 40 pin GPIO header - additional pin headers for extra USB host ports, ananlog audio and IR receiver Only H5 variant test samples were made available, but the vendor does have plans to include at least an H3 variant. Thus the device tree is split much like the ALL-H3-CC, with a common dtsi file for the board design, and separate dts files including the common board file and the SoC dtsi file. The other variants will be added as they are made available. The device tree was synced over from the Linux kernel, along with other H3/H5 changes, in a previous patch. Thus only the defconfig and an entry to the MAINTAINERS file is added. Signed-off-by: Chen-Yu Tsai --- board/sunxi/MAINTAINERS | 5 +++++ configs/libretech_all_h3_it_h5_defconfig | 22 ++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 configs/libretech_all_h3_it_h5_defconfig diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS index 4a89bb0e7b7e..ed620ade766c 100644 --- a/board/sunxi/MAINTAINERS +++ b/board/sunxi/MAINTAINERS @@ -318,6 +318,11 @@ F: configs/libretech_all_h3_cc_h2_plus_defconfig F: configs/libretech_all_h3_cc_h3_defconfig F: configs/libretech_all_h3_cc_h5_defconfig +LIBRETECH ALL-H3-IT BOARDS +M: Chen-Yu Tsai +S: Maintained +F: configs/libretech_all_h3_it_h5_defconfig + NANOPI-M1 BOARD M: Mylène Josserand S: Maintained diff --git a/configs/libretech_all_h3_it_h5_defconfig b/configs/libretech_all_h3_it_h5_defconfig new file mode 100644 index 000000000000..df13f4a0d307 --- /dev/null +++ b/configs/libretech_all_h3_it_h5_defconfig @@ -0,0 +1,22 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_NR_DRAM_BANKS=1 +CONFIG_SPL=y +CONFIG_MACH_SUN50I_H5=y +CONFIG_DRAM_CLK=672 +CONFIG_MMC_SUNXI_SLOT_EXTRA=2 +CONFIG_SPL_SPI_SUNXI=y +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_USE_PREBOOT=y +CONFIG_SYS_SPI_U_BOOT_OFFS=0x8000 +# CONFIG_SPL_DOS_PARTITION is not set +# CONFIG_SPL_EFI_PARTITION is not set +CONFIG_DEFAULT_DEVICE_TREE="sun50i-h5-libretech-all-h3-it" +CONFIG_SYS_RELOC_GD_ENV_ADDR=y +CONFIG_DM_SPI_FLASH=y +CONFIG_SPI_FLASH_XMC=y +CONFIG_SPI=y +CONFIG_DM_SPI=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_OHCI_HCD=y +CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y