Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6425195imm; Mon, 23 Jul 2018 18:18:17 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeA1D7kWoXpURaZjNrr7lnMTJcDLgwKvpT8KdMsInCxmGm1wdtkwSYtckmL3eUiLGNpzZOI X-Received: by 2002:a17:902:7688:: with SMTP id m8-v6mr14875103pll.338.1532395097793; Mon, 23 Jul 2018 18:18:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532395097; cv=none; d=google.com; s=arc-20160816; b=XLm5sr8AGeF0v7VrHJKSDl1mNAMH1thYeoG6rgqyukBZkanecj7qSjPjVFviUIbLPS cUK+RWTL5qfaN/mA5pTVak4rDk8rhZzSjZAbow2aQRaBoukCyFEG+W8lig5qu0hSGY26 /13nnCFl2/KdMKT/nw5/NsT4mziH75dkBFOgQ9TATJRIEdxdNblwxvqNtFZtq8D7TThy NCHmYxPDD/hXF+tjyEF7nZbonwo9GYKenU222zDBG+dQJTV5QLdpATdeMEKjnA5eemEi Mgp5o9GyXjCn9/0Ekv84BveQ/GTEELsxxdhq2GWxUMAzy2+DIQf7Fs//5NRBcCggKOqA 1SRw== 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=CdP3L1oi9SAUjgA1TO51q7YS+Ygyuv7OOC6UEdVg8kI=; b=RTvMGp7EkMkIk82Igb0SF+yhP5chanHODp8u4kCr+ZvoPAU5FzI7J8ZL4bI1wipVuv E9hmXg5h3RJ0tKAje7IavLlIM7FORTipQqSqxxzzmoS2xbe8MMmXbalgp5Q/N0P/QQ8A y6/d3XAA2m3jS5lul4w/ZyWsQBZrAkD3QS1vNx0CM0OrL2ee7in7R/tSPeD6D+BObogT EVMH40G+baAUHc+Nj6mlhYeg9EVHMpxbXHLFucvMn0wjDAmchHNdtifQP5c6fow7BzRL daWmBp0lBUc9VqIs555iSRBJzFzIVarp3S0JIdLA/vRzJg1lSvaUC7zdTKJiaDhvtLPL NAwQ== 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 n2-v6si9078734plp.71.2018.07.23.18.18.03; Mon, 23 Jul 2018 18:18:17 -0700 (PDT) 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 S2388326AbeGXCVA (ORCPT + 99 others); Mon, 23 Jul 2018 22:21:00 -0400 Received: from hermes.aosc.io ([199.195.250.187]:58102 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388234AbeGXCVA (ORCPT ); Mon, 23 Jul 2018 22:21:00 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 9DB349F64A; Tue, 24 Jul 2018 01:17:03 +0000 (UTC) From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH 1/3] arm64: allwinner: dts: h6: add Pine H64 model B Date: Tue, 24 Jul 2018 09:15:49 +0800 Message-Id: <20180724011551.49603-2-icenowy@aosc.io> In-Reply-To: <20180724011551.49603-1-icenowy@aosc.io> References: <20180724011551.49603-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 model B is another variant of Pine H64 by Pine64. It features a smaller board footprint (of RPi size) and drops PCIe. It also have WLAN on board (rather than via expansion connector on the original model A) and some LED changes. Add an initial device tree for it. Only LED difference is considered now, as functionalities related to other changes are still not available now. Signed-off-by: Icenowy Zheng --- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../allwinner/sun50i-h6-pine-h64-model-b.dts | 20 +++++++++++++++++++ .../boot/dts/allwinner/sun50i-h6-pine-h64.dts | 5 +++-- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile index 9ffa7a038791..330b5fb3715b 100644 --- a/arch/arm64/boot/dts/allwinner/Makefile +++ b/arch/arm64/boot/dts/allwinner/Makefile @@ -16,3 +16,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-orangepi-prime.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-orangepi-zero-plus.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-orangepi-zero-plus2.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-model-b.dtb diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts new file mode 100644 index 000000000000..d0fcc25efb00 --- /dev/null +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts @@ -0,0 +1,20 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (c) 2017 Icenowy Zheng + */ + +#include "sun50i-h6-pine-h64.dts" + +/ { + model = "Pine H64 Model B"; + compatible = "pine64,pine-h64-model-b", "pine64,pine-h64", + "allwinner,sun50i-h6"; + + leds { + /delete-node/ heartbeat; + + status { + label = "pine-h64:red:status"; + }; + }; +}; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts index ceffc40810ee..a85867f8b684 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts @@ -10,8 +10,9 @@ #include / { - model = "Pine H64"; - compatible = "pine64,pine-h64", "allwinner,sun50i-h6"; + model = "Pine H64 Model A"; + compatible = "pine64,pine-h64-model-a", "pine64,pine-h64", + "allwinner,sun50i-h6"; aliases { serial0 = &uart0; -- 2.18.0