Stephen Warren | be944d4 | 2012-04-10 16:31:59 -0600 | [diff] [blame] | 1 | NVIDIA Tegra30 AHUB (Audio Hub) |
| 2 | |
| 3 | Required properties: |
Stephen Warren | 95d3607 | 2013-03-21 13:56:41 -0600 | [diff] [blame] | 4 | - compatible : "nvidia,tegra30-ahub", "nvidia,tegra114-ahub", etc. |
Stephen Warren | be944d4 | 2012-04-10 16:31:59 -0600 | [diff] [blame] | 5 | - reg : Should contain the register physical address and length for each of |
Stephen Warren | 95d3607 | 2013-03-21 13:56:41 -0600 | [diff] [blame] | 6 | the AHUB's register blocks. |
| 7 | - Tegra30 requires 2 entries, for the APBIF and AHUB/AUDIO register blocks. |
| 8 | - Tegra114 requires an additional entry, for the APBIF2 register block. |
Stephen Warren | be944d4 | 2012-04-10 16:31:59 -0600 | [diff] [blame] | 9 | - interrupts : Should contain AHUB interrupt |
Stephen Warren | 95d3607 | 2013-03-21 13:56:41 -0600 | [diff] [blame] | 10 | - nvidia,dma-request-selector : A list of the DMA channel specifiers. Each |
| 11 | entry contains the Tegra DMA controller's phandle and request selector. |
| 12 | If a single entry is present, the request selectors for the channels are |
| 13 | assumed to be contiguous, and increment from this value. |
| 14 | If multiple values are given, one value must be given per channel. |
Stephen Warren | d8f6479 | 2013-11-06 14:00:25 -0700 | [diff] [blame] | 15 | - clocks : Must contain an entry for each entry in clock-names. |
| 16 | See ../clocks/clock-bindings.txt for details. |
Stephen Warren | 95d3607 | 2013-03-21 13:56:41 -0600 | [diff] [blame] | 17 | - clock-names : Must include the following entries: |
Stephen Warren | 0799958 | 2013-11-07 10:11:27 -0700 | [diff] [blame^] | 18 | - d_audio |
| 19 | - apbif |
| 20 | - resets : Must contain an entry for each entry in reset-names. |
| 21 | See ../reset/reset.txt for details. |
| 22 | - reset-names : Must include the following entries: |
Stephen Warren | d8f6479 | 2013-11-06 14:00:25 -0700 | [diff] [blame] | 23 | Tegra30 and later: |
| 24 | - d_audio |
| 25 | - apbif |
| 26 | - i2s0 |
| 27 | - i2s1 |
| 28 | - i2s2 |
| 29 | - i2s3 |
| 30 | - i2s4 |
| 31 | - dam0 |
| 32 | - dam1 |
| 33 | - dam2 |
Stephen Warren | 0799958 | 2013-11-07 10:11:27 -0700 | [diff] [blame^] | 34 | - spdif |
Stephen Warren | d8f6479 | 2013-11-06 14:00:25 -0700 | [diff] [blame] | 35 | Tegra114 and later additionally require: |
| 36 | - amx |
| 37 | - adx |
Stephen Warren | be944d4 | 2012-04-10 16:31:59 -0600 | [diff] [blame] | 38 | - ranges : The bus address mapping for the configlink register bus. |
| 39 | Can be empty since the mapping is 1:1. |
| 40 | - #address-cells : For the configlink bus. Should be <1>; |
| 41 | - #size-cells : For the configlink bus. Should be <1>. |
| 42 | |
| 43 | AHUB client modules need to specify the IDs of their CIFs (Client InterFaces). |
| 44 | For RX CIFs, the numbers indicate the register number within AHUB routing |
| 45 | register space (APBIF 0..3 RX, I2S 0..5 RX, DAM 0..2 RX 0..1, SPDIF RX 0..1). |
| 46 | For TX CIFs, the numbers indicate the bit position within the AHUB routing |
| 47 | registers (APBIF 0..3 TX, I2S 0..5 TX, DAM 0..2 TX, SPDIF TX 0..1). |
| 48 | |
| 49 | Example: |
| 50 | |
| 51 | ahub@70080000 { |
| 52 | compatible = "nvidia,tegra30-ahub"; |
| 53 | reg = <0x70080000 0x200 0x70080200 0x100>; |
| 54 | interrupts = < 0 103 0x04 >; |
| 55 | nvidia,dma-request-selector = <&apbdma 1>; |
Stephen Warren | 0799958 | 2013-11-07 10:11:27 -0700 | [diff] [blame^] | 56 | clocks = <&tegra_car 106>, <&tegra_car 107>; |
| 57 | clock-names = "d_audio", "apbif"; |
| 58 | resets = <&tegra_car 106>, <&tegra_car 107>, <&tegra_car 30>, |
Stephen Warren | 95d3607 | 2013-03-21 13:56:41 -0600 | [diff] [blame] | 59 | <&tegra_car 11>, <&tegra_car 18>, <&tegra_car 101>, |
| 60 | <&tegra_car 102>, <&tegra_car 108>, <&tegra_car 109>, |
Stephen Warren | 0799958 | 2013-11-07 10:11:27 -0700 | [diff] [blame^] | 61 | <&tegra_car 110>, <&tegra_car 10>; |
| 62 | reset-names = "d_audio", "apbif", "i2s0", "i2s1", "i2s2", |
Stephen Warren | 95d3607 | 2013-03-21 13:56:41 -0600 | [diff] [blame] | 63 | "i2s3", "i2s4", "dam0", "dam1", "dam2", |
Stephen Warren | 0799958 | 2013-11-07 10:11:27 -0700 | [diff] [blame^] | 64 | "spdif"; |
Stephen Warren | be944d4 | 2012-04-10 16:31:59 -0600 | [diff] [blame] | 65 | ranges; |
| 66 | #address-cells = <1>; |
| 67 | #size-cells = <1>; |
| 68 | }; |