Advertisement
Guest User

ADV7511 Device tree

a guest
Nov 28th, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.19 KB | None | 0 0
  1. / {
  2. fpga_axi: fpga-axi@0 {
  3. compatible = "simple-bus";
  4. #address-cells = <0x1>;
  5. #size-cells = <0x1>;
  6. ranges;
  7.  
  8. i2c@41600000 {
  9. compatible = "xlnx,axi-iic-1.01.b", "xlnx,xps-iic-2.00.a";
  10. interrupt-parent = <&gic>;
  11. interrupts = <0 58 0x4>;
  12. reg = <0x41600000 0x10000>;
  13.  
  14. #size-cells = <0>;
  15. #address-cells = <1>;
  16.  
  17. adv7511: adv7511@39 {
  18. compatible = "adi,adv7511";
  19. reg = <0x39>;
  20.  
  21. adi,input-style = <0x02>;
  22. adi,input-id = <0x01>;
  23. adi,input-color-depth = <0x3>;
  24. adi,sync-pulse = <0x03>;
  25. adi,bit-justification = <0x01>;
  26. adi,up-conversion = <0x00>;
  27. adi,timing-generation-sequence = <0x00>;
  28. adi,vsync-polarity = <0x02>;
  29. adi,hsync-polarity = <0x02>;
  30. adi,tdms-clock-inversion;
  31. adi,clock-delay = <0x03>;
  32. };
  33.  
  34. adau1761: adau1761@3b {
  35. compatible = "adi,adau1761";
  36. reg = <0x3b>;
  37. };
  38. };
  39.  
  40. axi_vdma_0: axivdma@43000000 {
  41. compatible = "xlnx,axi-vdma-1.00.a";
  42. #address-cells = <1>;
  43. #size-cells = <1>;
  44. #dma-cells = <1>;
  45. #dma-channels = <1>;
  46. reg = <0x43000000 0x1000>;
  47. xlnx,num-fstores = <0x3>;
  48. dma-channel@43000000 {
  49. compatible = "xlnx,axi-vdma-mm2s-channel";
  50. interrupts = <0 59 0x4>;
  51. xlnx,datawidth = <0x40>;
  52. xlnx,genlock-mode = <0x0>;
  53. xlnx,include-dre = <0x0>;
  54. };
  55. };
  56.  
  57. hdmi_clock: axi-clkgen@79000000 {
  58. compatible = "adi,axi-clkgen-2.00.a";
  59. reg = <0x79000000 0x10000>;
  60. #clock-cells = <0>;
  61. clocks = <&clkc 16>;
  62. };
  63.  
  64. axi_hdmi@70e00000 {
  65. compatible = "adi,axi-hdmi-tx-1.00.a";
  66. reg = <0x70e00000 0x10000>;
  67. encoder-slave = <&adv7511>;
  68. dmas = <&axi_vdma_0 0>;
  69. dma-names = "video";
  70. clocks = <&hdmi_clock>;
  71. };
  72.  
  73. audio_clock: audio_clock {
  74. compatible = "fixed-clock";
  75. #clock-cells = <0>;
  76. clock-frequency = <12288000>;
  77. };
  78.  
  79. axi_spdif_tx_0: axi-spdif-tx@0x75c00000 {
  80. compatible = "adi,axi-spdif-tx-1.00.a";
  81. reg = <0x75c00000 0x1000>;
  82. dmas = <&ps7_dma 0>;
  83. dma-names = "tx";
  84. clocks = <&clkc 15>, <&audio_clock>, <&audio_clock>;
  85. clock-names = "axi", "ref", "spdif";
  86. };
  87.  
  88. adv7511_hdmi_snd: adv7511_hdmi_snd {
  89. compatible = "adv7511-hdmi-snd";
  90. audio-codec = <&adv7511>;
  91. cpu-dai = <&axi_spdif_tx_0>;
  92. };
  93.  
  94. axi_i2s_0: axi-i2s@0x77600000 {
  95. compatible = "adi,axi-i2s-1.00.a";
  96. reg = <0x77600000 0x1000>;
  97. dmas = <&ps7_dma 1 &ps7_dma 2>;
  98. dma-names = "tx", "rx";
  99. clocks = <&clkc 15>, <&audio_clock>, <&audio_clock>;
  100. clock-names = "axi", "ref", "i2s";
  101. };
  102.  
  103. zed_sound: zed_sound {
  104. compatible = "digilent,zed-sound";
  105. audio-codec = <&adau1761>;
  106. cpu-dai = <&axi_i2s_0>;
  107. };
  108. };
  109.  
  110. leds {
  111. compatible = "gpio-leds";
  112. ld0 {
  113. label = "ld0:red";
  114. gpios = <&gpio 73 0>;
  115. };
  116.  
  117. ld1 {
  118. label = "ld1:red";
  119. gpios = <&gpio 74 0>;
  120. };
  121.  
  122. ld2 {
  123. label = "ld2:red";
  124. gpios = <&gpio 75 0>;
  125. };
  126.  
  127. ld3 {
  128. label = "ld3:red";
  129. gpios = <&gpio 76 0>;
  130. };
  131.  
  132. ld4 {
  133. label = "ld4:red";
  134. gpios = <&gpio 77 0>;
  135. };
  136.  
  137. ld5 {
  138. label = "ld5:red";
  139. gpios = <&gpio 78 0>;
  140. };
  141.  
  142. ld6 {
  143. label = "ld6:red";
  144. gpios = <&gpio 79 0>;
  145. };
  146.  
  147. ld7 {
  148. label = "ld7:red";
  149. gpios = <&gpio 80 0>;
  150. };
  151. };
  152. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement