Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6931578yba; Thu, 2 May 2019 00:41:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqz382kMTbh9j5NekL/cNqY2v8KfPUtb92QW2T9pjQXwGPctJ5SNZNnY3dVpunMWXGAgKxUq X-Received: by 2002:a63:165f:: with SMTP id 31mr2494424pgw.321.1556782887836; Thu, 02 May 2019 00:41:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556782887; cv=none; d=google.com; s=arc-20160816; b=lM7H3o5s3bkcVcHa3yUMcDciUR4m5x1qeb6u6j7KEedLd2qF4JF5L0fBXxGqzdBlh8 xMDDr/rFbZc4mhSED0uF72et/VARLifmG7LODzc7vhgnAeyFaua8eCzGSz12OCz2OtFV B24Um5xO9B0Jdw3AUy62wAXgDIyJgOZZ6OapOru+6gHwiaHJw6CfizabtuFpEjnNw4Yo Se+tfg44ExhUFUBLJn3FDL/s1ceqVCwz1dyMxREU36y5xx7f50FbavD9antgjRQFj14x y7/5B05TMCaLj+npDtz/73KzZxq+eN8OKwz7CX+2AJNtCTW0pXNBWvR/rRfApg28O+kg 0imA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=yItdvrFOqQnUfQj+MCF05t4ewV4IcmBDOZ3S8N3E95Q=; b=FBySIe2RdpYXsG+GPBClmEU5xGBLwdku/dp/fSca2J96rbeT4vvFvB8BF8z4dQp/2K nNUTapF7maQ3orDz4fDgitkYkTck0j/KXaLTlkFS5dQ54ioA2iVgagY9xJ/O47PoKzp6 K+yaszJbQVQbrpRgKLvQz8zDTRBavsxOwLYJa4ScCSFgHZ04zbHb9rpTu2qlITB2ycr7 gCpnrA6R64idJyzI/RXdOyjrPgJybuiUh6JV5UFv6i/6rr76Bnya4KLSD8dPUOhAvBW2 b8yjqjM5lW8jn0PWyKQ4ulSF83LVqXXvxgDkISAHP9aTuHiCVCJpZQmVMdKRKoX66rjF r41Q== 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 f184si15708525pfb.280.2019.05.02.00.41.12; Thu, 02 May 2019 00:41:27 -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 S1726291AbfEBHjI (ORCPT + 99 others); Thu, 2 May 2019 03:39:08 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:45815 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726186AbfEBHjI (ORCPT ); Thu, 2 May 2019 03:39:08 -0400 Received: from localhost (aaubervilliers-681-1-29-145.w90-88.abo.wanadoo.fr [90.88.149.145]) (Authenticated sender: maxime.ripard@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 0FF03100019; Thu, 2 May 2019 07:39:04 +0000 (UTC) Date: Thu, 2 May 2019 09:39:04 +0200 From: Maxime Ripard To: Pablo Greco Cc: linux-sunxi@googlegroups.com, Rob Herring , Mark Rutland , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 3/7] ARM: dts: sun8i: v40: bananapi-m2-berry: Enable GMAC ethernet controller Message-ID: <20190502073904.yng5dz5kwgulw6ha@flea> References: <1556040365-10913-1-git-send-email-pgreco@centosproject.org> <1556040365-10913-4-git-send-email-pgreco@centosproject.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="d2v4zsdy3ohit6tk" Content-Disposition: inline In-Reply-To: <1556040365-10913-4-git-send-email-pgreco@centosproject.org> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --d2v4zsdy3ohit6tk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Apr 23, 2019 at 02:26:00PM -0300, Pablo Greco wrote: > Just like the Bananapi M2 Ultra, the Bananapi M2 Berry has a Realtek > RTL8211E RGMII PHY tied to the GMAC. > The PMIC's DC1SW output provides power for the PHY, while the ALDO2 > output provides I/O voltages on both sides. > > Signed-off-by: Pablo Greco > --- > arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts | 29 +++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > > diff --git a/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts b/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts > index 2cb2ce0..561319b 100644 > --- a/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts > +++ b/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts > @@ -50,6 +50,7 @@ > compatible = "sinovoip,bpi-m2-berry", "allwinner,sun8i-r40"; > > aliases { > + ethernet0 = &gmac; > serial0 = &uart0; > }; > > @@ -92,6 +93,22 @@ > status = "okay"; > }; > > +&gmac { > + pinctrl-names = "default"; > + pinctrl-0 = <&gmac_rgmii_pins>; > + phy-handle = <&phy1>; > + phy-mode = "rgmii"; > + phy-supply = <®_dc1sw>; > + status = "okay"; > +}; > + > +&gmac_mdio { > + phy1: ethernet-phy@1 { > + compatible = "ethernet-phy-ieee802.3-c22"; > + reg = <1>; > + }; > +}; > + > &i2c0 { > status = "okay"; > > @@ -133,6 +150,12 @@ > vcc-pg-supply = <®_dldo1>; > }; > > +®_aldo2 { > + regulator-min-microvolt = <2500000>; > + regulator-max-microvolt = <2500000>; > + regulator-name = "vcc-pa"; > +}; > + Shouldn't this one be added to the patch 2? Thanks Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --d2v4zsdy3ohit6tk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXMqemAAKCRDj7w1vZxhR xWdzAQC0mZNlKnsyMWKmAzQSzgvolqPbKRG2zRXlpGrUZP2jHgD9HRhKdaeZ7Bxj Qwd2WYC/jYyLYVYxMKb8LMUjXnhUIQM= =Kqmg -----END PGP SIGNATURE----- --d2v4zsdy3ohit6tk--