From nobody Tue Feb 10 04:02:54 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