AnsweredAssumed Answered

Porting AD9371 to ZCU102 Board

Question asked by sm7102 on Jun 29, 2017
Latest reply on Aug 1, 2017 by gverma


I am trying to port the AD9371 RF card to ZCU102 board. I understand that, ZCU102 board does not support AD9371, so I followed "" link to port. I am able to compile. But after it booted up, it does not create the device under /dev. So in order to debug I tried to follow a simpler approach, where I just want to detect if the spi slave is present in the system. So I modified the device tree as follows,


    spi@ff040000 {

      compatible = "cdns,spi-r1p6";

      status = "okay";

      interrupt-parent = <0x2>;

      interrupts = <0x0 0x13 0x4>;

      reg = <0x0 0xff040000 0x0 0x1000>;

      clock-names = "ref_clk", "pclk";

      #address-cells = <0x1>;

      #size-cells = <0x0>;

      power-domains = <0x39>;

      clocks = <0x1d 0x1d>;

      is-decoded-cs = <0x0>;

      num-cs = <0x2>;


      spidev@0 {

        compatible = "spidev";

        spi-max-frequency = <0x27bc86c>;

        reg = <0x0>;


      spidev@1 {

        compatible = "spidev";

        spi-max-frequency = <0x27bc86c>;

        reg = <0x1>;




I see the driver instances under /sys/bus/spi/devices as below,

root@plnx_aarch64:/sys/bus/spi/devices# ls
spi0.0 spi32766.0 spi32766.1

But I do not see any device under /dev/ directory (should I expect spidev0 and spidev1).


Is there a user space driver I can use without making kernel modification, if yes, could you please point to the right document or link.


Thanks in advance.