diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2024-04-19 16:03:26 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2024-04-19 16:03:26 +0000 |
commit | 1fcc28bca1057f051708a8fc59129ea42c574693 (patch) | |
tree | c56b72a227b6a1abcdd3c30a11439a8a595c4b9c /Bindings/net/ethernet-switch.yaml | |
parent | dbacf41c97755475589f64dd45ffa90febddf368 (diff) | |
download | src-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.yaml | 14 |
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 ... |