I have an M.2 card with an Asix AX99100 chip connected to a Raspberry Pi HAT with a RPI 5. The chip bridges PCIe to SPI interface. I'm using the latest Raspyberry Pi OS.
Here is my dmesg output:Looking at `/proc/iomem` no I/O space is mapped at all:
How to change the device tree to enable/increase I/O memory mapping?
Here is my dmesg output:
Code:
[ 0.424180] pci 0000:04:00.3: BAR 1: assigned [mem 0x600002000-0x600002fff][ 0.424187] pci 0000:04:00.3: BAR 5: assigned [mem 0x600003000-0x600003fff][ 0.424194] pci 0000:04:00.3: BAR 0: no space for [io size 0x0080][ 0.424196] pci 0000:04:00.3: BAR 0: failed to assign [io size 0x0080]...[ 3.039129] ax99100_pci_spi: loading out-of-tree module taints kernel.[ 3.039417] ax99100-pci-spi: AX99100 PCIe to Multi I/O Controller - SPI driver[ 3.039568] ax99100-pci-spi 0000:04:00.3: enabling device (0000 -> 0002)[ 3.039590] ax99100-pci-spi 0000:04:00.3: Map PCI IO bar0 failed (spi)!Code:
$ cat /proc/iomem...00000000-00000000 : pcie@110000 00000000-00000000 : PCI Bus 0000:01 00000000-00000000 : PCI Bus 0000:02 00000000-00000000 : PCI Bus 0000:04 00000000-00000000 : 0000:04:00.0 00000000-00000000 : 0000:04:00.0 00000000-00000000 : 0000:04:00.3 00000000-00000000 : 0000:04:00.3Code:
pcie@110000 { compatible = "brcm,bcm2712-pcie"; reg = <0x10 0x110000 0x00 0x9310>; device_type = "pci"; max-link-speed = <0x02>; #address-cells = <0x03>; #interrupt-cells = <0x01>; #size-cells = <0x02>; interrupt-parent = <0x01>; interrupts = <0x00 0xdf 0x04 0x00 0xe0 0x04>; interrupt-names = "pcie\0msi"; interrupt-map-mask = <0x00 0x00 0x00 0x07>; interrupt-map = <0x00 0x00 0x00 0x01 0x01 0x00 0xdb 0x04 0x00 0x00 0x00 0x02 0x01 0x00 0xdc 0x04 0x00 0x00 0x00 0x03 0x01 0x00 0xdd 0x04 0x00 0x00 0x00 0x04 0x01 0x00 0xde 0x04>; resets = <0x2c 0x07 0x2c 0x2b 0x2d>; reset-names = "swinit\0bridge\0rescal"; msi-controller; msi-parent = <0x2f>; #ranges = <0x2000000 0x00 0x00 0x1b 0x00 0x00 0xfffffffc 0x43000000 0x04 0x00 0x18 0x00 0x03 0x00>; ranges = <0x02000000 0x0 0x00000000 0x6 0x00000000 0x0 0x10000000>; dma-ranges = <0x3000000 0x10 0x00 0x00 0x00 0x10 0x00>; brcm,enable-l1ss; status = "disabled"; phandle = <0x66>; };Statistics: Posted by db26201 — Fri May 23, 2025 11:52 am — Replies 0 — Views 10