aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/device-tree/Bindings/usb/usb-device.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/device-tree/Bindings/usb/usb-device.yaml')
-rw-r--r--sys/contrib/device-tree/Bindings/usb/usb-device.yaml9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/contrib/device-tree/Bindings/usb/usb-device.yaml b/sys/contrib/device-tree/Bindings/usb/usb-device.yaml
index da890ee60ce6..09fceb469f10 100644
--- a/sys/contrib/device-tree/Bindings/usb/usb-device.yaml
+++ b/sys/contrib/device-tree/Bindings/usb/usb-device.yaml
@@ -28,7 +28,8 @@ description: |
properties:
compatible:
- pattern: "^usb[0-9a-f]{1,4},[0-9a-f]{1,4}$"
+ contains:
+ pattern: "^usb[0-9a-f]{1,4},[0-9a-f]{1,4}$"
description: Device nodes or combined nodes.
"usbVID,PID", where VID is the vendor id and PID the product id.
The textual representation of VID and PID shall be in lower case
@@ -39,8 +40,10 @@ properties:
reg:
description: the number of the USB hub port or the USB host-controller
- port to which this device is attached. The range is 1-255.
- maxItems: 1
+ port to which this device is attached.
+ items:
+ - minimum: 1
+ maximum: 255
"#address-cells":
description: should be 1 for hub nodes with device nodes,