devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: linux-amlogic@lists.infradead.org
Cc: "Carlo Caione" <carlo@caione.org>,
	"Kevin Hilman" <khilman@baylibre.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, "Andreas Färber" <afaerber@suse.de>,
	"Rob Herring" <robh+dt@kernel.org>,
	"Mark Rutland" <mark.rutland@arm.com>,
	"Catalin Marinas" <catalin.marinas@arm.com>,
	"Will Deacon" <will.deacon@arm.com>,
	devicetree@vger.kernel.org
Subject: [PATCH v2 10/18] arm64: dts: meson-gxbb: Fix node order
Date: Sat, 13 May 2017 16:33:29 +0200	[thread overview]
Message-ID: <20170513143337.14278-11-afaerber@suse.de> (raw)
In-Reply-To: <20170513143337.14278-1-afaerber@suse.de>

Sort nodes referenced by label alphabetically.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 v1 -> v2:
 * Rebased (new nodes added)
 
 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 171 +++++++++++++++-------------
 1 file changed, 91 insertions(+), 80 deletions(-)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
index 4afe1c46ec11..92dd5d1d73c8 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
@@ -97,13 +97,6 @@
 	};
 };
 
-&ethmac {
-	clocks = <&clkc CLKID_ETH>,
-		 <&clkc CLKID_FCLK_DIV2>,
-		 <&clkc CLKID_MPLL2>;
-	clock-names = "stmmaceth", "clkin0", "clkin1";
-};
-
 &aobus {
 	pinctrl_aobus: pinctrl@14 {
 		compatible = "amlogic,meson-gxbb-aobus-pinctrl";
@@ -252,6 +245,97 @@
 	};
 };
 
+&apb {
+	mali: gpu@c0000 {
+		compatible = "amlogic,meson-gxbb-mali", "arm,mali-450";
+		reg = <0x0 0xc0000 0x0 0x40000>;
+		interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-names = "gp", "gpmmu", "pp", "pmu",
+			"pp0", "ppmmu0", "pp1", "ppmmu1",
+			"pp2", "ppmmu2";
+		clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_MALI>;
+		clock-names = "bus", "core";
+
+		/*
+		 * Mali clocking is provided by two identical clock paths
+		 * MALI_0 and MALI_1 muxed to a single clock by a glitch
+		 * free mux to safely change frequency while running.
+		 */
+		assigned-clocks = <&clkc CLKID_MALI_0_SEL>,
+				  <&clkc CLKID_MALI_0>,
+				  <&clkc CLKID_MALI>; /* Glitch free mux */
+		assigned-clock-parents = <&clkc CLKID_FCLK_DIV3>,
+					 <0>, /* Do Nothing */
+					 <&clkc CLKID_MALI_0>;
+		assigned-clock-rates = <0>, /* Do Nothing */
+				       <666666666>,
+				       <0>; /* Do Nothing */
+	};
+};
+
+&cbus {
+	spifc: spi@8c80 {
+		compatible = "amlogic,meson-gxbb-spifc";
+		reg = <0x0 0x08c80 0x0 0x80>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		clocks = <&clkc CLKID_SPI>;
+		status = "disabled";
+	};
+};
+
+&ethmac {
+	clocks = <&clkc CLKID_ETH>,
+		 <&clkc CLKID_FCLK_DIV2>,
+		 <&clkc CLKID_MPLL2>;
+	clock-names = "stmmaceth", "clkin0", "clkin1";
+};
+
+&hdmi_tx {
+	compatible = "amlogic,meson-gxbb-dw-hdmi", "amlogic,meson-gx-dw-hdmi";
+	resets = <&reset RESET_HDMITX_CAPB3>,
+		 <&reset RESET_HDMI_SYSTEM_RESET>,
+		 <&reset RESET_HDMI_TX>;
+	reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
+	clocks = <&clkc CLKID_HDMI_PCLK>,
+		 <&clkc CLKID_CLK81>,
+		 <&clkc CLKID_GCLK_VENCI_INT0>;
+	clock-names = "isfr", "iahb", "venci";
+};
+
+&hiubus {
+	clkc: clock-controller@0 {
+		compatible = "amlogic,gxbb-clkc";
+		#clock-cells = <1>;
+		reg = <0x0 0x0 0x0 0x3db>;
+	};
+};
+
+&i2c_A {
+	clocks = <&clkc CLKID_I2C>;
+};
+
+&i2c_AO {
+	clocks = <&clkc CLKID_AO_I2C>;
+};
+
+&i2c_B {
+	clocks = <&clkc CLKID_I2C>;
+};
+
+&i2c_C {
+	clocks = <&clkc CLKID_I2C>;
+};
+
 &periphs {
 	pinctrl_periphs: pinctrl@4b0 {
 		compatible = "amlogic,meson-gxbb-periphs-pinctrl";
@@ -521,67 +605,6 @@
 	};
 };
 
-&hiubus {
-	clkc: clock-controller@0 {
-		compatible = "amlogic,gxbb-clkc";
-		#clock-cells = <1>;
-		reg = <0x0 0x0 0x0 0x3db>;
-	};
-};
-
-&apb {
-	mali: gpu@c0000 {
-		compatible = "amlogic,meson-gxbb-mali", "arm,mali-450";
-		reg = <0x0 0xc0000 0x0 0x40000>;
-		interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
-		interrupt-names = "gp", "gpmmu", "pp", "pmu",
-			"pp0", "ppmmu0", "pp1", "ppmmu1",
-			"pp2", "ppmmu2";
-		clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_MALI>;
-		clock-names = "bus", "core";
-
-		/*
-		 * Mali clocking is provided by two identical clock paths
-		 * MALI_0 and MALI_1 muxed to a single clock by a glitch
-		 * free mux to safely change frequency while running.
-		 */
-		assigned-clocks = <&clkc CLKID_MALI_0_SEL>,
-				  <&clkc CLKID_MALI_0>,
-				  <&clkc CLKID_MALI>; /* Glitch free mux */
-		assigned-clock-parents = <&clkc CLKID_FCLK_DIV3>,
-					 <0>, /* Do Nothing */
-					 <&clkc CLKID_MALI_0>;
-		assigned-clock-rates = <0>, /* Do Nothing */
-				       <666666666>,
-				       <0>; /* Do Nothing */
-	};
-};
-
-&i2c_A {
-	clocks = <&clkc CLKID_I2C>;
-};
-
-&i2c_AO {
-	clocks = <&clkc CLKID_AO_I2C>;
-};
-
-&i2c_B {
-	clocks = <&clkc CLKID_I2C>;
-};
-
-&i2c_C {
-	clocks = <&clkc CLKID_I2C>;
-};
-
 &saradc {
 	compatible = "amlogic,meson-gxbb-saradc", "amlogic,meson-saradc";
 	clocks = <&xtal>,
@@ -620,15 +643,3 @@
 &vpu {
 	compatible = "amlogic,meson-gxbb-vpu", "amlogic,meson-gx-vpu";
 };
-
-&hdmi_tx {
-	compatible = "amlogic,meson-gxbb-dw-hdmi", "amlogic,meson-gx-dw-hdmi";
-	resets = <&reset RESET_HDMITX_CAPB3>,
-		 <&reset RESET_HDMI_SYSTEM_RESET>,
-		 <&reset RESET_HDMI_TX>;
-	reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
-	clocks = <&clkc CLKID_HDMI_PCLK>,
-		 <&clkc CLKID_CLK81>,
-		 <&clkc CLKID_GCLK_VENCI_INT0>;
-	clock-names = "isfr", "iahb", "venci";
-};
-- 
2.12.0

  parent reply	other threads:[~2017-05-13 14:33 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-13 14:33 [PATCH v2 00/18] ARM64: meson: DT cleanups Andreas Färber
2017-05-13 14:33 ` [PATCH v2 01/18] dt-bindings: arm: amlogic: Reorder boards Andreas Färber
2017-05-15  8:07   ` Neil Armstrong
     [not found]   ` <20170513143337.14278-2-afaerber-l3A5Bk7waGM@public.gmane.org>
2017-05-19  1:27     ` Rob Herring
2017-05-13 14:33 ` [PATCH v2 02/18] arm64: dts: amlogic: Sort Makefile Andreas Färber
     [not found]   ` <20170513143337.14278-3-afaerber-l3A5Bk7waGM@public.gmane.org>
2017-05-14  4:28     ` Chris Moore
     [not found]       ` <2e9efe9b-6bfe-ab69-8811-c85e1a8ec9f9-GANU6spQydw@public.gmane.org>
2017-05-14 10:06         ` Andreas Färber
2017-05-13 14:33 ` [PATCH v2 03/18] arm64: dts: meson-gxbb-vega-s95: Fix Wifi node name Andreas Färber
2017-05-15  8:17   ` Neil Armstrong
     [not found] ` <20170513143337.14278-1-afaerber-l3A5Bk7waGM@public.gmane.org>
2017-05-13 14:33   ` [PATCH v2 04/18] arm64: dts: meson-gxbb-p20x: " Andreas Färber
     [not found]     ` <20170513143337.14278-5-afaerber-l3A5Bk7waGM@public.gmane.org>
2017-05-15  8:17       ` Neil Armstrong
2017-05-13 14:33   ` [PATCH v2 05/18] arm64: dts: meson-gx-p23x-q20x: " Andreas Färber
2017-05-15  8:17     ` Neil Armstrong
2017-05-13 14:33   ` [PATCH v2 12/18] arm64: dts: meson-gxbb-vega-s95: Fix node order Andreas Färber
2017-05-15  8:17     ` Neil Armstrong
2017-05-17 21:46   ` [PATCH v2 00/18] ARM64: meson: DT cleanups Kevin Hilman
     [not found]     ` <m2mvab88dh.fsf-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2017-05-20 15:48       ` Andreas Färber
2017-05-13 14:33 ` [PATCH v2 06/18] arm64: dts: meson-gxl-s905x-khadas-vim: Fix Wifi node name Andreas Färber
2017-05-15  8:17   ` Neil Armstrong
     [not found]   ` <20170513143337.14278-7-afaerber-l3A5Bk7waGM@public.gmane.org>
2017-05-15 20:16     ` Martin Blumenstingl
2017-05-13 14:33 ` [PATCH v2 07/18] arm64: dts: meson-gxm-nexbox-a1: Drop UART comment Andreas Färber
2017-05-15  8:17   ` Neil Armstrong
2017-05-13 14:33 ` [PATCH v2 08/18] arm64: dts: meson-gxl-s905x: Comment typo fix Andreas Färber
2017-05-15  8:17   ` Neil Armstrong
2017-05-13 14:33 ` [PATCH v2 09/18] arm64: dts: meson-gxbb-wetek-hub: Reference CVBS node by label Andreas Färber
     [not found]   ` <20170513143337.14278-10-afaerber-l3A5Bk7waGM@public.gmane.org>
2017-05-15  8:17     ` Neil Armstrong
2017-05-13 14:33 ` Andreas Färber [this message]
     [not found]   ` <20170513143337.14278-11-afaerber-l3A5Bk7waGM@public.gmane.org>
2017-05-15  8:17     ` [PATCH v2 10/18] arm64: dts: meson-gxbb: Fix node order Neil Armstrong
2017-05-15 18:56       ` Andreas Färber
2017-05-13 14:33 ` [PATCH v2 11/18] arm64: dts: meson-gxbb-odroidc2: " Andreas Färber
2017-05-15  8:17   ` Neil Armstrong
2017-05-13 14:33 ` [PATCH v2 13/18] arm64: dts: meson-gxbb-nexbox-a95x: " Andreas Färber
     [not found]   ` <20170513143337.14278-14-afaerber-l3A5Bk7waGM@public.gmane.org>
2017-05-15  8:17     ` Neil Armstrong
2017-05-13 14:33 ` [PATCH v2 14/18] arm64: dts: meson-gxbb-p20x: " Andreas Färber
2017-05-15  8:17   ` Neil Armstrong
2017-05-13 14:33 ` [PATCH v2 15/18] arm64: dts: meson-gxl: " Andreas Färber
2017-05-15  8:17   ` Neil Armstrong
2017-05-13 14:33 ` [PATCH v2 16/18] arm64: dts: meson-gxl-s905x-nexbox-a95x: " Andreas Färber
2017-05-15  8:17   ` Neil Armstrong
2017-05-13 14:33 ` [PATCH v2 17/18] arm64: dts: meson-gxm-nexbox-a1: " Andreas Färber
2017-05-15  8:16   ` Neil Armstrong
2017-05-13 14:33 ` [PATCH v2 18/18] arm64: dts: meson-gx-p23x-q20x: " Andreas Färber
2017-05-15  8:16   ` Neil Armstrong
2017-05-15  8:16 ` [PATCH v2 00/18] ARM64: meson: DT cleanups Neil Armstrong
     [not found]   ` <36c02d8a-d3e2-4330-f600-e49a1ba680e8-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2017-05-15 19:10     ` Andreas Färber
     [not found]       ` <5fb0130c-473e-dc15-b60c-e5b6144031ad-l3A5Bk7waGM@public.gmane.org>
2017-05-15 20:24         ` Martin Blumenstingl
     [not found]           ` <CAFBinCA18Y0CXvu4DtDnz=zvYxpqUNA5WRK5teO_T8zTVj4FnQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-20 13:50             ` Andreas Färber
2017-05-17 22:34         ` Kevin Hilman
     [not found]           ` <m2d1b75d0i.fsf-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2017-05-20 13:16             ` Andreas Färber
     [not found]               ` <8b61eb79-8a63-6f74-b461-30b99ceeecea-l3A5Bk7waGM@public.gmane.org>
2017-05-25 21:22                 ` Carlo Caione

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170513143337.14278-11-afaerber@suse.de \
    --to=afaerber@suse.de \
    --cc=carlo@caione.org \
    --cc=catalin.marinas@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=khilman@baylibre.com \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=will.deacon@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).