diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-05-11 19:03:26 -0400 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-05-14 12:55:15 -0400 |
commit | c04abb3a07b56db4756b6f970609e65a8624b0a3 (patch) | |
tree | 8d3290dcd70672b60c1a269e4dd17279eace801c /arch/arm/boot/dts/tegra20.dtsi | |
parent | 2f32b1faa8c75e2e987c5b714ae25491d8477da5 (diff) |
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>
Diffstat (limited to 'arch/arm/boot/dts/tegra20.dtsi')
-rw-r--r-- | arch/arm/boot/dts/tegra20.dtsi | 182 |
1 files changed, 91 insertions, 91 deletions
diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index 5f9110af43b1..0e371f92d1d2 100644 --- a/arch/arm/boot/dts/tegra20.dtsi +++ b/arch/arm/boot/dts/tegra20.dtsi | |||
@@ -4,11 +4,6 @@ | |||
4 | compatible = "nvidia,tegra20"; | 4 | compatible = "nvidia,tegra20"; |
5 | interrupt-parent = <&intc>; | 5 | interrupt-parent = <&intc>; |
6 | 6 | ||
7 | pmc { | ||
8 | compatible = "nvidia,tegra20-pmc"; | ||
9 | reg = <0x7000e400 0x400>; | ||
10 | }; | ||
11 | |||
12 | intc: interrupt-controller { | 7 | intc: interrupt-controller { |
13 | compatible = "arm,cortex-a9-gic"; | 8 | compatible = "arm,cortex-a9-gic"; |
14 | interrupt-controller; | 9 | interrupt-controller; |
@@ -17,12 +12,6 @@ | |||
17 | 0x50040100 0x0100>; | 12 | 0x50040100 0x0100>; |
18 | }; | 13 | }; |
19 | 14 | ||
20 | pmu { | ||
21 | compatible = "arm,cortex-a9-pmu"; | ||
22 | interrupts = <0 56 0x04 | ||
23 | 0 57 0x04>; | ||
24 | }; | ||
25 | |||
26 | apbdma: dma { | 15 | apbdma: dma { |
27 | compatible = "nvidia,tegra20-apbdma"; | 16 | compatible = "nvidia,tegra20-apbdma"; |
28 | reg = <0x6000a000 0x1200>; | 17 | reg = <0x6000a000 0x1200>; |
@@ -44,55 +33,9 @@ | |||
44 | 0 119 0x04>; | 33 | 0 119 0x04>; |
45 | }; | 34 | }; |
46 | 35 | ||
47 | i2c@7000c000 { | 36 | ahb { |
48 | #address-cells = <1>; | 37 | compatible = "nvidia,tegra20-ahb"; |
49 | #size-cells = <0>; | 38 | reg = <0x6000c004 0x10c>; /* AHB Arbitration + Gizmo Controller */ |
50 | compatible = "nvidia,tegra20-i2c"; | ||
51 | reg = <0x7000c000 0x100>; | ||
52 | interrupts = <0 38 0x04>; | ||
53 | }; | ||
54 | |||
55 | i2c@7000c400 { | ||
56 | #address-cells = <1>; | ||
57 | #size-cells = <0>; | ||
58 | compatible = "nvidia,tegra20-i2c"; | ||
59 | reg = <0x7000c400 0x100>; | ||
60 | interrupts = <0 84 0x04>; | ||
61 | }; | ||
62 | |||
63 | i2c@7000c500 { | ||
64 | #address-cells = <1>; | ||
65 | #size-cells = <0>; | ||
66 | compatible = "nvidia,tegra20-i2c"; | ||
67 | reg = <0x7000c500 0x100>; | ||
68 | interrupts = <0 92 0x04>; | ||
69 | }; | ||
70 | |||
71 | i2c@7000d000 { | ||
72 | #address-cells = <1>; | ||
73 | #size-cells = <0>; | ||
74 | compatible = "nvidia,tegra20-i2c-dvc"; | ||
75 | reg = <0x7000d000 0x200>; | ||
76 | interrupts = <0 53 0x04>; | ||
77 | }; | ||
78 | |||
79 | tegra_i2s1: i2s@70002800 { | ||
80 | compatible = "nvidia,tegra20-i2s"; | ||
81 | reg = <0x70002800 0x200>; | ||
82 | interrupts = <0 13 0x04>; | ||
83 | nvidia,dma-request-selector = <&apbdma 2>; | ||
84 | }; | ||
85 | |||
86 | tegra_i2s2: i2s@70002a00 { | ||
87 | compatible = "nvidia,tegra20-i2s"; | ||
88 | reg = <0x70002a00 0x200>; | ||
89 | interrupts = <0 3 0x04>; | ||
90 | nvidia,dma-request-selector = <&apbdma 1>; | ||
91 | }; | ||
92 | |||
93 | das { | ||
94 | compatible = "nvidia,tegra20-das"; | ||
95 | reg = <0x70000c00 0x80>; | ||
96 | }; | 39 | }; |
97 | 40 | ||
98 | gpio: gpio { | 41 | gpio: gpio { |
@@ -119,6 +62,25 @@ | |||
119 | 0x70000868 0xa8>; /* Pad control registers */ | 62 | 0x70000868 0xa8>; /* Pad control registers */ |
120 | }; | 63 | }; |
121 | 64 | ||
65 | das { | ||
66 | compatible = "nvidia,tegra20-das"; | ||
67 | reg = <0x70000c00 0x80>; | ||
68 | }; | ||
69 | |||
70 | tegra_i2s1: i2s@70002800 { | ||
71 | compatible = "nvidia,tegra20-i2s"; | ||
72 | reg = <0x70002800 0x200>; | ||
73 | interrupts = <0 13 0x04>; | ||
74 | nvidia,dma-request-selector = <&apbdma 2>; | ||
75 | }; | ||
76 | |||
77 | tegra_i2s2: i2s@70002a00 { | ||
78 | compatible = "nvidia,tegra20-i2s"; | ||
79 | reg = <0x70002a00 0x200>; | ||
80 | interrupts = <0 3 0x04>; | ||
81 | nvidia,dma-request-selector = <&apbdma 1>; | ||
82 | }; | ||
83 | |||
122 | serial@70006000 { | 84 | serial@70006000 { |
123 | compatible = "nvidia,tegra20-uart"; | 85 | compatible = "nvidia,tegra20-uart"; |
124 | reg = <0x70006000 0x40>; | 86 | reg = <0x70006000 0x40>; |
@@ -154,35 +116,61 @@ | |||
154 | interrupts = <0 91 0x04>; | 116 | interrupts = <0 91 0x04>; |
155 | }; | 117 | }; |
156 | 118 | ||
157 | emc { | 119 | i2c@7000c000 { |
158 | #address-cells = <1>; | 120 | #address-cells = <1>; |
159 | #size-cells = <0>; | 121 | #size-cells = <0>; |
160 | compatible = "nvidia,tegra20-emc"; | 122 | compatible = "nvidia,tegra20-i2c"; |
161 | reg = <0x7000f400 0x200>; | 123 | reg = <0x7000c000 0x100>; |
124 | interrupts = <0 38 0x04>; | ||
162 | }; | 125 | }; |
163 | 126 | ||
164 | sdhci@c8000000 { | 127 | i2c@7000c400 { |
165 | compatible = "nvidia,tegra20-sdhci"; | 128 | #address-cells = <1>; |
166 | reg = <0xc8000000 0x200>; | 129 | #size-cells = <0>; |
167 | interrupts = <0 14 0x04>; | 130 | compatible = "nvidia,tegra20-i2c"; |
131 | reg = <0x7000c400 0x100>; | ||
132 | interrupts = <0 84 0x04>; | ||
168 | }; | 133 | }; |
169 | 134 | ||
170 | sdhci@c8000200 { | 135 | i2c@7000c500 { |
171 | compatible = "nvidia,tegra20-sdhci"; | 136 | #address-cells = <1>; |
172 | reg = <0xc8000200 0x200>; | 137 | #size-cells = <0>; |
173 | interrupts = <0 15 0x04>; | 138 | compatible = "nvidia,tegra20-i2c"; |
139 | reg = <0x7000c500 0x100>; | ||
140 | interrupts = <0 92 0x04>; | ||
174 | }; | 141 | }; |
175 | 142 | ||
176 | sdhci@c8000400 { | 143 | i2c@7000d000 { |
177 | compatible = "nvidia,tegra20-sdhci"; | 144 | #address-cells = <1>; |
178 | reg = <0xc8000400 0x200>; | 145 | #size-cells = <0>; |
179 | interrupts = <0 19 0x04>; | 146 | compatible = "nvidia,tegra20-i2c-dvc"; |
147 | reg = <0x7000d000 0x200>; | ||
148 | interrupts = <0 53 0x04>; | ||
180 | }; | 149 | }; |
181 | 150 | ||
182 | sdhci@c8000600 { | 151 | pmc { |
183 | compatible = "nvidia,tegra20-sdhci"; | 152 | compatible = "nvidia,tegra20-pmc"; |
184 | reg = <0xc8000600 0x200>; | 153 | reg = <0x7000e400 0x400>; |
185 | interrupts = <0 31 0x04>; | 154 | }; |
155 | |||
156 | mc { | ||
157 | compatible = "nvidia,tegra20-mc"; | ||
158 | reg = <0x7000f000 0x024 | ||
159 | 0x7000f03c 0x3c4>; | ||
160 | interrupts = <0 77 0x04>; | ||
161 | }; | ||
162 | |||
163 | gart { | ||
164 | compatible = "nvidia,tegra20-gart"; | ||
165 | reg = <0x7000f024 0x00000018 /* controller registers */ | ||
166 | 0x58000000 0x02000000>; /* GART aperture */ | ||
167 | }; | ||
168 | |||
169 | emc { | ||
170 | #address-cells = <1>; | ||
171 | #size-cells = <0>; | ||
172 | compatible = "nvidia,tegra20-emc"; | ||
173 | reg = <0x7000f400 0x200>; | ||
186 | }; | 174 | }; |
187 | 175 | ||
188 | usb@c5000000 { | 176 | usb@c5000000 { |
@@ -207,21 +195,33 @@ | |||
207 | phy_type = "utmi"; | 195 | phy_type = "utmi"; |
208 | }; | 196 | }; |
209 | 197 | ||
210 | ahb { | 198 | sdhci@c8000000 { |
211 | compatible = "nvidia,tegra20-ahb"; | 199 | compatible = "nvidia,tegra20-sdhci"; |
212 | reg = <0x6000c004 0x10c>; /* AHB Arbitration + Gizmo Controller */ | 200 | reg = <0xc8000000 0x200>; |
201 | interrupts = <0 14 0x04>; | ||
213 | }; | 202 | }; |
214 | 203 | ||
215 | mc { | 204 | sdhci@c8000200 { |
216 | compatible = "nvidia,tegra20-mc"; | 205 | compatible = "nvidia,tegra20-sdhci"; |
217 | reg = <0x7000f000 0x024 | 206 | reg = <0xc8000200 0x200>; |
218 | 0x7000f03c 0x3c4>; | 207 | interrupts = <0 15 0x04>; |
219 | interrupts = <0 77 0x04>; | ||
220 | }; | 208 | }; |
221 | 209 | ||
222 | gart { | 210 | sdhci@c8000400 { |
223 | compatible = "nvidia,tegra20-gart"; | 211 | compatible = "nvidia,tegra20-sdhci"; |
224 | reg = <0x7000f024 0x00000018 /* controller registers */ | 212 | reg = <0xc8000400 0x200>; |
225 | 0x58000000 0x02000000>; /* GART aperture */ | 213 | interrupts = <0 19 0x04>; |
214 | }; | ||
215 | |||
216 | sdhci@c8000600 { | ||
217 | compatible = "nvidia,tegra20-sdhci"; | ||
218 | reg = <0xc8000600 0x200>; | ||
219 | interrupts = <0 31 0x04>; | ||
220 | }; | ||
221 | |||
222 | pmu { | ||
223 | compatible = "arm,cortex-a9-pmu"; | ||
224 | interrupts = <0 56 0x04 | ||
225 | 0 57 0x04>; | ||
226 | }; | 226 | }; |
227 | }; | 227 | }; |