zephyr/dts/bindings/usb/raspberrypi,pico-usbd.yaml

34 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