Received: by 10.223.185.116 with SMTP id b49csp1567976wrg; Sun, 11 Feb 2018 15:28:23 -0800 (PST) X-Google-Smtp-Source: AH8x225OH3Ee+kWgcZMuDsfzCmapCXKlgtn6n5jw3uqr3Lgm5GHiY/DmmvTCbHIAlMaVJHBhOGpQ X-Received: by 2002:a17:902:5793:: with SMTP id l19-v6mr8676526pli.56.1518391703810; Sun, 11 Feb 2018 15:28:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518391703; cv=none; d=google.com; s=arc-20160816; b=NsqvkJ+OsIXqo0eBHuKWPj8kMUBXP8io5/oWWon910vaOZWUo+c3WMSdI7CDX1StF3 1i+FvY3WDCJ3F0T0Q5wEZSfiU4siGTzmxOy2JlWsjgzMyhAMDA+0/9scqkVmV+f4B75n LVEPgnbIRmg8uZt6tTCoklEMP4JY7VwLkld+H8cq2fszODrTg+oUU/618JI2vZbclVQe +J3LTiTapO+0qaveX6gFueK7kn6RaYpb8ef1N56UDn1ppLTbLesOwimWoMwuMFk+NINf xTmvTCboWzeni2kzxDlho/yYAkGFbY/eXbwwMXYZWkLjQLjLwFwjnsEvtk4jtRdzvX44 iXNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:organization:from:cc :references:to:subject:arc-authentication-results; bh=8WSBLIXYJsm+2yuB892G5fhuWG4Jkbswkm7sdmsU+JM=; b=ncVo1kwvBuU7hgWEFEhV93SrfGtzBkfKjO0ZJh89bnFX1BqFrB3vHWu3MjqdWUoXVF 3JYFZEhouwUXngDaukhVofzlez/Zt1rG/ZRSVLuGZC4OT+fTjRitDJYXgs9udrvjztve I8a6N9I6vTTBfuzToWpVAp7uQkeCIUOlnBqfCg2foEbTeq3TIg63SP+KX8fQDhT4tmML U3cWvTlDvwEI8UHEOrTgLPd9ea8HD4mkrEcWpWRF2O/+l22n3SeoI+fjq1mIVFsKhL4F muMysDafQOmkd12iazscevnbAbqbx4yrwqx6f/8F5JhVkTtyp8XP6N4B/vWK9Z8Z7nH+ ajhg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3-v6si5070462plo.446.2018.02.11.15.28.10; Sun, 11 Feb 2018 15:28:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932286AbeBKX1T (ORCPT + 99 others); Sun, 11 Feb 2018 18:27:19 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:35136 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932241AbeBKX1R (ORCPT ); Sun, 11 Feb 2018 18:27:17 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E3BBB15AB; Sun, 11 Feb 2018 15:27:16 -0800 (PST) Received: from [192.168.3.111] (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0590E3F487; Sun, 11 Feb 2018 15:27:14 -0800 (PST) Subject: Re: [linux-sunxi] [PATCH v2 6/6] arm64: allwinner: h6: add support for Pine H64 board To: icenowy@aosc.io, Rob Herring , Maxime Ripard , Chen-Yu Tsai , Linus Walleij References: <20180203154942.63566-1-icenowy@aosc.io> <20180203154942.63566-7-icenowy@aosc.io> Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com From: =?UTF-8?Q?Andr=c3=a9_Przywara?= Organization: ARM Ltd. Message-ID: <3705fc05-f1ec-a6ee-d204-d1f8f0916069@arm.com> Date: Sun, 11 Feb 2018 23:26:51 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20180203154942.63566-7-icenowy@aosc.io> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 03/02/18 15:49, Icenowy Zheng wrote: > Pine H64 is an Allwinner H6-based SBC from Pine64, with the following > features: > > - 1GiB/2GiB/4GiB LPDDR3 DRAM (in 4GiB situation only 3GiB is > accessible) > - AXP805 PMIC > - Raspberry-Pi-compatible GPIO header, "Euler" GPIO header (not > compatible with the "Euler" on Pine A64) and "Expansion" pin header > - 2 USB 2.0 ports and 1 USB 3.0 ports > - Audio jack > - MicroSD slot and eMMC module slot > - on-board SPI NOR flash > - 1Gbps Ethernet port (via RTL8211E PHY) > - HDMI port > > Adds initial support for it, including the UART on the Expansion pin > header. > > Signed-off-by: Icenowy Zheng I booted this to the point where the kernel complained about the missing rootfs, also with an initrd to the prompt. So: Reviewed-by: Andre Przywara Tested-by: Andre Przywara Thanks! Andre. > --- > Changes in v2: > - Switch to SPDX license identifier. > > arch/arm64/boot/dts/allwinner/Makefile | 1 + > .../boot/dts/allwinner/sun50i-h6-pine-h64.dts | 30 ++++++++++++++++++++++ > 2 files changed, 31 insertions(+) > create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts > > diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile > index f505227b0250..addf245226f6 100644 > --- a/arch/arm64/boot/dts/allwinner/Makefile > +++ b/arch/arm64/boot/dts/allwinner/Makefile > @@ -10,3 +10,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-orangepi-prime.dtb > dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-orangepi-zero-plus2.dtb > dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-nanopi-neo2.dtb > dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-nanopi-neo-plus2.dtb > +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts > new file mode 100644 > index 000000000000..dc850a1c0885 > --- /dev/null > +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts > @@ -0,0 +1,30 @@ > +/* > + * Copyright (c) 2017 Icenowy Zheng > + * > + * SPDX-License-Identifier: (GPL-2.0+ or MIT) > + */ > + > +/dts-v1/; > + > +#include "sun50i-h6.dtsi" > + > +#include > + > +/ { > + model = "Pine H64"; > + compatible = "pine64,pine-h64", "allwinner,sun50i-h6"; > + > + aliases { > + serial0 = &uart0; > + }; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > +}; > + > +&uart0 { > + pinctrl-names = "default"; > + pinctrl-0 = <&uart0_ph_pins>; > + status = "okay"; > +}; >