summaryrefslogtreecommitdiff
path: root/dts/upstream/Bindings/usb/usb-switch.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'dts/upstream/Bindings/usb/usb-switch.yaml')
-rw-r--r--dts/upstream/Bindings/usb/usb-switch.yaml15
1 files changed, 14 insertions, 1 deletions
diff --git a/dts/upstream/Bindings/usb/usb-switch.yaml b/dts/upstream/Bindings/usb/usb-switch.yaml
index da76118e73a..89620191263 100644
--- a/dts/upstream/Bindings/usb/usb-switch.yaml
+++ b/dts/upstream/Bindings/usb/usb-switch.yaml
@@ -26,11 +26,24 @@ properties:
type: boolean
port:
- $ref: /schemas/graph.yaml#/properties/port
+ $ref: /schemas/graph.yaml#/$defs/port-base
description:
A port node to link the device to a TypeC controller for the purpose of
handling altmode muxing and orientation switching.
+ properties:
+ endpoint:
+ $ref: /schemas/graph.yaml#/$defs/endpoint-base
+ unevaluatedProperties: false
+ properties:
+ data-lanes:
+ $ref: /schemas/types.yaml#/definitions/uint32-array
+ minItems: 1
+ maxItems: 8
+ uniqueItems: true
+ items:
+ maximum: 8
+
ports:
$ref: /schemas/graph.yaml#/properties/ports
properties: