diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2013-03-15 14:37:25 -0400 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-04-04 19:17:41 -0400 |
commit | 6ea0297e39139a777c826339761afb3603c72e10 (patch) | |
tree | 913da34172c476ee3f608cb0b2ebab511dffc282 | |
parent | cd467b7d0c1eb5e8179ab47d56f4f6c5d0d4aa74 (diff) |
ARM: tegra: add SPI nodes to Tegra114 DT
NVIDIA's Tegra114 has 6 SPI controllers. These controllers are
redesign on T114 with different register interface.
Add DT entry for spi controllers and make it compatible with
"nvidia,tegra114-spi", since they are a new incompatible design.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
[swarren: fixed reg property for 3rd SPI controller]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
-rw-r--r-- | arch/arm/boot/dts/tegra114.dtsi | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra114.dtsi b/arch/arm/boot/dts/tegra114.dtsi index f83399f62015..629415ffd8dc 100644 --- a/arch/arm/boot/dts/tegra114.dtsi +++ b/arch/arm/boot/dts/tegra114.dtsi | |||
@@ -217,6 +217,78 @@ | |||
217 | status = "disabled"; | 217 | status = "disabled"; |
218 | }; | 218 | }; |
219 | 219 | ||
220 | spi@7000d400 { | ||
221 | compatible = "nvidia,tegra114-spi"; | ||
222 | reg = <0x7000d400 0x200>; | ||
223 | interrupts = <0 59 0x04>; | ||
224 | nvidia,dma-request-selector = <&apbdma 15>; | ||
225 | #address-cells = <1>; | ||
226 | #size-cells = <0>; | ||
227 | clocks = <&tegra_car 41>; | ||
228 | clock-names = "spi"; | ||
229 | status = "disabled"; | ||
230 | }; | ||
231 | |||
232 | spi@7000d600 { | ||
233 | compatible = "nvidia,tegra114-spi"; | ||
234 | reg = <0x7000d600 0x200>; | ||
235 | interrupts = <0 82 0x04>; | ||
236 | nvidia,dma-request-selector = <&apbdma 16>; | ||
237 | #address-cells = <1>; | ||
238 | #size-cells = <0>; | ||
239 | clocks = <&tegra_car 44>; | ||
240 | clock-names = "spi"; | ||
241 | status = "disabled"; | ||
242 | }; | ||
243 | |||
244 | spi@7000d800 { | ||
245 | compatible = "nvidia,tegra114-spi"; | ||
246 | reg = <0x7000d800 0x200>; | ||
247 | interrupts = <0 83 0x04>; | ||
248 | nvidia,dma-request-selector = <&apbdma 17>; | ||
249 | #address-cells = <1>; | ||
250 | #size-cells = <0>; | ||
251 | clocks = <&tegra_car 46>; | ||
252 | clock-names = "spi"; | ||
253 | status = "disabled"; | ||
254 | }; | ||
255 | |||
256 | spi@7000da00 { | ||
257 | compatible = "nvidia,tegra114-spi"; | ||
258 | reg = <0x7000da00 0x200>; | ||
259 | interrupts = <0 93 0x04>; | ||
260 | nvidia,dma-request-selector = <&apbdma 18>; | ||
261 | #address-cells = <1>; | ||
262 | #size-cells = <0>; | ||
263 | clocks = <&tegra_car 68>; | ||
264 | clock-names = "spi"; | ||
265 | status = "disabled"; | ||
266 | }; | ||
267 | |||
268 | spi@7000dc00 { | ||
269 | compatible = "nvidia,tegra114-spi"; | ||
270 | reg = <0x7000dc00 0x200>; | ||
271 | interrupts = <0 94 0x04>; | ||
272 | nvidia,dma-request-selector = <&apbdma 27>; | ||
273 | #address-cells = <1>; | ||
274 | #size-cells = <0>; | ||
275 | clocks = <&tegra_car 104>; | ||
276 | clock-names = "spi"; | ||
277 | status = "disabled"; | ||
278 | }; | ||
279 | |||
280 | spi@7000de00 { | ||
281 | compatible = "nvidia,tegra114-spi"; | ||
282 | reg = <0x7000de00 0x200>; | ||
283 | interrupts = <0 79 0x04>; | ||
284 | nvidia,dma-request-selector = <&apbdma 28>; | ||
285 | #address-cells = <1>; | ||
286 | #size-cells = <0>; | ||
287 | clocks = <&tegra_car 105>; | ||
288 | clock-names = "spi"; | ||
289 | status = "disabled"; | ||
290 | }; | ||
291 | |||
220 | rtc { | 292 | rtc { |
221 | compatible = "nvidia,tegra114-rtc", "nvidia,tegra20-rtc"; | 293 | compatible = "nvidia,tegra114-rtc", "nvidia,tegra20-rtc"; |
222 | reg = <0x7000e000 0x100>; | 294 | reg = <0x7000e000 0x100>; |