Skip to content

Commit f28b240

Browse files
khayash1Lorenzo Pieralisi
authored andcommitted
dt-bindings: PCI: uniphier-ep: Add bindings for NX1 SoC
Update PCI endpoint binding document for UniPhier NX1 SoC. Add a compatible string, clock and reset lines for the SoC to the document. Link: https://lore.kernel.org/r/1644480596-20037-2-git-send-email-hayashi.kunihiko@socionext.com Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Rob Herring <robh@kernel.org>
1 parent e783362 commit f28b240

1 file changed

Lines changed: 15 additions & 7 deletions

File tree

Documentation/devicetree/bindings/pci/socionext,uniphier-pcie-ep.yaml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ allOf:
2020

2121
properties:
2222
compatible:
23-
const: socionext,uniphier-pro5-pcie-ep
23+
enum:
24+
- socionext,uniphier-pro5-pcie-ep
25+
- socionext,uniphier-nx1-pcie-ep
2426

2527
reg:
2628
minItems: 4
@@ -41,20 +43,26 @@ properties:
4143
- const: atu
4244

4345
clocks:
46+
minItems: 1
4447
maxItems: 2
4548

4649
clock-names:
47-
items:
48-
- const: gio
49-
- const: link
50+
oneOf:
51+
- items: # for Pro5
52+
- const: gio
53+
- const: link
54+
- const: link # for NX1
5055

5156
resets:
57+
minItems: 1
5258
maxItems: 2
5359

5460
reset-names:
55-
items:
56-
- const: gio
57-
- const: link
61+
oneOf:
62+
- items: # for Pro5
63+
- const: gio
64+
- const: link
65+
- const: link # for NX1
5866

5967
num-ib-windows:
6068
const: 16

0 commit comments

Comments
 (0)