From patchwork Wed Jan 17 16:17:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10169893 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BD648603ED for ; Wed, 17 Jan 2018 16:25:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF9DC26E46 for ; Wed, 17 Jan 2018 16:25:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E45DC26E69; Wed, 17 Jan 2018 16:25:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6ED1527C05 for ; Wed, 17 Jan 2018 16:25:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=5kpnap75R069dHlFGkvH/oqetrswKJP9AzAO6peMuXk=; b=GBDnnwVYt2zoWavZtXz0AF1NGm 6eiEwkJlHq5wie6YuZhLWhtBl7NjDCrARGiOi8EkvVb68TSJFicl4ogmi0SLEj52IB6cWeDN1yw3C vBnSPkwIB1SuJntC8bd1pV5OOgss5Usveumoua8zgXwWTEvK8w79l7lXFM/YuGzIIcNnvmjcKfxKG BubiaDDr0cLDcehsw8pAr/+PRrfAo+Q/3S1uVuwAWWo1SPtw2As+eAWRZ29ewGOEdPNY2LNtAalG+ TcQVXM2LxjWl2eB3boVa/cEQeSrnJv3+jMMtlLll6omXFYYkFteL18CA9hv+gFnpy81ymijg+euh7 dPmt0JZg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ebqX8-00056N-ND; Wed, 17 Jan 2018 16:25:50 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ebqWk-0004l7-Ga for linux-arm-kernel@bombadil.infradead.org; Wed, 17 Jan 2018 16:25:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=akhOSifB58J3RWc19ua0yL9DxVFrsJTV1hZDJnkw2hk=; b=A+cDGIce0KcjtDbhznJhqrDMd c0Kcy0v4lKfhrj6GfBTRT1VjKPBGDVjdarjsFUZalRzdQULN5PcuTuDxbTc72H/sZPVFFhyHVGxEg 3ujXJoCs6QLUMTS/OkGJ1JVzGOsJGHY717MnC1gdGzeYuv0mq4jcfyvcGFDMbVKJlSwaHVcdYnDep 4dUBpUFDNlDiLQDmF3vhdnBOa2dVZK/l2ckPFMYNi05L2IhtO8GPjjrqR+exf+LNwq2aR1elBjzac k92mUF+b6R6nfaJQMpbbAR/q/TbTSWuJ0iOBi05e80wQe9PauKuJxo2YBaqntlGd7yQnR+/a6HdYF obqYugv6Q==; Received: from kirsty.vergenet.net ([202.4.237.240]) by merlin.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ebqWh-0001ll-IK for linux-arm-kernel@lists.infradead.org; Wed, 17 Jan 2018 16:25:24 +0000 Received: from penelope.horms.nl (unknown [217.111.208.18]) by kirsty.vergenet.net (Postfix) with ESMTPA id 7CECA25BEB8; Thu, 18 Jan 2018 03:19:43 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1516205984; bh=yWdi8PNk1hRrlHSc+i+E0qCmIrHW3ZGJ7SZSxwRM2jI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Byet0XVM3oftGokBqHUoiVl6xBE0dSUdQ2hU0iEyQVWqJ6S2lG2NTJCNS6OL61n7e T9moYLYiA849oM5OSAVE5PrLSiKQjy+l9WRsV13yKoz3IOyAisNA2Vgz10QEzoI3qT imudco+PiJjPKJR4YZ8eMn+16eFWu+5k3rOPSRp8= Received: by penelope.horms.nl (Postfix, from userid 7100) id 0FD9DE215C2; Wed, 17 Jan 2018 17:19:28 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH v2 12/16] ARM: dts: r8a7793: sort subnodes of root node Date: Wed, 17 Jan 2018 17:17:13 +0100 Message-Id: <20180117161717.14589-13-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180117161717.14589-1-horms+renesas@verge.net.au> References: <20180117161717.14589-1-horms+renesas@verge.net.au> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Simon Horman , Magnus Damm , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Sort the subnodes of the soc node to improve maintainability. The sort key is the address on the bus with instances of the same IP block grouped together. This patch should not introduce any functional change. Signed-off-by: Simon Horman Reviewed-by: Niklas Söderlund Reviewed-by: Geert Uytterhoeven --- v2 * New patch --- arch/arm/boot/dts/r8a7793.dtsi | 90 +++++++++++++++++++++--------------------- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi index f2b58a28cee9..aa7d7792fb13 100644 --- a/arch/arm/boot/dts/r8a7793.dtsi +++ b/arch/arm/boot/dts/r8a7793.dtsi @@ -31,6 +31,35 @@ spi0 = &qspi; }; + /* + * The external audio clocks are configured as 0 Hz fixed frequency + * clocks by default. + * Boards that provide audio clocks should override them. + */ + audio_clk_a: audio_clk_a { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + }; + audio_clk_b: audio_clk_b { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + }; + audio_clk_c: audio_clk_c { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + }; + + /* External CAN clock */ + can_clk: can { + compatible = "fixed-clock"; + #clock-cells = <0>; + /* This value must be overridden by the board. */ + clock-frequency = <0>; + }; + cpus { #address-cells = <1>; #size-cells = <0>; @@ -73,6 +102,22 @@ }; }; + /* External root clock */ + extal_clk: extal { + compatible = "fixed-clock"; + #clock-cells = <0>; + /* This value must be overridden by the board. */ + clock-frequency = <0>; + }; + + /* External SCIF clock */ + scif_clk: scif { + compatible = "fixed-clock"; + #clock-cells = <0>; + /* This value must be overridden by the board. */ + clock-frequency = <0>; + }; + soc { compatible = "simple-bus"; interrupt-parent = <&gic>; @@ -1342,55 +1387,10 @@ <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>; }; - /* External root clock */ - extal_clk: extal { - compatible = "fixed-clock"; - #clock-cells = <0>; - /* This value must be overridden by the board. */ - clock-frequency = <0>; - }; - - /* - * The external audio clocks are configured as 0 Hz fixed frequency - * clocks by default. - * Boards that provide audio clocks should override them. - */ - audio_clk_a: audio_clk_a { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <0>; - }; - audio_clk_b: audio_clk_b { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <0>; - }; - audio_clk_c: audio_clk_c { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <0>; - }; - /* External USB clock - can be overridden by the board */ usb_extal_clk: usb_extal { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <48000000>; }; - - /* External CAN clock */ - can_clk: can { - compatible = "fixed-clock"; - #clock-cells = <0>; - /* This value must be overridden by the board. */ - clock-frequency = <0>; - }; - - /* External SCIF clock */ - scif_clk: scif { - compatible = "fixed-clock"; - #clock-cells = <0>; - /* This value must be overridden by the board. */ - clock-frequency = <0>; - }; };