Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6540064ybh; Thu, 8 Aug 2019 01:45:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqwGM8HC8My2EUVSu+/9+7UcUb2Xkxk737GFLIMYvhaYoUm0O1GzktkJyCV5bAhV8+fAogN2 X-Received: by 2002:a17:902:d20a:: with SMTP id t10mr12232756ply.226.1565253908611; Thu, 08 Aug 2019 01:45:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565253908; cv=none; d=google.com; s=arc-20160816; b=X8ZRFLs1TglURoL1azfu8k+F+k8L/gT03PQ9820a5moLQG0pFdNPSzWhPutmUyLbJE eEVe+FJRCmUWLhubreiDVpCLmCcEuOqL9IdjLAhmeJ+BMdg0uh/O4CaAK7Ji/ieTQVyR YW7iubC/Qor6xQUd0tWGiO+5R7xYPnHCyC/33F3bGhMgtNFrztD6G6DDvYcM1kvXc9BD j0wHnWWRgUi1rm4LPc+GszUYVUicjEGa8aOUtnEJjfV10Tkcz+i2YjzCo+AszW6q5/BA rDKJ0IMCEAk67xhD9qvA5Yh1fYa3pme7hsff+lUy7dXt4o6hz4Ctbm7cpGa/D9UaSM/q CkPA== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=o0gY6GIOGxAdAcOqxh/7txJTZ7y4Fp96qJrFWzmJvJs=; b=G7hPOVH0pxHaz4qH60NaXQ9fWkLi40yBtFBHGn8F0kQ1aAOSpoBHb/sugl/qd42Xf2 t/u45eQm8T6xits93MIy+6FoGEbZIFKNVOjVwvmFwsaLACNMiypOmW4LPXrrG8VJl/Jm 2/khHPftztw88x2UXzjbe3fDlkfght0hFZEwKmhG2sY8OYWLc+ojppeE6EvR0emYaoRR o9B4gVzLmuFaRc6Z89yIyV3QzZJCfmjBZk4wrglmc/SF3dSPsYQ02FpnWVn1jvqOl7DS RnWAYjdCaNgk29Y8KtDDVVU3TruAFo2nrBoz4vCO5ELh2SoGPwBexFN2/TSBCl40rajj K0Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RUwiyaIm; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q42si1429769pjc.103.2019.08.08.01.44.53; Thu, 08 Aug 2019 01:45:08 -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=@gmail.com header.s=20161025 header.b=RUwiyaIm; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731054AbfHHIm7 (ORCPT + 99 others); Thu, 8 Aug 2019 04:42:59 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:50668 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728289AbfHHIm7 (ORCPT ); Thu, 8 Aug 2019 04:42:59 -0400 Received: by mail-wm1-f66.google.com with SMTP id v15so1545778wml.0; Thu, 08 Aug 2019 01:42:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=o0gY6GIOGxAdAcOqxh/7txJTZ7y4Fp96qJrFWzmJvJs=; b=RUwiyaImbBGQoy18xa2BhqGI8xsDFamrbahqE96VfeFA6VE0a+pYf+hMqnuX0AZhmo Z+mJc+SlQn5ApVviiHsgsXmnDePZl0YFD0+TWX2vDF/RUl2FiIq6m2KsXrM1v1C48xmJ 7nN6hfG9Sbn4S4s2FztFp25RDmu+C91Jv9V6VjynVMBYlaIypgm3v9xzgqJD/XOftZpj Zg9jkrI1j2cnfDSgNsF/lHXvEW7hgX0WfokMqFvil8cKK9kyV4VWlV0o4m4J4Zj8OfVi nhdoe7sl2TURQXr2WEzaXbScdo97ImFTTpXg5AfS0d60/mGaaYnDFL10jlkslAIjTZFK lg7g== 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:mime-version :content-transfer-encoding; bh=o0gY6GIOGxAdAcOqxh/7txJTZ7y4Fp96qJrFWzmJvJs=; b=QGsHu+NSfXTBdUonyHAi+iP53h4sJAWo0KzHiqwn7+5LuSoTga181bu6tnSkPrC4eE HsLsvMoWHXND5zz1FnfNcjYNeNjup/D2kZvQCA9aWtKbeij1w+rDanmALnbH7RHx0J/v TsZoPyTumtzjvUDdQCqOG+gZyA4u4TcKw6m2EvVpfWIVXqG5FY6xo8D7CUwGTqbsU6fj ZAEzFJAjkTTVmuEb/Dr2iMeXzCmCpwkKQsXzZB8HdXrEOaSWDo57kMHPQ8lXbziLkIr7 iuyo0+tmfr2wHWoiyRdsP6U536j3wuLtkVcJ3mTITzsU86oFddQmx13x/zhAtHS6mteI ZZaw== X-Gm-Message-State: APjAAAVlqEEUKzXxpLHNAsscMq9GONnRcGewvpim/SeWHZ7J9iIradRS sZvM8WuCWJMY5CB4vi5idmWN6Kko X-Received: by 2002:a7b:c383:: with SMTP id s3mr2992226wmj.44.1565253776712; Thu, 08 Aug 2019 01:42:56 -0700 (PDT) Received: from Red.localdomain ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id c1sm2059259wmc.40.2019.08.08.01.42.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Aug 2019 01:42:56 -0700 (PDT) From: Corentin Labbe To: mark.rutland@arm.com, mripard@kernel.org, robh+dt@kernel.org, wens@csie.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Corentin Labbe Subject: [PATCH] ARM64: dts: allwinner: Add devicetree for pine H64 modelA evaluation board Date: Thu, 8 Aug 2019 10:42:53 +0200 Message-Id: <20190808084253.10573-1-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds the evaluation variant of 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 current pineH64, is the PHY regulator. Signed-off-by: Corentin Labbe --- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../sun50i-h6-pine-h64-modelA-eval.dts | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile index f6db0611cb85..9a02166cbf72 100644 --- a/arch/arm64/boot/dts/allwinner/Makefile +++ b/arch/arm64/boot/dts/allwinner/Makefile @@ -25,3 +25,4 @@ 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-eval.dtb diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file mode 100644 index 000000000000..d8ff02747efe --- /dev/null +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2019 Corentin Labbe + */ + +#include "sun50i-h6-pine-h64.dts" + +/ { + model = "Pine H64 model A evaluation board"; + compatible = "pine64,pine-h64-modelA-eval", "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; + }; + +}; + +&emac { + phy-supply = <®_gmac_3v3>; +}; -- 2.21.0