From patchwork Wed Feb 10 17:18:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12081327 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=-17.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable 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 F3C3BC433E0 for ; Wed, 10 Feb 2021 17:20:44 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8D0BA64EAA for ; Wed, 10 Feb 2021 17:20:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8D0BA64EAA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TWCVwWOLPlHPsdMHFPfXwl+9m6tssgrgz3TxCVJ1YbU=; b=BIVZIUZ86iwSQ/n9OwE/bnW6l N95ZwlX7xYacjgowqvo17jfA32MP3F8Img6sBF4qHYMzJdAx+KfBxlbS5Ugw14rHucxkZmsPqyotJ ZMTsRP9s5WUCHLvT3XP8L7pRuv+G/Lg6pQJ0X3PkhxQ/3JC82GuyTW+GcZ07QMysbFYm1wCxKUFfT KRSMh1LFqMZorPGpwgs7nO/KmWeKo9kC7OjzItD9VByAIBKZKp3adzQNHNTJJnxarvJ1QE7XgvVNK Iq2MofXhT7+zFDWV6YkJ9qXZqEFZ0iy8Yael2MijzW4PBHU1vFoNjkML+wQKAdtRU7DtB1L3p+p+i EeB0zkMhg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9t8y-00085f-Me; Wed, 10 Feb 2021 17:19:12 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9t8r-00083q-JC for linux-arm-kernel@lists.infradead.org; Wed, 10 Feb 2021 17:19:06 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5685364EBC; Wed, 10 Feb 2021 17:19:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612977544; bh=SVJBhSQhKo0sjCca2+rFaIzizC4yhNF5IW9Yq4LCxsE=; h=From:List-Id:To:Cc:Subject:Date:In-Reply-To:References:From; b=ikPTq2DO2xgh3nUYg/jJU7Y3b2CfVXw8NkTY+faY0NHPlxgTEoDNclnzqI53oH89p 6o0/os0sTzptEqRaEQ7N7zKRR96HNuotV2lQ7iX7o76FBoXN7Bw9oGzIj8gdfZ7lnn CHVqY+g7mBMcYep7PcraR4+2FuJKFjb7mOLCzh8nX2lBk+wCta9X4vjDgBfNhm9nbP KIKrmUxEjsFX2Rgi3SCH+lMsa+cAazAUXHrOFOJsVWBmDaunxVuGRt9Y35gb/Xp/p/ o26XbTUNmQqV/3fnurmna9bHF7uKGXZCLC1Ms3Am2fq5Uv6ZK17zogehCqEVW/iNaj cFZhxmgn9jX5w== From: Krzysztof Kozlowski List-Id: To: "Paul J. Murphy" , Daniele Alessandrelli , Rob Herring , Catalin Marinas , Will Deacon , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, arm@kernel.org, soc@kernel.org, Arnd Bergmann , Olof Johansson Subject: [RFT 04/11] arm64: dts: intel: socfpga_agilex: move clocks out of soc node Date: Wed, 10 Feb 2021 18:18:16 +0100 Message-Id: <20210210171823.333802-4-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210210171823.333802-1-krzk@kernel.org> References: <20210210171823.333802-1-krzk@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210210_121905_763939_3C513053 X-CRM114-Status: GOOD ( 11.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Krzysztof Kozlowski Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 e1c0fcba5c20..12b6d208e236 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>;