Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp285115lqd; Wed, 24 Apr 2024 02:07:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXpfimuoRQeBNwGNdNBL4bAcj66bW2sRJShUijAydQhWKMhPMLHexBGvuykuzEX8CNkQ139Rd5dNewFdl/QWzcpzDtSWxjw+MMbCYIBXQ== X-Google-Smtp-Source: AGHT+IHDwT8kQmdLOqBMf+XPUPpWEhKkZvcWC2/j6YrxUnN1EOHl2MAgQhxN+aCpcYSk202Egrva X-Received: by 2002:a4a:44c6:0:b0:5ac:9f5f:fbdf with SMTP id o189-20020a4a44c6000000b005ac9f5ffbdfmr1737621ooa.4.1713949657994; Wed, 24 Apr 2024 02:07:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713949657; cv=pass; d=google.com; s=arc-20160816; b=Ap1uaHZ22eC2xaybc729NcvuzxBPQYNzzr8e71YfkHjQJyKwO7dF5q54ggQKDidW3C hHzY3HklcJ8pFFAzHVVQzqr0XiW4rH8Cem4Bir+j/SElQdQK6nJ0wToWXYZg1ygKx648 sA6x1qV3ruSJ52q76feOoq/+UFuiuyLB5OueAFSPZeCOOHE4goXwCGLXzBpmegppFovu CTLK2Dl7Wczxnmqm3bQSoEQ+wToRB7XktsJikMr1/4aUGePdQksNpNeF2gbbDbJ7/pU9 00xRiW62KbCN5wLpyzXIT0qsL310BvkuvnOHRUxdrUuKDaGfrDMnZZj+4DPaYcXh5eNK VnXg== 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=h6iRTlzDTevahcEBoTkAce22DlA99bnG9qlammL0LL4ImwIxwbHuRq58snqycfnifp ArTB1azX9t6E2Oqnx998BIetGobA2RbMQ3Vv6KgwqGeV9wJ7AsDvrO2BrAN8sY9NxEtv yeRmUIZB6qLAtwtiO5i6YK4wVFiSEXVy/vv5cmWlU8J4I7hnDrrTe7iYz9HiUA4w9q2R Bs80aQjelnxQPzyTAghMrjjOfHCFy/T33wrc5jDgrkbD+DDhgNpeYQnJFDtEiXVE+9dH EhWf5TwiT0kUU4Lxx9UmNLk9cuV7xTjOqTLi1I5fPnWp9QndbsKZTuOGD+5Pjh5wF7oq LNmg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=hFMZ9DJ3; 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-156602-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156602-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. [147.75.199.223]) by mx.google.com with ESMTPS id y14-20020a05622a120e00b00439a1f8a61csi7326253qtx.217.2024.04.24.02.07.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 02:07:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156602-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=hFMZ9DJ3; 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-156602-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156602-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 B19861C20C2B for ; Wed, 24 Apr 2024 09:07:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B145159912; Wed, 24 Apr 2024 09:05:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="hFMZ9DJ3" 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 4CF2D158D90; Wed, 24 Apr 2024 09:05:52 +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=1713949558; cv=none; b=KYr46g9wAzNmMOnc28Ph50IEgd6RYsBcW881vrI8HFAoRIcb9CBwyunKmM0QxqoQCiMarUBQrQffiu6IVsVR74qgihn23eGZT/ap+DdMzOc6EyM0Z4NjGRQHpz2AQuDpf07jv0iehpxlcFDl5/rl3kEYOKg45bj485w+eDlW2Tk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713949558; c=relaxed/simple; bh=oecI1I5F8ploSJtFJdVODKUb+t2YKq7ntuJtu7bZFnU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MLBj0PvvjjKiyHbHXdszUFWZAB/0ft9Nec4ebGK9HO0Cn70QsC+lVHdrz4yY234+hw6xmyx9Uk7X8tYG+2X179H6za3EGKMUjMLlgbIx+SIYq9j4ZzwVGB+jh38GWrN7qEpT6AExAovdwHdKJNYsKgcPd5v0Jmyo+7pShqUebws= 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=hFMZ9DJ3; 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 4701720014; Wed, 24 Apr 2024 09:05:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1713949551; 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=hFMZ9DJ380NRh+LxCs/eAs/MyW3K01JfQsT/RZ/v5EhraNlMnRUV0FupHUbex7pFCCxTj0 qn91YkqwDRhZx6VUbYONmo5UjAWNA7E+WGMk1aiOzbNjooubti+U+SxpydDrBmMcv62LFy BudIXE6UzYgKaproP2PjRfMHmd3a5DsKsE9vXIDZHIvILsxL9NN+3t4QzTLI/oPjDThQxa vLY612YbUoVVNzSZRLECK8fbGEf3dfDEhDlAZqhVtqhWmcgoC8UpAM7PJEoNB5iqkIozDm qi+svxxgk6UeydLcPwMPqZDJziuHkCCMY/7S49GsSrM36fdtwH6+Kf8Ps6GcgQ== From: Romain Gantois Date: Wed, 24 Apr 2024 11:06:23 +0200 Subject: [PATCH net-next v4 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: <20240424-rzn1-gmac1-v4-5-852a5f2ce0c0@bootlin.com> References: <20240424-rzn1-gmac1-v4-0-852a5f2ce0c0@bootlin.com> In-Reply-To: <20240424-rzn1-gmac1-v4-0-852a5f2ce0c0@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