Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3535876ybi; Fri, 19 Jul 2019 04:55:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKdi6huf2XRHeXGHa0J1BkuLT2SORpMRKzYf12aEs+0yOsMM183JoPQezsITRFzXV7YM5f X-Received: by 2002:a17:902:112c:: with SMTP id d41mr46748986pla.33.1563537316544; Fri, 19 Jul 2019 04:55:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563537316; cv=none; d=google.com; s=arc-20160816; b=b3AvbCIag5+46yMQxQDQ5G7bVz3aYD0hztdWjsnZRCwAZ110HYWWq/hpHzD9ZIdfjY SQUUY7+HflN5waTQGXJLsIiO42PhS4bwONLP0o8UzfwI0nU27As1getWUexNVR5FLqMe L7jGPbMxn+Wz8JY81VIeKUDiaV+QvIHx7MMYLEK7UQSunt28ZJ8ObfUUuNG8BVrhMEme 8qSBPSG4ZVrO7pB6KNaXMpdlK3uaD6e/vjghdKPl1qgmFYxqHXvJeGmN8jLRcdA68f3Y JRLKxEeBnB6A3NrKPZaXBdMz4fhH9Yy0NZ+CnCXu2ZFiE1GYqeRAWCBJlhS+ip1KUchs S46Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=biEayFt+VruGovDKa3i0LGzkhdkRNPx2sXZYzz56x6U=; b=Mx1xH63++xHJCbQzND311ICKsE07Mh68LQBIs8LwUfiGLyRIfMYINhs776f2xxO5n9 yiRIeuLL4e8lNUfVL2ySuzvkQoTSW0ChiP86g6TmGra1FUCvx797aHY78qSdAKz/P1NI V6TH5eltoxBmru8CtbHshmD2r18sOD07RauizTlKL+k4072hRu0WdndxUXb6Hb+NaL42 8XvGrLYOXrVeYxoVlG4dvIrM8FfZsSgdLOEnNgEf6hyTW2LbqlQBv2jV0dDFrMgAI1Qe IF4EbkWKLT6DruMgBeTpy+aA6oRp87DGTqtQTPWSh1PeHF4JvTqI0ZzFbDZelXj5vuh2 amig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b="jPqr/6Ml"; 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 92si335536plc.217.2019.07.19.04.55.00; Fri, 19 Jul 2019 04:55:16 -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=@sifive.com header.s=google header.b="jPqr/6Ml"; 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 S1728122AbfGSLx6 (ORCPT + 99 others); Fri, 19 Jul 2019 07:53:58 -0400 Received: from mail-vs1-f66.google.com ([209.85.217.66]:46099 "EHLO mail-vs1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728091AbfGSLx6 (ORCPT ); Fri, 19 Jul 2019 07:53:58 -0400 Received: by mail-vs1-f66.google.com with SMTP id r3so21305551vsr.13 for ; Fri, 19 Jul 2019 04:53:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=biEayFt+VruGovDKa3i0LGzkhdkRNPx2sXZYzz56x6U=; b=jPqr/6Mlm/0/pJK4JP6UC30mDBqkzqAztFJLe3h+6SEe9YMj5ao3HwyrxaIM5Bv4Ra Bm7CWyGDK5+SDHUfZKyKuOTqcThuTd9f70KeCl6i+fIOVRu6g20omrBGnh2w5ewzSRg4 e23Kq9iizjeG0J3cvawImzFPyq4DEE8PIGHwfdYUXfNzAEoU/ByIxdEE4YDY1IuddtZw cNfgleAGWH3pXzl8fAsg/ybtoC2hNcAcNaTVgKxsZPMlyMxtvOmmsDp50Ylj1uDvUu5t RrSZrj7JilYo1igG+dDX3fv2pCd28LpZMUDQkq7bxHxli/lwPPAqyyvqfnW53jnclsV8 fVgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=biEayFt+VruGovDKa3i0LGzkhdkRNPx2sXZYzz56x6U=; b=iBrCNh9lhnlaKIDZGdHwJuArkbXGqG4Xr1dw0BlQuq6HX7pP3pbsco7gRVUKUVNXQp XbZHiGt9AbNKfdWL0Zpda67hPqr7pTMvS4FD+vkhG8u7ZUhFsAQtUQnHznaQ+/JN8fIV /9qXJ2ye+qBt3AiAyec/O8n4IB50LyrCZOzvcd6i6jM4e6Fht2kM+UrlMjUqEsRF36+R t3rwPOcMN8SMQ+yJINy+OAJ26Cwadpy5v5wuaDo+LCCzZ8vkX8wFWeX/Pd1TNkWkupaQ s74QSFh1Bv5UanhjSn5dicXZo7kTXreCVuwNFaph9NrJjmWKTf8L8Wwv0BkB01WjV4qt Ul7w== X-Gm-Message-State: APjAAAUkHYlR/tF66OFwCyNu++yy8QYZuDRwAR8L4RL0esqRI8pBKEPe BxFMa49NE5DRhrG0YejgtY/Q3dUBo2HWu8JDytLUUg== X-Received: by 2002:a67:300f:: with SMTP id w15mr27551944vsw.116.1563537237115; Fri, 19 Jul 2019 04:53:57 -0700 (PDT) MIME-Version: 1.0 References: <1563534631-15897-1-git-send-email-yash.shah@sifive.com> <1563534631-15897-3-git-send-email-yash.shah@sifive.com> In-Reply-To: <1563534631-15897-3-git-send-email-yash.shah@sifive.com> From: Sagar Kadam Date: Fri, 19 Jul 2019 17:23:45 +0530 Message-ID: Subject: Re: [PATCH 3/3] riscv: dts: Add DT node for SiFive FU540 Ethernet controller driver To: Yash Shah Cc: davem@davemloft.net, Rob Herring , Paul Walmsley , netdev@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List , linux-riscv@lists.infradead.org, Mark Rutland , Albert Ou , Palmer Dabbelt , nicolas.ferre@microchip.com, Sachin Ghadi , ynezz@true.cz Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The series looks good to me. Reviewed-by: Sagar Kadam On Fri, Jul 19, 2019 at 4:41 PM Yash Shah wrote: > > DT node for SiFive FU540-C000 GEMGXL Ethernet controller driver added > > Signed-off-by: Yash Shah > --- > arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 15 +++++++++++++++ > arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts | 9 +++++++++ > 2 files changed, 24 insertions(+) > > diff --git a/arch/riscv/boot/dts/sifive/fu540-c000.dtsi b/arch/riscv/boot/dts/sifive/fu540-c000.dtsi > index cc73522..588669f0 100644 > --- a/arch/riscv/boot/dts/sifive/fu540-c000.dtsi > +++ b/arch/riscv/boot/dts/sifive/fu540-c000.dtsi > @@ -231,5 +231,20 @@ > #size-cells = <0>; > status = "disabled"; > }; > + eth0: ethernet@10090000 { > + compatible = "sifive,fu540-c000-gem"; > + interrupt-parent = <&plic0>; > + interrupts = <53>; > + reg = <0x0 0x10090000 0x0 0x2000 > + 0x0 0x100a0000 0x0 0x1000>; > + local-mac-address = [00 00 00 00 00 00]; > + clock-names = "pclk", "hclk"; > + clocks = <&prci PRCI_CLK_GEMGXLPLL>, > + <&prci PRCI_CLK_GEMGXLPLL>; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + }; > + > }; > }; > diff --git a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts > index 0b55c53..85c17a7 100644 > --- a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts > +++ b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts > @@ -76,3 +76,12 @@ > disable-wp; > }; > }; > + > +ð0 { > + status = "okay"; > + phy-mode = "gmii"; > + phy-handle = <&phy1>; > + phy1: ethernet-phy@0 { > + reg = <0>; > + }; > +}; > -- > 1.9.1 > > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv