From nobody Tue Feb 10 08:27:38 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