rcar-pci.txt 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. * Renesas RCar PCIe interface
  2. Required properties:
  3. - compatible: should contain one of the following
  4. "renesas,pcie-r8a7779", "renesas,pcie-r8a7790", "renesas,pcie-r8a7791"
  5. - reg: base address and length of the pcie controller registers.
  6. - #address-cells: set to <3>
  7. - #size-cells: set to <2>
  8. - bus-range: PCI bus numbers covered
  9. - device_type: set to "pci"
  10. - ranges: ranges for the PCI memory and I/O regions.
  11. - dma-ranges: ranges for the inbound memory regions.
  12. - interrupts: two interrupt sources for MSI interrupts, followed by interrupt
  13. source for hardware related interrupts (e.g. link speed change).
  14. - #interrupt-cells: set to <1>
  15. - interrupt-map-mask and interrupt-map: standard PCI properties
  16. to define the mapping of the PCIe interface to interrupt
  17. numbers.
  18. - clocks: from common clock binding: clock specifiers for the PCIe controller
  19. and PCIe bus clocks.
  20. - clock-names: from common clock binding: should be "pcie" and "pcie_bus".
  21. Example:
  22. SoC specific DT Entry:
  23. pcie: pcie@fe000000 {
  24. compatible = "renesas,pcie-r8a7791";
  25. reg = <0 0xfe000000 0 0x80000>;
  26. #address-cells = <3>;
  27. #size-cells = <2>;
  28. bus-range = <0x00 0xff>;
  29. device_type = "pci";
  30. ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
  31. 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
  32. 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
  33. 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
  34. dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x40000000
  35. 0x42000000 2 0x00000000 2 0x00000000 0 0x40000000>;
  36. interrupts = <0 116 4>, <0 117 4>, <0 118 4>;
  37. #interrupt-cells = <1>;
  38. interrupt-map-mask = <0 0 0 0>;
  39. interrupt-map = <0 0 0 0 &gic 0 116 4>;
  40. clocks = <&mstp3_clks R8A7791_CLK_PCIE>, <&pcie_bus_clk>;
  41. clock-names = "pcie", "pcie_bus";
  42. status = "disabled";
  43. };