zephyr/dts/bindings/usb/raspberrypi,pico-usbd.yaml
Lukas Gehreke 4c0317fa47 drivers: usb_dc_rpi_pico: Implemented vbus detection handling
As per USB 2.0 specification 7.1.5.1: The voltage source on the pull-up
resistor must be derived from or controlled by the power supplied on the
USB cable such that when VBUS is removed, the pull-up resistor does not
supply current on the data line to which it is attached.

Signed-off-by: Lukas Gehreke <lk.gehreke@gmail.com>
2024-10-17 10:47:15 -04:00

33 lines
643 B
YAML

# Copyright (c) 2021, Pete Johanson
# SPDX-License-Identifier: Apache-2.0
description: |
RaspberryPi Pico USB Device Controller.
Example of enabling the controller with vbus detection:
&pinctrl {
usb_default: usb_default {
group1 {
pinmux = <USB_VBUS_DET_P1>;
input-enable;
};
};
};
zephyr_udc0: &usbd {
status = "okay";
pinctrl-0 = <&usb_default>;
pinctrl-names = "default";
};
compatible: "raspberrypi,pico-usbd"
include: [usb-ep.yaml, reset-device.yaml, pinctrl-device.yaml]
properties:
reg:
required: true
interrupts:
required: true