Advertisement
Guest User

Untitled

a guest
Sep 30th, 2016
428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. /dts-v1/;
  2. /include/ "system-conf.dtsi"
  3. / {
  4. };
  5.  
  6. &qspi {
  7. flash0: flash@0 {
  8. compatible = "micron,m25p80", "s25fl128s";
  9. };
  10. };
  11.  
  12. &gem0 {
  13. phy-handle = <&phy0>;
  14. phy-mode = "rgmii-id";
  15. gem0_mdio: mdio {
  16. phy0: phy@1 {
  17. compatible = "realtek,RTL8211E";
  18. device_type = "ethernet-phy";
  19. reg = <1>;
  20. };
  21. };
  22. };
  23.  
  24. /{
  25. gpio-keys {
  26. compatible = "gpio-keys";
  27. #address-cells = <1>;
  28. #size-cells = <0>;
  29. autorepeat;
  30. btn4 {
  31. label = "btn4";
  32. gpios = <&gpio0 50 0>;
  33. linux,code = <108>; /* down */
  34. gpio-key,wakeup;
  35. autorepeat;
  36. };
  37. btn5 {
  38. label = "btn5";
  39. gpios = <&gpio0 51 0>;
  40. linux,code = <103>; /* up */
  41. gpio-key,wakeup;
  42. autorepeat;
  43. };
  44. my_irpt {
  45. label = "my_irpt";
  46. gpios = <&axi_gpio_hdmi 0 0>;
  47. linux,code = <105>; /* left */
  48. };
  49. };
  50.  
  51. usb_phy0: usb_phy@0 {
  52. compatible = "usb-nop-xceiv";
  53. #phy-cells = <0>;
  54. reset-gpios = <&gpio0 46 1>;
  55. };
  56. };
  57.  
  58. &usb0 {
  59. usb-phy = <&usb_phy0>;
  60. };
  61.  
  62. &i2c0 {
  63. eeprom@50 {
  64. /* Microchip 24AA02E48 */
  65. compatible = "microchip,24c02";
  66. reg = <0x50>;
  67. };
  68. };
  69.  
  70. &amba {
  71. u-boot,dm-pre-reloc;
  72. };
  73.  
  74. &axi_dynclk_0 {
  75. compatible = "digilent,axi-dynclk";
  76. #clock-cells = <0>;
  77. clocks = <&clkc 15>;
  78. };
  79.  
  80. &v_tc_0 {
  81. compatible = "xlnx,v-tc-5.01.a";
  82. };
  83.  
  84. &amba_pl {
  85. encoder_0: digilent_encoder {
  86. compatible = "dglnt,drm-encoder";
  87. dglnt,edid-i2c = <&i2c1>;
  88. };
  89.  
  90. xilinx_drm {
  91. compatible = "xlnx,drm";
  92. xlnx,vtc = <&v_tc_0>;
  93. xlnx,connector-type = "HDMIA";
  94. xlnx,encoder-slave = <&encoder_0>;
  95. clocks = <&axi_dynclk_0>;
  96. planes {
  97. xlnx,pixel-format = "xrgb8888";
  98. plane0 {
  99. dmas = <&axi_vdma_0 0>;
  100. dma-names = "dma";
  101. };
  102. };
  103. };
  104. };
  105.  
  106. &amba_pl {
  107. i2s_clk: i2s_clk {
  108. #clock-cells = <0>;
  109. compatible = "fixed-clock";
  110. clock-frequency = <12288000>;
  111. clock-output-names = "i2s_clk";
  112. };
  113.  
  114. sound {
  115. compatible = "simple-audio-card";
  116. simple-audio-card,name = "ZYBO-Sound-Card";
  117. simple-audio-card,format = "i2s";
  118. simple-audio-card,bitclock-master = <&dailink0_master>;
  119. simple-audio-card,frame-master = <&dailink0_master>;
  120. simple-audio-card,widgets =
  121. "Microphone", "Microphone Jack",
  122. "Headphone", "Headphone Jack",
  123. "Line", "Line In Jack";
  124. simple-audio-card,routing =
  125. "MICIN", "Microphone Jack",
  126. "Headphone Jack", "LHPOUT",
  127. "Headphone Jack", "RHPOUT",
  128. "LLINEIN", "Line In Jack",
  129. "RLINEIN", "Line In Jack";
  130. dailink0_master: simple-audio-card,cpu {
  131. clocks = <&i2s_clk>;
  132. sound-dai = <&axi_i2s_adi_0>;
  133. };
  134. simple-audio-card,codec {
  135. clocks = <&i2s_clk>;
  136. sound-dai = <&ssm2603>;
  137. };
  138. };
  139. };
  140.  
  141. &axi_i2s_adi_0 {
  142. #sound-dai-cells = <0>;
  143. compatible = "adi,axi-i2s-1.00.a";
  144. clocks = <&clkc 15>, <&i2s_clk>;
  145. clock-names = "axi", "ref";
  146. dmas = <&dmac_s 0 &dmac_s 1>;
  147. dma-names = "tx", "rx";
  148. };
  149.  
  150. &i2c0 {
  151. ssm2603: ssm2603@1a{
  152. #sound-dai-cells = <0>;
  153. compatible = "adi,ssm2603";
  154. reg = <0x1a>;
  155. };
  156. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement