From nobody Sun Oct 5 18:19:15 2025 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (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 B79793C38; Fri, 1 Aug 2025 09:14:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754039657; cv=none; b=pCKE5wCDqharB+L3/AzGaptnPphiniB7RDzrfJbsLy99NxqRlSh2Mycgp2Bx+imqWUotuqU10KsmWUMfxN7H6FCwGQZMZUmqxlyomR0m3CpGwlBvE0cXhqqtxoDRAgR55VORPuOZ+SArk3FYhiXadTiiewvXho94sniV++9Uk2o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754039657; c=relaxed/simple; bh=gJCswTbeSm0cfVQDYDQlFj9ENNDHXqLsDS5p8UVfsgY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=reMt4WUEXRK/9IC1qN1omPH/TkLmM1CVqcLv/JEF9tYG9IrxgVrUyvjMAJDT4sIh8v2W6kczjHHI+gkTj1V2M6QiFF82RxXSS1QjlEuMgrslXgS4bpMik9lopQnrFgJr4nXkjwlIZkAUjfVzpGk2Z3F0wWrgxNC6p4EmSX/IsoE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org; spf=pass smtp.mailfrom=disroot.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b=kHneXBoV; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=disroot.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b="kHneXBoV" Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3516520E2E; Fri, 1 Aug 2025 11:14:13 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id vMBKehoM4TjO; Fri, 1 Aug 2025 11:14:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1754039652; bh=gJCswTbeSm0cfVQDYDQlFj9ENNDHXqLsDS5p8UVfsgY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=kHneXBoV4+3z2CKrLnBMl2/wPm8HQG+g/FZ79WqnWUyBdRcVgEQJ7/1pL4HC25Tk8 sTQC63MV4YROaCJTJgkBaiF7GHg+rR5IwXNg7rBSjd8leon5qvE4ZZLdd2kZVvo+gC Miqqv49cvTIs3Dlz0gnW2wYK+typqmE/TvxoZi4w+15bTnk8zfWZq11Z/NPD3uNkUE ECGGSD3gGiDKnUlRhWMyb1PHsyQB25j4DeJr+GkP3BN55b/jfRU4hlQAWYkWoetxhN T5YxIIYPXTJ7TRcJAzculAzZmEhPPjT95yqbazpkLwEgwQF0aBa1lU2CwjPk3dPD/k o9+BYsI2k72FQ== From: Yao Zi To: Drew Fustini , Guo Ren , Fu Wei , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Emil Renner Berthing , Jisheng Zhang Cc: linux-riscv@lists.infradead.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Yao Zi Subject: [PATCH net v2 3/3] riscv: dts: thead: Add APB clocks for TH1520 GMACs Date: Fri, 1 Aug 2025 09:12:40 +0000 Message-ID: <20250801091240.46114-4-ziyao@disroot.org> In-Reply-To: <20250801091240.46114-1-ziyao@disroot.org> References: <20250801091240.46114-1-ziyao@disroot.org> 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" Describe perisys-apb4-hclk as the APB clock for TH1520 SoC, which is essential for accessing GMAC glue registers. Fixes: 7e756671a664 ("riscv: dts: thead: Add TH1520 ethernet nodes") Signed-off-by: Yao Zi Reviewed-by: Drew Fustini Tested-by: Drew Fustini --- arch/riscv/boot/dts/thead/th1520.dtsi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/th= ead/th1520.dtsi index 42724bf7e90e..03f1d7319049 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -297,8 +297,9 @@ gmac1: ethernet@ffe7060000 { reg-names =3D "dwmac", "apb"; interrupts =3D <67 IRQ_TYPE_LEVEL_HIGH>; interrupt-names =3D "macirq"; - clocks =3D <&clk CLK_GMAC_AXI>, <&clk CLK_GMAC1>; - clock-names =3D "stmmaceth", "pclk"; + clocks =3D <&clk CLK_GMAC_AXI>, <&clk CLK_GMAC1>, + <&clk CLK_PERISYS_APB4_HCLK>; + clock-names =3D "stmmaceth", "pclk", "apb"; snps,pbl =3D <32>; snps,fixed-burst; snps,multicast-filter-bins =3D <64>; @@ -319,8 +320,9 @@ gmac0: ethernet@ffe7070000 { reg-names =3D "dwmac", "apb"; interrupts =3D <66 IRQ_TYPE_LEVEL_HIGH>; interrupt-names =3D "macirq"; - clocks =3D <&clk CLK_GMAC_AXI>, <&clk CLK_GMAC0>; - clock-names =3D "stmmaceth", "pclk"; + clocks =3D <&clk CLK_GMAC_AXI>, <&clk CLK_GMAC0>, + <&clk CLK_PERISYS_APB4_HCLK>; + clock-names =3D "stmmaceth", "pclk", "apb"; snps,pbl =3D <32>; snps,fixed-burst; snps,multicast-filter-bins =3D <64>; --=20 2.50.1