Skip to content

Commit 49f4070

Browse files
Bharat Kumar Gogadabjorn-helgaas
authored andcommitted
dt-bindings: PCI: xilinx-cpm: Add Versal CPM5 Root Port
Xilinx Versal Premium series has CPM5 block which supports Root Port functionality at Gen5 speed. Add support for YAML schemas documentation for Versal CPM5 Root Port driver. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bharat Kumar Gogada <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Rob Herring <[email protected]>
1 parent f2906aa commit 49f4070

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

Documentation/devicetree/bindings/pci/xilinx-versal-cpm.yaml

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,23 @@ allOf:
1414

1515
properties:
1616
compatible:
17-
const: xlnx,versal-cpm-host-1.00
17+
enum:
18+
- xlnx,versal-cpm-host-1.00
19+
- xlnx,versal-cpm5-host
1820

1921
reg:
2022
items:
2123
- description: CPM system level control and status registers.
2224
- description: Configuration space region and bridge registers.
25+
- description: CPM5 control and status registers.
26+
minItems: 2
2327

2428
reg-names:
2529
items:
2630
- const: cpm_slcr
2731
- const: cfg
32+
- const: cpm_csr
33+
minItems: 2
2834

2935
interrupts:
3036
maxItems: 1
@@ -95,4 +101,34 @@ examples:
95101
interrupt-controller;
96102
};
97103
};
104+
105+
cpm5_pcie: pcie@fcdd0000 {
106+
compatible = "xlnx,versal-cpm5-host";
107+
device_type = "pci";
108+
#address-cells = <3>;
109+
#interrupt-cells = <1>;
110+
#size-cells = <2>;
111+
interrupts = <0 72 4>;
112+
interrupt-parent = <&gic>;
113+
interrupt-map-mask = <0 0 0 7>;
114+
interrupt-map = <0 0 0 1 &pcie_intc_1 0>,
115+
<0 0 0 2 &pcie_intc_1 1>,
116+
<0 0 0 3 &pcie_intc_1 2>,
117+
<0 0 0 4 &pcie_intc_1 3>;
118+
bus-range = <0x00 0xff>;
119+
ranges = <0x02000000 0x0 0xe0000000 0x0 0xe0000000 0x0 0x10000000>,
120+
<0x43000000 0x80 0x00000000 0x80 0x00000000 0x0 0x80000000>;
121+
msi-map = <0x0 &its_gic 0x0 0x10000>;
122+
reg = <0x00 0xfcdd0000 0x00 0x1000>,
123+
<0x06 0x00000000 0x00 0x1000000>,
124+
<0x00 0xfce20000 0x00 0x1000000>;
125+
reg-names = "cpm_slcr", "cfg", "cpm_csr";
126+
127+
pcie_intc_1: interrupt-controller {
128+
#address-cells = <0>;
129+
#interrupt-cells = <1>;
130+
interrupt-controller;
131+
};
132+
};
133+
98134
};

0 commit comments

Comments
 (0)