Skip to content

ARM: mvebu: sort DT nodes by reg address

Jason Cooper linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ARM: kirkwood: sort dt nodes by addressarch/arm/boot/dts/kirkwood.dtsi+70 -700 replies
2/4ARM: dove: sort DT nodes by addressarch/arm/boot/dts/dove.dtsi+248 -2480 replies
3/4ARM: orion5x: sort DT nodes by addressarch/arm/boot/dts/orion5x.dtsi+53 -530 replies
4/4ARM: mvebu: sort DT nodes by addressarch/arm/boot/dts/armada-370-xp.dtsi arch/arm/boot/dts/armada-370.dtsi arch/arm/boot/dts/armada-xp.dtsi+175 -1750 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] ARM: mvebu: sort DT nodes by reg address

Olof, all,

I love December! I'm getting around to some of the items on my -onice folder. Namely, this one:

Quoted 1 line · Olof Johansson

On Wed, Aug 14, 2013 at 02:59:45PM -0400, Jason Cooper wrote:

...

Quoted 36 lines
Quoted 36 lines
arch/arm/boot/dts/kirkwood.dtsi +24 -0
diff --cc arch/arm/boot/dts/kirkwood.dtsi
index 70f414d,1d6921d..6489b98
@@@ -47,11 -30,30 +40,35 @@@
            #address-cells = <1>;
            #size-cells = <1>;
 
+           timer: timer at 20300 {
+                   compatible = "marvell,orion-timer";
+                   reg = <0x20300 0x20>;
+                   interrupt-parent = <&bridge_intc>;
+                   interrupts = <1>, <2>;
+                   clocks = <&core_clk 0>;
+           };
+ 
+           intc: main-interrupt-ctrl at 20200 {
+                   compatible = "marvell,orion-intc";
+                   interrupt-controller;
+                   #interrupt-cells = <1>;
+                   reg = <0x20200 0x10>, <0x20210 0x10>;
+           };
+ 
+           bridge_intc: bridge-interrupt-ctrl at 20110 {
+                   compatible = "marvell,orion-bridge-intc";
+                   interrupt-controller;
+                   #interrupt-cells = <1>;
+                   reg = <0x20110 0x8>;
+                   interrupts = <1>;
+                   marvell,#interrupts = <6>;
+           };
+ 
 +          mbusc: mbus-controller at 20000 {
 +                  compatible = "marvell,mbus-controller";
 +                  reg = <0x20000 0x80>, <0x1500 0x20>;
 +          };
Quoted 8 lines
Quoted 4 lines

+

            core_clk: core-clocks at 10030 {
                    compatible = "marvell,kirkwood-core-clock";
                    reg = <0x10030 0x4>;

This file is a real mess. :( Nothing is sorted properly under the ocp/ bus. It's common to sort by memory address. Or I'd even take alphabetically if there was a good reason to do so. Just some order of some kind.

Done.

thx,

Jason.

Jason Cooper (4):
ARM: kirkwood: sort dt nodes by address
ARM: dove: sort DT nodes by address
ARM: orion5x: sort DT nodes by address
ARM: mvebu: sort DT nodes by address

 arch/arm/boot/dts/armada-370-xp.dtsi | 176 ++++++-------
 arch/arm/boot/dts/armada-370.dtsi    |  74 +++---
 arch/arm/boot/dts/armada-xp.dtsi     | 100 +++----
 arch/arm/boot/dts/dove.dtsi          | 496 +++++++++++++++++------------------
 arch/arm/boot/dts/kirkwood.dtsi      | 140 +++++-----
 arch/arm/boot/dts/orion5x.dtsi       | 106 ++++----
 6 files changed, 546 insertions(+), 546 deletions(-)
Signature · 1 line
1.8.5.1