From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 93F72C87FD2 for ; Fri, 8 Aug 2025 09:44:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lr1HN+P88fo+xVbturZAbjKLXl7vILIPYsgP9GZ1p3E=; b=2jcDCORRELKK12 +szRycZz4EY/S+tUEt6HT9ov0wcDNcJ6yMefEZT0D3qZuT3KueQj0KmMadwZDMuXEDN6CxHO7jw3O G0tgsJDPnNVy5dmPqCGw6We9E5WA8jfIKWxZ6l9OkEMb+Z2RnEEsHwo1c7yEdW3NJ9nNFeLCS7+Cs LxOJ2q4qm85NXxzSTKbbvI/JCbZDhYJJrRzQMmJ9bQIUcR+LLJYiA96U4A3+b7Ci43RkMi3b7AJQA sE1XxsMUki7jfBt0F8LqJwyb9K5b+sEIDVrV2L5i06TGy5CQivssXuUD6p5YkaCUC+8aFkda9KTW5 6kIBxh9KvEXrN9Ar+NRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1ukJeG-00000002TgP-14tC; Fri, 08 Aug 2025 09:44:28 +0000 Received: from layka.disroot.org ([178.21.23.139]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1ukJeD-00000002Tf5-1Qkv for linux-riscv@lists.infradead.org; Fri, 08 Aug 2025 09:44:26 +0000 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id ED81925B19; Fri, 8 Aug 2025 11:44:23 +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 Lu_epiSKnSqX; Fri, 8 Aug 2025 11:44:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1754646263; bh=bvjn31etsIDthI47vSBHLCji4m9GlQ5217Yq/HieC5o=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=cj+huHdmkhARCGiOcrZcGJSUuR3pusyK9Uv8Xv/zJgYFvsJoIyX4vxFogismahLxZ 18uyN6wFHzItDLknPaabQMd4cl9ag/m/eeR48DG9Gu+WhwnrvRplJsGGAArwI9Npjb 0+VpHXImP1Qaq7dW/bsd6VsjumQjcBHhlyiZOtwx3PxGyG8I0ebAasxbH8KHZNkJLs T4pEL37ABg4guftpTvAfVJpFAGwdiph0Bs1aQ/z6BhkoCI41DfwDP6XSJsjOiC1wEl Uw8d6o3WghJ4/DzlO8FbPa24twqdlbbHjJQ1yHqsQ38eJZyZvOR4ePo525tR0JE6Op mIkpuGoHaaWzw== 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 , Krzysztof Kozlowski Subject: [PATCH net v3 1/3] dt-bindings: net: thead,th1520-gmac: Describe APB interface clock Date: Fri, 8 Aug 2025 09:36:54 +0000 Message-ID: <20250808093655.48074-3-ziyao@disroot.org> In-Reply-To: <20250808093655.48074-2-ziyao@disroot.org> References: <20250808093655.48074-2-ziyao@disroot.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250808_024425_512669_9832F26A X-CRM114-Status: UNSURE ( 6.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Besides ones for GMAC core and peripheral registers, the TH1520 GMAC requires one more clock for configuring APB glue registers. Describe it in the binding. Fixes: f920ce04c399 ("dt-bindings: net: Add T-HEAD dwmac support") Signed-off-by: Yao Zi Acked-by: Krzysztof Kozlowski Reviewed-by: Drew Fustini --- .../devicetree/bindings/net/thead,th1520-gmac.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/thead,th1520-gmac.yaml b/Documentation/devicetree/bindings/net/thead,th1520-gmac.yaml index 6d9de3303762..b3492a9aa4ef 100644 --- a/Documentation/devicetree/bindings/net/thead,th1520-gmac.yaml +++ b/Documentation/devicetree/bindings/net/thead,th1520-gmac.yaml @@ -62,11 +62,13 @@ properties: items: - description: GMAC main clock - description: Peripheral registers interface clock + - description: APB glue registers interface clock clock-names: items: - const: stmmaceth - const: pclk + - const: apb interrupts: items: @@ -88,8 +90,8 @@ examples: compatible = "thead,th1520-gmac", "snps,dwmac-3.70a"; reg = <0xe7070000 0x2000>, <0xec003000 0x1000>; reg-names = "dwmac", "apb"; - clocks = <&clk 1>, <&clk 2>; - clock-names = "stmmaceth", "pclk"; + clocks = <&clk 1>, <&clk 2>, <&clk 3>; + clock-names = "stmmaceth", "pclk", "apb"; interrupts = <66>; interrupt-names = "macirq"; phy-mode = "rgmii-id"; -- 2.50.1 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv