Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp520520iog; Fri, 24 Jun 2022 08:29:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ulRpc2l5aj+/5CkAU8NpfJE37xpkYD0aVhhZ4VtD9yHwm6tNlewLAjsMrdTsK+p8KwYv4e X-Received: by 2002:a17:90b:1c8e:b0:1ea:4b95:1348 with SMTP id oo14-20020a17090b1c8e00b001ea4b951348mr4663881pjb.153.1656084567916; Fri, 24 Jun 2022 08:29:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656084567; cv=none; d=google.com; s=arc-20160816; b=xsPaGNRBVsCEvL0pKaM6Ysa2o+kHx26fqLpmtnPMahQBiN16ieqELtQoXMRux6qoGT CDIlNBvI0r1mX2cQe8++pwQtkTG25F9IZfiyM/8dRTWTjLMM8kg+RHg/oHm0tUDfbbRo /qFsc0jbtch3/NGc1bKLXAEZQ/Vvg+ZPWm5sSoxr3KvMdsME9swy6JiP5MTK1Zi+Wzf8 LKB4Rl15x8yi91sufPz+DCQJ70R5wqzOsMmvzPyDTp7jbmM6SUCgnDn+lYcu0oGieJ+T QhpfTsSOZmhXK5M5grmS6QySa4VdrAeOYRE2zLMuB4ZwV4QeGOvdV3mAV97dN9IAeELP 3jhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kCft54/wbUztXKT2urhOKH33tJlwwROSYaG1fJeAUws=; b=KJmXPICg+dX/GyapjSewoi4UqvxVd7eFyUez0wUXWcLKiz1aeTsldsrQ/2Iuk4Cuur qDOfEXQdg5WHi6gQpJASzQUADM1J85WRbZsi7ZnLZzEhwQq4GO+azLVKlqleGcZTHQdk s4o6OMor3jEbfH8ZjrBxdaAz/W6aKFDN+V3XSHCtlEFAXAuL5J+VT3w8VStUMtWif45W yQwd/y6mDfC6s6M8cN3Dh3inM10crQeY4GifFyqSx6BQ7uTIzpB4xE2OgPmYXG5OKaDS P/3jqMDflD9GRB6Vd/5CyZI4O+XmbfpqVqkjjLfskpw9Ei/td/FAgf39CRuhoNUQmDdr WWUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=D2lYTIhp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d1-20020a630e01000000b003f641a6fe83si3550864pgl.277.2022.06.24.08.29.14; Fri, 24 Jun 2022 08:29:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=D2lYTIhp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233184AbiFXOnV (ORCPT + 99 others); Fri, 24 Jun 2022 10:43:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233268AbiFXOm2 (ORCPT ); Fri, 24 Jun 2022 10:42:28 -0400 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D1DE6DB13; Fri, 24 Jun 2022 07:42:01 -0700 (PDT) Received: (Authenticated sender: clement.leger@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 82F37E0007; Fri, 24 Jun 2022 14:41:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1656081719; 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=kCft54/wbUztXKT2urhOKH33tJlwwROSYaG1fJeAUws=; b=D2lYTIhpL038nrCagiLkVk4c16dXgdjYcbnmyg4v5uqqh9QctlfSpoENa+yiwHvrR544zu Kq+Gi8tOmAElIEwYEt+U4UFVEY6ljrpdpYFnjMf7psRM3yHMoVoDmXBzGMkxml3yvJAzPV CCcSFOIwggZc7VRi/HsIVqZw7PXIf6ySym7S7L26/JDyA50J/nWdarBdNcJccRBTubeJ9s rxu1+HJ3/EsURTMhGm+j/ib3AK0nN+ByeTYdriuSixJUWoA46YGZFfGRKfkipkidAIlYa/ su7oThGFtJg6eMyLTP6jt/cSTTBTzu47BziMrSryasj8gVFhHzbeB03KlC8+Ug== From: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= To: Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven , Magnus Damm , Heiner Kallweit , Russell King , Alexandre Torgue , Giuseppe Cavallaro , Jose Abreu Cc: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= , Thomas Petazzoni , Herve Codina , =?UTF-8?q?Miqu=C3=A8l=20Raynal?= , Milan Stevanovic , Jimmy Lalande , Pascal Eberhard , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH net-next v9 13/16] ARM: dts: r9a06g032: describe GMAC2 Date: Fri, 24 Jun 2022 16:39:58 +0200 Message-Id: <20220624144001.95518-14-clement.leger@bootlin.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220624144001.95518-1-clement.leger@bootlin.com> References: <20220624144001.95518-1-clement.leger@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RZ/N1 SoC includes two MAC named GMACx that are compatible with the "snps,dwmac" driver. GMAC1 is connected directly to the MII converter port 1. GMAC2 however can be used as the MAC for the switch CPU management port or can be muxed to be connected directly to the MII converter port 2. This commit add description for the GMAC2 which will be used by the switch description. Signed-off-by: Clément Léger --- arch/arm/boot/dts/r9a06g032.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/r9a06g032.dtsi b/arch/arm/boot/dts/r9a06g032.dtsi index f6241af33112..42ce02e51e8d 100644 --- a/arch/arm/boot/dts/r9a06g032.dtsi +++ b/arch/arm/boot/dts/r9a06g032.dtsi @@ -304,6 +304,24 @@ dma1: dma-controller@40105000 { data-width = <8>; }; + gmac2: ethernet@44002000 { + compatible = "renesas,r9a06g032-gmac", "renesas,rzn1-gmac", "snps,dwmac"; + reg = <0x44002000 0x2000>; + interrupt-parent = <&gic>; + interrupts = , + , + ; + interrupt-names = "macirq", "eth_wake_irq", "eth_lpi"; + clocks = <&sysctrl R9A06G032_HCLK_GMAC1>; + clock-names = "stmmaceth"; + power-domains = <&sysctrl>; + snps,multicast-filter-bins = <256>; + snps,perfect-filter-entries = <128>; + tx-fifo-depth = <2048>; + rx-fifo-depth = <4096>; + status = "disabled"; + }; + eth_miic: eth-miic@44030000 { compatible = "renesas,r9a06g032-miic", "renesas,rzn1-miic"; #address-cells = <1>; -- 2.36.1