Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1855174lqe; Tue, 9 Apr 2024 02:22:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVdIfCXxW9VKamOQ4DrPAvIbq7XZhsaJjCNMuO7E8KkdwETQfYEolLJ5eSh0kCa8QbRw8g+o+bTWqP5q8h+WDyk662XZmKtAuczbUh5Xg== X-Google-Smtp-Source: AGHT+IGBNc5yNp1FZHoJ185o7Uo43VGSZKMnzfFPex2zVMFEqSKg4Rm+iphTSHfJQItZnU8R1UaJ X-Received: by 2002:a05:620a:6783:b0:78d:6dce:acc1 with SMTP id rr3-20020a05620a678300b0078d6dceacc1mr1683843qkn.7.1712654572676; Tue, 09 Apr 2024 02:22:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712654572; cv=pass; d=google.com; s=arc-20160816; b=EV7NBIEirFvDPPxwRQ1UbQIEXaS+gqyyhgPUKilAMqIfC5nqWrkThbzgwnbFH/g88Y aUtvZXOxZjLPmDIdJbP6xMUhSghMJt7Jdr6Pjr0AuaEys7QwznIhh2gln+ysstS24R+G 98H6PrrfUUJL8CJWwrbIcVFVg/G4sUOVCOZ52r7IKQtVp9MJSz1gEJB3yw3WsVovJ6kJ xGJImApWjxuvtVI8/ePHm6JTOfNA4F+Ui/39V0Lz4Eckb2KkETN9DW8o0xz8Wtctl0f/ 2IVMENLBAaJo7bynOFuyseRxWTLKE86IDVqyhG2Isa7a1hjN/avqkK00PSQTFAmzIGUl zpMA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=MxX4gGO1cf6dYcz+BOp+BvU3IyOz8Kkdye9gsRIK7QY=; fh=GkQQq2lGYFltmHLh2anSTwfoM75mpOR2vHRqGZbnsXw=; b=WmcjO/m5sDbEBV1+ADoK1jQNr6eOazViZlvYRwECrNixqwX2k6+Yz8/b03EfZLp1xs kQHaozqHy0MydGdnHnOYm3fhDS69ZaExOKmTYwtwJ1htW95TmqAYpb9lwOA5ngGaN3u8 ymguNCDURvhJAlhCGKYC1rta4m7A35dl8Roi2YV9JqwdQx0GfFPP9zxTM4kVmN11QRFB If2Mw6dd9Qk8l4BXq/0nEC8AlP4U0QEoOKOZhdVdhq7/bZAXEipbKQi0esFA+OGWLsBH 6FYw7gVpo7UDE6fi2aUNAqovk6ZAK0zfuoH8yTgKlJOf4Pvbx7nyIcWyH6+3e1M/leY+ rb/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="EvT9N+/+"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-136543-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136543-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id i7-20020a05620a248700b0078a50a373c5si10683836qkn.515.2024.04.09.02.22.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 02:22:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-136543-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="EvT9N+/+"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-136543-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136543-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1AE051C217B3 for ; Tue, 9 Apr 2024 09:22:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 728DF85636; Tue, 9 Apr 2024 09:21:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="EvT9N+/+" Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 45EE98063B; Tue, 9 Apr 2024 09:21:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712654485; cv=none; b=gTMpb8O1ea0Tvk8d2NPDAH6kxDHhnQcDRgLfKO5WqebmWPemjXUe8ujrfNbNJUpiC81oS+D3k9qeyHMGVPZh5DydkbsWLRHg9+WQ4jKjMthddKZLW+M5NSfgZMZbL7c/QJTbOw4ocENXa5/RcpKox1RER3oREovqRHJt86SQYZw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712654485; c=relaxed/simple; bh=C7wvbq7Dl7vRv/z7yWDMGXVmSzEb8Uka7KOqvcx6I1I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jAJYKbU9SDECcOy6wiaZLwB4RcG5e+CFybZa1s1KzfbOaX3kYe7slIYa70iQhBX9vuL8D/LcMlgeBfUBSMU0+EUxdFXfG3liCMmDfAO2WtmPchsnlzlwkwPpr5TGeFq+gqJ3nmpP1Pf90uZNWvgzpnRWS5b90tUaWrfo02W65tQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=EvT9N+/+; arc=none smtp.client-ip=217.70.183.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 731251BF206; Tue, 9 Apr 2024 09:21:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1712654476; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MxX4gGO1cf6dYcz+BOp+BvU3IyOz8Kkdye9gsRIK7QY=; b=EvT9N+/+7ILUTywV2Nhw36YQ3yVnZcKQtU+7IS1lfhBz9fkx+/3MDQMX4/pK2jTmgTVrDg FiITDLcJ5oqh/5pTYCa8DWKnjiDMzVpqegyrFpycEFLB+g4gO2o6cCLtYaRGs+8LnS+tfs pMY99Vqa19fRXQvaMcUd//WHRf7/KVR2gjR9EC7SoJKdA+gWNIj3fF8XgmcLXGju0wHBQk yG3A4ZOAiZnrJDYeoKxxCCN36UWRUXw4P0uvrPR0XAt2pvMibDGVjAMK4Xc+kllcTgpc3e OBfiMB31z2NBmFdwdfL9BSa1ZPZJ49o7b199aZN4s4ewu9KYXDa63rnY06Ip6w== From: Romain Gantois Date: Tue, 09 Apr 2024 11:21:48 +0200 Subject: [PATCH net-next v2 5/5] ARM: dts: r9a06g032: describe GMAC1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240409-rzn1-gmac1-v2-5-79ca45f2fc79@bootlin.com> References: <20240409-rzn1-gmac1-v2-0-79ca45f2fc79@bootlin.com> In-Reply-To: <20240409-rzn1-gmac1-v2-0-79ca45f2fc79@bootlin.com> To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Russell King , =?utf-8?q?Cl=C3=A9ment_L=C3=A9ger?= Cc: Thomas Petazzoni , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Romain Gantois X-Mailer: b4 0.13.0 X-GND-Sasl: romain.gantois@bootlin.com From: Clément Léger The r9a06g032 SoC of the RZ/N1 family features two GMAC devices named GMAC1/2, that are based on Synopsys cores. GMAC1 is connected to a RGMII/RMII converter that is already described in this device tree. Signed-off-by: "Clément Léger" [rgantois: commit log] Signed-off-by: Romain Gantois --- arch/arm/boot/dts/renesas/r9a06g032.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/renesas/r9a06g032.dtsi b/arch/arm/boot/dts/renesas/r9a06g032.dtsi index fa63e1afc4ef..cab7a641f95b 100644 --- a/arch/arm/boot/dts/renesas/r9a06g032.dtsi +++ b/arch/arm/boot/dts/renesas/r9a06g032.dtsi @@ -316,6 +316,25 @@ dma1: dma-controller@40105000 { data-width = <8>; }; + gmac1: ethernet@44000000 { + compatible = "renesas,r9a06g032-gmac", "renesas,rzn1-gmac", "snps,dwmac"; + reg = <0x44000000 0x2000>; + interrupt-parent = <&gic>; + interrupts = , + , + ; + interrupt-names = "macirq", "eth_wake_irq", "eth_lpi"; + clocks = <&sysctrl R9A06G032_HCLK_GMAC0>; + clock-names = "stmmaceth"; + power-domains = <&sysctrl>; + snps,multicast-filter-bins = <256>; + snps,perfect-filter-entries = <128>; + tx-fifo-depth = <2048>; + rx-fifo-depth = <4096>; + pcs-handle = <&mii_conv1>; + status = "disabled"; + }; + gmac2: ethernet@44002000 { compatible = "renesas,r9a06g032-gmac", "renesas,rzn1-gmac", "snps,dwmac"; reg = <0x44002000 0x2000>; -- 2.44.0