Post Go back to editing

No IIO device for cf-ad9361-lpc device

Category: Software
Product Number: AD9361

Dear All,

I'm not able to see cf-ad9361-lpc iio device, and expectly, I am not be able to see any plot on IIO Scope.

I'm using Petalinux 2021.2 on Xilinx zynqmp on a custom board compatible with ZCU102.

root@xu5-2021:~# iio_info | grep iio:device
iio:device0: ams
iio:device1: ad9361-phy

root@xu5-2021:~# lsmod
Module Size Used by
zocl 155648 0
cf_axi_dds_drv 1089536 0
ad9361_drv 212992 0
cf_axi_adc 28672 1 ad9361_drv
industrialio_buffer_dmaengine 16384 2 cf_axi_dds_drv,cf_axi_adc
industrialio_buffer_dma 20480 1 industrialio_buffer_dmaengine
mali 233472 0
zynqmp_r5_remoteproc 16384 0
uio_pdrv_genirq 16384 0

root@xu5-2021:~# find / -name *9361*
/lib/modules/5.10.0-xilinx-v2021.2/kernel/drivers/iio/adc/ad9361_drv.ko
/sys/kernel/debug/clk/ad9361_ext_refclk
/sys/class/devlink/9c400000.dma--99020000.cf-ad9361-lpc
/sys/class/devlink/9c420000.dma--99024000.cf-ad9361-dds-core-lpc
/sys/devices/platform/fpga-axi@0/99024000.cf-ad9361-dds-core-lpc
/sys/devices/platform/fpga-axi@0/9c400000.dma/consumer:99020000.cf-ad9361-lpc
/sys/devices/platform/fpga-axi@0/99020000.cf-ad9361-lpc
/sys/devices/platform/fpga-axi@0/9c420000.dma/consumer:99024000.cf-ad9361-dds-core-lpc
/sys/devices/virtual/devlink/9c400000.dma--99020000.cf-ad9361-lpc
/sys/devices/virtual/devlink/9c420000.dma--99024000.cf-ad9361-dds-core-lpc
/sys/bus/platform/devices/99024000.cf-ad9361-dds-core-lpc
/sys/bus/platform/devices/99020000.cf-ad9361-lpc
/sys/bus/spi/drivers/ad9361
/sys/firmware/devicetree/base/fpga-axi@0/cf-ad9361-dds-core-lpc@99024000
/sys/firmware/devicetree/base/fpga-axi@0/cf-ad9361-lpc@99020000
/sys/firmware/devicetree/base/__symbols__/ad9361_clkin
/sys/firmware/devicetree/base/__symbols__/adc0_ad9361
/sys/firmware/devicetree/base/__symbols__/axi_ad9361_adc_dma
/sys/firmware/devicetree/base/__symbols__/cf_ad9361_dac_core_0
/sys/firmware/devicetree/base/__symbols__/cf_ad9361_adc_core_0
/sys/firmware/devicetree/base/__symbols__/axi_ad9361_dac_dma
/sys/firmware/devicetree/base/axi/spi@ff040000/ad9361-phy@0
/sys/module/cf_axi_adc/holders/ad9361_drv
/sys/module/ad9361_drv
/sys/module/ad9361_drv/drivers/spi:ad9361

root@xu5-2021:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.10.0-xilinx-v2021.2 (oe-user@oe-host) (aarch64-xilinx-linux-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.1) #1 SMP Tue Apr 4 07:50:13 UTC 2023
[ 0.000000] Machine model: Enclustra ME-XU5-3EG-2I-D11E
[ 0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
[ 0.000000] printk: bootconsole [cdns0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 256 MiB at 0x000000002dc00000
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000000000000-0x000000003fefffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000003ecfffff]
[ 0.000000] node 0: [mem 0x000000003ee48000-0x000000003fefffff]
[ 0.000000] Zeroed struct page in unavailable ranges: 512 pages
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fefffff]
[ 0.000000] On node 0 totalpages: 261560
[ 0.000000] DMA32 zone: 4092 pages used for memmap
[ 0.000000] DMA32 zone: 0 pages reserved
[ 0.000000] DMA32 zone: 261560 pages, LIFO batch:63
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] Number of cores (4) exceeds configured maximum of 3 - clipping
[ 0.000000] percpu: Embedded 22 pages/cpu s50968 r8192 d30952 u90112
[ 0.000000] pcpu-alloc: s50968 r8192 d30952 u90112 alloc=22*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 257468
[ 0.000000] Kernel command line: earlycon console=ttyPS0,115200 clk_ignore_unused root=/dev/mmcblk1p2 rw rootwait
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 740440K/1046240K available (14336K kernel code, 1216K rwdata, 4240K rodata, 2624K init, 588K bss, 43656K reserved, 262144K cma-reserved)
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] random: get_random_bytes called from start_kernel+0x31c/0x524 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 33.33MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x7afd9f30b, max_idle_ns: 440795202937 ns
[ 0.000003] sched_clock: 56 bits at 33MHz, resolution 30ns, wraps every 2199023255543ns
[ 0.008302] Console: colour dummy device 80x25
[ 0.012393] Calibrating delay loop (skipped), value calculated using timer frequency.. 66.66 BogoMIPS (lpj=133320)
[ 0.022669] pid_max: default: 32768 minimum: 301
[ 0.027383] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.034612] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.043439] rcu: Hierarchical SRCU implementation.
[ 0.047788] EFI services will not be available.
[ 0.051780] smp: Bringing up secondary CPUs ...
[ 0.056515] Detected VIPT I-cache on CPU1
[ 0.056557] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.056938] Detected VIPT I-cache on CPU2
[ 0.056960] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.057008] smp: Brought up 1 node, 3 CPUs
[ 0.081148] SMP: Total of 3 processors activated.
[ 0.085821] CPU features: detected: 32-bit EL0 Support
[ 0.090925] CPU features: detected: CRC32 instructions
[ 0.096061] CPU: All CPU(s) started at EL2
[ 0.100105] alternatives: patching kernel code
[ 0.105291] devtmpfs: initialized
[ 0.112905] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.117492] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.130936] pinctrl core: initialized pinctrl subsystem
[ 0.131448] DMI not present or invalid.
[ 0.134511] NET: Registered protocol family 16
[ 0.140058] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.145844] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.153672] audit: initializing netlink subsys (disabled)
[ 0.159067] audit: type=2000 audit(0.108:1): state=initialized audit_enabled=0 res=1
[ 0.166708] cpuidle: using governor menu
[ 0.170662] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.177373] ASID allocator initialised with 65536 entries
[ 0.182798] Serial: AMBA PL011 UART driver
[ 0.211890] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.212942] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.219614] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.226279] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 1.280078] cryptd: max_cpu_qlen set to 1000
[ 1.304455] DRBG: Continuing without Jitter RNG
[ 1.381697] raid6: neonx8 gen() 2138 MB/s
[ 1.449749] raid6: neonx8 xor() 1596 MB/s
[ 1.517820] raid6: neonx4 gen() 2187 MB/s
[ 1.585871] raid6: neonx4 xor() 1566 MB/s
[ 1.653937] raid6: neonx2 gen() 2078 MB/s
[ 1.721990] raid6: neonx2 xor() 1442 MB/s
[ 1.790059] raid6: neonx1 gen() 1779 MB/s
[ 1.858110] raid6: neonx1 xor() 1220 MB/s
[ 1.926175] raid6: int64x8 gen() 1438 MB/s
[ 1.994235] raid6: int64x8 xor() 771 MB/s
[ 2.062293] raid6: int64x4 gen() 1601 MB/s
[ 2.130351] raid6: int64x4 xor() 818 MB/s
[ 2.198431] raid6: int64x2 gen() 1397 MB/s
[ 2.266479] raid6: int64x2 xor() 739 MB/s
[ 2.334567] raid6: int64x1 gen() 1032 MB/s
[ 2.402608] raid6: int64x1 xor() 517 MB/s
[ 2.402646] raid6: using algorithm neonx4 gen() 2187 MB/s
[ 2.406604] raid6: .... xor() 1566 MB/s, rmw enabled
[ 2.411536] raid6: using neon recovery algorithm
[ 2.416630] iommu: Default domain type: Translated
[ 2.421180] SCSI subsystem initialized
[ 2.424705] libata version 3.00 loaded.
[ 2.424821] usbcore: registered new interface driver usbfs
[ 2.430165] usbcore: registered new interface driver hub
[ 2.435438] usbcore: registered new device driver usb
[ 2.440481] mc: Linux media interface: v0.10
[ 2.444687] videodev: Linux video capture interface: v2.00
[ 2.450161] EDAC MC: Ver: 3.0.0
[ 2.453607] zynqmp-ipi-mbox mailbox@ff990400: Registered ZynqMP IPI mbox with TX/RX channels.
[ 2.461921] zynqmp-ipi-mbox mailbox@ff990600: Registered ZynqMP IPI mbox with TX/RX channels.
[ 2.470430] jesd204: found 0 devices and 0 topologies
[ 2.475239] FPGA manager framework
[ 2.478703] Advanced Linux Sound Architecture Driver Initialized.
[ 2.484927] Bluetooth: Core ver 2.22
[ 2.488193] NET: Registered protocol family 31
[ 2.492596] Bluetooth: HCI device and connection manager initialized
[ 2.498913] Bluetooth: HCI socket layer initialized
[ 2.503756] Bluetooth: L2CAP socket layer initialized
[ 2.508782] Bluetooth: SCO socket layer initialized
[ 2.513872] clocksource: Switched to clocksource arch_sys_counter
[ 2.519818] VFS: Disk quotas dquot_6.6.0
[ 2.523608] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 2.534482] NET: Registered protocol family 2
[ 2.535058] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 2.543052] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 2.550783] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 2.558009] TCP: Hash tables configured (established 8192 bind 8192)
[ 2.564289] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 2.570824] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 2.577911] NET: Registered protocol family 1
[ 2.582403] RPC: Registered named UNIX socket transport module.
[ 2.588023] RPC: Registered udp transport module.
[ 2.592688] RPC: Registered tcp transport module.
[ 2.597356] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.604339] PCI: CLS 0 bytes, default 64
[ 2.633364] Initialise system trusted keyrings
[ 2.633488] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 2.639255] NFS: Registering the id_resolver key type
[ 2.643635] Key type id_resolver registered
[ 2.647749] Key type id_legacy registered
[ 2.651751] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 2.658403] jffs2: version 2.2. (NAND) (SUMMARY) \xc2\xa9 2001-2006 Red Hat, Inc.
[ 2.701139] NET: Registered protocol family 38
[ 2.701184] xor: measuring software checksum speed
[ 2.708879] 8regs : 2363 MB/sec
[ 2.712544] 32regs : 2798 MB/sec
[ 2.717486] arm64_neon : 2380 MB/sec
[ 2.717676] xor: using function: 32regs (2798 MB/sec)
[ 2.722701] Key type asymmetric registered
[ 2.726764] Asymmetric key parser 'x509' registered
[ 2.731635] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 2.738964] io scheduler mq-deadline registered
[ 2.743464] io scheduler kyber registered
[ 2.749761] ps_pcie_dma init()
[ 2.776496] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 2.778365] Serial: AMBA driver
[ 2.783214] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 2.790878] brd: module loaded
[ 2.795131] loop: module loaded
[ 2.795990] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 2.800610] libphy: Fixed MDIO Bus: probed
[ 2.804381] tun: Universal TUN/TAP device driver, 1.6
[ 2.808212] CAN device driver interface
[ 2.812842] usbcore: registered new interface driver asix
[ 2.817338] usbcore: registered new interface driver ax88179_178a
[ 2.823373] usbcore: registered new interface driver cdc_ether
[ 2.829167] usbcore: registered new interface driver net1080
[ 2.834812] usbcore: registered new interface driver cdc_subset
[ 2.840675] usbcore: registered new interface driver zaurus
[ 2.846223] usbcore: registered new interface driver cdc_ncm
[ 2.852808] usbcore: registered new interface driver uas
[ 2.857121] usbcore: registered new interface driver usb-storage
[ 2.863697] rtc_zynqmp ffa60000.rtc: registered as rtc0
[ 2.868269] rtc_zynqmp ffa60000.rtc: setting system clock to 1970-01-01T09:06:14 UTC (32774)
[ 2.876694] i2c /dev entries driver
[ 2.881895] usbcore: registered new interface driver uvcvideo
[ 2.885805] USB Video Class driver (1.1.1)
[ 2.890285] Bluetooth: HCI UART driver ver 2.3
[ 2.894294] Bluetooth: HCI UART protocol H4 registered
[ 2.899395] Bluetooth: HCI UART protocol BCSP registered
[ 2.904685] Bluetooth: HCI UART protocol LL registered
[ 2.909775] Bluetooth: HCI UART protocol ATH3K registered
[ 2.915150] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 2.921403] Bluetooth: HCI UART protocol Intel registered
[ 2.926749] Bluetooth: HCI UART protocol QCA registered
[ 2.931945] usbcore: registered new interface driver bcm203x
[ 2.937568] usbcore: registered new interface driver bpa10x
[ 2.943104] usbcore: registered new interface driver bfusb
[ 2.948555] usbcore: registered new interface driver btusb
[ 2.954015] usbcore: registered new interface driver ath3k
[ 2.959510] EDAC MC: ECC not enabled
[ 2.963135] EDAC DEVICE0: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)
[ 2.975498] sdhci: Secure Digital Host Controller Interface driver
[ 2.981236] sdhci: Copyright(c) Pierre Ossman
[ 2.985557] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.991593] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.997163] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[ 3.003587] zynqmp_firmware_probe Platform Management API v1.1
[ 3.009349] zynqmp_firmware_probe Trustzone version v1.0
[ 3.079495] securefw securefw: securefw probed
[ 3.079780] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
[ 3.083950] zynqmp_aes firmware:zynqmp-firmware:zynqmp-aes: AES Successfully Registered
[ 3.092075] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[ 3.098217] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[ 3.103720] usbcore: registered new interface driver usbhid
[ 3.109102] usbhid: USB HID core driver
[ 3.115787] ARM CCI_400_r1 PMU driver probed
[ 3.116261] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[ 3.124019] usbcore: registered new interface driver snd-usb-audio
[ 3.130621] pktgen: Packet Generator for packet performance testing. Version: 2.75
[ 3.137731] Initializing XFRM netlink socket
[ 3.141521] NET: Registered protocol family 10
[ 3.146269] Segment Routing with IPv6
[ 3.149649] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 3.155716] NET: Registered protocol family 17
[ 3.159805] NET: Registered protocol family 15
[ 3.164216] can: controller area network core
[ 3.168556] NET: Registered protocol family 29
[ 3.172947] can: raw protocol
[ 3.175886] can: broadcast manager protocol
[ 3.180039] can: netlink gateway - max_hops=1
[ 3.184439] Bluetooth: RFCOMM TTY layer initialized
[ 3.189216] Bluetooth: RFCOMM socket layer initialized
[ 3.194325] Bluetooth: RFCOMM ver 1.11
[ 3.198039] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 3.203306] Bluetooth: BNEP filters: protocol multicast
[ 3.208500] Bluetooth: BNEP socket layer initialized
[ 3.213427] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 3.219312] Bluetooth: HIDP socket layer initialized
[ 3.224361] 9pnet: Installing 9P2000 support
[ 3.228497] Key type dns_resolver registered
[ 3.232911] registered taskstats version 1
[ 3.236792] Loading compiled-in X.509 certificates
[ 3.242534] Btrfs loaded, crc32c=crc32c-generic
[ 3.254867] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 51, base_baud = 6249375) is a xuartps
[ 3.263892] printk: console [ttyPS0] enabled
[ 3.268189] printk: bootconsole [cdns0] disabled
[ 3.277485] of-fpga-region fpga-full: FPGA Region probed
[ 3.287694] xilinx-vdma a0000000.dma: Xilinx AXI DMA Engine Driver Probed!!
[ 3.294929] xilinx-vdma a0010000.dma: Xilinx AXI DMA Engine Driver Probed!!
[ 3.302153] xilinx-vdma a0020000.dma: Xilinx AXI DMA Engine Driver Probed!!
[ 3.309399] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
[ 3.316575] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
[ 3.323757] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
[ 3.330931] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
[ 3.338105] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
[ 3.345290] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
[ 3.352466] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
[ 3.359636] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
[ 3.366876] xilinx-zynqmp-dma ffa80000.dma: ZynqMP DMA driver Probe success
[ 3.374061] xilinx-zynqmp-dma ffa90000.dma: ZynqMP DMA driver Probe success
[ 3.381241] xilinx-zynqmp-dma ffaa0000.dma: ZynqMP DMA driver Probe success
[ 3.388414] xilinx-zynqmp-dma ffab0000.dma: ZynqMP DMA driver Probe success
[ 3.395585] xilinx-zynqmp-dma ffac0000.dma: ZynqMP DMA driver Probe success
[ 3.402765] xilinx-zynqmp-dma ffad0000.dma: ZynqMP DMA driver Probe success
[ 3.409956] xilinx-zynqmp-dma ffae0000.dma: ZynqMP DMA driver Probe success
[ 3.417132] xilinx-zynqmp-dma ffaf0000.dma: ZynqMP DMA driver Probe success
[ 3.424540] xilinx-zynqmp-dpdma fd4c0000.dma-controller: Xilinx DPDMA engine is probed
[ 3.433347] zynqmp-display fd4a0000.display: vtc bridge property not present
[ 3.440575] OF: graph: no port node found in /axi/display@fd4a0000
[ 3.447056] xlnx-drm xlnx-drm.0: bound fd4a0000.display (ops 0xffff800010edf5f0)
[ 4.533890] zynqmp-display fd4a0000.display: [drm] Cannot find any crtc or sizes
[ 4.541524] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.display on minor 0
[ 4.549018] zynqmp-display fd4a0000.display: ZynqMP DisplayPort Subsystem driver probed
[ 4.562366] random: fast init done
[ 4.737701] random: crng init done
[ 4.970781] spi-nor spi0.0: trying to lock already unlocked area
[ 4.976791] spi-nor spi0.0: s25fl512s (65536 Kbytes)
[ 4.981773] 3 fixed-partitions partitions found on MTD device spi0.0
[ 4.988125] Creating 3 MTD partitions on "spi0.0":
[ 4.992911] 0x000000000000-0x000000100000 : "boot"
[ 4.998497] 0x000000100000-0x000000140000 : "bootenv"
[ 5.004196] 0x000000140000-0x000001740000 : "kernel"
[ 5.010290] macb ff0b0000.ethernet: Not enabling partial store and forward
[ 5.017912] libphy: MACB_mii_bus: probed
[ 5.022628] macb ff0b0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0b0000 irq 37 (5e:58:c5:5a:57:f7)
[ 5.032838] macb ff0c0000.ethernet: Not enabling partial store and forward
[ 5.039738] macb ff0c0000.ethernet: invalid hw address, using random
[ 5.046723] libphy: MACB_mii_bus: probed
[ 5.051089] macb ff0c0000.ethernet eth1: Cadence GEM rev 0x50070106 at 0xff0c0000 irq 38 (4a:f0:2a:35:f5:15)
[ 5.061281] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[ 5.067863] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[ 5.074401] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[ 5.080947] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[ 5.102639] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 5.108133] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[ 5.115887] xhci-hcd xhci-hcd.1.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x0000000002010810
[ 5.125295] xhci-hcd xhci-hcd.1.auto: irq 64, io mem 0xfe200000
[ 5.131439] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[ 5.139705] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.146923] usb usb1: Product: xHCI Host Controller
[ 5.151791] usb usb1: Manufacturer: Linux 5.10.0-xilinx-v2021.2 xhci-hcd
[ 5.158486] usb usb1: SerialNumber: xhci-hcd.1.auto
[ 5.163684] hub 1-0:1.0: USB hub found
[ 5.167446] hub 1-0:1.0: 1 port detected
[ 5.171559] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 5.177041] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[ 5.184699] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[ 5.191439] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[ 5.199695] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.206912] usb usb2: Product: xHCI Host Controller
[ 5.211786] usb usb2: Manufacturer: Linux 5.10.0-xilinx-v2021.2 xhci-hcd
[ 5.218478] usb usb2: SerialNumber: xhci-hcd.1.auto
[ 5.223596] hub 2-0:1.0: USB hub found
[ 5.227359] hub 2-0:1.0: 1 port detected
[ 5.232439] cdns-i2c ff020000.i2c: 100 kHz mmio ff020000 irq 40
[ 5.238877] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1199880 KHz, changing to: 1199999 KHz
[ 5.254599] of_cfs_init
[ 5.257062] of_cfs_init: OK
[ 5.260015] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 5.281884] mmc1: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[ 5.283032] mmc0: SDHCI controller on ff160000.mmc [ff160000.mmc] using ADMA 64-bit
[ 5.336470] mmc1: new SDXC card at address 0001
[ 5.341382] mmcblk1: mmc1:0001 SD 62.5 GiB
[ 5.353200] mmcblk1: p1 p2
[ 5.357740] mmc0: new HS200 MMC card at address 0001
[ 5.363050] mmcblk0: mmc0:0001 IB2916 14.6 GiB
[ 5.367765] mmcblk0boot0: mmc0:0001 IB2916 partition 1 4.00 MiB
[ 5.373885] mmcblk0boot1: mmc0:0001 IB2916 partition 2 4.00 MiB
[ 5.379867] mmcblk0rpmb: mmc0:0001 IB2916 partition 3 4.00 MiB, chardev (245:0)
[ 5.388199] mmcblk0: p1
[ 5.395350] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 5.401881] clk: Not disabling unused clocks
[ 5.406390] ALSA device list:
[ 5.409347] No soundcards found.
[ 5.413033] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 5.421643] cfg80211: failed to load regulatory.db
[ 5.496174] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[ 5.504289] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 5.546318] devtmpfs: mounted
[ 5.550197] Freeing unused kernel memory: 2624K
[ 5.554795] Run /sbin/init as init process
[ 5.558882] with arguments:
[ 5.558886] /sbin/init
[ 5.558888] with environment:
[ 5.558892] HOME=/
[ 5.558894] TERM=linux
[ 5.625901] zynqmp-display fd4a0000.display: [drm] Cannot find any crtc or sizes
[ 8.883265] udevd[260]: starting version 3.2.9
[ 9.470758] udevd[261]: starting eudev-3.2.9
[ 9.914899] remoteproc remoteproc0: ff9a0000.rf5ss:r5f_0 is available
[ 10.131104] mali: loading out-of-tree module taints kernel.
[ 10.774254] ad9361 spi1.0: ad9361_probe : enter (ad9361)
[ 10.780512] ad9361 spi1.0: No GPIOs defined for ext band ctrl
[ 11.019704] ad9361 spi1.0: ad9361_probe : AD936x Rev 0 successfully initialized
[ 14.094506] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 14.191461] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[ 17.221311] Unloading old XRT Linux kernel modules
[ 17.271782] Loading new XRT Linux kernel modules
[ 17.584746] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/x11/libMali.so.9.0
[ 17.669381] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/x11/libMali.so.9.0
[ 17.695931] Warn: update-alternatives: libmali-xlnx has multiple providers with the same priority, please check /usr/lib/opkg/alternatives/libmali-xlnx for details
[ 17.712408] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/x11/libMali.so.9.0
[ 17.755184] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/x11/libMali.so.9.0
[ 26.325111] INFO: Creating ICD entry for Xilinx Platform
[ 27.291398] Micrel KSZ9031 Gigabit PHY ff0b0000.ethernet-ffffffff:03: *-skew-ps values should be used only with phy-mode = "rgmii"
[ 27.293988] macb ff0b0000.ethernet eth0: PHY [ff0b0000.ethernet-ffffffff:03] driver [Micrel KSZ9031 Gigabit PHY] (irq=POLL)
[ 27.293997] macb ff0b0000.ethernet eth0: configuring for phy/rgmii-id link mode
[ 32.395566] macb ff0b0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 32.395593] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1640.135373] Micrel KSZ9031 Gigabit PHY ff0b0000.ethernet-ffffffff:03: *-skew-ps values should be used only with phy-mode = "rgmii"
[ 1640.135986] macb ff0b0000.ethernet eth0: Link is Down
[ 1645.258872] macb ff0b0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 2014.971368] Micrel KSZ9031 Gigabit PHY ff0b0000.ethernet-ffffffff:03: *-skew-ps values should be used only with phy-mode = "rgmii"
[ 2014.971976] macb ff0b0000.ethernet eth0: Link is Down
[ 2020.074874] macb ff0b0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 2678.567369] Micrel KSZ9031 Gigabit PHY ff0b0000.ethernet-ffffffff:03: *-skew-ps values should be used only with phy-mode = "rgmii"
[ 2678.567979] macb ff0b0000.ethernet eth0: Link is Down
[ 2691.882889] macb ff0b0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off

Device Tree

fpga_axi: fpga-axi@0 {
   interrupt-parent = <&gic>;
   compatible = "simple-bus";
   #address-cells = <0x1>;
   #size-cells = <0x1>;
   ranges = <0 0 0 0xffffffff>;

   rx_dma: dma@9c400000 {
      compatible = "adi,axi-dmac-1.00.a";
      reg = <0x9c400000 0x1000>;
      #dma-cells = <1>;
      #clock-cells = <0>;
      interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH>;
      clocks = <&zynqmp_clk 71>;

      adi,channels {
         #size-cells = <0>;
         #address-cells = <1>;

         dma-channel@0 {
            reg = <0>;
            adi,source-bus-width = <64>;
            adi,source-bus-type = <2>;
            adi,destination-bus-width = <64>;
            adi,destination-bus-type = <0>;
         };
      };
   };

   tx_dma: dma@9c420000 {
      compatible = "adi,axi-dmac-1.00.a";
      reg = <0x9c420000 0x1000>;
      #dma-cells = <1>;
      #clock-cells = <0>;
      interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
      clocks = <&zynqmp_clk 71>;

      adi,channels {
         #size-cells = <0>;
         #address-cells = <1>;

         dma-channel@0 {
            reg = <0>;
            adi,source-bus-width = <64>;
            adi,source-bus-type = <0>;
            adi,destination-bus-width = <64>;
            adi,destination-bus-type = <2>;
         };
      };
   };

   cf_ad9361_adc_core_0: cf-ad9361-lpc@99020000 {
      compatible = "adi,axi-ad9361-6.00.a";
      reg = <0x99020000 0x6000>;
      dmas = <&rx_dma 0>;
      dma-names = "rx";
      spibus-connected = <&adc0_ad9361>;
   };

   cf_ad9361_dac_core_0: cf-ad9361-dds-core-lpc@99024000 {
      compatible = "adi,axi-ad9361-dds-6.00.a";
      reg = <0x99024000 0x1000>;
      clocks = <&adc0_ad9361 13>;
      clock-names = "sampl_clk";
      dmas = <&tx_dma 0>;
      dma-names = "tx";
   };
};

I would appreciate if anyone can point out what's wrong with my setup as to why there is no cf-ad9361-lpc iio device.

Thank you very much.