ARM: dt: tegra: sort nodes based on bus order
authorStephen Warren <swarren@nvidia.com>
Fri, 11 May 2012 23:03:26 +0000 (17:03 -0600)
committerStephen Warren <swarren@nvidia.com>
Mon, 14 May 2012 16:55:15 +0000 (10:55 -0600)
commitc04abb3a07b56db4756b6f970609e65a8624b0a3
tree8d3290dcd70672b60c1a269e4dd17279eace801c
parent2f32b1faa8c75e2e987c5b714ae25491d8477da5
ARM: dt: tegra: sort nodes based on bus order

Sort the nodes according to the following rules:
* First, any overrides for properties or nodes created by included files,
  in the order they appeared in the include file.
* Second, any nodes with a reg property, in numerical order.
* Third, any nodes without a reg property, in alphabetical order of node
  name.

The second sorting rule at least will probably help if/when we need to
explicitly insert nodes for the various busses in Tegra; that will just
be an indentation change rather than also a node re-ordering.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/tegra-cardhu.dts
arch/arm/boot/dts/tegra-harmony.dts
arch/arm/boot/dts/tegra-paz00.dts
arch/arm/boot/dts/tegra-seaboard.dts
arch/arm/boot/dts/tegra-trimslice.dts
arch/arm/boot/dts/tegra-ventana.dts
arch/arm/boot/dts/tegra20.dtsi
arch/arm/boot/dts/tegra30.dtsi