diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-12-04 17:05:51 -0500 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-12-16 16:09:19 -0500 |
commit | e66555788a314dec76e7735e0603549007625182 (patch) | |
tree | 6d180c0196806b1b191c9b9f308a1cb39c52e6be /arch/arm/boot/dts/tegra124.dtsi | |
parent | 9d5b25050715ce052bc69ebafb840351bd255932 (diff) |
ARM: tegra: add audio-related device to Tegra124 DT
Tegra124 contains a similar set of audio devices to previous Tegra chips.
Specifically, there is an AHUB device which contains DMA FIFOs and audio
routing, and which hosts various audio-related components such as I2S
controllers.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra124.dtsi')
-rw-r--r-- | arch/arm/boot/dts/tegra124.dtsi | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi index b940276a5fe4..a68aa33ca237 100644 --- a/arch/arm/boot/dts/tegra124.dtsi +++ b/arch/arm/boot/dts/tegra124.dtsi | |||
@@ -320,6 +320,109 @@ | |||
320 | status = "disable"; | 320 | status = "disable"; |
321 | }; | 321 | }; |
322 | 322 | ||
323 | ahub@70300000 { | ||
324 | compatible = "nvidia,tegra124-ahub"; | ||
325 | reg = <0x70300000 0x200>, | ||
326 | <0x70300800 0x800>, | ||
327 | <0x70300200 0x600>; | ||
328 | interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; | ||
329 | clocks = <&tegra_car TEGRA124_CLK_D_AUDIO>, | ||
330 | <&tegra_car TEGRA124_CLK_APBIF>; | ||
331 | clock-names = "d_audio", "apbif"; | ||
332 | resets = <&tegra_car 106>, /* d_audio */ | ||
333 | <&tegra_car 107>, /* apbif */ | ||
334 | <&tegra_car 30>, /* i2s0 */ | ||
335 | <&tegra_car 11>, /* i2s1 */ | ||
336 | <&tegra_car 18>, /* i2s2 */ | ||
337 | <&tegra_car 101>, /* i2s3 */ | ||
338 | <&tegra_car 102>, /* i2s4 */ | ||
339 | <&tegra_car 108>, /* dam0 */ | ||
340 | <&tegra_car 109>, /* dam1 */ | ||
341 | <&tegra_car 110>, /* dam2 */ | ||
342 | <&tegra_car 10>, /* spdif */ | ||
343 | <&tegra_car 153>, /* amx */ | ||
344 | <&tegra_car 185>, /* amx1 */ | ||
345 | <&tegra_car 154>, /* adx */ | ||
346 | <&tegra_car 180>, /* adx1 */ | ||
347 | <&tegra_car 186>, /* afc0 */ | ||
348 | <&tegra_car 187>, /* afc1 */ | ||
349 | <&tegra_car 188>, /* afc2 */ | ||
350 | <&tegra_car 189>, /* afc3 */ | ||
351 | <&tegra_car 190>, /* afc4 */ | ||
352 | <&tegra_car 191>; /* afc5 */ | ||
353 | reset-names = "d_audio", "apbif", "i2s0", "i2s1", "i2s2", | ||
354 | "i2s3", "i2s4", "dam0", "dam1", "dam2", | ||
355 | "spdif", "amx", "amx1", "adx", "adx1", | ||
356 | "afc0", "afc1", "afc2", "afc3", "afc4", "afc5"; | ||
357 | dmas = <&apbdma 1>, <&apbdma 1>, | ||
358 | <&apbdma 2>, <&apbdma 2>, | ||
359 | <&apbdma 3>, <&apbdma 3>, | ||
360 | <&apbdma 4>, <&apbdma 4>, | ||
361 | <&apbdma 6>, <&apbdma 6>, | ||
362 | <&apbdma 7>, <&apbdma 7>, | ||
363 | <&apbdma 12>, <&apbdma 12>, | ||
364 | <&apbdma 13>, <&apbdma 13>, | ||
365 | <&apbdma 14>, <&apbdma 14>, | ||
366 | <&apbdma 29>, <&apbdma 29>; | ||
367 | dma-names = "rx0", "tx0", "rx1", "tx1", "rx2", "tx2", | ||
368 | "rx3", "tx3", "rx4", "tx4", "rx5", "tx5", | ||
369 | "rx6", "tx6", "rx7", "tx7", "rx8", "tx8", | ||
370 | "rx9", "tx9"; | ||
371 | ranges; | ||
372 | #address-cells = <1>; | ||
373 | #size-cells = <1>; | ||
374 | |||
375 | tegra_i2s0: i2s@70301000 { | ||
376 | compatible = "nvidia,tegra124-i2s"; | ||
377 | reg = <0x70301000 0x100>; | ||
378 | nvidia,ahub-cif-ids = <4 4>; | ||
379 | clocks = <&tegra_car TEGRA124_CLK_I2S0>; | ||
380 | resets = <&tegra_car 30>; | ||
381 | reset-names = "i2s"; | ||
382 | status = "disabled"; | ||
383 | }; | ||
384 | |||
385 | tegra_i2s1: i2s@70301100 { | ||
386 | compatible = "nvidia,tegra124-i2s"; | ||
387 | reg = <0x70301100 0x100>; | ||
388 | nvidia,ahub-cif-ids = <5 5>; | ||
389 | clocks = <&tegra_car TEGRA124_CLK_I2S1>; | ||
390 | resets = <&tegra_car 11>; | ||
391 | reset-names = "i2s"; | ||
392 | status = "disabled"; | ||
393 | }; | ||
394 | |||
395 | tegra_i2s2: i2s@70301200 { | ||
396 | compatible = "nvidia,tegra124-i2s"; | ||
397 | reg = <0x70301200 0x100>; | ||
398 | nvidia,ahub-cif-ids = <6 6>; | ||
399 | clocks = <&tegra_car TEGRA124_CLK_I2S2>; | ||
400 | resets = <&tegra_car 18>; | ||
401 | reset-names = "i2s"; | ||
402 | status = "disabled"; | ||
403 | }; | ||
404 | |||
405 | tegra_i2s3: i2s@70301300 { | ||
406 | compatible = "nvidia,tegra124-i2s"; | ||
407 | reg = <0x70301300 0x100>; | ||
408 | nvidia,ahub-cif-ids = <7 7>; | ||
409 | clocks = <&tegra_car TEGRA124_CLK_I2S3>; | ||
410 | resets = <&tegra_car 101>; | ||
411 | reset-names = "i2s"; | ||
412 | status = "disabled"; | ||
413 | }; | ||
414 | |||
415 | tegra_i2s4: i2s@70301400 { | ||
416 | compatible = "nvidia,tegra124-i2s"; | ||
417 | reg = <0x70301400 0x100>; | ||
418 | nvidia,ahub-cif-ids = <8 8>; | ||
419 | clocks = <&tegra_car TEGRA124_CLK_I2S4>; | ||
420 | resets = <&tegra_car 102>; | ||
421 | reset-names = "i2s"; | ||
422 | status = "disabled"; | ||
423 | }; | ||
424 | }; | ||
425 | |||
323 | cpus { | 426 | cpus { |
324 | #address-cells = <1>; | 427 | #address-cells = <1>; |
325 | #size-cells = <0>; | 428 | #size-cells = <0>; |