blob: 60d59a54ca073dd92b60ffa610f64d7a2c2c66b3 [file] [log] [blame]
Stephen Warrenbe944d42012-04-10 16:31:59 -06001NVIDIA Tegra30 AHUB (Audio Hub)
2
3Required properties:
Stephen Warren95d36072013-03-21 13:56:41 -06004- compatible : "nvidia,tegra30-ahub", "nvidia,tegra114-ahub", etc.
Stephen Warrenbe944d42012-04-10 16:31:59 -06005- reg : Should contain the register physical address and length for each of
Stephen Warren95d36072013-03-21 13:56:41 -06006 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 Warrenbe944d42012-04-10 16:31:59 -06009- interrupts : Should contain AHUB interrupt
Stephen Warren95d36072013-03-21 13:56:41 -060010- 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 Warrend8f64792013-11-06 14:00:25 -070015- clocks : Must contain an entry for each entry in clock-names.
16 See ../clocks/clock-bindings.txt for details.
Stephen Warren95d36072013-03-21 13:56:41 -060017- clock-names : Must include the following entries:
Stephen Warren07999582013-11-07 10:11:27 -070018 - 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 Warrend8f64792013-11-06 14:00:25 -070023 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 Warren07999582013-11-07 10:11:27 -070034 - spdif
Stephen Warrend8f64792013-11-06 14:00:25 -070035 Tegra114 and later additionally require:
36 - amx
37 - adx
Stephen Warrenbe944d42012-04-10 16:31:59 -060038- 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
43AHUB client modules need to specify the IDs of their CIFs (Client InterFaces).
44For RX CIFs, the numbers indicate the register number within AHUB routing
45register space (APBIF 0..3 RX, I2S 0..5 RX, DAM 0..2 RX 0..1, SPDIF RX 0..1).
46For TX CIFs, the numbers indicate the bit position within the AHUB routing
47registers (APBIF 0..3 TX, I2S 0..5 TX, DAM 0..2 TX, SPDIF TX 0..1).
48
49Example:
50
51ahub@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 Warren07999582013-11-07 10:11:27 -070056 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 Warren95d36072013-03-21 13:56:41 -060059 <&tegra_car 11>, <&tegra_car 18>, <&tegra_car 101>,
60 <&tegra_car 102>, <&tegra_car 108>, <&tegra_car 109>,
Stephen Warren07999582013-11-07 10:11:27 -070061 <&tegra_car 110>, <&tegra_car 10>;
62 reset-names = "d_audio", "apbif", "i2s0", "i2s1", "i2s2",
Stephen Warren95d36072013-03-21 13:56:41 -060063 "i2s3", "i2s4", "dam0", "dam1", "dam2",
Stephen Warren07999582013-11-07 10:11:27 -070064 "spdif";
Stephen Warrenbe944d42012-04-10 16:31:59 -060065 ranges;
66 #address-cells = <1>;
67 #size-cells = <1>;
68};