Received: by 10.223.176.5 with SMTP id f5csp674423wra; Sat, 3 Feb 2018 07:53:35 -0800 (PST) X-Google-Smtp-Source: AH8x227Dm+tQfKTDa3PXcclITA5WJlUgeeDxRv7t9yTF71vLs1qxst6vlDeW6tEncvrAPEIqnRZ8 X-Received: by 2002:a17:902:8f87:: with SMTP id z7-v6mr8707071plo.242.1517673214988; Sat, 03 Feb 2018 07:53:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517673214; cv=none; d=google.com; s=arc-20160816; b=MYkN6a3LHCx7lByvrNcMCdnKIx1BJPd8G5ttsGK9nxQb6bvdakzi96VyqZBEVPAWRE QJ8K7Hk+mQdoqyYcZaaOk+TbeIcIfW8dhTt6WK7pKJi7e2+OSh+0spViLzGKjy5nNoOg GoyXfUIFh/vhlFRDwacQAP6UryBewaWV99tlJR0kdNmk85ggRZK0T8hrEfP/2Za3oVs7 WgKzitiwT3moI695GvB5XL4gierNvkMiIkNj25q74SChqTefCazQmqnffSpjeuSK6hjA vPZ7FoEp7feY23W/TX7YZIm3dLWTQboAeex0sVwO0fOPc+2rSltWebnMVW0qCpb2PZaN xVJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=ZYbHWJAPD/ZWbR2AgqCNpQHuSvzU/JPJXvlb1nnGI7Q=; b=GwpAok/GK72y/lc4jK7OLC2H2HBorc5G5W3IGuRm7DViUAEKmZ2peuT4ZV9UPMQyft 7VKB8G65/M6LuCf9wGqHWT7DvHvoyKbrymOq82+HG5yb9bhJ/G+YIbHEDDmlRYmG0IPx BrfJj7DQkdRwQDxhsScyLPNxVAZSVlg+Zlg9y2v9YhKzpaXnm8veq5e6o3JT6wVsRxiI rrvKl1QmPy2kbCYaCKVG/G7SjAx7bM0JX/xfUFTOTHDau13me6to4CtjK9fe/JQx/fZw 3oOVoMjyG2mQkjq5/ze9hom9uQvTvrC4ZuUotzfYDivGRl4/tTFNZNXLzAyXpKwEskPj 8xxw== 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 l24si1598501pgo.128.2018.02.03.07.53.20; Sat, 03 Feb 2018 07:53:34 -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 S1752653AbeBCPwa (ORCPT + 99 others); Sat, 3 Feb 2018 10:52:30 -0500 Received: from hermes.aosc.io ([199.195.250.187]:56583 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752742AbeBCPvk (ORCPT ); Sat, 3 Feb 2018 10:51:40 -0500 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 3F47156E26; Sat, 3 Feb 2018 15:51:34 +0000 (UTC) From: Icenowy Zheng To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Linus Walleij 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, Icenowy Zheng Subject: [PATCH v2 6/6] arm64: allwinner: h6: add support for Pine H64 board Date: Sat, 3 Feb 2018 23:49:42 +0800 Message-Id: <20180203154942.63566-7-icenowy@aosc.io> In-Reply-To: <20180203154942.63566-1-icenowy@aosc.io> References: <20180203154942.63566-1-icenowy@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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"; +}; -- 2.15.1