1# Copyright (c) 2021, Pete Johanson
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  RaspberryPi Pico USB Device Controller.
6
7  Example of enabling the controller with vbus detection:
8
9    &pinctrl {
10      usb_default: usb_default {
11        group1 {
12          pinmux = <USB_VBUS_DET_P1>;
13          input-enable;
14        };
15      };
16    };
17
18    zephyr_udc0: &usbd {
19      status = "okay";
20      pinctrl-0 = <&usb_default>;
21      pinctrl-names = "default";
22    };
23
24compatible: "raspberrypi,pico-usbd"
25
26include: [usb-ep.yaml, reset-device.yaml, pinctrl-device.yaml]
27
28properties:
29  reg:
30    required: true
31
32  interrupts:
33    required: true
34