@@ -73,6 +73,8 @@ allOf:
- const: ti,j721e-pcie-ep
then:
properties:
+ max-link-speed:
+ const: 2
num-lanes:
const: 1
@@ -84,6 +86,8 @@ allOf:
- const: ti,j721e-pcie-ep
then:
properties:
+ max-link-speed:
+ const: 3
num-lanes:
minimum: 1
maximum: 2
@@ -95,6 +99,8 @@ allOf:
- const: ti,j721e-pcie-ep
then:
properties:
+ max-link-speed:
+ const: 3
num-lanes:
minimum: 1
maximum: 4
@@ -106,6 +112,8 @@ allOf:
- const: ti,j784s4-pcie-ep
then:
properties:
+ max-link-speed:
+ const: 3
num-lanes:
minimum: 1
maximum: 4
@@ -102,6 +102,8 @@ allOf:
- const: ti,j721e-pcie-host
then:
properties:
+ max-link-speed:
+ const: 2
num-lanes:
const: 1
@@ -113,6 +115,8 @@ allOf:
- const: ti,j721e-pcie-host
then:
properties:
+ max-link-speed:
+ const: 3
num-lanes:
minimum: 1
maximum: 2
@@ -124,6 +128,8 @@ allOf:
- const: ti,j721e-pcie-host
then:
properties:
+ max-link-speed:
+ const: 3
num-lanes:
minimum: 1
maximum: 4
@@ -135,6 +141,8 @@ allOf:
- const: ti,j784s4-pcie-host
then:
properties:
+ max-link-speed:
+ const: 3
num-lanes:
minimum: 1
maximum: 4
Extend the existing compatible based checks for validating and enforcing the "max-link-speed" property. Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com> --- .../devicetree/bindings/pci/ti,j721e-pci-ep.yaml | 8 ++++++++ .../devicetree/bindings/pci/ti,j721e-pci-host.yaml | 8 ++++++++ 2 files changed, 16 insertions(+)