dt-bindings: PCI: mediatek-gen3: Add support for Airoha EN7581
Introduce Airoha EN7581 entry in mediatek-gen3 PCIe controller binding. Link: https://lore.kernel.org/linux-pci/138d65a140c3dcf2a6aefecc33ba6ba3ca300a23.1720022580.git.lorenzo@kernel.org Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Acked-by: Jianjun Wang <jianjun.wang@mediatek.com>
This commit is contained in:
parent
8400291e28
commit
c6abd0eade
@ -53,6 +53,7 @@ properties:
|
|||||||
- mediatek,mt8195-pcie
|
- mediatek,mt8195-pcie
|
||||||
- const: mediatek,mt8192-pcie
|
- const: mediatek,mt8192-pcie
|
||||||
- const: mediatek,mt8192-pcie
|
- const: mediatek,mt8192-pcie
|
||||||
|
- const: airoha,en7581-pcie
|
||||||
|
|
||||||
reg:
|
reg:
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
@ -76,20 +77,20 @@ properties:
|
|||||||
|
|
||||||
resets:
|
resets:
|
||||||
minItems: 1
|
minItems: 1
|
||||||
maxItems: 2
|
maxItems: 3
|
||||||
|
|
||||||
reset-names:
|
reset-names:
|
||||||
minItems: 1
|
minItems: 1
|
||||||
maxItems: 2
|
maxItems: 3
|
||||||
items:
|
items:
|
||||||
enum: [ phy, mac ]
|
enum: [ phy, mac, phy-lane0, phy-lane1, phy-lane2 ]
|
||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
minItems: 4
|
minItems: 1
|
||||||
maxItems: 6
|
maxItems: 6
|
||||||
|
|
||||||
clock-names:
|
clock-names:
|
||||||
minItems: 4
|
minItems: 1
|
||||||
maxItems: 6
|
maxItems: 6
|
||||||
|
|
||||||
assigned-clocks:
|
assigned-clocks:
|
||||||
@ -147,6 +148,9 @@ allOf:
|
|||||||
const: mediatek,mt8192-pcie
|
const: mediatek,mt8192-pcie
|
||||||
then:
|
then:
|
||||||
properties:
|
properties:
|
||||||
|
clocks:
|
||||||
|
minItems: 4
|
||||||
|
|
||||||
clock-names:
|
clock-names:
|
||||||
items:
|
items:
|
||||||
- const: pl_250m
|
- const: pl_250m
|
||||||
@ -155,6 +159,15 @@ allOf:
|
|||||||
- const: tl_32k
|
- const: tl_32k
|
||||||
- const: peri_26m
|
- const: peri_26m
|
||||||
- const: top_133m
|
- const: top_133m
|
||||||
|
|
||||||
|
resets:
|
||||||
|
minItems: 1
|
||||||
|
maxItems: 2
|
||||||
|
|
||||||
|
reset-names:
|
||||||
|
minItems: 1
|
||||||
|
maxItems: 2
|
||||||
|
|
||||||
- if:
|
- if:
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
@ -164,6 +177,9 @@ allOf:
|
|||||||
- mediatek,mt8195-pcie
|
- mediatek,mt8195-pcie
|
||||||
then:
|
then:
|
||||||
properties:
|
properties:
|
||||||
|
clocks:
|
||||||
|
minItems: 4
|
||||||
|
|
||||||
clock-names:
|
clock-names:
|
||||||
items:
|
items:
|
||||||
- const: pl_250m
|
- const: pl_250m
|
||||||
@ -172,6 +188,15 @@ allOf:
|
|||||||
- const: tl_32k
|
- const: tl_32k
|
||||||
- const: peri_26m
|
- const: peri_26m
|
||||||
- const: peri_mem
|
- const: peri_mem
|
||||||
|
|
||||||
|
resets:
|
||||||
|
minItems: 1
|
||||||
|
maxItems: 2
|
||||||
|
|
||||||
|
reset-names:
|
||||||
|
minItems: 1
|
||||||
|
maxItems: 2
|
||||||
|
|
||||||
- if:
|
- if:
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
@ -180,6 +205,9 @@ allOf:
|
|||||||
- mediatek,mt7986-pcie
|
- mediatek,mt7986-pcie
|
||||||
then:
|
then:
|
||||||
properties:
|
properties:
|
||||||
|
clocks:
|
||||||
|
minItems: 4
|
||||||
|
|
||||||
clock-names:
|
clock-names:
|
||||||
items:
|
items:
|
||||||
- const: pl_250m
|
- const: pl_250m
|
||||||
@ -187,6 +215,36 @@ allOf:
|
|||||||
- const: peri_26m
|
- const: peri_26m
|
||||||
- const: top_133m
|
- const: top_133m
|
||||||
|
|
||||||
|
resets:
|
||||||
|
minItems: 1
|
||||||
|
maxItems: 2
|
||||||
|
|
||||||
|
reset-names:
|
||||||
|
minItems: 1
|
||||||
|
maxItems: 2
|
||||||
|
|
||||||
|
- if:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
const: airoha,en7581-pcie
|
||||||
|
then:
|
||||||
|
properties:
|
||||||
|
clocks:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
clock-names:
|
||||||
|
items:
|
||||||
|
- const: sys-ck
|
||||||
|
|
||||||
|
resets:
|
||||||
|
minItems: 3
|
||||||
|
|
||||||
|
reset-names:
|
||||||
|
items:
|
||||||
|
- const: phy-lane0
|
||||||
|
- const: phy-lane1
|
||||||
|
- const: phy-lane2
|
||||||
|
|
||||||
unevaluatedProperties: false
|
unevaluatedProperties: false
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
|
Loading…
Reference in New Issue
Block a user