zephyr/dts/bindings/usb/st,stm32-usb.yaml

51 lines
1.1 KiB
YAML

#
# Copyright (c) 2017, I-SENSE group of ICCS
#
# SPDX-License-Identifier: Apache-2.0
#
title: STM32 USB
version: 0.1
description: >
This binding gives a base representation of the STM32 USB controller
inherits:
!include usb-ep.yaml
properties:
compatible:
constraint: "st,stm32-usb"
reg:
category: required
interrupts:
category: required
ram-size:
type: int
category: required
description: Size of USB dedicated RAM. STM32 SOC's reference
manual defines USB packet SRAM size.
disconnect-gpios:
type: compound
category: optional
description: Some boards use a USB DISCONNECT pin to enable
the pull-up resistor on USB Data Positive signal.
phys:
type: array
category: optional
description: PHY provider specifier
enable-pin-remap:
type: boolean
category: optional
description: For STM32F0 series SoCs on QFN28 and TSSOP20 packages
enable PIN pair PA11/12 mapped instead of PA9/10 (e.g. stm32f070x6)
clocks:
category: required