blob: c76e94c044e6738acd6a7cc2f359313a6fc7f03c [file] [edit]
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/phy/st,stm32-usb2phy.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: STMicroelectronics STM32 MPU High-Speed USB PHY
description:
USB2 PHY block in STM32 is attached to USB 2.0 Host controller and
USB 2.0 side of DWC3 DRD controller, and provides the USB LS/FS/HS
connectivity. Both PHYs are the FEMTO-PHY, but their configuration
bits in the system control register are different for each variant.
maintainers:
- Fabrice Gasnier <fabrice.gasnier@foss.st.com>
- Marek Vasut <marex@nabladev.com>
- Pankaj Dev <pankaj.dev@st.com>
properties:
compatible:
enum:
- st,stm32mp25-usb2phy1
- st,stm32mp25-usb2phy2
reg:
maxItems: 1
clocks:
maxItems: 1
resets:
maxItems: 1
vdd33-supply:
description: Phandle to regulator providing 3V3 power supply to the USB2 HS PHY
"#clock-cells":
const: 1
"#phy-cells":
const: 0
required:
- compatible
- reg
- clocks
- resets
- vdd33-supply
- "#clock-cells"
- "#phy-cells"
additionalProperties: false
examples:
- |
#include <dt-bindings/clock/st,stm32mp25-rcc.h>
#include <dt-bindings/reset/st,stm32mp25-rcc.h>
usb-phy@2400 {
compatible = "st,stm32mp25-usb2phy1";
reg = <0x2400 0x24>;
#phy-cells = <0>;
#clock-cells = <1>;
clocks = <&rcc CK_KER_USB2PHY1>;
resets = <&rcc USB2PHY1_R>;
vdd33-supply = <&vdd33usb>;
};