Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1271079iol; Fri, 10 Jun 2022 04:10:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyue3QmlBwWEgMszx3vk7GjJiBbMYFLsStBG2l9naPEO+4C6TW6rvawacaRYzTOqo3+VH3n X-Received: by 2002:a05:6402:1449:b0:42d:d250:e504 with SMTP id d9-20020a056402144900b0042dd250e504mr50230033edx.213.1654859428404; Fri, 10 Jun 2022 04:10:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654859428; cv=none; d=google.com; s=arc-20160816; b=zv1+VASF5kw5u89e93MnZNdIupX6V/mFJB/ScRCGpcKIDMiheslR9z48+c+mlwjk5J vS97zq1k8nG3DpwHe6xHU0usYipOduhwSmhJR0Gqb5q+3du4wzDolF8lvc0EvoO2/mH8 8xN9bUbcj6tmbvffDA5B8wxf1eJccv+gsOLPiG+pyKHIBq7LhlWPVEjGxYRcThy7Z6lA zmIFGq7en1c+q39SjfCoxrVSUhs9MBRLEmJPZ56OlDRW1RibChpe4LSy9ZiDXm4jRfRw 83W3C8FB1x/mxog6SBhep57TGVBtUM7PfDPhQR7UKz5YJtREHXEyf4kvDb7GahF1tSJY MEKQ== 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=lFpRtm2BGHim/T0vTpx6rQyRNJsdiVV3qLBMmLL2otN/qM6IF8C4WbrzD3gzW9nLow HUzLIJtnfN5930mrHqmuhqvTR791dEVy2Px3qloMpE4HZohkpwDedY0Dc732vfWxEzI7 RYGyybmUhOfu9Izl+IbLA2pIHEZiUwb346fi+MqnFPbwNqEbmvaJ0epX7W/pGKPtKqxs vAsIjGjV8N6aX8KZTOLhnX14GHaiIltejl424rEc1fYYHNvPOqH5zp+rrjkNYst6wREw 9DhRnX257z1Doazfe8TNPCzgFlrUpFz6p1XrBjQD+kCGsqt7qjLIB24uXDlk29d6D+Rj OcyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Todfs8xI; 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 y9-20020a056402358900b0042e00b6cb44si7317572edc.476.2022.06.10.04.10.02; Fri, 10 Jun 2022 04:10:28 -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=Todfs8xI; 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 S1346959AbiFJKdS (ORCPT + 99 others); Fri, 10 Jun 2022 06:33:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348758AbiFJKbp (ORCPT ); Fri, 10 Jun 2022 06:31:45 -0400 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCC5343EFB; Fri, 10 Jun 2022 03:30:59 -0700 (PDT) Received: (Authenticated sender: clement.leger@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id DAA76100003; Fri, 10 Jun 2022 10:30:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1654857058; 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=Todfs8xIl83n8FNh1kh+u1ErHQxJFExbUpQwcvqo53eJR4bYI2+JGp0D5uvnrzMvp4830O jJCeTwZgmFIPQP/sNdmBQb7wUKOKkumtB9c44kbWcWoDN6ZMMFnVafSyA9urlMIiuiPAy0 tgAzkGSGe8TnV/MJ9Olg8FWxMXMGLDqewNURjsMcOTbv/htXxrAYv+54nwPI8D/mEaLwk4 vEwPBcpyqF65Q0441Ffr+Ok+gOT/TSaEHXjf/qVZpo7NUJBdWGSdniiQQVLDsWezTcubxd C2ze8wjBQokhZzRF0ZlES9c8+MS40gNOcaryW8aMsf7312qUQijGNcDf7hgmvw== 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 v7 13/16] ARM: dts: r9a06g032: describe GMAC2 Date: Fri, 10 Jun 2022 12:28:30 +0200 Message-Id: <20220610102833.541098-14-clement.leger@bootlin.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220610102833.541098-1-clement.leger@bootlin.com> References: <20220610102833.541098-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,URIBL_BLOCKED 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