From nobody Sun Feb 8 23:59:03 2026 Received: from mail-ej1-f67.google.com (mail-ej1-f67.google.com [209.85.218.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D78BB13959D for ; Fri, 30 Jan 2026 11:47:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.67 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769773671; cv=none; b=V/R1d80kGqtISKKsuaVC+x2f+QHpyUkfSA6I2sh0lZf7i6SCtDGwQj3bYvraYh34FBeAhjfuQxve1lpTGyfsMuAhmxR9eksEvUbPAJHbTLOSDlOkHu/qBNI3qLQYGpUipp/DL39A0W9dkCS/e8kCmomPY7xfZWIPf74KLHBSrgc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769773671; c=relaxed/simple; bh=MGhvFRxe1NNo7xLt+3aHdT5eJAUyDKTnSre/6IBXckU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mPKLspiVi3dwFQPpOq6W9A16aC+Vi0RineJu/d6vOVu9CXyWI7iMqMe+nsJ8XRZgt1sLYvbgJKCT/x+Lzzq0fhqr9IS9gfFVdKydtEylt+Clj7xokMGUi44IjwU4tVYLvDXU9fKkmBPDj1D9nUg9ZH2WGFWr+7mLBuiuskeEXEE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=lWJO9uoD; arc=none smtp.client-ip=209.85.218.67 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lWJO9uoD" Received: by mail-ej1-f67.google.com with SMTP id a640c23a62f3a-b8710c9cddbso255506466b.2 for ; Fri, 30 Jan 2026 03:47:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769773668; x=1770378468; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=v5uLnmPZ377+nkXuOYWLduQd55UQQkrY+wqK7qtadoE=; b=lWJO9uoDN5DnLnslzD4+2HEpSY1JUJkxfdZbehNBP2z55GUobnbgr8ZjvC/x4DmIpP xEiUjxxpkAQ6FSMtA2Dl/f+ZiT2UjO1502SGQwQpsNa5lmmALbuL1JbAEcLjugFdtaXC puNINTu4gF+srodacvY0K20iMLUJmXx3KuyZYu7QrbkE7IiFW9wLDzu2Bt0zV3TVwF+x 0+0/QnkVqSOJVGphCoKARo2YNfm560T7IS1TxhsZodi1zCACm7KPIYQRQi8ibBtk+WUn ljVJ6bzHnetR2rhaFIsSemaOMx4/XBSOxY5r2hiIjnU85X97jGA3xdTJIdfuW76mqaDG 3/pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769773668; x=1770378468; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=v5uLnmPZ377+nkXuOYWLduQd55UQQkrY+wqK7qtadoE=; b=BsiUFbgEWnwMInzV4JPW5zy4GcgSRo1SiXvjfsXIDUVN4Jk6PQC0eT404AnllSMzXM 4Mu4tP+0UHudoAfp20skb8p6BwwWky/k9mA3npSu7hO7ny2XHZcQjHzeVw4RF/HtJdV+ n2Ak7C5bZraQXekiOGz8EsGnPEBwRCWnIG93SRGgrPYXkFRTMpg+EUFSuZKXqW4lsA/z 9Bb5yNo2iVRC6L+vo7N0eZpfrYvUTu4NJpwawsgAZq563GKPEfNUzsw7YKRW0DiA5j3A QKRWSq+VctISXFiDvFW3ylgpaay22zPRTc8E0+o9Juv6o5Xl2zdtiFphVQwLhFWG5/I1 s6lg== X-Forwarded-Encrypted: i=1; AJvYcCWTXPCp3+XoVad1MxSmZSCtGxJxuE+cp7aOnkknVW4ctoWxTZOJ15Bkg5O6J1s2ALwFtzYEeJByXEtxDsU=@vger.kernel.org X-Gm-Message-State: AOJu0YzVv9CUvUX3PuLS2YEd/1vJaaBj/Q98UayOJD2ePDW4ZmQE8tol rkn+r9uH/TJmFZ82IFMKZoJhoSksSYUEKVTKQJ6KAxiS+yjOGVwMGlbJ X-Gm-Gg: AZuq6aK0se44Muz+uir4TVEXDJQQwwh6SJCJ2RP2OzT+aNxnQQGC7URai2i+VG8/V5n gDfpEmzRBRis6czHEu9ulmn8hT9HbNmoo539kk3Ib+BpgbpjUEVZJjIpst5RqsDQvLM/ROryzjT SbPSq+uwq02aT5z+8wlDfd5QXmJFG947T4SEIAyfhCUah6XmbDn5W2nA78pXzmbtlkfxLzRDLXI IAFwrmKOsacFLlOmlN83MFeXSoJkdEn7kNTIdhSRn+2HDvz2Su2G429semX7Z0OAcjdg0YYBd+E kUcERuoXI/3W+qHCUx9KoWPEOlWr3nVPwjo0bDt26gM9/HHkc/H5AY6ZMr5XkwMEjY2pd9NZwOB EzkdIcwR0CyOhA9ecmdpBip7alWhEdD5VqraT/JAdKeCH4SrzVuvarqxOh0/O9d7MXrtxyjqhD8 p+r228BgARzoxDt91W4BMeM4FAyc4aGritrZU= X-Received: by 2002:a17:907:1c96:b0:b88:5a44:fe23 with SMTP id a640c23a62f3a-b8dff7a3461mr144840066b.39.1769773668012; Fri, 30 Jan 2026 03:47:48 -0800 (PST) Received: from localhost.localdomain ([2a00:23c4:a758:8a01:bd64:2984:fe71:7633]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b8de3046abasm243751266b.2.2026.01.30.03.47.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jan 2026 03:47:47 -0800 (PST) From: Biju X-Google-Original-From: Biju To: Lad Prabhakar , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Richard Cochran , Geert Uytterhoeven , Magnus Damm Cc: Biju Das , Alexandre Torgue , Giuseppe Cavallaro , Jose Abreu , netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Biju Das , Conor Dooley Subject: [PATCH net-next v2 1/2] dt-bindings: net: renesas,rzv2h-gbeth: Document Renesas RZ/G3L SoC Date: Fri, 30 Jan 2026 11:47:39 +0000 Message-ID: <20260130114744.252533-2-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260130114744.252533-1-biju.das.jz@bp.renesas.com> References: <20260130114744.252533-1-biju.das.jz@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Biju Das Add device tree binding support for the Gigabit Ethernet (GBETH) IP on Renesas RZ/G3L SoC. This SoC uses different Synopsys DesignWare MAC version 5.30 compared to RZ/G3E. RZ/G3L requires an extra clock compared to RZ/G3E and has pps interrupts. Add a new compatible string "renesas,r9a08g046-gbeth" for RZ/G3L SoC and update the schema to handle hardware differences between SoC variants. Extend the base snps,dwmac.yaml schema to accommodate the PPS interrupts. Acked-by: Conor Dooley Signed-off-by: Biju Das --- v1->v2: * Collected tag --- .../bindings/net/renesas,rzv2h-gbeth.yaml | 77 ++++++++++++++++--- .../devicetree/bindings/net/snps,dwmac.yaml | 3 + 2 files changed, 69 insertions(+), 11 deletions(-) diff --git a/Documentation/devicetree/bindings/net/renesas,rzv2h-gbeth.yaml= b/Documentation/devicetree/bindings/net/renesas,rzv2h-gbeth.yaml index bd53ab300f50..21ac3c20bb61 100644 --- a/Documentation/devicetree/bindings/net/renesas,rzv2h-gbeth.yaml +++ b/Documentation/devicetree/bindings/net/renesas,rzv2h-gbeth.yaml @@ -26,6 +26,9 @@ select: properties: compatible: oneOf: + - items: + - const: renesas,r9a08g046-gbeth # RZ/G3L + - const: snps,dwmac-5.30a - items: - enum: - renesas,r9a09g047-gbeth # RZ/G3E @@ -47,13 +50,17 @@ properties: clocks: oneOf: - items: - - description: CSR clock - - description: AXI system clock + - description: CSR/Register access clock + - description: AXI system/Main clock - description: PTP clock - description: TX clock - description: RX clock - description: TX clock phase-shifted by 180 degrees - description: RX clock phase-shifted by 180 degrees + - description: RMII clock + + minItems: 7 + - items: - description: CSR clock - description: AXI system clock @@ -69,6 +76,10 @@ properties: - const: rx - const: tx-180 - const: rx-180 + - const: rmii + + minItems: 7 + - items: - const: stmmaceth - const: pclk @@ -88,6 +99,22 @@ properties: - const: tx-queue-1 - const: tx-queue-2 - const: tx-queue-3 + - items: + - const: macirq + - const: eth_wake_irq + - const: eth_lpi + - const: rx-queue-0 + - const: rx-queue-1 + - const: rx-queue-2 + - const: rx-queue-3 + - const: tx-queue-0 + - const: tx-queue-1 + - const: tx-queue-2 + - const: tx-queue-3 + - const: ppt-pps-0 + - const: ppt-pps-1 + - const: ppt-pps-2 + - const: ppt-pps-3 - items: - const: macirq - const: eth_wake_irq @@ -135,6 +162,27 @@ required: allOf: - $ref: snps,dwmac.yaml# =20 + - if: + properties: + compatible: + contains: + const: renesas,r9a08g046-gbeth + then: + properties: + clocks: + minItems: 8 + + clock-names: + minItems: 8 + + interrupts: + minItems: 15 + maxItems: 15 + + interrupt-names: + minItems: 15 + maxItems: 15 + - if: properties: compatible: @@ -163,12 +211,26 @@ allOf: required: - reset-names else: + properties: + resets: + maxItems: 1 + + pcs-handle: false + + reset-names: false + + - if: + properties: + compatible: + contains: + const: renesas,rzv2h-gbeth + then: properties: clocks: - minItems: 7 + maxItems: 7 =20 clock-names: - minItems: 7 + maxItems: 7 =20 interrupts: minItems: 11 @@ -178,13 +240,6 @@ allOf: minItems: 11 maxItems: 11 =20 - resets: - maxItems: 1 - - pcs-handle: false - - reset-names: false - unevaluatedProperties: false =20 examples: diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Docume= ntation/devicetree/bindings/net/snps,dwmac.yaml index dd3c72e8363e..38bc34dc4f09 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -75,6 +75,7 @@ properties: - qcom,sc8280xp-ethqos - qcom,sm8150-ethqos - renesas,r9a06g032-gmac + - renesas,r9a08g046-gbeth - renesas,r9a09g077-gbeth - renesas,rzn1-gmac - renesas,rzv2h-gbeth @@ -142,6 +143,8 @@ properties: pattern: '^rx-queue-[0-7]$' - description: Per channel transmit completion interrupt pattern: '^tx-queue-[0-7]$' + - description: PPS interrupt + pattern: '^ptp-pps-[0-3]$' =20 clocks: minItems: 1 --=20 2.43.0 From nobody Sun Feb 8 23:59:03 2026 Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8294E36CE05 for ; Fri, 30 Jan 2026 11:47:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769773672; cv=none; b=HbalquEXCxcmvUSWTxt4+bTrMZMDAixYNbVfzWySTdgK60FSSA1VLVM005QRrahr0jWkvN93Kx6XrS/B63KT8kt7blpBBVaUT5onsFnN1Rxrtm5eT+qjtDMXrjuRaBjoRh+PKWENa+qyFHR2E/b9hww2G3XsZg0f5gzIUXhhU58= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769773672; c=relaxed/simple; bh=xHsscL/S9sNPH/BVUVEofZMZpcKVEo4gOfIgKcOUPec=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=V1LJjFPugeMkDWkIjjH3me6Det0/yCRHhEkERBKsI9NRGk9b2TU6wsFRqZI/DvY3S1ZM8qTbTwtcpwq9sep3H6p6mkjM6OUZ5pOYZZx/lfRtRzXw8iijVi+NdTLURdElbfEysf1PqZAGEsqa0uXCJoU0oly8TTiBOXAAOGAwfQw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=bcdEaBDy; arc=none smtp.client-ip=209.85.208.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bcdEaBDy" Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-6505d3b84bcso2676983a12.3 for ; Fri, 30 Jan 2026 03:47:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769773669; x=1770378469; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HiAdJAOATpphPKKt4Msqi/O3DHV/llCZQK8v55LcCMs=; b=bcdEaBDy8wrYyPw3jBEiiO6rA35EWsJ98KQvsC5slJ5Fg8zZliktHQSOt2C6DcjEqW imSjym9FnAY21ieDUlTt1G0kTJMPk1jfAk+WqFs98ra07UrPVe8dCwT5S118e2xJrWsJ /Bi4mnjylJLtfGRrR1HHicYJy5ORKh09rEjtbjJA0/UBQVfuV6qL14jJFOLJi9WjIHXQ pm5Xq3z2tAlIRWIEKU0rtkprL4yP+HkqD36WHgyVEKSci5/J/rdl1CT7tOh7JBffF8D8 Pg1Qe+LYFxVvUkLlTacdSS883bM8pR02vM3CzJswBBT3hQ6gYeTqlB5+CHo67SRflADk 0kXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769773669; x=1770378469; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=HiAdJAOATpphPKKt4Msqi/O3DHV/llCZQK8v55LcCMs=; b=QprbwjMwS1ZCwMMPgTsBVxJkRYLTw2ihn+/LhksWZT4+75gRAzcQqtBH8z0ozWn2mH 1P+IHlXTWX38OrHyWmaehNawXPsLxxTdif5kwV8Fyjx1m4W0db6inHuXvtRajxbMw3xB AXxFGuewh0xzrg9nM2iOhpQZ2hBMiCwEXGOTnlG9gsJZrC/ZPa+XfTikRgAxJ8IrWSvy 2IgqE1v7wf9qCrUe7c8ThT88uMKDJPwGNyCst4eepJJfINOTf3xeNM1boPdMPGXSg8wx XJrBwotX51N015CnXnIBv+q9DxmpWhJCoLH9Yh9EMEGV+BXuUQxiJ9rA49Dc0MgRGvCn mwcw== X-Forwarded-Encrypted: i=1; AJvYcCUrKpNZQfq7IHyVzQT7TMCofzWHDYFdsOwxTVCN+KzjBpoSvRy9SKsiagut0KTZW99zT0QqrEJWNDGZIHg=@vger.kernel.org X-Gm-Message-State: AOJu0YxGkaaSicFGVBgFdWlcA2tly6o4+BJb2fwQE46G1WYAUiayzbw2 xZweYERXmBb9sU16BALsLBgb3g/ml2fBr3d2UyBgBQkkU6RRkRrTGzG0 X-Gm-Gg: AZuq6aIfcpD/qtCxI0T9IXlyMtE2rvRlcZY/4ptxyrwSNrTFn/uKRR1PmCmUmRnaDiM O9oepoZLsaMQVTdLV/5YEexQQhX8jxiJpmluGvnSdntL6xKRBFEa3hkcYYxVobJJ2iM443ReQwe QdCNEfymtNgU7DH8f2JAl7tPDH0JB8LO4p0eveo+wUBey6sQJWxTsrL6A0R9CAbU+UERcJUedhF RFqZkEilvzlvZfdAckmUWsEZvYfU0wzRzSdjNgYu0hsCMtP7QY0+v6qRTJmrurtf2+3gmVP0s7s 2sl+ztOQSZSh7cxuGycuj6oIIG9jlEq/HXtOhaZaY6jrvtMY1g9WIPLC1tdqCkSrXRBAsZwPAYi EvHFjjaW68pCKBWr7OfpuSeDqOHoJGXE/UuXQflF4Q6gnBNYg5EEX2tr6srLXk1AXNeCupWtcmG xzXfetMEQICQpPq1sXeL2Cxp9FEUKCKOTczG0= X-Received: by 2002:a17:907:7212:b0:b73:9280:2e7 with SMTP id a640c23a62f3a-b8dff71f572mr144266166b.34.1769773668637; Fri, 30 Jan 2026 03:47:48 -0800 (PST) Received: from localhost.localdomain ([2a00:23c4:a758:8a01:bd64:2984:fe71:7633]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b8de3046abasm243751266b.2.2026.01.30.03.47.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jan 2026 03:47:48 -0800 (PST) From: Biju X-Google-Original-From: Biju To: Lad Prabhakar , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Alexandre Torgue , Richard Cochran , Geert Uytterhoeven , Magnus Damm Cc: Biju Das , netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Biju Das Subject: [PATCH net-next v2 2/2] net: stmmac: dwmac-renesas-gbeth: Add support for RZ/G3L SoC Date: Fri, 30 Jan 2026 11:47:40 +0000 Message-ID: <20260130114744.252533-3-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260130114744.252533-1-biju.das.jz@bp.renesas.com> References: <20260130114744.252533-1-biju.das.jz@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Biju Das Compared to other Renesas GBETH stmmac glue drivers, RZ/G3L GBETH IP use the version Synopsys DesignWare MAC (version 5.30). It has an extra clock compared to RZ/V2H and has ptp_pps_o interrupts. Add support for RZ/G3L GBETH by reusing device data of RZ/V2H and can be extended to add other functionalities later. Signed-off-by: Biju Das --- v1->v2: * No change. --- drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c b/dr= ivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c index be7f5eb2cdcf..19f34e18bfef 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c @@ -214,6 +214,7 @@ static const struct renesas_gbeth_of_data renesas_gmac_= of_data =3D { }; =20 static const struct of_device_id renesas_gbeth_match[] =3D { + { .compatible =3D "renesas,r9a08g046-gbeth", .data =3D &renesas_gbeth_of_= data }, { .compatible =3D "renesas,r9a09g077-gbeth", .data =3D &renesas_gmac_of_d= ata }, { .compatible =3D "renesas,rzv2h-gbeth", .data =3D &renesas_gbeth_of_data= }, { /* Sentinel */ } --=20 2.43.0