From nobody Sat Feb 7 05:48:52 2026 Received: from mail-ed1-f66.google.com (mail-ed1-f66.google.com [209.85.208.66]) (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 276E93382C5 for ; Sat, 31 Jan 2026 16:12:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.66 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769875977; cv=none; b=faWxhUpjlzcYTlWtwtbdDGAcKisGx4Ozu+efKk3N+cE2je54N8W5Ds+v9NvDcbV3xsVahTFeCN9FccQNJnRSzpzDrZ948s783w/Wc2yBP9ux1jXw/Rc1dp7Xe4HoYUTFjvJIf+reIAkeMY+XxkKa/GeU3g990fvaxEcTuoFyINI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769875977; c=relaxed/simple; bh=sQScBiEgeO0wGbgeHfQgG+cDDApKVGzbwk0hFHjqGeo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=S80dm5piuzc9nS0n05wAXEkL1PMvDtz8QMYYYRB5+4tI0lucVaqw31eejJoZIdM6dujiNt5/7i/cOxTML3GIc7wEnnC5798BWE2iL/VMZdymheFGER0jxHYXZpq3U6Rn54oKGHkgqPL5eHCYukBndQo6T/9O0aT/PT2CUz+bLjc= 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=InMKtvxB; arc=none smtp.client-ip=209.85.208.66 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="InMKtvxB" Received: by mail-ed1-f66.google.com with SMTP id 4fb4d7f45d1cf-65814266b08so6162581a12.3 for ; Sat, 31 Jan 2026 08:12:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769875974; x=1770480774; 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=QWAoU7oEt3xC1fxIE+2lnHAybgV6QoQOF+ETbUXX1fA=; b=InMKtvxBjFcSSaCXvYjHvnmUKu1DGhAkgfSWXa1DS2GbPe+3IcNZ7VEL4RZqlBinte Srg8TH6YHCOcEyReDmEgzD3hkFUc6yw2Q2pcfF8NJMNU8Y1sknnTXUwUMD1WU3+32Ru1 3mq5KoKAp7FMGdNqHdZaWCgt/BBDj1qK3pbiswaXt4Nwur1juaj2wZW+7imicudhTS+2 PUJSwOYBh3MkOUxDJXUFO/thCoooDZZcm6bia5+197XeugE1atW3K0yLdtuNTVBSbbSy ukl21LzXgfD9QBfg9iTVbIyGmwd/12KQcrC0nB3n21IsTUeA1o0iOm0nbHb5NC9DZJBT 79sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769875974; x=1770480774; 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=QWAoU7oEt3xC1fxIE+2lnHAybgV6QoQOF+ETbUXX1fA=; b=nhWkXVoS9X6AghovDYIM1EpBAfowCu5JHrnDolrnxcJvBHEr16DcUfiagAsc6/Ptv0 Fa9BE7EF/l6aTZsXCqgDYxiiRHY4DgV8vjyZa6lG82orGH6/AC5wt0r3lGZ5jwgiqTul KPTSZXISYsggumGVWv76AXM1DwAZkj7S+Chg5mrxF7aBDMinaOEb9t8EGSONUDh/k8Lp 4GPRSzAPw2++jKFTTbgsjcBfMdberl5pxwf6CPdzG1AlbrdFehYGUJKxEhvmf+BZ0ia/ XWdfQqckHoQGaROFl3AKpQQjRdax6RJ3rM/4XxiDXbDRRQQUNlI1OAgJeIakg3DR5Yni 4ECQ== X-Forwarded-Encrypted: i=1; AJvYcCX1RdIoJWSB1EFY6XNvaknFOz8MumMPXcpFEHSDoufmE5R7MrFAS1/V+ljLfA+UCege+mcpKmB3pqfV1Bs=@vger.kernel.org X-Gm-Message-State: AOJu0Yx5jVbqdpflkg3t9WOl5tcaQV/aR07PQ8zw8gltaQkaB3H+dRq4 UURykqRrXA45G5s2Erg6xd2X854V29+d6lGMIPaxXia6B/rbbGvXSuVw X-Gm-Gg: AZuq6aLOjoO8KITbD58RKZvK1WTX3y3sNs9XKECyhXIsGgBkQ+/uEFqaR3IOQXr9h8C TFxSrF7L7+zYqXwFbaPLUdHuIppvB8oPFGfKKda6rHFkHwKM/7RRJmwavFOWTazOhqMuCa5tjv1 evLadNb0hCaAHPO+6BpZMC5WxC92DE3YCElRbO0nHQg2o3KYDLU9LMwHrK0uYEUgUso9NgRFqeh qtaEW3Z2Ge2sjEJiJFe4loUL5ESrfis48S2xZjOvZaZWGcuWymPjb1fEL0kWpSEvHs9MfbgqzkP s/Od9b5LBVs/pFp6Sx+qMj7N9RJliwWWYoYr3CA3PRgD5LemvcFYVWVxTICVpKos8t68nGOn96B jTarBiM+KiWdHfoaJQjAaj7OTF5jXnPs9xcnzHazLL/4CU7XFEUzVwSRElxcegNqqqsLVvzCE2T wbxQda0FqXsWfzPiiYaXo3EON0GC4Pozla2m0= X-Received: by 2002:a05:6402:350b:b0:658:bd67:bc16 with SMTP id 4fb4d7f45d1cf-658de589e89mr3855793a12.20.1769875974263; Sat, 31 Jan 2026 08:12:54 -0800 (PST) Received: from localhost.localdomain ([2a00:23c4:a758:8a01:46ad:7674:ff90:13f3]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-658b46ac0e8sm5433232a12.34.2026.01.31.08.12.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Jan 2026 08:12:53 -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 v3 1/2] dt-bindings: net: renesas,rzv2h-gbeth: Document Renesas RZ/G3L SoC Date: Sat, 31 Jan 2026 16:12:42 +0000 Message-ID: <20260131161250.5047-2-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260131161250.5047-1-biju.das.jz@bp.renesas.com> References: <20260131161250.5047-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 Reviewed-by: Lad Prabhakar --- v2->v3: * Fixed the typo ppt->ptp as pointed by netdev-ai[1]. * Keep the tag as the change is trivial [1]https://netdev-ai.bots.linux.dev/ai-review.html?id=3D495cbea4-c154-4027-= 9ecf-0167906492fe 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..fb60f745a1ff 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: ptp-pps-0 + - const: ptp-pps-1 + - const: ptp-pps-2 + - const: ptp-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 Sat Feb 7 05:48:52 2026 Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (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 2292E33986D for ; Sat, 31 Jan 2026 16:12:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769875978; cv=none; b=iIqz3Xfv48kP73pnM7pw3SfdLuRkq0Jj94EXNw5A+maOPhvL0in7hBQDagDaQJsqBUQ2/YOJxGYMV97hUlsguYhioUweCU12rA6eFVR/G3LmEoJeZN78Xf90NN8BMt6fDtJ+7txMeJ6SQvqQdNxGph2ntLVCzO+ko9dY4o0Cr0w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769875978; c=relaxed/simple; bh=wWlQDWVTHIyD2w74yQV82Lw2rsusocwhOpWbuGfQW5U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WjZu3CMisANTUDVRAQzee3AuP3ueYR12OYNJJEoYn9OiJd6udpQtLYxgaMeKHFhAgOxnPKTNrADOIl1BbQEnJvKi9qdUc7KCM9Om3eR8i+KiONvt26Uz766LJiyQ0n9TXcH4ZQJcWfd9MxTuGbzBQQJ7BV6uyhL0CSmP7otRQqM= 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=WAwNn3lJ; arc=none smtp.client-ip=209.85.218.51 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="WAwNn3lJ" Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-b87003e998bso670379666b.1 for ; Sat, 31 Jan 2026 08:12:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769875975; x=1770480775; 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=XTq2LBbLb5L85nE2s4woY/0r3B7VxHgm3zekbSlXMv4=; b=WAwNn3lJcZJW+kwyL10xcJ+Qr95ZudUH7bl/cLZswB1zpV/CnLQuIIL5xm2hjjrZSe fOwA+CsrLwvzjo+J74c4HKEd4HtxfHSZHlMnb//9tqnhkZbes5AoN6G2DOJtLlnFeDKv Gp7IcVBTJ12dTc94mV1esBZmMXqyoznZzz5Cf0TojbWopcdCWalsKRrwg3hsDS71jGZ3 y4HJH75Km2zkJ5ScOaS2V54xg/YT8f65PGTiabSHoAmqW5oPc/+4QjYWt/xASxFU6kR/ W+QL4il11Nt+WxvBxLbuCUuSgmLzXHa87/gkW31NdqZRrVvmYkwRjCoBT8dJeJAh1pm1 kSmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769875975; x=1770480775; 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=XTq2LBbLb5L85nE2s4woY/0r3B7VxHgm3zekbSlXMv4=; b=E8zal8QJ8b6sgbv8fCTzPTdclCrrujdsKljILp8u70lWnL5e9Z9KeRP0JYkdxsHiQT 7zUaK0dZFPc0+YSK5zXhIf1R27JDl2l1KJDrh0QaTIfbPW9UfvETInZUqL5nZAFNYUYt uM2XZL5gJsZLklUvMZd48aUtUfIf9iH5HOz/K8jxwO5jj9bc0NJMIzCN328vF9D0kopN Hl6gQE1ImzZZ447zODBoJASW6yYvDO93f+ET3jz9t+eO9PkUghSulBLy/G0/TnpMo2+r OKlV/Hfl+svUe9/hrW6aH1HIZsldY7tCcqOsQho3qzq4oG8U4r5tro6MOLeCT3XbGsbH yfvQ== X-Forwarded-Encrypted: i=1; AJvYcCVG+LYLZ5ALffbu5EbHkMplu175vGco7hTp+ADjGcmYkKBiR7yEkhRtXYvIq3m/OeL89n/pFLJlX/U9MDk=@vger.kernel.org X-Gm-Message-State: AOJu0YylkIigdJzJhILX5GU+tC//h+7LMRrO/JL3nVaOPfrF9dn2SYHV LGlrnDPWEQ8yZO2lheG8/yyfqyig6+mcquwWfDam/xZORqR8QaFZ/kzL X-Gm-Gg: AZuq6aL2h+2TCv9yZmJZAMuqOYTAyC/FZ3jbbXYS+6HSqkLPgHcx7srArdERvhCHM8k LHVRlFWmGn42G6i87C1GcFTOCtJj5xV63ClpXBIEXNNAIKAi+0OeNw4vK7v20nGUcE24j9wm0hN utPt2cx553PsXlsyZAwTOa3EUBsfybpVR0XAvw9W1p5l+NZdvVlvkf/Zz3/gdyWA81C+HrRea8e x3ALcgKecSoyLgUv+4zK+6Wbjx9Pp+g9G4Edzq3AanaO9ZaeRk3ZVm0z9oyJ6LhOe26vK7Zpa73 h2Z8KjLM56AdS6R7RPJmum7OrDOo8GUzIDb0IUWiI0shSfd1TbyywfNFLkE22v6K1NuVPe/Nths TY7PhlMpXvbNar5k/0+cW3LIgQ/Q9tQrd363BVsVTroTED+fDgdIGYCQ8TfwT0IeQkkDykVY1Gs diNjx2jcqIPPGCoujXW4aTDgRipy6e0QApT8Y= X-Received: by 2002:a17:907:9701:b0:b88:5b72:ec39 with SMTP id a640c23a62f3a-b8ddf805340mr625902766b.5.1769875975203; Sat, 31 Jan 2026 08:12:55 -0800 (PST) Received: from localhost.localdomain ([2a00:23c4:a758:8a01:46ad:7674:ff90:13f3]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-658b46ac0e8sm5433232a12.34.2026.01.31.08.12.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Jan 2026 08:12:54 -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 , Russell King Subject: [PATCH net-next v3 2/2] net: stmmac: dwmac-renesas-gbeth: Add support for RZ/G3L SoC Date: Sat, 31 Jan 2026 16:12:43 +0000 Message-ID: <20260131161250.5047-3-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260131161250.5047-1-biju.das.jz@bp.renesas.com> References: <20260131161250.5047-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. Reviewed-by: Russell King (Oracle) Signed-off-by: Biju Das Reviewed-by: Lad Prabhakar --- v2->v3: * Collected tag. 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