aboutsummaryrefslogtreecommitdiff
path: root/Bindings/net/ethernet-switch.yaml
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2024-04-19 16:03:26 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2024-04-19 16:03:26 +0000
commit1fcc28bca1057f051708a8fc59129ea42c574693 (patch)
treec56b72a227b6a1abcdd3c30a11439a8a595c4b9c /Bindings/net/ethernet-switch.yaml
parentdbacf41c97755475589f64dd45ffa90febddf368 (diff)
downloadsrc-1fcc28bca1057f051708a8fc59129ea42c574693.tar.gz
src-1fcc28bca1057f051708a8fc59129ea42c574693.zip
Import device-tree files from Linux 6.7vendor/device-tree/6.7
Diffstat (limited to 'Bindings/net/ethernet-switch.yaml')
-rw-r--r--Bindings/net/ethernet-switch.yaml14
1 files changed, 8 insertions, 6 deletions
diff --git a/Bindings/net/ethernet-switch.yaml b/Bindings/net/ethernet-switch.yaml
index f1b9075dc7fb..72ac67ca3415 100644
--- a/Bindings/net/ethernet-switch.yaml
+++ b/Bindings/net/ethernet-switch.yaml
@@ -36,7 +36,7 @@ patternProperties:
const: 0
patternProperties:
- "^(ethernet-)?port@[0-9]+$":
+ "^(ethernet-)?port@[0-9a-f]+$":
type: object
description: Ethernet switch ports
@@ -53,14 +53,16 @@ oneOf:
additionalProperties: true
$defs:
- base:
+ ethernet-ports:
description: An ethernet switch without any extra port properties
$ref: '#'
patternProperties:
- "^(ethernet-)?port@[0-9]+$":
- description: Ethernet switch ports
- $ref: ethernet-switch-port.yaml#
- unevaluatedProperties: false
+ "^(ethernet-)?ports$":
+ patternProperties:
+ "^(ethernet-)?port@[0-9a-f]+$":
+ description: Ethernet switch ports
+ $ref: ethernet-switch-port.yaml#
+ unevaluatedProperties: false
...