From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 95442335BAD; Mon, 18 Aug 2025 13:47:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755524850; cv=none; b=uvMgkArOvVL79/WMcaZuHdbO+9vcrzRFQxlzeKuCHA35AQbuwcsyuT3X6fK1Q2hKyZZ4WdYgI1UtNHsfRwf5zoPTB76WNy8676w1suXnI5RYzXR5HIc7Y7H8RpV+tQ7APxBtdOcpzUOg//dlUBhDkMY5Vj6lGDb6g0+sepeDvlA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755524850; c=relaxed/simple; bh=wU31996cRXJe7RpFcxH1QozASnIU95D7SIm/GR+LnZ8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=e7pjbjl3ylPlAUoavXdQxNRao/8MgTsZPvXOjaSfrZ6/KtpoD0QbFRLHEYBVwwx91nxKBEqJ8st4UJKXpDXXgWb7PTtXQ5pHv39iqpIbrnMZjISaaiFoX9cnS4LHnoyA/J7d85JZjjAXn9OMv9DhcY232iy/qRt2c+UCBWR8K5Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vL0JhezO; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="vL0JhezO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 15EC2C4CEEB; Mon, 18 Aug 2025 13:47:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755524850; bh=wU31996cRXJe7RpFcxH1QozASnIU95D7SIm/GR+LnZ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vL0JhezOUghQN0RavfjbYAMWIYPJEBKFRfh1EFHpNrT7JEVDsBEe727eCkvdcwRCC 1/uWc/Ewjz0KdhB9TT8jguOqVXY6RJAs6vkMdhZIglZbt+NQKEVPgbneORl6OrHpME yuZjNqKpJ8SfFn0CaKlaKXHwB1rCft19py8uPJPM= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Yao Zi , Drew Fustini , Paolo Abeni , Sasha Levin Subject: [PATCH 6.16 082/570] riscv: dts: thead: Add APB clocks for TH1520 GMACs Date: Mon, 18 Aug 2025 14:41:09 +0200 Message-ID: <20250818124508.976493686@linuxfoundation.org> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250818124505.781598737@linuxfoundation.org> References: <20250818124505.781598737@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Yao Zi [ Upstream commit a7f75e2883c4bd57b12c3be61bb926929adad9c0 ] 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 Link: https://patch.msgid.link/20250808093655.48074-5-ziyao@disroot.org Signed-off-by: Paolo Abeni Signed-off-by: Sasha Levin --- 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/thead/th1520.dtsi index 1db0054c4e09..93135e0f5a77 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -294,8 +294,9 @@ gmac1: ethernet@ffe7060000 { reg-names = "dwmac", "apb"; interrupts = <67 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "macirq"; - clocks = <&clk CLK_GMAC_AXI>, <&clk CLK_GMAC1>; - clock-names = "stmmaceth", "pclk"; + clocks = <&clk CLK_GMAC_AXI>, <&clk CLK_GMAC1>, + <&clk CLK_PERISYS_APB4_HCLK>; + clock-names = "stmmaceth", "pclk", "apb"; snps,pbl = <32>; snps,fixed-burst; snps,multicast-filter-bins = <64>; @@ -316,8 +317,9 @@ gmac0: ethernet@ffe7070000 { reg-names = "dwmac", "apb"; interrupts = <66 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "macirq"; - clocks = <&clk CLK_GMAC_AXI>, <&clk CLK_GMAC0>; - clock-names = "stmmaceth", "pclk"; + clocks = <&clk CLK_GMAC_AXI>, <&clk CLK_GMAC0>, + <&clk CLK_PERISYS_APB4_HCLK>; + clock-names = "stmmaceth", "pclk", "apb"; snps,pbl = <32>; snps,fixed-burst; snps,multicast-filter-bins = <64>; -- 2.50.1