Search code examples
linux-kernelinterrupt-handlingdtsdevice-treepci-e

device tree interrupt remapping for pcie and pci device


How to assign interrupt number in device tree for each pcie and pci devices connected to main host bridge via pcie switch and pcie-pci bridge ? Is it require to do it manually or it will automatically assigned ?


Solution

  • For PCI or PCI-E devices connected via PCI or PCI-E bus, it is not required to declare each and every node in the device tree. The devices which are not connected to the PCI/PCI-E bus, need to be declared.