From nobody Sun Oct 5 23:54:47 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 1E04C264F8A; Tue, 29 Jul 2025 09:41:46 +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=1753782108; cv=none; b=qwkQbnzajtRQvepOkZx2OKXIkWGm4ZZXkWFyIpEAOWyk8V0wpIMuwxp5bSCvxT8bjas//jaMB+ptm1nhUfubnQxrSqLqcvDHnW9Bymz4PWMERoEdkuj8FHf/IB9MQCPrDUO2rQal5UAJaf+UGP3tGTkmbCAY5e517DGBIKqabxA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753782108; c=relaxed/simple; bh=/DRfirf/6tX1d3cecrOUoT/ylGXL16bxkleWN8hcOpM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XnuSnWmi0d0PSbB+WSg/lWgExF8UpsAgDUhe1CWp5RRowomfnlVleaRp1law4YVLGt2WAh6FGhQMBwqYnAVkMvYxWM8g3T55drwd2wn/rsvI2Zvf3fkE7k/swEBuWgkAaNenNnPzWMEz7POJTcPaTRsOZDP6JIcU4R3UkNiPXCY= 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=W/GF8vNk; 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="W/GF8vNk" Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 70F4925A96; Tue, 29 Jul 2025 11:41:45 +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 riiRElZg150v; Tue, 29 Jul 2025 11:41:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1753782104; bh=/DRfirf/6tX1d3cecrOUoT/ylGXL16bxkleWN8hcOpM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=W/GF8vNkmIErBK6sNeP1dkzNGNz1GXJ8rYaze11Iva9WDsfxpW0VE+1kVfhtV/od9 bFK4e1+SVowr9gbTsPvOWatMDY2TASbql5gRmaEOj3B3gzLGgMpWgkBxqvu0Uo+Afn H1PWUWpt3RL//shv3FdAq5J62l4yw4VdJpaPAfBr8VjMu5Y05lxnH+vIFvyRskCgQz C83oz2ZSB4O6rFJ4lpz4iweHwdjP20efmRXcTj2+XaDBHKqN+UoN/Ti9N/a2B4om3C M9eAZMyVlvDouPSsMeZZuTRSiL1Z+Yz1wUNZmPe5CYaiB3Nett3VHYdN+ahzJm/fps gw/td2DGWSM5A== 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 3/3] riscv: dts: thead: Add APB clocks for TH1520 GMACs Date: Tue, 29 Jul 2025 09:37:34 +0000 Message-ID: <20250729093734.40132-4-ziyao@disroot.org> In-Reply-To: <20250729093734.40132-1-ziyao@disroot.org> References: <20250729093734.40132-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 --- 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