nvidia,tegra30-ahub.txt 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. NVIDIA Tegra30 AHUB (Audio Hub)
  2. Required properties:
  3. - compatible : For Tegra30, must contain "nvidia,tegra30-ahub". For Tegra114,
  4. must contain "nvidia,tegra114-ahub". For Tegra124, must contain
  5. "nvidia,tegra124-ahub". Otherwise, must contain "nvidia,<chip>-ahub",
  6. plus at least one of the above, where <chip> is tegra132.
  7. - reg : Should contain the register physical address and length for each of
  8. the AHUB's register blocks.
  9. - Tegra30 requires 2 entries, for the APBIF and AHUB/AUDIO register blocks.
  10. - Tegra114 requires an additional entry, for the APBIF2 register block.
  11. - interrupts : Should contain AHUB interrupt
  12. - clocks : Must contain an entry for each entry in clock-names.
  13. See ../clocks/clock-bindings.txt for details.
  14. - clock-names : Must include the following entries:
  15. - d_audio
  16. - apbif
  17. - resets : Must contain an entry for each entry in reset-names.
  18. See ../reset/reset.txt for details.
  19. - reset-names : Must include the following entries:
  20. Tegra30 and later:
  21. - d_audio
  22. - apbif
  23. - i2s0
  24. - i2s1
  25. - i2s2
  26. - i2s3
  27. - i2s4
  28. - dam0
  29. - dam1
  30. - dam2
  31. - spdif
  32. Tegra114 and later additionally require:
  33. - amx
  34. - adx
  35. Tegra124 and later additionally require:
  36. - amx1
  37. - adx1
  38. - afc0
  39. - afc1
  40. - afc2
  41. - afc3
  42. - afc4
  43. - afc5
  44. - ranges : The bus address mapping for the configlink register bus.
  45. Can be empty since the mapping is 1:1.
  46. - dmas : Must contain an entry for each entry in clock-names.
  47. See ../dma/dma.txt for details.
  48. - dma-names : Must include the following entries:
  49. - rx0 .. rx<n>
  50. - tx0 .. tx<n>
  51. ... where n is:
  52. Tegra30: 3
  53. Tegra114, Tegra124: 9
  54. - #address-cells : For the configlink bus. Should be <1>;
  55. - #size-cells : For the configlink bus. Should be <1>.
  56. AHUB client modules need to specify the IDs of their CIFs (Client InterFaces).
  57. For RX CIFs, the numbers indicate the register number within AHUB routing
  58. register space (APBIF 0..3 RX, I2S 0..5 RX, DAM 0..2 RX 0..1, SPDIF RX 0..1).
  59. For TX CIFs, the numbers indicate the bit position within the AHUB routing
  60. registers (APBIF 0..3 TX, I2S 0..5 TX, DAM 0..2 TX, SPDIF TX 0..1).
  61. Example:
  62. ahub@70080000 {
  63. compatible = "nvidia,tegra30-ahub";
  64. reg = <0x70080000 0x200 0x70080200 0x100>;
  65. interrupts = < 0 103 0x04 >;
  66. nvidia,dma-request-selector = <&apbdma 1>;
  67. clocks = <&tegra_car 106>, <&tegra_car 107>;
  68. clock-names = "d_audio", "apbif";
  69. resets = <&tegra_car 106>, <&tegra_car 107>, <&tegra_car 30>,
  70. <&tegra_car 11>, <&tegra_car 18>, <&tegra_car 101>,
  71. <&tegra_car 102>, <&tegra_car 108>, <&tegra_car 109>,
  72. <&tegra_car 110>, <&tegra_car 10>;
  73. reset-names = "d_audio", "apbif", "i2s0", "i2s1", "i2s2",
  74. "i2s3", "i2s4", "dam0", "dam1", "dam2",
  75. "spdif";
  76. dmas = <&apbdma 1>, <&apbdma 1>;
  77. <&apbdma 2>, <&apbdma 2>;
  78. <&apbdma 3>, <&apbdma 3>;
  79. <&apbdma 4>, <&apbdma 4>;
  80. dma-names = "rx0", "tx0", "rx1", "tx1", "rx2", "tx2", "rx3", "tx3";
  81. ranges;
  82. #address-cells = <1>;
  83. #size-cells = <1>;
  84. };