From nobody Tue Feb 10 11:23:44 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 9F8B5350A37 for ; Wed, 28 Jan 2026 12:58:57 +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=1769605139; cv=none; b=oWBzb/LslSiC476H5ni6LVJn3E3jHzbNDJQvGMjFGXQWgrnBZPWNq9pEpHXLYUFJq8lfWoycXhrb8RZDYTBiU2XH14hEdbN4khMfrw1t14DieTknzzEQ8SVR072CAY2j2rnf2i0cFpT5O4k8lOMX61CHB0sS8G36xUeb+lsjy+k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769605139; c=relaxed/simple; bh=Ash0Tpop8Drl9CIAodpSoVI1Y7+zlfnaCRmi8fNAgWg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=n5EPFDzN+0o5TC2buKCv7Ziy7Oec+Cuogm87H9IJZxFbpcD2h5/R7CoDhm/8w5RuJcwDN76TxHfM9H0PnXBOun0jNCM++qItpMhKe3/JqCHX2nCNPhQ4jTP61yqeDS+VYFDIbAgXrWCXtlOpcSkqCDhXivoAKcWzt+j4B0gPdqE= 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=M/hxNO9u; 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="M/hxNO9u" Received: by mail-ej1-f67.google.com with SMTP id a640c23a62f3a-b87677a8abeso1031986066b.1 for ; Wed, 28 Jan 2026 04:58:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769605136; x=1770209936; 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=fzDhRuPZgWgWzngc97Sq+tn62O+gmDRD2phzboYIu0g=; b=M/hxNO9uLcwVLFm44DQUKOS1cllH8vOdw4q9KA2AL/1EWeG0D/boDy/Zq9Fp21Po8r Gz2pplArVmhDfVgE2c9BcsQHSfm467YhFv4jD/cRgK6WNST/7L4hH/GWnnwZ4azcAmaX RqSTHrsW9jrrwLbAZ2ZNsxb1K4SOJcyyJTRdVpG+FAYiY+gV9al5k9n8WlA+IU1Hq15c btdWHnWm5kl1raJVdfMynB8MYr8luVRaUeuN2ZD0rVKUqggp4t1TqwazBGIgysk7wUa8 exbY11nWtR4ML9qxOzzpkq2oJgw5CvEsn+u36Rx8PbdM5q7k8kYU+ItL59f9Mq1ePSZb DPGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769605136; x=1770209936; 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=fzDhRuPZgWgWzngc97Sq+tn62O+gmDRD2phzboYIu0g=; b=SVqvwuNryZGnpnIQ9y6FtNrpilh4OL9NvpSx9hVibOgs7qqh9F8Zwq++QOqE87UfEW CI8tBXo89fbgeYm0jROu9vHWqYrbMir261fDRbZ46z2iU3DtOLTn1C4a74l3d6+TCxrE aeys4xYfyffikcpIT58dVRjhpInw2JTcGIhZGYxjuDEb3B+BXFrTs8AzeViAxtF4uzKm TvAZZBiyRGu3GJv0jiu31Hsd2koXKVXOMsjMTFRzUSfxPPji2R3MwSr2agOdmTvI4xC9 Lj972B9FbG74l9k1W4atYS1hcddWTjHf6HMr1bXkEnbKGc0IvkYtPJY+9xmjp6WI2Mdd BXEQ== X-Forwarded-Encrypted: i=1; AJvYcCUzeX7FCbvcDGZfoC2nmP9UtSxzVGitSAqCl5hgm6G0tPjSidLtZoKWjJV74Wb8YnR8hC13rxvDG9yv3DE=@vger.kernel.org X-Gm-Message-State: AOJu0YxfcZwfFU0/+YY4ggZ2lBusiTBg2vnyT4ZOJKfZ/jhe33jRLIlr NPAiWcI0lpSo+mTdW+MPan9QBR65smf+hpzJ2r5l8h/urfOXT7cl3gPZ X-Gm-Gg: AZuq6aL+s12WqN+b7kam6c1rfH7ejyBQRbq68KCPEovyAw5/Xq6DlGu/jf3DwYxSYKY h02K9YlOgvZiNQuo9Fwy/kdGclh1UlgWFsNezWrsG/ZfVaRTIXByhYjVZez0Tvx4dJGK0rOIFet CmojqOhKV/9PGvfhGEGlyF5wqfFOl8uJERCJTNiu/K4C5QtFvspcw29Nxr4KFGVhXRQplogzMT+ VmGM6gMSridCmFuqMa1WBddSMWAV1rpod4s/zRyJkQc46nc3R9rwM4BXxspsoEoh76nKbCOOYJb u3eS7j+rhMOtnpugF35bV0rAcFs9Je+W2pkpLgw0KgqgLzz9jS6kvgzmb+PF3UpeDcuD98ABs96 sRBzN/PrCsFMAJuE/jhQTz2S5N/luz/xN+CAYlY/4GHHywLbVcc+c0N3UuS62DtoKMi/1Yl+QCX JBmVoTzFDsX0RASdqIffj/JGBTLzt4j384GEE= X-Received: by 2002:a17:907:d8e:b0:b76:f090:777b with SMTP id a640c23a62f3a-b8dab2e7d35mr340318266b.22.1769605135725; Wed, 28 Jan 2026 04:58:55 -0800 (PST) Received: from localhost.localdomain ([2a00:23c4:a758:8a01:e29d:6e0e:72c1:d15d]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b8dbf2f3e26sm123344966b.67.2026.01.28.04.58.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jan 2026 04:58:55 -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 Subject: [PATCH net-next 1/8] dt-bindings: net: renesas,rzv2h-gbeth: Document Renesas RZ/G3L SoC Date: Wed, 28 Jan 2026 12:58:38 +0000 Message-ID: <20260128125850.425264-2-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260128125850.425264-1-biju.das.jz@bp.renesas.com> References: <20260128125850.425264-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. Signed-off-by: Biju Das Acked-by: Conor Dooley --- .../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