zephyr/dts/bindings/usb/atmel,sam-usbc.yaml

35 lines
870 B
YAML

# Copyright (c) 2018 Aurelien Jarno
# Copyright (c) 2020 Gerson Fernando Budke <nandojve@gmail.com>
# SPDX-License-Identifier: Apache-2.0
description: |
Atmel SAM Family USB (USBC) in device mode
compatible: "atmel,sam-usbc"
include: usb-ep.yaml
properties:
reg:
required: true
interrupts:
required: true
peripheral-id:
type: int
required: true
description: peripheral ID
pinctrl-0:
type: phandles
required: true
description: |
GPIO pin configuration for DM & DP signals. We expect that
the phandles will reference pinctrl nodes. These nodes will
have a nodelabel that matches the Atmel SoC HAL defines and
be of the form p<port><pin><periph>_<inst>_<signal>.
For example the USBC on SAM4L would be
pinctrl-0 = <&pa25a_usbc_dm &pa26a_usbc_dp>;