SHARE
TWEET

Untitled

a guest Sep 14th, 2016 34 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 1 0>;
  47.         };
  48.     };
  49.  
  50.     usb_phy0: usb_phy@0 {
  51.         compatible = "usb-nop-xceiv";
  52.         #phy-cells = <0>;
  53.         reset-gpios = <&gpio0 46 1>;
  54.     };
  55. };
  56.  
  57. &usb0 {
  58.     usb-phy = <&usb_phy0>;
  59. };
  60.  
  61. &i2c0 {
  62.     eeprom@50 {
  63.         /* Microchip 24AA02E48 */
  64.         compatible = "microchip,24c02";
  65.         reg = <0x50>;
  66.     };
  67. };
  68.  
  69. &amba {
  70.     u-boot,dm-pre-reloc;
  71. };
  72.  
  73. &axi_dynclk_0 {
  74.     compatible = "digilent,axi-dynclk";
  75.     #clock-cells = <0>;
  76.     clocks = <&clkc 15>;
  77. };
  78.  
  79. &v_tc_0 {
  80.     compatible = "xlnx,v-tc-5.01.a";
  81. };
  82.  
  83. &amba_pl {
  84.     encoder_0: digilent_encoder {
  85.         compatible = "dglnt,drm-encoder";
  86.         dglnt,edid-i2c = <&i2c1>;
  87.     };
  88.  
  89.     xilinx_drm {
  90.         compatible = "xlnx,drm";
  91.         xlnx,vtc = <&v_tc_0>;
  92.         xlnx,connector-type = "HDMIA";
  93.         xlnx,encoder-slave = <&encoder_0>;
  94.         clocks = <&axi_dynclk_0>;
  95.         planes {
  96.             xlnx,pixel-format = "xrgb8888";
  97.             plane0 {
  98.                 dmas = <&axi_vdma_0 0>;
  99.                 dma-names = "dma";
  100.             };
  101.         };
  102.     };
  103. };
  104.  
  105. &amba_pl {
  106.     i2s_clk: i2s_clk {
  107.         #clock-cells = <0>;
  108.         compatible = "fixed-clock";
  109.         clock-frequency = <12288000>;
  110.         clock-output-names = "i2s_clk";
  111.     };
  112.  
  113.     sound {
  114.         compatible = "simple-audio-card";
  115.         simple-audio-card,name = "ZYBO-Sound-Card";
  116.         simple-audio-card,format = "i2s";
  117.         simple-audio-card,bitclock-master = <&dailink0_master>;
  118.         simple-audio-card,frame-master = <&dailink0_master>;
  119.         simple-audio-card,widgets =
  120.             "Microphone", "Microphone Jack",
  121.             "Headphone", "Headphone Jack",
  122.             "Line", "Line In Jack";
  123.         simple-audio-card,routing =
  124.             "MICIN", "Microphone Jack",
  125.             "Headphone Jack", "LHPOUT",
  126.             "Headphone Jack", "RHPOUT",
  127.             "LLINEIN", "Line In Jack",
  128.             "RLINEIN", "Line In Jack";
  129.         dailink0_master: simple-audio-card,cpu {
  130.             clocks = <&i2s_clk>;
  131.             sound-dai = <&axi_i2s_adi_0>;
  132.         };
  133.         simple-audio-card,codec {
  134.             clocks = <&i2s_clk>;
  135.             sound-dai = <&ssm2603>;
  136.         };
  137.     };
  138. };
  139.  
  140. &axi_i2s_adi_0 {
  141.     #sound-dai-cells = <0>;
  142.     compatible = "adi,axi-i2s-1.00.a";
  143.     clocks = <&clkc 15>, <&i2s_clk>;
  144.     clock-names = "axi", "ref";
  145.     dmas = <&dmac_s 0 &dmac_s 1>;
  146.     dma-names = "tx", "rx";
  147. };
  148.  
  149. &i2c0 {
  150.     ssm2603: ssm2603@1a{
  151.         #sound-dai-cells = <0>;
  152.         compatible = "adi,ssm2603";
  153.         reg = <0x1a>;
  154.     };
  155. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top