Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

PCI: xilinx: Update Zynq binding with Microblaze node

Update Zynq PCI binding documentation with Microblaze node.

[bhelgaas: fix "microbalze_0_intc" typo]
Signed-off-by: Bharat Kumar Gogada <bharatku@xilinx.com>
Signed-off-by: Ravi Kiran Gummaluri <rgummal@xilinx.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Michal Simek <michal.simek@xilinx.com>

authored by

Bharat Kumar Gogada and committed by
Bjorn Helgaas
e5d4b200 2c51391d

+29 -3
+29 -3
Documentation/devicetree/bindings/pci/xilinx-pcie.txt
··· 17 17 Please refer to the standard PCI bus binding document for a more 18 18 detailed explanation 19 19 20 - Optional properties: 20 + Optional properties for Zynq/Microblaze: 21 21 - bus-range: PCI bus numbers covered 22 22 23 23 Interrupt controller child node ··· 38 38 39 39 Example: 40 40 ++++++++ 41 - 41 + Zynq: 42 42 pci_express: axi-pcie@50000000 { 43 43 #address-cells = <3>; 44 44 #size-cells = <2>; 45 45 #interrupt-cells = <1>; 46 46 compatible = "xlnx,axi-pcie-host-1.00.a"; 47 - reg = < 0x50000000 0x10000000 >; 47 + reg = < 0x50000000 0x1000000 >; 48 48 device_type = "pci"; 49 49 interrupts = < 0 52 4 >; 50 50 interrupt-map-mask = <0 0 0 7>; ··· 59 59 #address-cells = <0>; 60 60 #interrupt-cells = <1>; 61 61 }; 62 + }; 63 + 64 + 65 + Microblaze: 66 + pci_express: axi-pcie@10000000 { 67 + #address-cells = <3>; 68 + #size-cells = <2>; 69 + #interrupt-cells = <1>; 70 + compatible = "xlnx,axi-pcie-host-1.00.a"; 71 + reg = <0x10000000 0x4000000>; 72 + device_type = "pci"; 73 + interrupt-parent = <&microblaze_0_intc>; 74 + interrupts = <1 2>; 75 + interrupt-map-mask = <0 0 0 7>; 76 + interrupt-map = <0 0 0 1 &pcie_intc 1>, 77 + <0 0 0 2 &pcie_intc 2>, 78 + <0 0 0 3 &pcie_intc 3>, 79 + <0 0 0 4 &pcie_intc 4>; 80 + ranges = <0x02000000 0x00000000 0x80000000 0x80000000 0x00000000 0x10000000>; 81 + 82 + pcie_intc: interrupt-controller { 83 + interrupt-controller; 84 + #address-cells = <0>; 85 + #interrupt-cells = <1>; 86 + }; 87 + 62 88 };