Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp807961ybx; Wed, 30 Oct 2019 05:27:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5bAzP0jOJjKpo991UnTpLZK2fffl0rcwauuD8+dOZPhJlINlvFeKRweSEt8KUeFgTNsAk X-Received: by 2002:a50:ab01:: with SMTP id s1mr32063101edc.192.1572438476960; Wed, 30 Oct 2019 05:27:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572438476; cv=none; d=google.com; s=arc-20160816; b=hy9zHvt2yZHlV7G8RGcC8XqA3LOM/w3rFkTTkXjfX3bZ14fb69ii3cJDMtaTsurNxA puI1jfWdtdC9705RmZXlmV3XLTEYa9ERjbUIBoRLAlc6OGoCm8l3q1mHplzZCTKBzfWc aA7QTupAv23D19/8LnMcambuNp7CIt2brQI9BJKY9A+wupYpTkUh4/q7vm73T+vpln/q iR+9IpJuo9nb6H+ugzznpBbA0ss+3UFUzfIXpG8RCKjfuqZxjQxkani5op5WcLZXSHc+ NxqItvfFGXh9HeCa3HnHCiylsrpFmrUkcXNjb5RtoMKVnZ/6h4YUqTQfpLV5H9x1LL2R Ltaw== 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=uHR3w+XBYFJ6E7sqILU7UFRv7/0zoe1778Y28SVOjco=; b=CMHRDFaFE0JDbMMSFu1Sy9PH016WLMndf7ArhcYr4920DDnXZXyKxzXjefRjITrjXz M0T5Zc3PR0nVWhnFQTMNCf/hZMQoeNsG9sqjhqpRoB2kgbxb4mHJdD+tu+1HFp/zzgGM q3z/5kwhDVq532JwMgAZP/iymvM80ARianWPvpJkxED8+pJc0b4O+5a4cm8YI3r1yhAr +YLekj3YHApqaRVKnMF08PaJSqiIL76sPb1FhdhlODBzLCJwW2LY7VvtXa8AM/LpUusQ kXmyUN1bT/5jwjsGZiUVeAM57vzyuFZKM4b0xLuLTc1iumP4DcKxJS3ho5pFPMi8dG9M n4rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=bUK5vScp; 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 p8si1116096ejz.90.2019.10.30.05.27.33; Wed, 30 Oct 2019 05:27:56 -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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=bUK5vScp; 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 S1726884AbfJ3MYk (ORCPT + 99 others); Wed, 30 Oct 2019 08:24:40 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:42718 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726804AbfJ3MYg (ORCPT ); Wed, 30 Oct 2019 08:24:36 -0400 Received: by mail-wr1-f65.google.com with SMTP id a15so2063001wrf.9 for ; Wed, 30 Oct 2019 05:24:35 -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=uHR3w+XBYFJ6E7sqILU7UFRv7/0zoe1778Y28SVOjco=; b=bUK5vScpjfx3HzKxA5ujQJ9hr+ixSdirjp2P5aQ9GiOkjkSwh5tRXftGQuv4HVWFDA ZMcb6ftOHIbnF2DMQ7pZgUc6uNPgoiond7T4MR/MejGrAIKzVApGzCRPNYb7I6d8A8/7 /bdEvLR2Y1ekldYd22cEGEaQ++qyAFS/PcVwpEhbWSPqn6WVBxfkMXecNQipKllwVQQz oY0neB0aVtVqMMaexHQTjqMaHckDbiftfZx108zEqWxYZS3EfHW+BmEnsvMqrvfD4u3T /rLCCag9miIRvzCZdWHhH/BP5rfuBJ3JDNpLxjR+Mqa2jGeP7WfklJkQQy/uZVWaIFb+ AEBA== 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=uHR3w+XBYFJ6E7sqILU7UFRv7/0zoe1778Y28SVOjco=; b=cT+NlmOQf/uv7ImIxRSY+Tapz2vn9RPMdmPa1zznv3sd44EMyFpUj1XiZZND/3nq4R G2FUZTRhBo90ombo0yqi3/FHi3MpbV64P2y1/zHKFMQaHvLS3axKtFhowuiGhyn0/39n xBxs59Wa3iq7bz0aBONj+nhWl1HO+iUWgBSJf/+b30Yq6wwIxZiWCNqW/HFOasJ87dPv njfVwncHKsAxn5cb3ekVNzhnNOq+zYqWkG5U2Uo1zfevjQrS5ExpHbuShYU/kZbyEoEr d/uMy9CTTcCSUWvZrYJDxFBwczWRiq3lBXHcsAAbTM8WQKa5UF33LVxxDmBn/S7o8JI/ 8nfg== X-Gm-Message-State: APjAAAX/Z1Xk2omYgfi7WAuu630IhGObNpfp4B9Ku5gtNq2W2V4UpjMQ 11LzG5N11YH+R2yBKfY8nrSr8ZXvalo= X-Received: by 2002:adf:828c:: with SMTP id 12mr24243912wrc.40.1572438274843; Wed, 30 Oct 2019 05:24:34 -0700 (PDT) Received: from localhost.localdomain ([51.15.160.169]) by smtp.googlemail.com with ESMTPSA id p13sm2075919wma.41.2019.10.30.05.24.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 30 Oct 2019 05:24:34 -0700 (PDT) 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 v3 3/3] ARM64: dts: allwinner: add pineh64 model A Date: Wed, 30 Oct 2019 12:24:15 +0000 Message-Id: <1572438255-26107-4-git-send-email-clabbe@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1572438255-26107-1-git-send-email-clabbe@baylibre.com> References: <1572438255-26107-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 A of the PineH64. The model A has the same size of the pine64 and has a PCIE slot. The only devicetree difference with the pineH64 model B, 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-modelA.dts | 30 +++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA.dts diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/devicetree/bindings/arm/sunxi.yaml index 9a1e4992b9e9..0059925a3395 100644 --- a/Documentation/devicetree/bindings/arm/sunxi.yaml +++ b/Documentation/devicetree/bindings/arm/sunxi.yaml @@ -594,6 +594,11 @@ properties: - const: pine64,pine64-plus - const: allwinner,sun50i-a64 + - description: Pine64 PineH64 model A + items: + - const: pine64,pine-h64-modelA + - const: allwinner,sun50i-h6 + - description: Pine64 PineH64 model B items: - const: pine64,pine-h64-modelB diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile index d2418021768b..6bda5d9961c8 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-modelA.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-tanix-tx6.dtb diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA.dts new file mode 100644 index 000000000000..8c6b8978db1a --- /dev/null +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA.dts @@ -0,0 +1,30 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2019 Corentin LABBE + */ + +#include "sun50i-h6-pine-h64.dts" + +/ { + model = "Pine H64 model A"; + compatible = "pine64,pine-h64-modelA", "allwinner,sun50i-h6"; + + reg_gmac_3v3: gmac-3v3 { + compatible = "regulator-fixed"; + regulator-name = "vcc-gmac-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + startup-delay-us = <100000>; + gpio = <&pio 2 16 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + +}; + +&hdmi_connector { + ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */ +}; + +&emac { + phy-supply = <®_gmac_3v3>; +}; -- 2.23.0