Skip to content

Commit adfdef7

Browse files
nxpfrankliLorenzo Pieralisi
authored andcommitted
dt-bindings: imx6q-pcie: Add iMX95 pcie endpoint compatible string
Add i.MX95 PCIe "fsl,imx95-pcie-ep" compatible string. Add reg-name: "atu", "dbi2", "dma" and "app". Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Frank Li <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Rob Herring <[email protected]>
1 parent 0044966 commit adfdef7

File tree

1 file changed

+38
-8
lines changed

1 file changed

+38
-8
lines changed

Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml

Lines changed: 38 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,7 @@ properties:
2222
- fsl,imx8mm-pcie-ep
2323
- fsl,imx8mq-pcie-ep
2424
- fsl,imx8mp-pcie-ep
25-
26-
reg:
27-
minItems: 2
28-
29-
reg-names:
30-
items:
31-
- const: dbi
32-
- const: addr_space
25+
- fsl,imx95-pcie-ep
3326

3427
clocks:
3528
minItems: 3
@@ -62,11 +55,48 @@ required:
6255
allOf:
6356
- $ref: /schemas/pci/snps,dw-pcie-ep.yaml#
6457
- $ref: /schemas/pci/fsl,imx6q-pcie-common.yaml#
58+
- if:
59+
properties:
60+
compatible:
61+
enum:
62+
- fsl,imx8mm-pcie-ep
63+
- fsl,imx8mq-pcie-ep
64+
- fsl,imx8mp-pcie-ep
65+
then:
66+
properties:
67+
reg:
68+
minItems: 2
69+
maxItems: 2
70+
reg-names:
71+
items:
72+
- const: dbi
73+
- const: addr_space
74+
75+
- if:
76+
properties:
77+
compatible:
78+
enum:
79+
- fsl,imx95-pcie-ep
80+
then:
81+
properties:
82+
reg:
83+
minItems: 6
84+
maxItems: 6
85+
reg-names:
86+
items:
87+
- const: dbi
88+
- const: atu
89+
- const: dbi2
90+
- const: app
91+
- const: dma
92+
- const: addr_space
93+
6594
- if:
6695
properties:
6796
compatible:
6897
enum:
6998
- fsl,imx8mq-pcie-ep
99+
- fsl,imx95-pcie-ep
70100
then:
71101
properties:
72102
clocks:

0 commit comments

Comments
 (0)