File tree Expand file tree Collapse file tree 4 files changed +56
-6
lines changed
Documentation/devicetree/bindings/pci Expand file tree Collapse file tree 4 files changed +56
-6
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,13 @@ allOf:
48
48
49
49
properties :
50
50
compatible :
51
- const : mediatek,mt8192-pcie
51
+ oneOf :
52
+ - items :
53
+ - enum :
54
+ - mediatek,mt8188-pcie
55
+ - mediatek,mt8195-pcie
56
+ - const : mediatek,mt8192-pcie
57
+ - const : mediatek,mt8192-pcie
52
58
53
59
reg :
54
60
maxItems : 1
@@ -84,7 +90,9 @@ properties:
84
90
- const : tl_96m
85
91
- const : tl_32k
86
92
- const : peri_26m
87
- - const : top_133m
93
+ - enum :
94
+ - top_133m # for MT8192
95
+ - peri_mem # for MT8188/MT8195
88
96
89
97
assigned-clocks :
90
98
maxItems : 1
@@ -126,6 +134,7 @@ required:
126
134
- interrupts
127
135
- ranges
128
136
- clocks
137
+ - clock-names
129
138
- ' #interrupt-cells'
130
139
- interrupt-controller
131
140
Original file line number Diff line number Diff line change @@ -25,6 +25,33 @@ properties:
25
25
- const : cfg
26
26
- const : apb
27
27
28
+ clocks :
29
+ description :
30
+ Fabric Interface Controllers, FICs, are the interface between the FPGA
31
+ fabric and the core complex on PolarFire SoC. The FICs require two clocks,
32
+ one from each side of the interface. The "FIC clocks" described by this
33
+ property are on the core complex side & communication through a FIC is not
34
+ possible unless it's corresponding clock is enabled. A clock must be
35
+ enabled for each of the interfaces the root port is connected through.
36
+ This could in theory be all 4 interfaces, one interface or any combination
37
+ in between.
38
+ minItems : 1
39
+ items :
40
+ - description : FIC0's clock
41
+ - description : FIC1's clock
42
+ - description : FIC2's clock
43
+ - description : FIC3's clock
44
+
45
+ clock-names :
46
+ description :
47
+ As any FIC connection combination is possible, the names should match the
48
+ order in the clocks property and take the form "ficN" where N is a number
49
+ 0-3
50
+ minItems : 1
51
+ maxItems : 4
52
+ items :
53
+ pattern : ' ^fic[0-3]$'
54
+
28
55
interrupts :
29
56
minItems : 1
30
57
items :
@@ -40,6 +67,10 @@ properties:
40
67
ranges :
41
68
maxItems : 1
42
69
70
+ dma-ranges :
71
+ minItems : 1
72
+ maxItems : 6
73
+
43
74
msi-controller :
44
75
description : Identifies the node as an MSI controller.
45
76
Original file line number Diff line number Diff line change @@ -54,11 +54,11 @@ properties:
54
54
# Platform constraints are described later.
55
55
clocks :
56
56
minItems : 3
57
- maxItems : 12
57
+ maxItems : 13
58
58
59
59
clock-names :
60
60
minItems : 3
61
- maxItems : 12
61
+ maxItems : 13
62
62
63
63
resets :
64
64
minItems : 1
@@ -424,8 +424,8 @@ allOf:
424
424
then :
425
425
properties :
426
426
clocks :
427
- minItems : 11
428
- maxItems : 11
427
+ minItems : 13
428
+ maxItems : 13
429
429
clock-names :
430
430
items :
431
431
- const : pipe # PIPE clock
@@ -439,6 +439,8 @@ allOf:
439
439
- const : slave_q2a # Slave Q2A clock
440
440
- const : tbu # PCIe TBU clock
441
441
- const : ddrss_sf_tbu # PCIe SF TBU clock
442
+ - const : aggre0 # Aggre NoC PCIe CENTER SF AXI clock
443
+ - const : aggre1 # Aggre NoC PCIe1 AXI clock
442
444
resets :
443
445
maxItems : 1
444
446
reset-names :
Original file line number Diff line number Diff line change @@ -51,6 +51,12 @@ properties:
51
51
description : A phandle to the PCIe power up reset line.
52
52
maxItems : 1
53
53
54
+ clocks :
55
+ maxItems : 1
56
+
57
+ clock-names :
58
+ const : pcie_aux
59
+
54
60
pwren-gpios :
55
61
description : Should specify the GPIO for controlling the PCI bus device power on.
56
62
maxItems : 1
@@ -66,6 +72,7 @@ required:
66
72
- interrupt-map-mask
67
73
- interrupt-map
68
74
- clocks
75
+ - clock-names
69
76
- resets
70
77
- pwren-gpios
71
78
- reset-gpios
@@ -104,6 +111,7 @@ examples:
104
111
<0x0 0x0 0x0 0x2 &plic0 58>,
105
112
<0x0 0x0 0x0 0x3 &plic0 59>,
106
113
<0x0 0x0 0x0 0x4 &plic0 60>;
114
+ clock-names = "pcie_aux";
107
115
clocks = <&prci FU740_PRCI_CLK_PCIE_AUX>;
108
116
resets = <&prci 4>;
109
117
pwren-gpios = <&gpio 5 0>;
You can’t perform that action at this time.
0 commit comments