-
Hello, I'm attempting to modify the icicle dev kit device trees to add at least 4 more generic-uio devices to the /dev directory and also know the addresses at which I can access these newly added devices. By default the icicle dev kit comes with 3 uio devices uio0, uio1 and uio2. I want to add more nodes from uio3 to uio6 and I don't know how to do this. In the ~/yocto-dev/build/tmp-glibc/work-shared/icicle-kit-es/kernel-source/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi, the following node exists: fpgalsram: uio@60000000 { I don't know how this node corresponds to the 3 uio devices in the /dev directory: uio0, uio1 and uio2, and what the addresses to access the uio1 and uio2 nodes would be using devmem2. I also don't know how to modify any of the existing device trees to add more uio nodes at an available address on the fabric. Any advice, insight or documentation would be greatly appreciated. Thanks in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @es-ggg , to enable a new node you just need to add similar additional entries in the device tree. |
Beta Was this translation helpful? Give feedback.
Hi @es-ggg ,
to enable a new node you just need to add similar additional entries in the device tree.
It follows the usual device tree syntax rules, As for the mapping of the /dev/uioX to a specific peripheral you should find the details in the /sys file systems.