pci-thunder-pem.txt 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. * ThunderX PEM PCIe host controller
  2. Firmware-initialized PCI host controller found on some Cavium
  3. ThunderX processors.
  4. The properties and their meanings are identical to those described in
  5. host-generic-pci.txt except as listed below.
  6. Properties of the host controller node that differ from
  7. host-generic-pci.txt:
  8. - compatible : Must be "cavium,pci-host-thunder-pem"
  9. - reg : Two entries: First the configuration space for down
  10. stream devices base address and size, as accessed
  11. from the parent bus. Second, the register bank of
  12. the PEM device PCIe bridge.
  13. Example:
  14. pci@87e0,c2000000 {
  15. compatible = "cavium,pci-host-thunder-pem";
  16. device_type = "pci";
  17. msi-parent = <&its>;
  18. msi-map = <0 &its 0x10000 0x10000>;
  19. bus-range = <0x8f 0xc7>;
  20. #size-cells = <2>;
  21. #address-cells = <3>;
  22. reg = <0x8880 0x8f000000 0x0 0x39000000>, /* Configuration space */
  23. <0x87e0 0xc2000000 0x0 0x00010000>; /* PEM space */
  24. ranges = <0x01000000 0x00 0x00020000 0x88b0 0x00020000 0x00 0x00010000>, /* I/O */
  25. <0x03000000 0x00 0x10000000 0x8890 0x10000000 0x0f 0xf0000000>, /* mem64 */
  26. <0x43000000 0x10 0x00000000 0x88a0 0x00000000 0x10 0x00000000>, /* mem64-pref */
  27. <0x03000000 0x87e0 0xc2f00000 0x87e0 0xc2000000 0x00 0x00100000>; /* mem64 PEM BAR4 */
  28. #interrupt-cells = <1>;
  29. interrupt-map-mask = <0 0 0 7>;
  30. interrupt-map = <0 0 0 1 &gic0 0 0 0 24 4>, /* INTA */
  31. <0 0 0 2 &gic0 0 0 0 25 4>, /* INTB */
  32. <0 0 0 3 &gic0 0 0 0 26 4>, /* INTC */
  33. <0 0 0 4 &gic0 0 0 0 27 4>; /* INTD */
  34. };