1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/pci/xlnx,xd 5 $schema: http://devicetree.org/meta-schemas/co 6 7 title: Xilinx XDMA PL PCIe Root Port Bridge 8 9 maintainers: 10 - Thippeswamy Havalige <thippeswamy.havalige@ 11 12 allOf: 13 - $ref: /schemas/pci/pci-host-bridge.yaml# 14 15 properties: 16 compatible: 17 enum: 18 - xlnx,xdma-host-3.00 19 - xlnx,qdma-host-3.00 20 21 reg: 22 items: 23 - description: configuration region and 24 - description: QDMA bridge register. 25 minItems: 1 26 27 reg-names: 28 items: 29 - const: cfg 30 - const: breg 31 minItems: 1 32 33 ranges: 34 maxItems: 2 35 36 interrupts: 37 items: 38 - description: interrupt asserted when m 39 - description: msi0 interrupt asserted w 40 - description: msi1 interrupt asserted w 41 42 interrupt-names: 43 items: 44 - const: misc 45 - const: msi0 46 - const: msi1 47 48 interrupt-map-mask: 49 items: 50 - const: 0 51 - const: 0 52 - const: 0 53 - const: 7 54 55 interrupt-map: 56 maxItems: 4 57 58 "#interrupt-cells": 59 const: 1 60 61 interrupt-controller: 62 description: identifies the node as an int 63 type: object 64 properties: 65 interrupt-controller: true 66 67 "#address-cells": 68 const: 0 69 70 "#interrupt-cells": 71 const: 1 72 73 required: 74 - interrupt-controller 75 - "#address-cells" 76 - "#interrupt-cells" 77 78 additionalProperties: false 79 80 required: 81 - compatible 82 - reg 83 - ranges 84 - interrupts 85 - interrupt-map 86 - interrupt-map-mask 87 - "#interrupt-cells" 88 - interrupt-controller 89 90 if: 91 properties: 92 compatible: 93 contains: 94 enum: 95 - xlnx,qdma-host-3.00 96 then: 97 properties: 98 reg: 99 minItems: 2 100 reg-names: 101 minItems: 2 102 required: 103 - reg-names 104 else: 105 properties: 106 reg: 107 maxItems: 1 108 reg-names: 109 maxItems: 1 110 111 unevaluatedProperties: false 112 113 examples: 114 115 - | 116 #include <dt-bindings/interrupt-controller 117 #include <dt-bindings/interrupt-controller 118 119 soc { 120 #address-cells = <2>; 121 #size-cells = <2>; 122 pcie@a0000000 { 123 compatible = "xlnx,xdma-host-3.00" 124 reg = <0x0 0xa0000000 0x0 0x100000 125 ranges = <0x2000000 0x0 0xb0000000 126 <0x43000000 0x5 0x0 0x5 0 127 #address-cells = <3>; 128 #size-cells = <2>; 129 #interrupt-cells = <1>; 130 device_type = "pci"; 131 interrupt-parent = <&gic>; 132 interrupts = <GIC_SPI 89 IRQ_TYPE_ 133 <GIC_SPI 91 IRQ_TYPE_ 134 interrupt-names = "misc", "msi0", 135 interrupt-map-mask = <0x0 0x0 0x0 136 interrupt-map = <0 0 0 1 &pcie_int 137 <0 0 0 2 &pcie_int 138 <0 0 0 3 &pcie_int 139 <0 0 0 4 &pcie_int 140 pcie_intc_0: interrupt-controller 141 #address-cells = <0>; 142 #interrupt-cells = <1>; 143 interrupt-controller; 144 }; 145 }; 146 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.