From nobody Mon Feb 9 02:08:26 2026 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.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 39E983446A7 for ; Tue, 3 Feb 2026 12:35:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770122112; cv=none; b=P9DZFcvLRi7PUlt4AinLJt+/a70V0ImsrflXoguSZywSjq+bsCv7r/C6wXjO1GB7iS8i9jzcFxLK93NW4svedEXUw4StzvvrechXtmbpbXh8IrmlGyWd23KeT3vPmVHyJAJYd8SJCiGedoLHG8ZbwyFTE53nOLZ54exaGNpCkYo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770122112; c=relaxed/simple; bh=+mqS43xBaN5wxdUuKouMKy/AajWhBo4Y/w6+isRGTRc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=R3CKNEPpt/+UQ/e50RpkUIvF9XyewdMfKEdFg4fn4hbXmq/FKi6iOOcVuWAma5JPzbAGjunQTDhoPn4mDAffHxcMRQiuCtgiHq0BNjLO2O00EF9hrvkVIcnoGw3X7HOfRFKMKh7vYx5CDAKJel6G9x2inPYHImKJweSFnu4WevE= 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=IkLr2bzt; arc=none smtp.client-ip=209.85.128.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="IkLr2bzt" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-482f454be5bso6178685e9.0 for ; Tue, 03 Feb 2026 04:35:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770122108; x=1770726908; 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=P6TaFftavmMJUbOftKV3aQuNWFyNm0uXmHxj+FYrsdA=; b=IkLr2bztlftZDokhOv9gqerEpdqECFl4EnPndpq5SHyx2YR6L4+ssZCiCdTR30riES mFJKBk2t0Twcc3tp0i/Im4wJKM79INQsezpcXEEquOiPFCj0ovkGEOtzBVCJXdyHYJP8 ntQQCfUoFof5nNpV5+N8x12PQY0NC0s17rgAXMpmu4BeByXEaI3diIF+cTCHbNy5wTE4 +Hio4u4HAyjlN7e+VaITrWF+pOSjQqcJuUBBZZAONHOhLHp0+CorK3kcJDLUHfRBU9Xz /cG/xTECIBTyyd5dIkJm7PWVhbgmv3Hp8Otkpou7DkISGNVfeMl+StQVXyfShn6HbVqZ uPLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770122108; x=1770726908; 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=P6TaFftavmMJUbOftKV3aQuNWFyNm0uXmHxj+FYrsdA=; b=iw7PWyfmBqQ5PpTI5AYWa7Clky/JS9uZci4IXooUePuEr6lf8mYLyYez9aqsCPEcyv BPs7Q5rbOcXjb0A9xYqzTpIqTJPbBMKzvSozy0hLJqiA9d1m47ThTDKH1KPnRf2PMNQn GKw8d7LYILKqMza9y8vnFrj7PgkJ3LKyAcF6274ongFkaTfN1mHG8Ee+jhe+xeG9vgw6 Pc0zte13w7CD/UbmlfxpnF+iw4sd/9FiH9R9Q0NRlhcX12Co7mnmx92dzWSZ2Qa9hCE+ cmrXXvZM161VREg8qtHQbhlN0CQvv82Su73LjnnvWRKRucRs0VB1Ay5URFJaK9h2Hs2z +wmg== X-Forwarded-Encrypted: i=1; AJvYcCXX+XRyBVzDXrBI6eQtqWLo9gPisNx77TQeOO1EIxT3u1IolynHDXGOdGvVRweMvRcvhLkQnhYSReSNIpY=@vger.kernel.org X-Gm-Message-State: AOJu0YybN6hz72cdkj/hpRs/HeU0mkbaxgkHYiobp9mobmRBrreUmvD2 9kQ23LU6dKO0hat+e+M55pMDyIhQXNyKt+ghalKOPk4z4YcMCuEEjIETcQdO/d9V X-Gm-Gg: AZuq6aK0R2YMBgovCfRquNuyUJ7U9VWdJtLaJs32tL68spE6rLwkXkTJbS8kMXgmhAz eJeqcUQCWQbLFa6pwSr3Nn7cwtNLn7xASKkp8mcZd5q+6msk1v90qNuIA3DZ7UcPVnsDdxG6orl JfZ1kcSJW0QKS+oPAx/DWY+jUBgpomUo7HK1KjunMR/iNZKwp4PKhWeOh6z0t6YRjqKcpw4Cxue JIRVs0onei6HViiqMc+m7x/0KMzghiI5u1T5Bik8NoK5E5ao8PZcKWgPxn2cajTzlF3BVaSPRVU 8glrsoULcxKBUrnZ3b8ySTBrHfuxjPOY3jPfey1bE+p1cgENtuwxX8ztP6h+s81b4VSrnKw04XY ihbkQjeHo6lktdowLcDjNnfTZ7IQOws+KOKN73iJr4M5Q6BuI4FaNg1bMk0cvaek2elbL0gBANT t9+HwU05FMTjCpyWibww== X-Received: by 2002:a05:600c:8718:b0:477:9e0c:f59 with SMTP id 5b1f17b1804b1-48305133282mr38224425e9.2.1770122108431; Tue, 03 Feb 2026 04:35:08 -0800 (PST) Received: from biju.lan ([2a00:23c4:a758:8a01:9cd9:f748:166d:55fc]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-483051379c4sm60618205e9.15.2026.02.03.04.35.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Feb 2026 04:35:07 -0800 (PST) From: Biju X-Google-Original-From: Biju To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Richard Cochran Cc: Biju Das , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Prabhakar Mahadev Lad , Biju Das Subject: [PATCH v2 1/2] arm64: dts: renesas: r9a08g046: Add GBETH nodes Date: Tue, 3 Feb 2026 12:34:59 +0000 Message-ID: <20260203123503.314755-2-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260203123503.314755-1-biju.das.jz@bp.renesas.com> References: <20260203123503.314755-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 Renesas RZ/G3L SoC is equipped with 2x Synopsys DesignWare Ethernet (10/100/1000 BASE) with TSN, IP block version 5.30. Add GBETH nodes to R9A08G046 RZ/G3L SoC DTSI. Signed-off-by: Biju Das --- This patch depend upon [1] [1] https://lore.kernel.org/all/20260203104541.264759-1-biju.das.jz@bp.rene= sas.com/ v1->v2: * Added rmii_{tx,rx) clocks. --- arch/arm64/boot/dts/renesas/r9a08g046.dtsi | 241 +++++++++++++++++++++ 1 file changed, 241 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a08g046.dtsi b/arch/arm64/boot/d= ts/renesas/r9a08g046.dtsi index 0922ad642c67..df61a3b77368 100644 --- a/arch/arm64/boot/dts/renesas/r9a08g046.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a08g046.dtsi @@ -228,6 +228,240 @@ sdhi1: mmc@11c10000 { /* placeholder */ }; =20 + eth0: ethernet@11c30000 { + compatible =3D "renesas,r9a08g046-gbeth", "snps,dwmac-5.30a"; + reg =3D <0 0x11c30000 0 0x10000>; + interrupts =3D , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names =3D "macirq", "eth_wake_irq", "eth_lpi", + "rx-queue-0", "rx-queue-1", "rx-queue-2", + "rx-queue-3", "tx-queue-0", "tx-queue-1", + "tx-queue-2", "tx-queue-3", "ptp-pps-0", + "ptp-pps-1", "ptp-pps-2", "ptp-pps-3"; + clocks =3D <&cpg CPG_MOD R9A08G046_ETH0_CLK_AXI>, + <&cpg CPG_MOD R9A08G046_ETH0_CLK_CHI>, + <&cpg CPG_MOD R9A08G046_ETH0_CLK_PTP_REF_I>, + <&cpg CPG_MOD R9A08G046_ETH0_CLK_TX_I>, + <&cpg CPG_MOD R9A08G046_ETH0_CLK_RX_I>, + <&cpg CPG_MOD R9A08G046_ETH0_CLK_TX_180_I>, + <&cpg CPG_MOD R9A08G046_ETH0_CLK_RX_180_I>, + <&cpg CPG_MOD R9A08G046_ETH0_CLK_RMII_I>, + <&cpg CPG_MOD R9A08G046_ETH0_CLK_TX_I_RMII>, + <&cpg CPG_MOD R9A08G046_ETH0_CLK_RX_I_RMII>; + clock-names =3D "stmmaceth", "pclk", "ptp_ref", + "tx", "rx", "tx-180", "rx-180", + "rmii", "rmii_tx", "rmii_rx"; + resets =3D <&cpg R9A08G046_ETH0_ARESET_N>; + power-domains =3D <&cpg>; + snps,multicast-filter-bins =3D <256>; + snps,perfect-filter-entries =3D <128>; + rx-fifo-depth =3D <8192>; + tx-fifo-depth =3D <8192>; + snps,fixed-burst; + snps,no-pbl-x8; + snps,force_thresh_dma_mode; + snps,axi-config =3D <&stmmac_axi_setup>; + snps,mtl-rx-config =3D <&mtl_rx_setup0>; + snps,mtl-tx-config =3D <&mtl_tx_setup0>; + snps,txpbl =3D <32>; + snps,rxpbl =3D <32>; + status =3D "disabled"; + + mdio0: mdio { + compatible =3D "snps,dwmac-mdio"; + #address-cells =3D <1>; + #size-cells =3D <0>; + }; + + mtl_rx_setup0: rx-queues-config { + snps,rx-queues-to-use =3D <4>; + snps,rx-sched-sp; + + queue0 { + snps,dcb-algorithm; + snps,priority =3D <0x1>; + snps,map-to-dma-channel =3D <0>; + }; + + queue1 { + snps,dcb-algorithm; + snps,priority =3D <0x2>; + snps,map-to-dma-channel =3D <1>; + }; + + queue2 { + snps,dcb-algorithm; + snps,priority =3D <0x4>; + snps,map-to-dma-channel =3D <2>; + }; + + queue3 { + snps,dcb-algorithm; + snps,priority =3D <0x8>; + snps,map-to-dma-channel =3D <3>; + }; + }; + + mtl_tx_setup0: tx-queues-config { + snps,tx-queues-to-use =3D <4>; + snps,tx-sched-wrr; + + queue0 { + snps,weight =3D <0x10>; + snps,dcb-algorithm; + snps,priority =3D <0x1>; + }; + + queue1 { + snps,weight =3D <0x12>; + snps,dcb-algorithm; + snps,priority =3D <0x2>; + }; + + queue2 { + snps,weight =3D <0x14>; + snps,dcb-algorithm; + snps,priority =3D <0x4>; + }; + + queue3 { + snps,weight =3D <0x18>; + snps,dcb-algorithm; + snps,priority =3D <0x8>; + }; + }; + }; + + eth1: ethernet@11c40000 { + compatible =3D "renesas,r9a08g046-gbeth", "snps,dwmac-5.30a"; + reg =3D <0 0x11c40000 0 0x10000>; + interrupts =3D , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names =3D "macirq", "eth_wake_irq", "eth_lpi", + "rx-queue-0", "rx-queue-1", "rx-queue-2", + "rx-queue-3", "tx-queue-0", "tx-queue-1", + "tx-queue-2", "tx-queue-3", "ptp-pps-0", + "ptp-pps-1", "ptp-pps-2", "ptp-pps-3"; + clocks =3D <&cpg CPG_MOD R9A08G046_ETH1_CLK_AXI>, + <&cpg CPG_MOD R9A08G046_ETH1_CLK_CHI>, + <&cpg CPG_MOD R9A08G046_ETH1_CLK_PTP_REF_I>, + <&cpg CPG_MOD R9A08G046_ETH1_CLK_TX_I>, + <&cpg CPG_MOD R9A08G046_ETH1_CLK_RX_I>, + <&cpg CPG_MOD R9A08G046_ETH1_CLK_TX_180_I>, + <&cpg CPG_MOD R9A08G046_ETH1_CLK_RX_180_I>, + <&cpg CPG_MOD R9A08G046_ETH1_CLK_RMII_I>, + <&cpg CPG_MOD R9A08G046_ETH1_CLK_TX_I_RMII>, + <&cpg CPG_MOD R9A08G046_ETH1_CLK_RX_I_RMII>; + clock-names =3D "stmmaceth", "pclk", "ptp_ref", + "tx", "rx", "tx-180", "rx-180", + "rmii", "rmii_tx", "rmii_rx"; + resets =3D <&cpg R9A08G046_ETH1_ARESET_N>; + power-domains =3D <&cpg>; + snps,multicast-filter-bins =3D <256>; + snps,perfect-filter-entries =3D <128>; + rx-fifo-depth =3D <8192>; + tx-fifo-depth =3D <8192>; + snps,fixed-burst; + snps,no-pbl-x8; + snps,force_thresh_dma_mode; + snps,axi-config =3D <&stmmac_axi_setup>; + snps,mtl-rx-config =3D <&mtl_rx_setup1>; + snps,mtl-tx-config =3D <&mtl_tx_setup1>; + snps,txpbl =3D <32>; + snps,rxpbl =3D <32>; + status =3D "disabled"; + + mdio1: mdio { + compatible =3D "snps,dwmac-mdio"; + #address-cells =3D <1>; + #size-cells =3D <0>; + }; + + mtl_rx_setup1: rx-queues-config { + snps,rx-queues-to-use =3D <4>; + snps,rx-sched-sp; + + queue0 { + snps,dcb-algorithm; + snps,priority =3D <0x1>; + snps,map-to-dma-channel =3D <0>; + }; + + queue1 { + snps,dcb-algorithm; + snps,priority =3D <0x2>; + snps,map-to-dma-channel =3D <1>; + }; + + queue2 { + snps,dcb-algorithm; + snps,priority =3D <0x4>; + snps,map-to-dma-channel =3D <2>; + }; + + queue3 { + snps,dcb-algorithm; + snps,priority =3D <0x8>; + snps,map-to-dma-channel =3D <3>; + }; + }; + + mtl_tx_setup1: tx-queues-config { + snps,tx-queues-to-use =3D <4>; + snps,tx-sched-wrr; + + queue0 { + snps,weight =3D <0x10>; + snps,dcb-algorithm; + snps,priority =3D <0x1>; + }; + + queue1 { + snps,weight =3D <0x12>; + snps,dcb-algorithm; + snps,priority =3D <0x2>; + }; + + queue2 { + snps,weight =3D <0x14>; + snps,dcb-algorithm; + snps,priority =3D <0x4>; + }; + + queue3 { + snps,weight =3D <0x18>; + snps,dcb-algorithm; + snps,priority =3D <0x8>; + }; + }; + }; + gic: interrupt-controller@12400000 { compatible =3D "arm,gic-v3"; reg =3D <0x0 0x12400000 0 0x20000>, @@ -239,6 +473,13 @@ gic: interrupt-controller@12400000 { }; }; =20 + stmmac_axi_setup: stmmac-axi-config { + snps,lpi_en; + snps,wr_osr_lmt =3D <0xf>; + snps,rd_osr_lmt =3D <0xf>; + snps,blen =3D <16 8 4 0 0 0 0>; + }; + timer { compatible =3D "arm,armv8-timer"; interrupts =3D , --=20 2.43.0 From nobody Mon Feb 9 02:08:26 2026 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.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 2B13F344D9E for ; Tue, 3 Feb 2026 12:35:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770122113; cv=none; b=f7+hBLrouwkJv2CN1A9Q7Hzc0vSoM+ePxnyLMJSr4Kea5VZq3pS6PR1bxyhWmPXOMFD7zrd0085vL5D10kdH2lFrzq4xY7fkvzV8sdAxQ30PLPlssRJyei5rw/ripwXkv2LDKldU7KNygk/TgIEFb9zuY72soBYQWDdgBGGuo9k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770122113; c=relaxed/simple; bh=RorSjLaX7pGdqqpN+C9wX6wNwfenUgYC9F7+I9hWWyk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=REoQIgCfMzMSTWESfg5c9Rqbpmb4szlL5bfGRf5HYmI63JSoBlqe6w4hGvSJyzLFe5BNugFbl78Lj1sQa3vZTMVEGZMb8TutgeR02RMuBPdH73V5+5NJR8vDl58XX9ZesJhEG4eq+/LKJcfYZRypibI/M5LQqeyUMIj+s3MFOkM= 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=HvakYn8W; arc=none smtp.client-ip=209.85.128.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="HvakYn8W" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-4801eb2c0a5so53505205e9.3 for ; Tue, 03 Feb 2026 04:35:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770122110; x=1770726910; 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=9zafmNs4nVxr2+zuOn1Q4Qxj0agj57LaZX3rnIZfZm0=; b=HvakYn8WkyW4cC2he7w/yXaJVn+C4C8qm93eKUudBtGAe8MkhA8Z1riBOWHHUwmjlz BQ1P1LINxCJsUG59t0/qA8c3JoKtQ313ZJ0BSQo4TF7mYUaFbT4grQgvtreLCytmnVXB O5Lcs17VYT+A2UtgVFpSDbBQx/mhD41kEkoiNdrMowmr07JDGM51KCYxBbFTRFhxiR0Y tEwSIkbxxdxbSUIyqJpRx7SMogUeyO4ZZKwg3HI6i+vUzmPL5QGhkCWg/AO9GBsK4QRB bfrjhuaD2jyfLs72piIWYIVQoJhY2RDr3p++sWfA8jd28n2Rf1tEoOW889E7d5Qh840b nOfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770122110; x=1770726910; 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=9zafmNs4nVxr2+zuOn1Q4Qxj0agj57LaZX3rnIZfZm0=; b=tCTFzhsdcfMVmhUGF+q16qSHtWC9+52TVAyq1pKwKPLYWDP+YbV/7fg86tAgZYE4+9 4TRSs83Tug1JRw8fevmgY1Mn9loAU06Ti3GCixamnX1truafjr68eP/hFYfk8L61sgoy kuMTcejha1pHzDUpk9Z0n1SXyVPuHyKiOM+gspYHnxSa6o7A1MIUkYHVXHiFI0l6VbTc hUZsdaFJREWkgRXRgXl7cRjU+afkQlg5dDDh1r6xMvNoNFO69WUY2sogjeoM0RBQQQ0f fRXePWof2IwkxfD1gZQA+VbfkbFyQMBmobLOfNmByza1ZFNFTRrRWdGeVWib9yl+RTC/ q2Mw== X-Forwarded-Encrypted: i=1; AJvYcCXaBW1eKgrjE/Ovz5zeuZUCx1tixEA76Wn9mgbbWbf6Y/CRSL8Ges1IKzkGkG0Yf9B6B3O9Wxpual6eXL0=@vger.kernel.org X-Gm-Message-State: AOJu0YzBTV3SD1WNJLL+5SGR2n4660Jlclmzf7IEtzjo8kPU9jzAnmEt WOIyjmEtcbKYwOzGI9Uz0hQxEf3VPPepiK0KrP9n6anVohRkLNtTnzA8 X-Gm-Gg: AZuq6aJHb4gmCqWHYKhY45bXfAm4n9g1JCJ5KIDelgBw2QV16WIoNCmgH+nZ4s33KyA T7khBmFXGImU542eM/EwOT5uD4uR7e7Jv/pgeE0lVX9/xCcpLZphKJbOogohkeYPDhFyOUbpqQz 1ws77AYrWzUw88WHNfsmFlFcydWQ27fp0ktHXBIIq60dBjI4Y1BfPywV/wOqmI8cCM77rLI0nFJ 1KKiN2esM3RX3tW0Lfio9QQipsQ6AA8x/iZUfKzeAoylM/XWTc4KbBEg03zkSSWut9EyYDqc4MK jRw3EWqXimNIdp7J6HVRodaMbnp8+Xpvnmj+rlZgwWxGluCES7MJ4oSDyJfnKyCU3q7q15vi0nj sjb0YavRX/onNR02WDW/F6jqBjrum1jI+iRay1N1PnHws2Eyl8aLKN4Fuck0yio0UAQUei7DTw7 YcUNBYnpSrBrzD8ZRbuQ== X-Received: by 2002:a05:600c:6206:b0:477:b0b9:3129 with SMTP id 5b1f17b1804b1-482db44d215mr218506605e9.3.1770122110349; Tue, 03 Feb 2026 04:35:10 -0800 (PST) Received: from biju.lan ([2a00:23c4:a758:8a01:9cd9:f748:166d:55fc]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-483051379c4sm60618205e9.15.2026.02.03.04.35.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Feb 2026 04:35:08 -0800 (PST) From: Biju X-Google-Original-From: Biju To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Biju Das , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar Mahadev Lad , Biju Das Subject: [PATCH v2 2/2] arm64: dts: renesas: rzg3l-smarc-som: Enable eth0 (GBETH0) interface Date: Tue, 3 Feb 2026 12:35:00 +0000 Message-ID: <20260203123503.314755-3-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260203123503.314755-1-biju.das.jz@bp.renesas.com> References: <20260203123503.314755-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 Enable the Gigabit Ethernet Interfaces (GBETH0) populated on the RZ/G3L SMARC EVK. The eth1, pincontrol definitions and hotplug support will be added later. Signed-off-by: Biju Das --- v1->v2: * No change --- .../boot/dts/renesas/rzg3l-smarc-som.dtsi | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/rzg3l-smarc-som.dtsi b/arch/arm64/= boot/dts/renesas/rzg3l-smarc-som.dtsi index 7c21afaee9bc..f52af01a7eff 100644 --- a/arch/arm64/boot/dts/renesas/rzg3l-smarc-som.dtsi +++ b/arch/arm64/boot/dts/renesas/rzg3l-smarc-som.dtsi @@ -8,6 +8,10 @@ / { compatible =3D "renesas,rzg3l-smarcm", "renesas,r9a08g046l48", "renesas,r= 9a08g046"; =20 + aliases { + ethernet0 =3D ð0; + }; + memory@48000000 { device_type =3D "memory"; /* First 128MB is reserved for secure area. */ @@ -15,6 +19,37 @@ memory@48000000 { }; }; =20 +ð0 { + phy-handle =3D <&phy0>; + phy-mode =3D "rgmii-id"; + + status =3D "okay"; +}; + +ð0_rxc_rx_clk { + clock-frequency =3D <125000000>; +}; + &extal_clk { clock-frequency =3D <24000000>; }; + +&mdio0 { + phy0: ethernet-phy@7 { + compatible =3D "ethernet-phy-id0022.1640", + "ethernet-phy-ieee802.3-c22"; + reg =3D <7>; + rxc-skew-psec =3D <1400>; + txc-skew-psec =3D <1400>; + rxdv-skew-psec =3D <0>; + txdv-skew-psec =3D <0>; + rxd0-skew-psec =3D <0>; + rxd1-skew-psec =3D <0>; + rxd2-skew-psec =3D <0>; + rxd3-skew-psec =3D <0>; + txd0-skew-psec =3D <0>; + txd1-skew-psec =3D <0>; + txd2-skew-psec =3D <0>; + txd3-skew-psec =3D <0>; + }; +}; --=20 2.43.0