zephyr/dts/bindings/usb/usb-controller.yaml
Johann Fischer 573b322633 usb: convert VBUS control to new GPIO API
Use DT for VBUS control and convert it to new GPIO API.

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2020-02-05 12:00:36 +01:00

30 lines
789 B
YAML

# Copyright (c) 2018, I-SENSE group of ICCS
# SPDX-License-Identifier: Apache-2.0
# Common fields for USB controllers
include: base.yaml
properties:
maximum-speed:
type: string
required: false
description: Configures USB controllers to work up to a specific
speed. Valid arguments are "super-speed", "high-speed",
"full-speed" and "low-speed". If this is not passed
via DT, USB controllers should use their maximum
hardware capability.
enum:
- "low-speed"
- "full-speed"
- "high-speed"
- "super-speed"
label:
required: true
vbus-gpios:
type: phandle-array
required: false
description: Control VBUS via GPIO pin.