From patchwork Mon Mar 8 16:22:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12122907 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.2 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,URIBL_BLOCKED,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 C68B0C433E0 for ; Mon, 8 Mar 2021 16:22:39 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 8A4C06521F; Mon, 8 Mar 2021 16:22:39 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 9817765230; Mon, 8 Mar 2021 16:22:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615220559; bh=DaxqMrSjGTPKPAeSFo0wHloyqcDmzR3MPAXDd4mr7CY=; h=From:List-Id:To:Cc:Subject:Date:In-Reply-To:References:From; b=DHAWb8216sL4pJA7s6bxkRegIiuTZ+aNXbN/0/reDIaybUnjnWAXOeP9S2XhKJjgQ 2B8+Ei/5D65nzYHbvu2/9Nlrq+GHit0wJdQ0ntogpnMrLz7N9sEooe+S/FpZFpP5A/ 0p8oruIf4Gk9DGUZu+gDni6Sytx2SLXKIhpEYdfmd/+MYmWH4VttaFMZR6okJO4YMk qXD1u/HpF4HN6C/ktSUkGCBjyFNgmmx++Ochpd80/lQaZwjQnoAAOcuw22kkZnqyfn m/Q+Mv/36SP1K3pZzLZKVz/g06WGmiw2I2jaAw13jNKdCyMWNCrrE8urpa5fnBGbw1 vu67DAwLSHqxg== 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 01/10] dt-bindings: arm: intel,keembay: limit the dtschema to root node Date: Mon, 8 Mar 2021 17:22:19 +0100 Message-Id: <20210308162228.62614-2-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 check for the board compatible should be limited only to the root node. Any other nodes with such compatible are not part of this schema and should not match. Signed-off-by: Krzysztof Kozlowski Acked-by: Daniele Alessandrelli --- Documentation/devicetree/bindings/arm/intel,keembay.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/intel,keembay.yaml b/Documentation/devicetree/bindings/arm/intel,keembay.yaml index 69cd30872928..107e686ab207 100644 --- a/Documentation/devicetree/bindings/arm/intel,keembay.yaml +++ b/Documentation/devicetree/bindings/arm/intel,keembay.yaml @@ -11,6 +11,8 @@ maintainers: - Daniele Alessandrelli properties: + $nodename: + const: '/' compatible: items: - enum: From patchwork Mon Mar 8 16:22:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12122909 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 EA66EC433E0 for ; Mon, 8 Mar 2021 16:22:41 +0000 (UTC) Received: by mail.kernel.org (Postfix) id BCA216522E; Mon, 8 Mar 2021 16:22:41 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id D849365226; Mon, 8 Mar 2021 16:22:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615220561; bh=ttjPRouIOPlSkyqjYj/ltvyLuVoeWCC/qc6EwvnywPw=; h=From:List-Id:To:Cc:Subject:Date:In-Reply-To:References:From; b=DiajB48UxAbLJpD+KQsgalkZq/PsHAA/Kt1GC2tSjfncWbMkrJWhLfK8nzumSFKTb HgCjIz/9Q3CxmX2T3JcJPgO2s7RAB0IddZY8SVu28UutzzRofWakcZTHU7QylnmzRc CVYBkuuXnAqiJZY+JH2UE+iRFUrpVA7Gb7K6VMg85TY4JA2/EMOEDCdQ8UY3LcRCBa NyC/B6QuoCnxyN44iqnhYPZQwr+cKkX0mLmz3rIonHH24WeMUB0RSpkgUjYcjtbxtC Xf1rX6INGaksgtzKzVWjRwwAOO8jCxxwzuWZLvrg+MkWs+awPhMAqHEnQ5E1wwmjeM Altlss4GdPmjA== 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 02/10] arm64: dts: intel: socfpga: override clocks by label Date: Mon, 8 Mar 2021 17:22:20 +0100 Message-Id: <20210308162228.62614-3-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 Using full paths to extend or override a device tree node is error prone. If there was a typo error, a new node will be created instead of extending the existing node. This will lead to run-time errors that could be hard to detect. A mistyped label on the other hand, will cause a dtc compile error (during build time). Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts | 12 ++++-------- .../boot/dts/intel/socfpga_agilex_socdk_nand.dts | 12 ++++-------- arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts | 12 ++++-------- 3 files changed, 12 insertions(+), 24 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts index a7a83f29f00b..f14a89ca8784 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts +++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts @@ -41,14 +41,6 @@ memory { /* We expect the bootloader to fill in the reg */ reg = <0 0 0 0>; }; - - soc { - clocks { - osc1 { - clock-frequency = <25000000>; - }; - }; - }; }; &gpio1 { @@ -92,6 +84,10 @@ &mmc { bus-width = <4>; }; +&osc1 { + clock-frequency = <25000000>; +}; + &uart0 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts index 979aa59a6bd0..58a827a5e83f 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts +++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts @@ -41,14 +41,6 @@ memory { /* We expect the bootloader to fill in the reg */ reg = <0 0 0 0>; }; - - soc { - clocks { - osc1 { - clock-frequency = <25000000>; - }; - }; - }; }; &gpio1 { @@ -121,6 +113,10 @@ partition@4280000 { }; }; +&osc1 { + clock-frequency = <25000000>; +}; + &uart0 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts index 5f56e2697fee..01f1307ce4ac 100644 --- a/arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts +++ b/arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts @@ -23,14 +23,6 @@ memory { /* We expect the bootloader to fill in the reg */ reg = <0 0 0 0>; }; - - soc { - clocks { - osc1 { - clock-frequency = <25000000>; - }; - }; - }; }; &clkmgr { @@ -44,6 +36,10 @@ &mmc { bus-width = <4>; }; +&osc1 { + clock-frequency = <25000000>; +}; + &uart0 { status = "okay"; }; 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>; From patchwork Mon Mar 8 16:22:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12122913 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 4AD1FC433DB for ; Mon, 8 Mar 2021 16:22:46 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 21CA965227; Mon, 8 Mar 2021 16:22:46 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 3F9DD6521F; Mon, 8 Mar 2021 16:22:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615220566; bh=MiNA1/sAgsAObqJ0tYp3uC1FL30SQ9+KFVnoH2XDBLY=; h=From:List-Id:To:Cc:Subject:Date:In-Reply-To:References:From; b=r2MfF+dDTbMmDrowZOR5yWhk3BX/EI0D9Z4zxrtgy2tVnQXWEEKNC+HL33Sa+4FJm KUSGJE05BSUJg3+C6rD9hlCW4cnkOCwbdy1Et7PQrI2lzNwijOcgd4x8fMzI8Y2QQn I10wtYY6MMKtP5RQjN0X23i2SYeY/7MHCkz2nY6/hxjy/HK6lftqYtl4ZdUUSgLG5y zNmS+RCZA+BZNbe5LpqYyR4EP1uQYYG7D+IcY+qTU15dDjXLCWhvTf7ozfCo23FL+W ApRE4YrS1SBl0M/L/KdptnD3eQLqN6WsN+zhyolCiGOTitIXaWu+TXqFEOG+bBZ0Ev xfNHTLhAeZsyQ== 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 04/10] arm64: dts: intel: socfpga_agilex: move timer out of soc node Date: Mon, 8 Mar 2021 17:22:22 +0100 Message-Id: <20210308162228.62614-5-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 ARM architected timer is part of ARM CPU design therefore by convention it should not be inside the soc node. This also fixes dtc warning like: arch/arm64/boot/dts/intel/socfpga_agilex.dtsi:410.9-416.5: Warning (simple_bus_reg): /soc/timer: missing or empty reg/ranges property Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi index 8f0736e4f3b5..25882faccbdb 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi @@ -115,6 +115,15 @@ qspi_clk: qspi-clk { }; }; + timer { + compatible = "arm,armv8-timer"; + interrupt-parent = <&intc>; + interrupts = <1 13 0xf08>, + <1 14 0xf08>, + <1 11 0xf08>, + <1 10 0xf08>; + }; + soc { #address-cells = <1>; #size-cells = <1>; @@ -406,15 +415,6 @@ sysmgr: sysmgr@ffd12000 { reg = <0xffd12000 0x500>; }; - /* Local timer */ - timer { - compatible = "arm,armv8-timer"; - interrupts = <1 13 0xf08>, - <1 14 0xf08>, - <1 11 0xf08>, - <1 10 0xf08>; - }; - timer0: timer0@ffc03000 { compatible = "snps,dw-apb-timer"; interrupts = <0 113 4>; From patchwork Mon Mar 8 16:22:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12122915 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 82DF5C433E0 for ; Mon, 8 Mar 2021 16:22:48 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 573956521F; Mon, 8 Mar 2021 16:22:48 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 6CA8A6522E; Mon, 8 Mar 2021 16:22:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615220568; bh=1pQf5As865nFveD7kdwkB2hGE6Xwl7BJYejgNXCQxyQ=; h=From:List-Id:To:Cc:Subject:Date:In-Reply-To:References:From; b=IPq65gTc2+pSvnQ4wwqzh7JxvAvAEpAVZJl7nQqgAWaKGEl/+Yv6vzWe3xrWZyDG7 Lpq+5Pnri3EV04a8vK6kf4f/24Qp4vWn8U42q3kaFViQ47tsWkmmY04qYC0uQUmqf3 DYnEdquXgmL19SI7NP6fd/V+kkw4zPR9mPUd3y/vRMaEjxxN/EyqtnBLR10EbKsGuM xol4ML9GwDu/8be7v7vJDcK97VCS1lhM4K53tqjtC+3J9wJblx1LymUgk+mOZjzYoj CUhDV199kGxEmuGJLE2bkUBxHELTF27n6EytBBrQr1JK4TFtttd4Ysr7BdBfqV2Hfd upblp+HXpfgAQ== 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 05/10] arm64: dts: intel: socfpga_agilex: remove default status=okay Date: Mon, 8 Mar 2021 17:22:23 +0100 Message-Id: <20210308162228.62614-6-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 New nodes are okay by default. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi index 25882faccbdb..f46d678ba775 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi @@ -472,7 +472,6 @@ uart1: serial1@ffc02100 { usbphy0: usbphy@0 { #phy-cells = <0>; compatible = "usb-nop-xceiv"; - status = "okay"; }; usb0: usb@ffb00000 { From patchwork Mon Mar 8 16:22:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12122917 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 A9A7CC433E0 for ; Mon, 8 Mar 2021 16:22:50 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 818F06522F; Mon, 8 Mar 2021 16:22:50 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id A0B9160241; Mon, 8 Mar 2021 16:22:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615220570; bh=WjQucMJgoQboQ4KTxNtenpqSOnYqYfMkrfDLFuaJnOM=; h=From:List-Id:To:Cc:Subject:Date:In-Reply-To:References:From; b=ViUStSZg6Pzi0fmtfT9braAo33N/AcfLgpA6uX7E7LvbM1erbRJhFTPolG8iAPGbA FK7E1ACIcZ0jaeYYioVOf5lm8K0mLQXNvzLw137KGndlytmFCqiPeSfJ/bHIfE2aB9 hif7L1qmPfCG347TKywHODtSXXTCdhk2AOmiZzRe9CZptjf04Z9EaPQ2O3E13dP8fO P0zLW/EFKzo7YCmi5bos7Bc8ULjX9WpVDDW0qse6QQZnIRr9wtc/l37ZwGuTkCLyzz Vuhj0fCrGCMSeolkGFLkqQ8UGQ8E8eZdTn1HfCP7RFipJ7uFF5bexJ1Z84tdTkeThE Y7fr+o46zUHOQ== 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 06/10] arm64: dts: intel: socfpga_agilex: move usbphy out of soc node Date: Mon, 8 Mar 2021 17:22:24 +0100 Message-Id: <20210308162228.62614-7-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 usual usb-nop-xceiv USB phy node should be under root node, to fix dtc warning: arch/arm64/boot/dts/intel/socfpga_agilex.dtsi:472.21-476.5: Warning (simple_bus_reg): /soc/usbphy@0: missing or empty reg/ranges property Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi index f46d678ba775..103de0a91e60 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi @@ -124,6 +124,11 @@ timer { <1 10 0xf08>; }; + usbphy0: usbphy { + #phy-cells = <0>; + compatible = "usb-nop-xceiv"; + }; + soc { #address-cells = <1>; #size-cells = <1>; @@ -469,11 +474,6 @@ uart1: serial1@ffc02100 { status = "disabled"; }; - usbphy0: usbphy@0 { - #phy-cells = <0>; - compatible = "usb-nop-xceiv"; - }; - usb0: usb@ffb00000 { compatible = "snps,dwc2"; reg = <0xffb00000 0x40000>; From patchwork Mon Mar 8 16:22:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12122919 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 E7496C433DB for ; Mon, 8 Mar 2021 16:22:52 +0000 (UTC) Received: by mail.kernel.org (Postfix) id ADFD565229; Mon, 8 Mar 2021 16:22:52 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id CC8F265226; Mon, 8 Mar 2021 16:22:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615220572; bh=N2FKYCxYHYMacsEgPp6VKziM1wlfB5xhGB4GrqvfuHk=; h=From:List-Id:To:Cc:Subject:Date:In-Reply-To:References:From; b=Vw+igGl4ogFiMx45VU8M+Di1YIez9MdtTywdd9z0enfi9avfBaPWB4pxcDlPtQRTz sRJ+h1F3AZp6Owy5YA/lLnSIkH0WXp019Yg4QwBOQ4y+lWtTcjufrRvKAAl+NEjUkd 7pXtW2VwXYIcRL8s4/eqYoheSCxsslXtjHtD4aijhrbzagyzKYBZPAliTumPY5lNnC EWHILnkWQEvoWKodhxtzPK5F40VlGr6jLXOg4k6CH8pUGdyTAH6Sle0fc+2Bea9hlL SKSMpiPek5htupQNTttwnBqpnEQzpUS1lp3ZfyQy1xTQAXn76Hyruo/o7IwJ6i3Iyp C1bZmG9NZj66w== 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 07/10] arm64: dts: intel: socfpga_agilex: use defined for GIC interrupts Date: Mon, 8 Mar 2021 17:22:25 +0100 Message-Id: <20210308162228.62614-8-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 Use human-readable defines for GIC interrupt type and flag, instead of hard-coding the numbers. It makes review easier. No functional change. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 137 +++++++++++------- 1 file changed, 82 insertions(+), 55 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi index 103de0a91e60..3cba4c03d560 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi @@ -6,6 +6,7 @@ /dts-v1/; #include #include +#include #include / { @@ -61,10 +62,10 @@ cpu3: cpu@3 { pmu { compatible = "arm,armv8-pmuv3"; - interrupts = <0 170 4>, - <0 171 4>, - <0 172 4>, - <0 173 4>; + interrupts = , + , + , + ; interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, @@ -118,10 +119,10 @@ qspi_clk: qspi-clk { timer { compatible = "arm,armv8-timer"; interrupt-parent = <&intc>; - interrupts = <1 13 0xf08>, - <1 14 0xf08>, - <1 11 0xf08>, - <1 10 0xf08>; + interrupts = , + , + , + ; }; usbphy0: usbphy { @@ -153,7 +154,7 @@ clkmgr: clock-controller@ffd10000 { gmac0: ethernet@ff800000 { compatible = "altr,socfpga-stmmac-a10-s10", "snps,dwmac-3.74a", "snps,dwmac"; reg = <0xff800000 0x2000>; - interrupts = <0 90 4>; + interrupts = ; interrupt-names = "macirq"; mac-address = [00 00 00 00 00 00]; resets = <&rst EMAC0_RESET>, <&rst EMAC0_OCP_RESET>; @@ -171,7 +172,7 @@ gmac0: ethernet@ff800000 { gmac1: ethernet@ff802000 { compatible = "altr,socfpga-stmmac-a10-s10", "snps,dwmac-3.74a", "snps,dwmac"; reg = <0xff802000 0x2000>; - interrupts = <0 91 4>; + interrupts = ; interrupt-names = "macirq"; mac-address = [00 00 00 00 00 00]; resets = <&rst EMAC1_RESET>, <&rst EMAC1_OCP_RESET>; @@ -189,7 +190,7 @@ gmac1: ethernet@ff802000 { gmac2: ethernet@ff804000 { compatible = "altr,socfpga-stmmac-a10-s10", "snps,dwmac-3.74a", "snps,dwmac"; reg = <0xff804000 0x2000>; - interrupts = <0 92 4>; + interrupts = ; interrupt-names = "macirq"; mac-address = [00 00 00 00 00 00]; resets = <&rst EMAC2_RESET>, <&rst EMAC2_OCP_RESET>; @@ -220,7 +221,7 @@ porta: gpio-controller@0 { reg = <0>; interrupt-controller; #interrupt-cells = <2>; - interrupts = <0 110 4>; + interrupts = ; }; }; @@ -240,7 +241,7 @@ portb: gpio-controller@0 { reg = <0>; interrupt-controller; #interrupt-cells = <2>; - interrupts = <0 111 4>; + interrupts = ; }; }; @@ -249,7 +250,7 @@ i2c0: i2c@ffc02800 { #size-cells = <0>; compatible = "snps,designware-i2c"; reg = <0xffc02800 0x100>; - interrupts = <0 103 4>; + interrupts = ; resets = <&rst I2C0_RESET>; clocks = <&clkmgr AGILEX_L4_SP_CLK>; status = "disabled"; @@ -260,7 +261,7 @@ i2c1: i2c@ffc02900 { #size-cells = <0>; compatible = "snps,designware-i2c"; reg = <0xffc02900 0x100>; - interrupts = <0 104 4>; + interrupts = ; resets = <&rst I2C1_RESET>; clocks = <&clkmgr AGILEX_L4_SP_CLK>; status = "disabled"; @@ -271,7 +272,7 @@ i2c2: i2c@ffc02a00 { #size-cells = <0>; compatible = "snps,designware-i2c"; reg = <0xffc02a00 0x100>; - interrupts = <0 105 4>; + interrupts = ; resets = <&rst I2C2_RESET>; clocks = <&clkmgr AGILEX_L4_SP_CLK>; status = "disabled"; @@ -282,7 +283,7 @@ i2c3: i2c@ffc02b00 { #size-cells = <0>; compatible = "snps,designware-i2c"; reg = <0xffc02b00 0x100>; - interrupts = <0 106 4>; + interrupts = ; resets = <&rst I2C3_RESET>; clocks = <&clkmgr AGILEX_L4_SP_CLK>; status = "disabled"; @@ -293,7 +294,7 @@ i2c4: i2c@ffc02c00 { #size-cells = <0>; compatible = "snps,designware-i2c"; reg = <0xffc02c00 0x100>; - interrupts = <0 107 4>; + interrupts = ; resets = <&rst I2C4_RESET>; clocks = <&clkmgr AGILEX_L4_SP_CLK>; status = "disabled"; @@ -304,7 +305,7 @@ mmc: dwmmc0@ff808000 { #size-cells = <0>; compatible = "altr,socfpga-dw-mshc"; reg = <0xff808000 0x1000>; - interrupts = <0 96 4>; + interrupts = ; fifo-depth = <0x400>; resets = <&rst SDMMC_RESET>; reset-names = "reset"; @@ -322,7 +323,7 @@ nand: nand@ffb90000 { reg = <0xffb90000 0x10000>, <0xffb80000 0x1000>; reg-names = "nand_data", "denali_reg"; - interrupts = <0 97 4>; + interrupts = ; clocks = <&clkmgr AGILEX_NAND_CLK>, <&clkmgr AGILEX_NAND_X_CLK>, <&clkmgr AGILEX_NAND_ECC_CLK>; @@ -339,15 +340,15 @@ ocram: sram@ffe00000 { pdma: pdma@ffda0000 { compatible = "arm,pl330", "arm,primecell"; reg = <0xffda0000 0x1000>; - interrupts = <0 81 4>, - <0 82 4>, - <0 83 4>, - <0 84 4>, - <0 85 4>, - <0 86 4>, - <0 87 4>, - <0 88 4>, - <0 89 4>; + interrupts = , + , + , + , + , + , + , + , + ; #dma-cells = <1>; #dma-channels = <8>; #dma-requests = <32>; @@ -369,17 +370,43 @@ smmu: iommu@fa000000 { #global-interrupts = <2>; #iommu-cells = <1>; interrupt-parent = <&intc>; - interrupts = <0 128 4>, /* Global Secure Fault */ - <0 129 4>, /* Global Non-secure Fault */ + /* Global Secure Fault */ + interrupts = , + /* Global Non-secure Fault */ + , /* Non-secure Context Interrupts (32) */ - <0 138 4>, <0 139 4>, <0 140 4>, <0 141 4>, - <0 142 4>, <0 143 4>, <0 144 4>, <0 145 4>, - <0 146 4>, <0 147 4>, <0 148 4>, <0 149 4>, - <0 150 4>, <0 151 4>, <0 152 4>, <0 153 4>, - <0 154 4>, <0 155 4>, <0 156 4>, <0 157 4>, - <0 158 4>, <0 159 4>, <0 160 4>, <0 161 4>, - <0 162 4>, <0 163 4>, <0 164 4>, <0 165 4>, - <0 166 4>, <0 167 4>, <0 168 4>, <0 169 4>; + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; stream-match-mask = <0x7ff0>; clocks = <&clkmgr AGILEX_MPU_CCU_CLK>, <&clkmgr AGILEX_L3_MAIN_FREE_CLK>, @@ -392,7 +419,7 @@ spi0: spi@ffda4000 { #address-cells = <1>; #size-cells = <0>; reg = <0xffda4000 0x1000>; - interrupts = <0 99 4>; + interrupts = ; resets = <&rst SPIM0_RESET>; reset-names = "spi"; reg-io-width = <4>; @@ -406,7 +433,7 @@ spi1: spi@ffda5000 { #address-cells = <1>; #size-cells = <0>; reg = <0xffda5000 0x1000>; - interrupts = <0 100 4>; + interrupts = ; resets = <&rst SPIM1_RESET>; reset-names = "spi"; reg-io-width = <4>; @@ -422,7 +449,7 @@ sysmgr: sysmgr@ffd12000 { timer0: timer0@ffc03000 { compatible = "snps,dw-apb-timer"; - interrupts = <0 113 4>; + interrupts = ; reg = <0xffc03000 0x100>; clocks = <&clkmgr AGILEX_L4_SP_CLK>; clock-names = "timer"; @@ -430,7 +457,7 @@ timer0: timer0@ffc03000 { timer1: timer1@ffc03100 { compatible = "snps,dw-apb-timer"; - interrupts = <0 114 4>; + interrupts = ; reg = <0xffc03100 0x100>; clocks = <&clkmgr AGILEX_L4_SP_CLK>; clock-names = "timer"; @@ -438,7 +465,7 @@ timer1: timer1@ffc03100 { timer2: timer2@ffd00000 { compatible = "snps,dw-apb-timer"; - interrupts = <0 115 4>; + interrupts = ; reg = <0xffd00000 0x100>; clocks = <&clkmgr AGILEX_L4_SP_CLK>; clock-names = "timer"; @@ -446,7 +473,7 @@ timer2: timer2@ffd00000 { timer3: timer3@ffd00100 { compatible = "snps,dw-apb-timer"; - interrupts = <0 116 4>; + interrupts = ; reg = <0xffd00100 0x100>; clocks = <&clkmgr AGILEX_L4_SP_CLK>; clock-names = "timer"; @@ -455,7 +482,7 @@ timer3: timer3@ffd00100 { uart0: serial0@ffc02000 { compatible = "snps,dw-apb-uart"; reg = <0xffc02000 0x100>; - interrupts = <0 108 4>; + interrupts = ; reg-shift = <2>; reg-io-width = <4>; resets = <&rst UART0_RESET>; @@ -466,7 +493,7 @@ uart0: serial0@ffc02000 { uart1: serial1@ffc02100 { compatible = "snps,dw-apb-uart"; reg = <0xffc02100 0x100>; - interrupts = <0 109 4>; + interrupts = ; reg-shift = <2>; reg-io-width = <4>; resets = <&rst UART1_RESET>; @@ -477,7 +504,7 @@ uart1: serial1@ffc02100 { usb0: usb@ffb00000 { compatible = "snps,dwc2"; reg = <0xffb00000 0x40000>; - interrupts = <0 93 4>; + interrupts = ; phys = <&usbphy0>; phy-names = "usb2-phy"; resets = <&rst USB0_RESET>, <&rst USB0_OCP_RESET>; @@ -490,7 +517,7 @@ usb0: usb@ffb00000 { usb1: usb@ffb40000 { compatible = "snps,dwc2"; reg = <0xffb40000 0x40000>; - interrupts = <0 94 4>; + interrupts = ; phys = <&usbphy0>; phy-names = "usb2-phy"; resets = <&rst USB1_RESET>, <&rst USB1_OCP_RESET>; @@ -503,7 +530,7 @@ usb1: usb@ffb40000 { watchdog0: watchdog@ffd00200 { compatible = "snps,dw-wdt"; reg = <0xffd00200 0x100>; - interrupts = <0 117 4>; + interrupts = ; resets = <&rst WATCHDOG0_RESET>; clocks = <&clkmgr AGILEX_L4_SYS_FREE_CLK>; status = "disabled"; @@ -512,7 +539,7 @@ watchdog0: watchdog@ffd00200 { watchdog1: watchdog@ffd00300 { compatible = "snps,dw-wdt"; reg = <0xffd00300 0x100>; - interrupts = <0 118 4>; + interrupts = ; resets = <&rst WATCHDOG1_RESET>; clocks = <&clkmgr AGILEX_L4_SYS_FREE_CLK>; status = "disabled"; @@ -521,7 +548,7 @@ watchdog1: watchdog@ffd00300 { watchdog2: watchdog@ffd00400 { compatible = "snps,dw-wdt"; reg = <0xffd00400 0x100>; - interrupts = <0 125 4>; + interrupts = ; resets = <&rst WATCHDOG2_RESET>; clocks = <&clkmgr AGILEX_L4_SYS_FREE_CLK>; status = "disabled"; @@ -530,7 +557,7 @@ watchdog2: watchdog@ffd00400 { watchdog3: watchdog@ffd00500 { compatible = "snps,dw-wdt"; reg = <0xffd00500 0x100>; - interrupts = <0 126 4>; + interrupts = ; resets = <&rst WATCHDOG3_RESET>; clocks = <&clkmgr AGILEX_L4_SYS_FREE_CLK>; status = "disabled"; @@ -547,7 +574,7 @@ eccmgr { altr,sysmgr-syscon = <&sysmgr>; #address-cells = <1>; #size-cells = <1>; - interrupts = <0 15 4>; + interrupts = ; interrupt-controller; #interrupt-cells = <2>; ranges; @@ -606,7 +633,7 @@ qspi: spi@ff8d2000 { #size-cells = <0>; reg = <0xff8d2000 0x100>, <0xff900000 0x100000>; - interrupts = <0 3 4>; + interrupts = ; cdns,fifo-depth = <128>; cdns,fifo-width = <4>; cdns,trigger-address = <0x00000000>; From patchwork Mon Mar 8 16:22:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12122921 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 14BCEC433E6 for ; Mon, 8 Mar 2021 16:22:55 +0000 (UTC) Received: by mail.kernel.org (Postfix) id D86EA65227; Mon, 8 Mar 2021 16:22:54 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 030F16522B; Mon, 8 Mar 2021 16:22:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615220574; bh=1RA/yRxBOCs6FoTAm1zSc0Sywe7/BN7TKdPLvBvA7rY=; h=From:List-Id:To:Cc:Subject:Date:In-Reply-To:References:From; b=p0mR/YYwQlu+8rKD6T2VeuZscVos5YWqS68cVzz0NCL8IUJZ26Bc7OSkUrTX2+PsS xsB3lf4H9Mz8Ju4zsC6JTuDK2b7QmwmBMmA27IiwUI28mhg6+8nBkFu4v5U9AnrLnO z9P94sHQ92+hPNSVs8PvqcUFhZDIoDIluPJCE1ocJ5Mfwt9NiZtdLHKDcTfqdHUKeA S0EVQw1OZsmW+ErEgV2Dp823aUDawnjmTg/LiAjsjpZVcv4mQDDj+OONg9sNeDlCNX mqyAKqvOeVsYbSrPXo66YhHjDMeli2rW2DNpx2Zoh9gPc0SxK7ylh5IampJRHFrvlr 0AafFU6z258Qg== 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 08/10] arm64: dts: intel: socfpga_agilex: align node names with dtschema Date: Mon, 8 Mar 2021 17:22:26 +0100 Message-Id: <20210308162228.62614-9-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 Align the NAND, GIC and UART node names with dtschema to silence dtbs_check warnings like: arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dt.yaml: intc@fffc1000: $nodename:0: 'intc@fffc1000' does not match '^interrupt-controller(@[0-9a-f,]+)*$' arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dt.yaml: serial0@ffc02000: $nodename:0: 'serial0@ffc02000' does not match '^serial(@[0-9a-f,]+)*$' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi index 3cba4c03d560..163f33b46e4f 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi @@ -78,7 +78,7 @@ psci { method = "smc"; }; - intc: intc@fffc1000 { + intc: interrupt-controller@fffc1000 { compatible = "arm,gic-400", "arm,cortex-a15-gic"; #interrupt-cells = <3>; interrupt-controller; @@ -316,7 +316,7 @@ mmc: dwmmc0@ff808000 { status = "disabled"; }; - nand: nand@ffb90000 { + nand: nand-controller@ffb90000 { #address-cells = <1>; #size-cells = <0>; compatible = "altr,socfpga-denali-nand"; @@ -479,7 +479,7 @@ timer3: timer3@ffd00100 { clock-names = "timer"; }; - uart0: serial0@ffc02000 { + uart0: serial@ffc02000 { compatible = "snps,dw-apb-uart"; reg = <0xffc02000 0x100>; interrupts = ; @@ -490,7 +490,7 @@ uart0: serial0@ffc02000 { clocks = <&clkmgr AGILEX_L4_SP_CLK>; }; - uart1: serial1@ffc02100 { + uart1: serial@ffc02100 { compatible = "snps,dw-apb-uart"; reg = <0xffc02100 0x100>; interrupts = ; From patchwork Mon Mar 8 16:22:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12122923 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 38033C433DB for ; Mon, 8 Mar 2021 16:22:57 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 0E93965229; Mon, 8 Mar 2021 16:22:57 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 2E09E65226; Mon, 8 Mar 2021 16:22:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615220577; bh=9KKk5ehnWrA7UtNnP6QtrHqBtIqhTlf0+HSb9xqWDLA=; h=From:List-Id:To:Cc:Subject:Date:In-Reply-To:References:From; b=nVaOXJRzdqlB1xBtYSmcxlPTIbfG059YSC4JblxmuIymQ4aUNkRtRQdPgcvVI/PQA C5HZeHa/uRgldMoTk5aohP0ZdOpR9To0qP0xc5NIGhNEkBww1CXCqmaMrfrxq8iAFu Yppar04KoRZe4pUz1etkjEEIbkba42mu+8gxbc9hw+Bp/T8vwjRu4vf4bn+pZ2b3M8 ja4RNtCa6YTWwoR+t6mNOylnSCnPAH69K9ubj/fte8BQEu2+DZffPmmJyuh2f3/SUg z3pETJkquQdAXKKYnPoCCTisKndb47VjoNC1MkaSVTwzT6szOWmYFGiNOpWUsXpUnp gDMN/V/6H2KIw== 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 09/10] arm64: dts: intel: socfpga_agilex_socdk: align LED node names with dtschema Date: Mon, 8 Mar 2021 17:22:27 +0100 Message-Id: <20210308162228.62614-10-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 Align the LED node names with dtschema to silence dtbs_check warnings like: leds: 'hps0', 'hps1', 'hps2' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts index f14a89ca8784..13718ab5ed91 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts +++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts @@ -20,17 +20,17 @@ chosen { leds { compatible = "gpio-leds"; - hps0 { + led0 { label = "hps_led0"; gpios = <&portb 20 GPIO_ACTIVE_HIGH>; }; - hps1 { + led1 { label = "hps_led1"; gpios = <&portb 19 GPIO_ACTIVE_HIGH>; }; - hps2 { + led2 { label = "hps_led2"; gpios = <&portb 21 GPIO_ACTIVE_HIGH>; }; From patchwork Mon Mar 8 16:22:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12122925 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 590B6C433E0 for ; Mon, 8 Mar 2021 16:22:59 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 391E165227; Mon, 8 Mar 2021 16:22:59 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 5849E6521F; Mon, 8 Mar 2021 16:22:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615220579; bh=lUobpB2+foAOvaqKEW2gF9nAkNBxrYowZDqmODWTi1g=; h=From:List-Id:To:Cc:Subject:Date:In-Reply-To:References:From; b=mpC/a122aVQ92lRNCATZs4/PbQsBJomB3g1D3D5tzoMFuY2Lw1MR3Or99y0poOw/s NNTPVgTmAj/Ycfs75URlndCax4FfjTvcW9IpmLcXQIo26pNW1tXr+2kkEa1ebLkWzp fcLhIMybTGDsDurZqNSpUbpvPzlWf6AER7EdyshECd8tkxHznoYPZpj8LZ+LOfmqCB w0a416/OHYqNbGI4CbUt1AJq1rwcuS/YYzm16E2kefjfCDJLHwKQPyin+VF3oWlyi2 0pPNpi1/Q4BluA9N5o5wPryel71usmyopBA3NkdK0d65OCDm6v6roS1RtKER56/7Fe /BfT9P59F/1NA== 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 10/10] arm64: dts: intel: socfpga_agilex_socdk_nand: align LED node names with dtschema Date: Mon, 8 Mar 2021 17:22:28 +0100 Message-Id: <20210308162228.62614-11-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 Align the LED node names with dtschema to silence dtbs_check warnings like: leds: 'hps0', 'hps1', 'hps2' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts index 58a827a5e83f..cc2dcabf34e3 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts +++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts @@ -20,17 +20,17 @@ chosen { leds { compatible = "gpio-leds"; - hps0 { + led0 { label = "hps_led0"; gpios = <&portb 20 GPIO_ACTIVE_HIGH>; }; - hps1 { + led1 { label = "hps_led1"; gpios = <&portb 19 GPIO_ACTIVE_HIGH>; }; - hps2 { + led2 { label = "hps_led2"; gpios = <&portb 21 GPIO_ACTIVE_HIGH>; };