diff options
| author | Stephen Warren <swarren@nvidia.com> | 2012-05-11 19:32:56 -0400 |
|---|---|---|
| committer | Stephen Warren <swarren@nvidia.com> | 2012-05-14 12:55:23 -0400 |
| commit | 2a5fdc9adde8476751b63a795e3d66ae2ee3979d (patch) | |
| tree | 6321e80d6c925469d94e09eab6f13b68dc9d963f /arch/arm/boot | |
| parent | 2eaab06ea6cc2d686fd1a6de62b1094bedc4cfca (diff) | |
ARM: dt: tegra: invert status=disable vs status=okay
In tegra*.dtsi, set status="disable" for all HW modules that the board
design may choose not to use. Update all boards to specifically enable
any of those modules that are useful by setting status="okay".
This makes board files say which features they do use, rather than which
they don't, which feels more logical. It also makes the .dts files
slightly smaller, at least for existing content.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/boot')
| -rw-r--r-- | arch/arm/boot/dts/tegra-cardhu.dts | 48 | ||||
| -rw-r--r-- | arch/arm/boot/dts/tegra-harmony.dts | 40 | ||||
| -rw-r--r-- | arch/arm/boot/dts/tegra-paz00.dts | 44 | ||||
| -rw-r--r-- | arch/arm/boot/dts/tegra-seaboard.dts | 37 | ||||
| -rw-r--r-- | arch/arm/boot/dts/tegra-trimslice.dts | 37 | ||||
| -rw-r--r-- | arch/arm/boot/dts/tegra-ventana.dts | 40 | ||||
| -rw-r--r-- | arch/arm/boot/dts/tegra20.dtsi | 18 | ||||
| -rw-r--r-- | arch/arm/boot/dts/tegra30.dtsi | 19 |
8 files changed, 123 insertions, 160 deletions
diff --git a/arch/arm/boot/dts/tegra-cardhu.dts b/arch/arm/boot/dts/tegra-cardhu.dts index 3b5cd7b07553..e14bb450c328 100644 --- a/arch/arm/boot/dts/tegra-cardhu.dts +++ b/arch/arm/boot/dts/tegra-cardhu.dts | |||
| @@ -64,34 +64,22 @@ | |||
| 64 | }; | 64 | }; |
| 65 | 65 | ||
| 66 | serial@70006000 { | 66 | serial@70006000 { |
| 67 | status = "okay"; | ||
| 67 | clock-frequency = <408000000>; | 68 | clock-frequency = <408000000>; |
| 68 | }; | 69 | }; |
| 69 | 70 | ||
| 70 | serial@70006040 { | ||
| 71 | status = "disable"; | ||
| 72 | }; | ||
| 73 | |||
| 74 | serial@70006200 { | ||
| 75 | status = "disable"; | ||
| 76 | }; | ||
| 77 | |||
| 78 | serial@70006300 { | ||
| 79 | status = "disable"; | ||
| 80 | }; | ||
| 81 | |||
| 82 | serial@70006400 { | ||
| 83 | status = "disable"; | ||
| 84 | }; | ||
| 85 | |||
| 86 | i2c@7000c000 { | 71 | i2c@7000c000 { |
| 72 | status = "okay"; | ||
| 87 | clock-frequency = <100000>; | 73 | clock-frequency = <100000>; |
| 88 | }; | 74 | }; |
| 89 | 75 | ||
| 90 | i2c@7000c400 { | 76 | i2c@7000c400 { |
| 77 | status = "okay"; | ||
| 91 | clock-frequency = <100000>; | 78 | clock-frequency = <100000>; |
| 92 | }; | 79 | }; |
| 93 | 80 | ||
| 94 | i2c@7000c500 { | 81 | i2c@7000c500 { |
| 82 | status = "okay"; | ||
| 95 | clock-frequency = <100000>; | 83 | clock-frequency = <100000>; |
| 96 | 84 | ||
| 97 | /* ALS and Proximity sensor */ | 85 | /* ALS and Proximity sensor */ |
| @@ -104,10 +92,12 @@ | |||
| 104 | }; | 92 | }; |
| 105 | 93 | ||
| 106 | i2c@7000c700 { | 94 | i2c@7000c700 { |
| 95 | status = "okay"; | ||
| 107 | clock-frequency = <100000>; | 96 | clock-frequency = <100000>; |
| 108 | }; | 97 | }; |
| 109 | 98 | ||
| 110 | i2c@7000d000 { | 99 | i2c@7000d000 { |
| 100 | status = "okay"; | ||
| 111 | clock-frequency = <100000>; | 101 | clock-frequency = <100000>; |
| 112 | 102 | ||
| 113 | wm8903: wm8903@1a { | 103 | wm8903: wm8903@1a { |
| @@ -139,38 +129,20 @@ | |||
| 139 | }; | 129 | }; |
| 140 | 130 | ||
| 141 | ahub { | 131 | ahub { |
| 142 | i2s@70080300 { | 132 | i2s@70080400 { |
| 143 | status = "disable"; | 133 | status = "okay"; |
| 144 | }; | ||
| 145 | |||
| 146 | i2s@70080500 { | ||
| 147 | status = "disable"; | ||
| 148 | }; | ||
| 149 | |||
| 150 | i2s@70080600 { | ||
| 151 | status = "disable"; | ||
| 152 | }; | ||
| 153 | |||
| 154 | i2s@70080700 { | ||
| 155 | status = "disable"; | ||
| 156 | }; | 134 | }; |
| 157 | }; | 135 | }; |
| 158 | 136 | ||
| 159 | sdhci@78000000 { | 137 | sdhci@78000000 { |
| 138 | status = "okay"; | ||
| 160 | cd-gpios = <&gpio 69 0>; /* gpio PI5 */ | 139 | cd-gpios = <&gpio 69 0>; /* gpio PI5 */ |
| 161 | wp-gpios = <&gpio 155 0>; /* gpio PT3 */ | 140 | wp-gpios = <&gpio 155 0>; /* gpio PT3 */ |
| 162 | power-gpios = <&gpio 31 0>; /* gpio PD7 */ | 141 | power-gpios = <&gpio 31 0>; /* gpio PD7 */ |
| 163 | }; | 142 | }; |
| 164 | 143 | ||
| 165 | sdhci@78000200 { | ||
| 166 | status = "disable"; | ||
| 167 | }; | ||
| 168 | |||
| 169 | sdhci@78000400 { | ||
| 170 | status = "disable"; | ||
| 171 | }; | ||
| 172 | |||
| 173 | sdhci@78000600 { | 144 | sdhci@78000600 { |
| 145 | status = "okay"; | ||
| 174 | support-8bit; | 146 | support-8bit; |
| 175 | }; | 147 | }; |
| 176 | 148 | ||
diff --git a/arch/arm/boot/dts/tegra-harmony.dts b/arch/arm/boot/dts/tegra-harmony.dts index f18385d36dde..6bcdad34d2e7 100644 --- a/arch/arm/boot/dts/tegra-harmony.dts +++ b/arch/arm/boot/dts/tegra-harmony.dts | |||
| @@ -234,31 +234,17 @@ | |||
| 234 | }; | 234 | }; |
| 235 | }; | 235 | }; |
| 236 | 236 | ||
| 237 | i2s@70002a00 { | 237 | i2s@70002800 { |
| 238 | status = "disable"; | 238 | status = "okay"; |
| 239 | }; | ||
| 240 | |||
| 241 | serial@70006000 { | ||
| 242 | status = "disable"; | ||
| 243 | }; | ||
| 244 | |||
| 245 | serial@70006040 { | ||
| 246 | status = "disable"; | ||
| 247 | }; | ||
| 248 | |||
| 249 | serial@70006200 { | ||
| 250 | status = "disable"; | ||
| 251 | }; | 239 | }; |
| 252 | 240 | ||
| 253 | serial@70006300 { | 241 | serial@70006300 { |
| 242 | status = "okay"; | ||
| 254 | clock-frequency = <216000000>; | 243 | clock-frequency = <216000000>; |
| 255 | }; | 244 | }; |
| 256 | 245 | ||
| 257 | serial@70006400 { | ||
| 258 | status = "disable"; | ||
| 259 | }; | ||
| 260 | |||
| 261 | i2c@7000c000 { | 246 | i2c@7000c000 { |
| 247 | status = "okay"; | ||
| 262 | clock-frequency = <400000>; | 248 | clock-frequency = <400000>; |
| 263 | 249 | ||
| 264 | wm8903: wm8903@1a { | 250 | wm8903: wm8903@1a { |
| @@ -277,14 +263,17 @@ | |||
| 277 | }; | 263 | }; |
| 278 | 264 | ||
| 279 | i2c@7000c400 { | 265 | i2c@7000c400 { |
| 266 | status = "okay"; | ||
| 280 | clock-frequency = <400000>; | 267 | clock-frequency = <400000>; |
| 281 | }; | 268 | }; |
| 282 | 269 | ||
| 283 | i2c@7000c500 { | 270 | i2c@7000c500 { |
| 271 | status = "okay"; | ||
| 284 | clock-frequency = <400000>; | 272 | clock-frequency = <400000>; |
| 285 | }; | 273 | }; |
| 286 | 274 | ||
| 287 | i2c@7000d000 { | 275 | i2c@7000d000 { |
| 276 | status = "okay"; | ||
| 288 | clock-frequency = <400000>; | 277 | clock-frequency = <400000>; |
