Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4059518ybx; Sat, 9 Nov 2019 08:23:02 -0800 (PST) X-Google-Smtp-Source: APXvYqyZgg6/46wERY1zI76CBE0X2dCHx7mWkk4Ha/1hfyGK0lRzni1btMw1e3ZM6a8rD8q4kuh5 X-Received: by 2002:a17:906:938c:: with SMTP id l12mr14310440ejx.135.1573316582801; Sat, 09 Nov 2019 08:23:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573316582; cv=none; d=google.com; s=arc-20160816; b=ifuM3hDKNmj4amAdfd2vQq0OaJja9dd7gSRi2hKa5rhDbjykF+0OAayl8OBtFyzfYw gaLbLuL24WKAIBuj/LoP/ilY/33cu+S5okvkYeVV2FUuCkPGpl7oQ61FO1upUQXHop/j nloZU0TKj4PGCsEL9T8JxcUSlVXrytnfEoqUhrWDIhiG5PligzWuC4SkQkyjRZDjeSP/ VTAHrrylayQ/XO8EpW6Mzv/YgMUSqTxJlX7CJRuqcR6+cJ0dhPKkrjhp5jtHhu2yeLZo urb1Agpq0epw2+RdyfJu/eGxDJX7XBgkG4KH+DfeyBXLH5UMJ9f/QVbnXRgzmhBiwgUm uK3g== 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:dkim-signature; bh=rOI6QUOBK9QSogmnbQtU7q55r9yQbW3Ua9QOoR9QkrY=; b=g3ozcMNK3cBsEl2wr8TLtZ3h76ApF6fkkhjK98lzpziuNyd8weMEwAj/qOrbSiIV// JNkdQl0DrnbGc4S2fwyJ/c6hKGQq+oqbflxph4r2klqKvj5L7giA+c7A2xurl8fwb6ZV hvqmGzNCYGy1RJ5wHKfKYzyxUt4QxDEygLot9xbp/lriQ0JxHqaMYpLL+qAn9bRrrcBx 31Z1Q1xFJeSTJU4Et9FK3UoS1r0D7wxz0HgoyrkLO7C1iAtmJls46GeF3vHNwT7pFGKA DhkfSWY1EH1IvOgX5rO5rAqS3vt/S9Lax7UALbmQOLpBL0KiaraEkG2gjD2NogTLHId7 qzUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Wwy+QwH+; 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 p30si7293698eda.205.2019.11.09.08.22.40; Sat, 09 Nov 2019 08:23:02 -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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Wwy+QwH+; 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 S1726569AbfKIQUt (ORCPT + 99 others); Sat, 9 Nov 2019 11:20:49 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:53614 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726112AbfKIQUt (ORCPT ); Sat, 9 Nov 2019 11:20:49 -0500 Received: by mail-wm1-f67.google.com with SMTP id u18so1483279wmc.3 for ; Sat, 09 Nov 2019 08:20:47 -0800 (PST) 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=rOI6QUOBK9QSogmnbQtU7q55r9yQbW3Ua9QOoR9QkrY=; b=Wwy+QwH+P9UqoP8oujilPKtig1715dkzgWKvceZrPvhHTJlIXIZccGusWFTVJ03w0K qpCLCDsPwYahI6hQnmMk0PmpnS4cSuliDSh0zimgWFA9MYqqgOJRbSNoFpyVBu8JbXgA 2pUgUVP0tV2C3Il/VGI4Fw631Rp5dYEJqWy7eDdEZhKPt0sZcygq3ZUlxd5UqU6PSW+W Gnu95MAF3BmQ2IFG7eQy5OSrRpQAY/8A3Dzskm308+G4XB3al5xNPmHo/sND2rnzEmWY 0Qz+OaBc0octysH9Hq+Z5V4Q4spiNyk63WGC7W8zfrIrDcj12WcVLN7tH6gVB8RlXl+Q TA+w== 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=rOI6QUOBK9QSogmnbQtU7q55r9yQbW3Ua9QOoR9QkrY=; b=MRRG0HLQBofbIwOeNH4D5CkkcWuLVPP8pWUArIIB1jazHJuUGx2sK1+eog+15Y7YqQ 881KYX1KIO9OPKOelbtjj5tZjTj6TsDEYSDd0n5S7k7z0cb6cX0BcpBNQbg7rPXktPjt +KePAnvYTmpJJEgFyz7rVYhkUWEa1OEgbRm/NDQedlC1xEOlkn0T/xTbUs+8q6gNdWaU 8zMHJ9VvPdL/kHQyahTMThra563I+rLPh7LV6HlAlMEIljO9ggrRLhe7Ug14kUAql9XL lzRXDpEUTbynAgHI1crANVFX6Hkczu/AQW/s+Flrkp3itAd2QXzAxxpYDCmIFhBeQzyk yl8Q== X-Gm-Message-State: APjAAAWb1yGaZtflGTj/xZdwWOvrAEAqaRCcUVqrvfwPsvdocALY5EpG ms/8hXrb8N+rwzX/7LsWV/BsJg== X-Received: by 2002:a7b:c747:: with SMTP id w7mr14087795wmk.62.1573316447064; Sat, 09 Nov 2019 08:20:47 -0800 (PST) Received: from localhost.localdomain ([51.15.160.169]) by smtp.googlemail.com with ESMTPSA id v8sm14534975wra.79.2019.11.09.08.20.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 09 Nov 2019 08:20:46 -0800 (PST) From: Corentin Labbe To: mark.rutland@arm.com, mripard@kernel.org, robh+dt@kernel.org, wens@csie.org, jernej.skrabec@siol.net Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Corentin Labbe Subject: [PATCH v4 2/2] ARM64: dts: allwinner: add pineh64 model B Date: Sat, 9 Nov 2019 16:20:33 +0000 Message-Id: <1573316433-40669-3-git-send-email-clabbe@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1573316433-40669-1-git-send-email-clabbe@baylibre.com> References: <1573316433-40669-1-git-send-email-clabbe@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds the model B of the PineH64. The model B is smaller than the pine64 model A and has no PCIE slot. The only devicetree difference with the pineH64 model A, is the PHY regulator and the HDMI connector node. Signed-off-by: Corentin Labbe --- .../devicetree/bindings/arm/sunxi.yaml | 5 +++++ arch/arm64/boot/dts/allwinner/Makefile | 1 + .../allwinner/sun50i-h6-pine-h64-modelB.dts | 21 +++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelB.dts diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/devicetree/bindings/arm/sunxi.yaml index b8ec616c2538..227217bf28df 100644 --- a/Documentation/devicetree/bindings/arm/sunxi.yaml +++ b/Documentation/devicetree/bindings/arm/sunxi.yaml @@ -604,6 +604,11 @@ properties: - const: pine64,pine-h64-modelA - const: allwinner,sun50i-h6 + - description: Pine64 PineH64 model B + items: + - const: pine64,pine-h64-modelB + - const: allwinner,sun50i-h6 + - description: Pine64 LTS items: - const: pine64,pine64-lts diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile index d2418021768b..bda89b9ccb4a 100644 --- a/arch/arm64/boot/dts/allwinner/Makefile +++ b/arch/arm64/boot/dts/allwinner/Makefile @@ -26,4 +26,5 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-3.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-lite2.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-one-plus.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-modelB.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-tanix-tx6.dtb diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelB.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelB.dts new file mode 100644 index 000000000000..063a85223faa --- /dev/null +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelB.dts @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2019 Corentin LABBE + */ + +#include "sun50i-h6-pine-h64.dts" + +/ { + model = "Pine H64 model B"; + compatible = "pine64,pine-h64-modelB", "allwinner,sun50i-h6"; + + /delete-node/ reg_gmac_3v3; +}; + +&hdmi_connector { + /delete-property/ ddc-en-gpios; +}; + +&emac { + phy-supply = <®_aldo2>; +}; -- 2.23.0