Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1874343lqo; Mon, 13 May 2024 00:26:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWpWUC/7tATWOoJ5LjJu3714DuBTysxrD3zao1gCfTTF/tuGt2BEi5CkJoR6FusiIwQG8+LQHHpURAx1Qq9mtRrlS0539S7ty67nNVcHQ== X-Google-Smtp-Source: AGHT+IE+oSXvYb4oowJr9HiWQ64IMATNDs2GuqEo5pltDidMuJ2eEPZ1mY827sKb/e1RFiryZaNC X-Received: by 2002:a17:902:c94e:b0:1e5:62:7ac7 with SMTP id d9443c01a7336-1ef43d17037mr138088915ad.3.1715585211890; Mon, 13 May 2024 00:26:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715585211; cv=pass; d=google.com; s=arc-20160816; b=JsYevfqI4QquTaVRiuT860LrC8vQ5CoHKNt3FIc6XdIHqfHDtmE4WlBi8pXIVn/aSW ciGDhEW8xhb3/VjW1hcwMZfm1ITaWMOFrvV8c2gmqH5zlzx7nW6mkutBRXoZngiY1y7u QYBaoo2FD1VfyL5VuNu+5VLOJR/UWxJi3MDo21Bd0T3Lv+d0pCrsmyb7cUCFdtwsJveF ESSoYCbn8CR8VGBIrl+oSIgNRLkub1q4b8KAuwzMv9DaCmPkf0qMp41hagy/tOV8YWfC jElRg5vQuVSTuDQgRu1h099aFu94vdyShAMWIB/I6QWZhIyxrN53Tkd9eJKNGPzGVisZ UbAg== 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=NzNqKTpVWMnrcgcJVGgyUqBdfYphefuKpHkJ0PXLDgQ=; fh=iKbzTsM6Akj2X0N29umtxBSsa4Nmw1Zki5pbjnRyyYA=; b=SKusSKJMo7gQVemitrWRxGEVyxQzXXLWLwIhgXCj3fpuqJ3h/uhmxJTPUxwEUzCQkt rcP+yXGk1S/OwfPn/gz6ervxwzHcK52trBBWK6i8HkaIxt87wnou9EWlDQssC5Q/h7CV MB61JWPvfFPEfP+CUZNuDrDsLLAjzRciO+lQKUXo/vnwVqF/pCuAUJ3cvqgSnF/qTIq4 14iFvMkKwIXfYdhd5tLpfugP3i2U0+6UofsArH7bZ107/48qNIqybNUkTbgC+ya6uFpt ZtgXSfw825ltMp69gyckWzEbIJ4Jh3kik5hy1bdmMi6Axjlqx6wJr5uTdfuLGNybv/GC 6uCw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=cVJp5gwK; 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-177253-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177253-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0bad63f5si83902935ad.149.2024.05.13.00.26.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 00:26:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177253-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=cVJp5gwK; 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-177253-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177253-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 819BC2817F7 for ; Mon, 13 May 2024 07:26:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 39441149C4F; Mon, 13 May 2024 07:24:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="cVJp5gwK" Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (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 2E54F1487D1; Mon, 13 May 2024 07:24:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715585091; cv=none; b=dG9mJ9RIya57qiBPNno2vzw7f+PeNNIdrNp3HOjTwwNO5NV7+abQT0+kxnYPRqrQl/JA4Vgum/ydhYTI7YVQRHX5hr2Tmb+BRQSaNluL/gihIP6KT0Lru7cSv2hZ+BRwBnWi2xL6mPPXwjjXnlcaHPI4mbTptOGFRMlWd8lVsSU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715585091; c=relaxed/simple; bh=oecI1I5F8ploSJtFJdVODKUb+t2YKq7ntuJtu7bZFnU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ER5ggDF0Ck2As7hrCFOGXnhMbJiVCTDCCSgIntu1oRi5nveV09RXw0xynn5b0RBjl+soMAJ8+o3TEVGtDy1T95WTSWfNqazASNi3iD3jgoDb1YsllWKz0/P/WDfKS+jfOXavHSA7LywkIZ8+X6mMzY9wmoeCSCW5JWYpEsItAi8= 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=cVJp5gwK; arc=none smtp.client-ip=217.70.183.200 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 660CE2000B; Mon, 13 May 2024 07:24:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1715585087; 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=NzNqKTpVWMnrcgcJVGgyUqBdfYphefuKpHkJ0PXLDgQ=; b=cVJp5gwKqB0Mh/yJT1k6c5lOBf16FMIt4SuwlyVG5N1wkt/1kjN+Wh0LT9inGh6yf83b9k n14F3oLw2J3vH5inilqW/qVAWOVSc6BSibk6J89UAblJ8NM/5MHUds5CMj/Je+QiVTvFzo 1ifkrUOzV752vU3Xu9WgVtdpkgL/1MmagXup1SkfqMm7JfcUQcOlIQ+LtmSao7ED0KEwKH 22GnNziHOKe+gSz5YDvqs5Ksq7lo0KFfPEDhYiNPGogxx6mCcVqAf0LhBgQGlWjZu0pgX6 TR1/XoodKayc2UWH898/TQYA0bQQz3G1fUkaT+We1PiHkCInH06Faspmn5eCpA== From: Romain Gantois Date: Mon, 13 May 2024 09:25:18 +0200 Subject: [PATCH net-next v7 7/7] 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: <20240513-rzn1-gmac1-v7-7-6acf58b5440d@bootlin.com> References: <20240513-rzn1-gmac1-v7-0-6acf58b5440d@bootlin.com> In-Reply-To: <20240513-rzn1-gmac1-v7-0-6acf58b5440d@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?= , Serge Semin 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] Reviewed-by: Geert Uytterhoeven Signed-off-by: Romain Gantois --- arch/arm/boot/dts/renesas/r9a06g032.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/renesas/r9a06g032.dtsi b/arch/arm/boot/dts/renesas/r9a06g032.dtsi index fa63e1afc4ef4..57c730f43442e 100644 --- a/arch/arm/boot/dts/renesas/r9a06g032.dtsi +++ b/arch/arm/boot/dts/renesas/r9a06g032.dtsi @@ -316,6 +316,24 @@ dma1: dma-controller@40105000 { data-width = <8>; }; + gmac1: ethernet@44000000 { + compatible = "renesas,r9a06g032-gmac", "renesas,rzn1-gmac", "snps,dwmac"; + reg = <0x44000000 0x2000>; + 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