1*4882a593Smuzhiyun* Xilinx NWL PCIe Root Port Bridge DT description 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun- compatible: Should contain "xlnx,nwl-pcie-2.11" 5*4882a593Smuzhiyun- #address-cells: Address representation for root ports, set to <3> 6*4882a593Smuzhiyun- #size-cells: Size representation for root ports, set to <2> 7*4882a593Smuzhiyun- #interrupt-cells: specifies the number of cells needed to encode an 8*4882a593Smuzhiyun interrupt source. The value must be 1. 9*4882a593Smuzhiyun- reg: Should contain Bridge, PCIe Controller registers location, 10*4882a593Smuzhiyun configuration space, and length 11*4882a593Smuzhiyun- reg-names: Must include the following entries: 12*4882a593Smuzhiyun "breg": bridge registers 13*4882a593Smuzhiyun "pcireg": PCIe controller registers 14*4882a593Smuzhiyun "cfg": configuration space region 15*4882a593Smuzhiyun- device_type: must be "pci" 16*4882a593Smuzhiyun- interrupts: Should contain NWL PCIe interrupt 17*4882a593Smuzhiyun- interrupt-names: Must include the following entries: 18*4882a593Smuzhiyun "msi1, msi0": interrupt asserted when an MSI is received 19*4882a593Smuzhiyun "intx": interrupt asserted when a legacy interrupt is received 20*4882a593Smuzhiyun "misc": interrupt asserted when miscellaneous interrupt is received 21*4882a593Smuzhiyun- interrupt-map-mask and interrupt-map: standard PCI properties to define the 22*4882a593Smuzhiyun mapping of the PCI interface to interrupt numbers. 23*4882a593Smuzhiyun- ranges: ranges for the PCI memory regions (I/O space region is not 24*4882a593Smuzhiyun supported by hardware) 25*4882a593Smuzhiyun Please refer to the standard PCI bus binding document for a more 26*4882a593Smuzhiyun detailed explanation 27*4882a593Smuzhiyun- msi-controller: indicates that this is MSI controller node 28*4882a593Smuzhiyun- msi-parent: MSI parent of the root complex itself 29*4882a593Smuzhiyun- legacy-interrupt-controller: Interrupt controller device node for Legacy 30*4882a593Smuzhiyun interrupts 31*4882a593Smuzhiyun - interrupt-controller: identifies the node as an interrupt controller 32*4882a593Smuzhiyun - #interrupt-cells: should be set to 1 33*4882a593Smuzhiyun - #address-cells: specifies the number of cells needed to encode an 34*4882a593Smuzhiyun address. The value must be 0. 35*4882a593Smuzhiyun 36*4882a593Smuzhiyun 37*4882a593SmuzhiyunExample: 38*4882a593Smuzhiyun++++++++ 39*4882a593Smuzhiyun 40*4882a593Smuzhiyunnwl_pcie: pcie@fd0e0000 { 41*4882a593Smuzhiyun #address-cells = <3>; 42*4882a593Smuzhiyun #size-cells = <2>; 43*4882a593Smuzhiyun compatible = "xlnx,nwl-pcie-2.11"; 44*4882a593Smuzhiyun #interrupt-cells = <1>; 45*4882a593Smuzhiyun msi-controller; 46*4882a593Smuzhiyun device_type = "pci"; 47*4882a593Smuzhiyun interrupt-parent = <&gic>; 48*4882a593Smuzhiyun interrupts = <0 114 4>, <0 115 4>, <0 116 4>, <0 117 4>, <0 118 4>; 49*4882a593Smuzhiyun interrupt-names = "msi0", "msi1", "intx", "dummy", "misc"; 50*4882a593Smuzhiyun interrupt-map-mask = <0x0 0x0 0x0 0x7>; 51*4882a593Smuzhiyun interrupt-map = <0x0 0x0 0x0 0x1 &pcie_intc 0x1>, 52*4882a593Smuzhiyun <0x0 0x0 0x0 0x2 &pcie_intc 0x2>, 53*4882a593Smuzhiyun <0x0 0x0 0x0 0x3 &pcie_intc 0x3>, 54*4882a593Smuzhiyun <0x0 0x0 0x0 0x4 &pcie_intc 0x4>; 55*4882a593Smuzhiyun 56*4882a593Smuzhiyun msi-parent = <&nwl_pcie>; 57*4882a593Smuzhiyun reg = <0x0 0xfd0e0000 0x0 0x1000>, 58*4882a593Smuzhiyun <0x0 0xfd480000 0x0 0x1000>, 59*4882a593Smuzhiyun <0x80 0x00000000 0x0 0x1000000>; 60*4882a593Smuzhiyun reg-names = "breg", "pcireg", "cfg"; 61*4882a593Smuzhiyun ranges = <0x02000000 0x00000000 0xe0000000 0x00000000 0xe0000000 0x00000000 0x10000000 /* non-prefetchable memory */ 62*4882a593Smuzhiyun 0x43000000 0x00000006 0x00000000 0x00000006 0x00000000 0x00000002 0x00000000>;/* prefetchable memory */ 63*4882a593Smuzhiyun 64*4882a593Smuzhiyun pcie_intc: legacy-interrupt-controller { 65*4882a593Smuzhiyun interrupt-controller; 66*4882a593Smuzhiyun #address-cells = <0>; 67*4882a593Smuzhiyun #interrupt-cells = <1>; 68*4882a593Smuzhiyun }; 69*4882a593Smuzhiyun 70*4882a593Smuzhiyun}; 71