From patchwork Mon Mar 8 16:22:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12122911 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 194FBC433E0 for ; Mon, 8 Mar 2021 16:22:44 +0000 (UTC) Received: by mail.kernel.org (Postfix) id EA07265229; Mon, 8 Mar 2021 16:22:43 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 12A7D60241; Mon, 8 Mar 2021 16:22:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615220563; bh=PIWOuvauAMrcIkgKVxiqpGLJKvoBrIANiGRJ2kFz8GM=; h=From:List-Id:To:Cc:Subject:Date:In-Reply-To:References:From; b=aIlP9HjMotwDkezVXsAhzkuh7SyPrt0quVOpOiS/7HDjGFvmEEGXVHxIuWeE2yAyV GRbbe1t+DbJGTTAcU+OCylDXFVD42OMemTc5z7DzgShLCYrqcvFpixuOyuq6kQnmZs kNN0qBI2WAmeXh1ch3M7VWy63rlHnZxK2V9dNtbJ6W1SrUcbKyUXDXJ1UPszRBj44T 6SBEOpAZS/GR7tOIu51ajg5JZWvzi9J7Nq8JUZrXT+js1CgEZZLdUCLZPjt4Am6LRH s1j7iNcsFlDU4VM90mrIsGIHwv2qy3HeHjZDpkJ9lOGtEW40kSaVofc1JLfbq7V+ft Z7ChZpRScg7nA== From: Krzysztof Kozlowski List-Id: To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, arm@kernel.org, soc@kernel.org, Arnd Bergmann , Olof Johansson Cc: "Paul J. Murphy" , Daniele Alessandrelli , Rob Herring , Krzysztof Kozlowski Subject: [RESEND PATCH 03/10] arm64: dts: intel: socfpga_agilex: move clocks out of soc node Date: Mon, 8 Mar 2021 17:22:21 +0100 Message-Id: <20210308162228.62614-4-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210308162228.62614-1-krzk@kernel.org> References: <20210308162228.62614-1-krzk@kernel.org> MIME-Version: 1.0 The clocks are usually not part of the SoC but provided on the board (external oscillators). Moving them out of soc node fixes dtc warning: arch/arm64/boot/dts/intel/socfpga_agilex.dtsi:111.10-137.5: Warning (simple_bus_reg): /soc/clocks: missing or empty reg/ranges property Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi index 07c099b4ed5b..8f0736e4f3b5 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi @@ -87,6 +87,34 @@ intc: intc@fffc1000 { <0x0 0xfffc6000 0x0 0x2000>; }; + clocks { + cb_intosc_hs_div2_clk: cb-intosc-hs-div2-clk { + #clock-cells = <0>; + compatible = "fixed-clock"; + }; + + cb_intosc_ls_clk: cb-intosc-ls-clk { + #clock-cells = <0>; + compatible = "fixed-clock"; + }; + + f2s_free_clk: f2s-free-clk { + #clock-cells = <0>; + compatible = "fixed-clock"; + }; + + osc1: osc1 { + #clock-cells = <0>; + compatible = "fixed-clock"; + }; + + qspi_clk: qspi-clk { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <200000000>; + }; + }; + soc { #address-cells = <1>; #size-cells = <1>; @@ -108,34 +136,6 @@ clkmgr: clock-controller@ffd10000 { #clock-cells = <1>; }; - clocks { - cb_intosc_hs_div2_clk: cb-intosc-hs-div2-clk { - #clock-cells = <0>; - compatible = "fixed-clock"; - }; - - cb_intosc_ls_clk: cb-intosc-ls-clk { - #clock-cells = <0>; - compatible = "fixed-clock"; - }; - - f2s_free_clk: f2s-free-clk { - #clock-cells = <0>; - compatible = "fixed-clock"; - }; - - osc1: osc1 { - #clock-cells = <0>; - compatible = "fixed-clock"; - }; - - qspi_clk: qspi-clk { - #clock-cells = <0>; - compatible = "fixed-clock"; - clock-frequency = <200000000>; - }; - }; - gmac0: ethernet@ff800000 { compatible = "altr,socfpga-stmmac-a10-s10", "snps,dwmac-3.74a", "snps,dwmac"; reg = <0xff800000 0x2000>;