Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9657377rwr; Thu, 11 May 2023 19:24:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6y35TLnrrcrK2ZzzAruGYXRw/UQF4ZNPKtQW0uB6hpBELdBXZW0K7wKpt4omfYScm/OfV5 X-Received: by 2002:a17:902:d4cf:b0:1ac:6b92:70c8 with SMTP id o15-20020a170902d4cf00b001ac6b9270c8mr24676498plg.48.1683858274800; Thu, 11 May 2023 19:24:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683858274; cv=none; d=google.com; s=arc-20160816; b=0tLN0Gx1/B3eJGSwqbCMPwb8fJYCNIHqYj9ZZnUD0kw8MNxq71ByWqA8hHdvDy5n4R Ac9JBq2oqHhwTKB0e9GKfVEpFd8OCRvVsqgNsFLycmgfiuGegZL0VKO7yjVmKBKVgKW9 JdaPenoQ2jGOprXqONBGh5NHcxS0gz0DtV2HW3ekzCnVV/SFkqJ8k80NmOj1SEBVKNfk wBd+c4s7ozrD+ApwAf+JgvTPv85FnrEE/A3x3pidGnpIFF75xeCsqGjZAdaCUGqv2x6g PvHXpO1VUJzNKdj8VCfCRSdeIY/ohc8HMjD7v6+jLlGZ2DZyFSJoNjN+VBPO5QYJYhRb UNng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=gXqNfPggJVd1KlyQ41yc5b1lmYfr1ku/JbFW/SJa8HY=; b=wuvRtL3g2yvKf/VtJKbCke7JyOzhZ7J7a0WKfqhdf801eV4bciuNNDMPKT02+wWgJC 6aUsj1gveo49rGywdlZyY1eTqqWkwYVgyc4aHC8gwxq7sv+CGSlzTRC6OvoauLudSsHN ebYTJWEstpQgoWc/Mi2DtkrtbCped9gN8jko3qSaBMwbg8WdDhgxOY3qaLBYvqQAJ9X/ AmPFv7xl5dz7wPRx8cL7EbP5OpkQl4D9D1ZT5mVS5O8DbyufTvH1oaoaMZMJ5ByscJop n+1XuTexVrPW3ykEucYtPsqLkOVC2mnBP0FdiAmNhqM4OT1mKMebh5gXdwqhia4EdU8j rSQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p2-20020a170902bd0200b001a814f7db5fsi7585094pls.632.2023.05.11.19.24.23; Thu, 11 May 2023 19:24:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239803AbjELCWn convert rfc822-to-8bit (ORCPT + 99 others); Thu, 11 May 2023 22:22:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239784AbjELCWX (ORCPT ); Thu, 11 May 2023 22:22:23 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA0DE5BA9; Thu, 11 May 2023 19:22:20 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 36DD824E290; Fri, 12 May 2023 10:22:19 +0800 (CST) Received: from EXMBX061.cuchost.com (172.16.6.61) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 12 May 2023 10:22:19 +0800 Received: from localhost.localdomain (113.72.146.187) by EXMBX061.cuchost.com (172.16.6.61) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 12 May 2023 10:22:18 +0800 From: Xingyu Wu To: , , "Michael Turquette" , Stephen Boyd , Krzysztof Kozlowski , Philipp Zabel , Conor Dooley , "Emil Renner Berthing" CC: Rob Herring , Paul Walmsley , Palmer Dabbelt , Albert Ou , Hal Feng , Xingyu Wu , William Qiu , , Subject: [PATCH v4 7/7] riscv: dts: starfive: jh7110: Add PLL clock node and modify syscrg node Date: Fri, 12 May 2023 10:20:36 +0800 Message-ID: <20230512022036.97987-8-xingyu.wu@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230512022036.97987-1-xingyu.wu@starfivetech.com> References: <20230512022036.97987-1-xingyu.wu@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [113.72.146.187] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX061.cuchost.com (172.16.6.61) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the PLL clock node for the Starfive JH7110 SoC and modify the SYSCRG node to add PLL clocks input. Signed-off-by: Xingyu Wu --- arch/riscv/boot/dts/starfive/jh7110.dtsi | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi index fa27fd4169a8..cdfd036a0e6c 100644 --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi @@ -452,12 +452,16 @@ syscrg: clock-controller@13020000 { <&gmac1_rgmii_rxin>, <&i2stx_bclk_ext>, <&i2stx_lrck_ext>, <&i2srx_bclk_ext>, <&i2srx_lrck_ext>, - <&tdm_ext>, <&mclk_ext>; + <&tdm_ext>, <&mclk_ext>, + <&pllclk JH7110_CLK_PLL0_OUT>, + <&pllclk JH7110_CLK_PLL1_OUT>, + <&pllclk JH7110_CLK_PLL2_OUT>; clock-names = "osc", "gmac1_rmii_refin", "gmac1_rgmii_rxin", "i2stx_bclk_ext", "i2stx_lrck_ext", "i2srx_bclk_ext", "i2srx_lrck_ext", - "tdm_ext", "mclk_ext"; + "tdm_ext", "mclk_ext", + "pll0_out", "pll1_out", "pll2_out"; #clock-cells = <1>; #reset-cells = <1>; }; @@ -465,6 +469,12 @@ syscrg: clock-controller@13020000 { sys_syscon: syscon@13030000 { compatible = "starfive,jh7110-sys-syscon", "syscon", "simple-mfd"; reg = <0x0 0x13030000 0x0 0x1000>; + + pllclk: clock-controller { + compatible = "starfive,jh7110-pll"; + clocks = <&osc>; + #clock-cells = <1>; + }; }; sysgpio: pinctrl@13040000 { -- 2.25.1