From patchwork Tue Apr 24 11:47:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10359347 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 73F2F6038F for ; Tue, 24 Apr 2018 11:49:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62F6E28C4E for ; Tue, 24 Apr 2018 11:49:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5783128C70; Tue, 24 Apr 2018 11:49:12 +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 D0CD828C4E for ; Tue, 24 Apr 2018 11:49:11 +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=V7EH50/bBxrR1qhvdbhfsHJCkKEMKHvEHGmv5Vz8oMg=; b=qPKXbN+OI3tLYA0KgLBnD+d6iY ATfqq8Prny92XCV3yRUw412AOJsMfXv9aRaBDMhOO+tCQJGcsaN0oLXXxYEO8XOLaMriwnD23PoxP 9ChzTbuuKW8fzRH+TaiBiT99vY52qRAvCRrxbVs3e9EOImbBZwd/9mnMNK1n9Xeclszq4KI/0sJeK I1/nWJS2xi5rDqYswMrxhQ5MYyZ/4htPuZpGA4KYRP/V8tJJEE1qNxAKVeDy9OMyRTLF/y3htI2Jf N1BQEjWSItOME0st0snkvLUJq8BAGJSeaWNxX0x3OGK3iEdpiXl+QFEpDIuV3WqAW7eoghQyz7oZb Hswabl9Q==; 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 1fAwRS-0006Ng-Gk; Tue, 24 Apr 2018 11:49:02 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fAwPy-0005NI-QX for linux-arm-kernel@lists.infradead.org; Tue, 24 Apr 2018 11:47:32 +0000 Received: by mail-wr0-x244.google.com with SMTP id s18-v6so49605714wrg.9 for ; Tue, 24 Apr 2018 04:47:20 -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=1pa3IwJPHUAswgsdGyvFKIYUJl3VSyGR/tnn+cPcJzc=; b=VQCB5ALlHzZyOVxt3bUqjDgVXHERzVjNbMIS/ACgeLlA9fcFX/WkcGk0za3g04xQq6 KmDd6Dd/7EnQ4iwmA+FDVTMGgpWs8WsYXdmUFJqPyB++gWBXaXxeZWVfGAFvsGVcWB7Y uo9rpoP5NhFjYl3bJtHl+KnOEub0i+8XW9REfNxaD9PlQQ7mM2VhPf43Ye7MtN3+d6pj sjPdX4aPVFkohTwKG8HfAfZaIe8sxqJvvf0yJMY+Sgdw+A1EigczlgEPI1q974l7Q5fI 7wKZS1MUqa0wrhAb6DBo69CGcntNLyDqKaMMU42MAtx2zqfzu8ZSshlzLWgATi9HEwRF aYfg== 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=1pa3IwJPHUAswgsdGyvFKIYUJl3VSyGR/tnn+cPcJzc=; b=uPYFRvuVC/MPrVdPE8xbQ0Y67kBN1gHpqmeRiu/xjxMTuuyTpy4q3YvK283dIsSRw7 68AyOfm31LV4Uzvf8HUiJSYyM5I8wclOfD4Bp8NnikANwbG6Nus4gsz1RWlAUgS39nH0 atgC/9JgBW3J5tGLrrHD0rVHRN95FLu6Jk7rPP8eDZ4FbKmrc+M6UeGmKT4akdlp9dJS 1G9UrRwoE2EX4HZ5Ls2EUQymvnzJT7xsu3FFe3hiujYxzYLGcUrbiIJkLC111ee0lxPH SfOiud8MktHnaouDIPbmt3pRB3Ewy77EOWHfPurGu8+T3Bw+jJwwChzJWpVxtxofc2Jg sjWg== X-Gm-Message-State: ALQs6tAirXlYscHpkTl+usrJvEkPwQ5E7vN0/ZOhGKKFwhAcAbQWAdiu oRKA3iM3lduem39o31P+24dgcw== X-Google-Smtp-Source: AB8JxZq6zyaJNuZSkLp5kqg2RY8L0GKwre8NtcwY2b7vtB+IHnEYxI1b8AtY0n6ly6M9H/wdaBb/6Q== X-Received: by 2002:adf:a309:: with SMTP id c9-v6mr2926042wrb.157.1524570439062; Tue, 24 Apr 2018 04:47:19 -0700 (PDT) Received: from bender.baylibre.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id g127sm2200883wmf.22.2018.04.24.04.47.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Apr 2018 04:47:18 -0700 (PDT) From: Neil Armstrong To: maxime.ripard@bootlin.com, wens@csie.org Subject: [PATCH v2 2/2] arm64: dts: allwinner: Add dts file for Libre Computer Board ALL-H3-CC H5 ver. Date: Tue, 24 Apr 2018 13:47:14 +0200 Message-Id: <1524570434-17814-3-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524570434-17814-1-git-send-email-narmstrong@baylibre.com> References: <1524570434-17814-1-git-send-email-narmstrong@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180424_044730_875838_3AE9AE67 X-CRM114-Status: GOOD ( 16.05 ) 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 sinmply include the common dtsi and declares the correct compatible and model of the H5 variant. Suggested-by: Corentin Labbe Signed-off-by: Neil Armstrong Acked-by: Maxime Ripard --- 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"; +};