[eve-kernel-arm64-v6.1.155-generic]: Update driver and options for Raspberry Pi 5#250
Merged
rucoder merged 2 commits intoJun 25, 2026
Merged
Conversation
…binding
Raspberry Pi 5 booted with no ethernet and no USB. The boot log showed
the PCIe root complex that RP1 hangs off failing at probe:
brcm-pcie 1000120000.pcie: Unable to find MSI PCI address
brcm-pcie: probe of 1000120000.pcie failed with error -22
The firmware-provided device tree uses the upstreamed MIP MSI-X binding
("brcm,bcm2712-mip") which differs from the older downstream binding
("brcm,bcm2712-mip-intc") that these 6.1 drivers were written against:
- MIP compatible is "brcm,bcm2712-mip" (no "interrupt-controller"
property, only "msi-controller"), so of_irq_init()/IRQCHIP_DECLARE
never matches the node.
- The GIC SPI base/count come from the "msi-ranges" property instead
of brcm,msi-base-spi / brcm,msi-num-spis.
- The MSI doorbell address is the second reg region instead of the
brcm,msi-pci-addr property.
Adapt both drivers to accept either binding (keeping backward
compatibility with the in-tree device tree):
- irq-bcm2712-mip: parse msi-ranges and reg[1] as fallbacks, and
register a platform driver (IRQCHIP_PLATFORM_DRIVER) for
"brcm,bcm2712-mip" since the node is populated as a platform device
rather than picked up by of_irq_init().
- pcie-brcmstb: when brcm,msi-pci-addr is absent, take the MSI PCI
(doorbell) address from reg[1] and the MIP register base from reg[0],
reading the raw untranslated reg cells.
Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Enable SPI support for Raspberry Pi 5 (driven by the RP1 chip). This is needed specially for TPMs connected through the SPI bus. Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
rucoder
merged commit Jun 25, 2026
f68bd17
into
lf-edge:eve-kernel-arm64-v6.1.155-generic
2 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We are going to update the Raspberry Pi firmware on EVE. This PR provide some changes required to provide the following support on Raspberry Pi 5: