From patchwork Tue Apr 24 09:19:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10359057 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F311F60225 for ; Tue, 24 Apr 2018 09:23:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E5DC928D32 for ; Tue, 24 Apr 2018 09:23:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA8BD28D3B; Tue, 24 Apr 2018 09:23:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7821628D32 for ; Tue, 24 Apr 2018 09:23:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=yapKoepSbjtdM3Xib3F1QmsWEH9kEj0eTZliUnpMCYw=; b=OR1uUxy1nack5fnP9gnWjEZqym xM/vjKke2GiVk23v1FFBRBvk45Q+4EURPCc8hpqxM7yqGAxkf+CS5dFMKuxBlJNbBQQHxqCvwQvoZ +RjJRHTDGulU+JDQDK0QJyR8DyPbe12j6U/t/LL42UQQCKYFdggC6KctKCQD44oHrxdO3upqwrKFf uu/6YzutJOitkrRX78YhwuAuA6XZjbinFbf08eoiWU705/EXYu/xFT3X8jPAK8phH+bIVGv0zGu0Q /u5XBgZnGbHW/k3ClML39k3+vJUPwVKcDZ+vhkaTqDlaNMG99alCTd+tfTf5co+ugd2j/QeV5a6u9 Iw2meixQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fAuAd-0001HC-1x; Tue, 24 Apr 2018 09:23:31 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fAu7B-0006VX-8P for linux-arm-kernel@lists.infradead.org; Tue, 24 Apr 2018 09:19:59 +0000 Received: by mail-wr0-x241.google.com with SMTP id o15-v6so48649428wro.11 for ; Tue, 24 Apr 2018 02:19:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XtOjHINAYsqIFyzv2iq5A1G5c02H6yDPV+0ljnS35I8=; b=RLcr3VteuS7LQhBJ5+9G/3P0hICBfsqy3Jq6rzUQhERQvXduuS5TXVMtyDoSNGW6NO aMmsqKl+VCC6RW3XZvF+JAo8rcWm6iNTIo9eCJmnDjpiMQBurfMsw3uUk8nWxByLxcxx zm9TLI0hGngc1s6NaPOSeAU7j0R2eXBvz7au9bT2q2b0U4YtyuQX0GnKY6aVSQ5KrpPa WFuhvLJcWmxGOoqe+MtHQb7k/nGnyEQEtPShRsQVK8IZKVN5qwo9GyEbonfl+2ciwFjd Afv19t1401/xtUpVyf8fatmLehQpRm4U6Qzqr1y4N/qP+VZM/6eWzyqsTWQ4/FecF8Jt 4IQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=XtOjHINAYsqIFyzv2iq5A1G5c02H6yDPV+0ljnS35I8=; b=SdC37108N2yQrVIsUE6mHSJwNLX7EIQLRDN7HnqY3pqUrqNXDz+grU+mDy83SqzUUJ KX3gIa+Y03WQAqd0pdrVS6Jj1bqok+EUAxVkybs/xyEdS2GHgEaKD/AYDTd69AoKFxk/ 7QYTCt7mEubmc54aKj3w5Vpbk25SueDFavcUkPvleAfj/tg3i+OI0qRrhjQ9Rvl7iO3I ur3IZMSyc2JRSmsQAcX/wbFKbqUTJb6HjDmPS1oek3z3yT8wev6OBoEKGE48GHaTB+rM v6w/YfDEn1VdJrQ/qETTuJ5z/+/bDu3+yyfMQzYXkiJ13GSYtktztgJOk+aRfZLf5RSr OayA== X-Gm-Message-State: ALQs6tDqY1B4TCjPV5l5Z7os7wCkOogXAr8fWfyMsdlVKyEYyA3Zt37O tjNNSlgB1TPEP97NgtEVSM8dWw== X-Google-Smtp-Source: AIpwx48tqa3jIBfp3aL3rnPc/io/PkvEdRHPmkYYC2JTY6I/AO0slXfM9EhTQnrVRG3QM7c8kDfbPQ== X-Received: by 2002:adf:a673:: with SMTP id k106-v6mr20349587wrc.231.1524561584434; Tue, 24 Apr 2018 02:19:44 -0700 (PDT) Received: from bender.baylibre.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id s22sm11805525wma.45.2018.04.24.02.19.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Apr 2018 02:19:43 -0700 (PDT) From: Neil Armstrong To: maxime.ripard@bootlin.com, wens@csie.org Subject: [PATCH 2/2] ARM64: dts: allwinner: Add dts file for Libre Computer Board ALL-H3-CC H5 ver. Date: Tue, 24 Apr 2018 11:19:36 +0200 Message-Id: <1524561576-2201-3-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524561576-2201-1-git-send-email-narmstrong@baylibre.com> References: <1524561576-2201-1-git-send-email-narmstrong@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180424_021957_412276_583637E5 X-CRM114-Status: GOOD ( 15.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, clabbe@baylibre.com, linux-arm-kernel@lists.infradead.org, Neil Armstrong MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The Libre Computer Board ALL-H3-CC from Libre Technology is a Raspberry Pi B+ form factor single board computer based on the Allwinner H2+, H3, or H5 SoCs with the same PCB. The board has 1GB DDR3 SDRAM, provided by 4 2Gb chips. The mounting holes and connectors are in the exact same position as on the Raspberry Pi B+. This patch enables the H5 variant using the H3 board definition moved to a common dtsi in an earlier patch. The dts simply include the common dtsi and declares the correct compatible and model of the H5 variant. Suggested-by: Corentin Labbe Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../boot/dts/allwinner/sun50i-h5-libretech-all-h3-cc.dts | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h5-libretech-all-h3-cc.dts diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile index 8bebe7d..7e07c07 100644 --- a/arch/arm64/boot/dts/allwinner/Makefile +++ b/arch/arm64/boot/dts/allwinner/Makefile @@ -6,6 +6,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-orangepi-win.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pine64-plus.dtb sun50i-a64-pine64.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-sopine-baseboard.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-teres-i.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-libretech-all-h3-cc.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-orangepi-pc2.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-orangepi-prime.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-orangepi-zero-plus.dtb diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-libretech-all-h3-cc.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-libretech-all-h3-cc.dts new file mode 100644 index 0000000..95e113c --- /dev/null +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-libretech-all-h3-cc.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2018 BayLibre, SAS + * Author: Neil Armstrong + */ + +/dts-v1/; +#include "sun50i-h5.dtsi" +#include + +/ { + model = "Libre Computer Board ALL-H3-CC H5"; + compatible = "libretech,all-h3-cc-h5", "allwinner,sun50i-h5"; +};