Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2544536rdb; Sun, 3 Dec 2023 23:42:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+xIzcF7muaYoYRnpEG2fYZbZLQK13ZxrbDr+gxLaznpXXdZAF5dRRFe9f0wY8ULTf+KrE X-Received: by 2002:a17:902:7616:b0:1d0:ad56:d879 with SMTP id k22-20020a170902761600b001d0ad56d879mr347305pll.14.1701675726634; Sun, 03 Dec 2023 23:42:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701675726; cv=none; d=google.com; s=arc-20160816; b=Sj99hlI/stRuGsyGY0sOSvJyG+qCM7kgQdHLXpYMN2PR8zdI/3oqZ5Z0IMQB17eKul SZDbjvOTcS6WV507ENdF038IPUKKi1UKGr3dLbTjyV9G9Wu8buWacoo14Aej0J7J0k41 bsO17942od2xtmHHzgpNq96QnpXGfshUg/BBnn1qu6VRQrCndxORpQMiBv9PSsTb+YiJ nEuBYuaeWajJFQTPiiAvldQg0FUXKPI4UjbyQ0qqGBZH99mcvPh4XBCU9RNjS5X2BLT5 nXjiIdDp2ApHGqBYwyGqwPQBZpGS3oScjHiZekJzRD0vf5m9oay1I0hLU8YVLAlOKaiB jeQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=c8G1sh0qsI8d58akFwoRpnCXTsdhgVmXQ1PhU0QEiJM=; fh=HuTL+iQDFiSHZLi8sB0liVCY9fVpW8gYkc67NdMD4eg=; b=ZXG7cownf7ayELLJe3AGVi+5yAtPVJc7Rkj71ULJps45ZKfI87O39g263SFCUszl/I kJbJ/8ObiblRDtx2zkdNeVJq/8zrap11wnrE20GtCbWZiDzlwhvmoZGahJaT+sTAxU2j nGhYkrSGswlhrdPE4uwsA/4VDQct8eoQSQsJ43uSwwfTDMZLraGB/vCXPKfPDmOP/Jzf wYRX/V6AcH0Elxop7SBm2EEiiKcaF2c9KF2rCUToIxq699im20cKVHeVFjN4rqDgAr9a SLl/H2mo6ovzB0y5nZLH5B08z75uKCFYFEgVXOUrhKD8DJ1Gnp8B7hngHQ6u7PFQkyl9 49aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=Hvof9gE1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id f8-20020a170902ce8800b001cfc3f7392fsi2928608plg.252.2023.12.03.23.42.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Dec 2023 23:42:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=Hvof9gE1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 5B2EA80659A0; Sun, 3 Dec 2023 23:42:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229563AbjLDHlv (ORCPT + 99 others); Mon, 4 Dec 2023 02:41:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjLDHlu (ORCPT ); Mon, 4 Dec 2023 02:41:50 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F8FBFF for ; Sun, 3 Dec 2023 23:41:56 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-40c05ce04a8so17848375e9.0 for ; Sun, 03 Dec 2023 23:41:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1701675714; x=1702280514; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=c8G1sh0qsI8d58akFwoRpnCXTsdhgVmXQ1PhU0QEiJM=; b=Hvof9gE1GoQ+OfRFXpgiu2mIiTaIJdI356AHy95RhmF2FNZ1ms0wtP7NpMes0r3qLZ ZWmo99RKANNBN6pm/CvRXJJcONHeRgPf9isIDMwIPsRfXfh3YsQUP4VNbhxwRJkRahyT XnMwWcYqQf/9b8j2VIpyIjbLHfe7or0B58Eu9wpB074MKPO/W7zqRlXQrHIG5L8WRjYr 0n4aByVFHP1AKOjih0r8w1YLXB6+JyYLbxIfuoA4eu/m5x+BIepiykB2dGZTgv3tCnp0 TssAjm887DMBhtDMbLpTwNvniznWdoQjqLrwiMUsWmMO02r8X4B4AB0H4aKiZp4vNXn7 brjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701675714; x=1702280514; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=c8G1sh0qsI8d58akFwoRpnCXTsdhgVmXQ1PhU0QEiJM=; b=iGuPbviv5O05reUCvdGmS6RIye3TCYu69iJhYoR4RDe4YTwKeKcC1NUcsH2cLxyc5e lPoLKyJ/uLyZQ91+rHTs18Lp3EzotE3u23rV6A7x2gxsqx+DvQIE2tRSJ8m2i6K1M9Ga NTKTjbIwQaEqRo7mDoaBXc3ViJhoZw8ljaYmnhr1a5kjGJDsgjJPCmg9KbRnclPBAQnd TDf4wZqbhWyVjgeXV/6fEmcROVtFafi/ZNHExI/ZPX49Ur80BcKzkXbiWUlWAE3ZIY5O CsguDEBbiJ3romzUMwUgbroZaV+RoBifr9Ij8FW6zJG7R4hU+exiBn6bQhykbxncCpzr Cogw== X-Gm-Message-State: AOJu0YxL4K2U13cHOdk2oP9nB7K4UuAUpodxEwfAYSZSEeQqy838J7Pr qx+kqtHneYvJkfHW7z8wBO4Pcw== X-Received: by 2002:a05:600c:3488:b0:40b:5f03:b3ef with SMTP id a8-20020a05600c348800b0040b5f03b3efmr1153446wmq.273.1701675714498; Sun, 03 Dec 2023 23:41:54 -0800 (PST) Received: from [192.168.50.4] ([82.78.167.22]) by smtp.gmail.com with ESMTPSA id o15-20020a05600c510f00b004064cd71aa8sm12582868wms.34.2023.12.03.23.41.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 03 Dec 2023 23:41:54 -0800 (PST) Message-ID: <96dd3f54-9560-4587-b4e8-bf75422ff5ef@tuxon.dev> Date: Mon, 4 Dec 2023 09:41:51 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 10/14] arm64: renesas: r9a08g045: Add Ethernet nodes Content-Language: en-US To: Geert Uytterhoeven Cc: s.shtylyov@omp.ru, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux@armlinux.org.uk, magnus.damm@gmail.com, mturquette@baylibre.com, sboyd@kernel.org, linus.walleij@linaro.org, p.zabel@pengutronix.de, arnd@arndb.de, m.szyprowski@samsung.com, alexandre.torgue@foss.st.com, afd@ti.com, broonie@kernel.org, alexander.stein@ew.tq-group.com, eugen.hristev@collabora.com, sergei.shtylyov@gmail.com, prabhakar.mahadev-lad.rj@bp.renesas.com, biju.das.jz@bp.renesas.com, linux-renesas-soc@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, Claudiu Beznea References: <20231120070024.4079344-1-claudiu.beznea.uj@bp.renesas.com> <20231120070024.4079344-11-claudiu.beznea.uj@bp.renesas.com> From: claudiu beznea In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sun, 03 Dec 2023 23:42:04 -0800 (PST) Hi, Geert, On 01.12.2023 19:35, Geert Uytterhoeven wrote: > Hi Claudiu, > > On Mon, Nov 20, 2023 at 8:01 AM Claudiu wrote: >> From: Claudiu Beznea >> >> Add Ethernet nodes available on RZ/G3S (R9A08G045). >> >> Signed-off-by: Claudiu Beznea > > Thanks for your patch! > >> --- a/arch/arm64/boot/dts/renesas/r9a08g045.dtsi >> +++ b/arch/arm64/boot/dts/renesas/r9a08g045.dtsi >> @@ -149,6 +149,38 @@ sdhi2: mmc@11c20000 { >> status = "disabled"; >> }; >> >> + eth0: ethernet@11c30000 { >> + compatible = "renesas,r9a08g045-gbeth", "renesas,rzg2l-gbeth"; >> + reg = <0 0x11c30000 0 0x10000>; >> + interrupts = , >> + , >> + ; >> + interrupt-names = "mux", "fil", "arp_ns"; >> + clocks = <&cpg CPG_MOD R9A08G045_ETH0_CLK_AXI>, >> + <&cpg CPG_MOD R9A08G045_ETH0_CLK_CHI>, >> + <&cpg CPG_MOD R9A08G045_ETH0_REFCLK>; >> + clock-names = "axi", "chi", "refclk"; >> + resets = <&cpg R9A08G045_ETH0_RST_HW_N>; >> + power-domains = <&cpg>; > > Perhaps add a default phy mode, like on other SoCs? > > phy-mode = "rgmii"'; I skipped this (even it was available on the other SoCs) as I consider the phy-mode is board specific. > > Also missing: > > #address-cells = <1>; > #size-cells = <0>; Same for these. > >> + status = "disabled"; >> + }; > > Same comments for eth1. > > Gr{oetje,eeting}s, > > Geert >