1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: "http://devicetree.org/schemas/phy/amlogic,meson8b-usb2-phy.yaml#" 5$schema: "http://devicetree.org/meta-schemas/core.yaml#" 6 7title: Amlogic Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY 8 9maintainers: 10 - Martin Blumenstingl <martin.blumenstingl@googlemail.com> 11 12properties: 13 compatible: 14 oneOf: 15 - items: 16 - enum: 17 - amlogic,meson8-usb2-phy 18 - amlogic,meson8b-usb2-phy 19 - const: amlogic,meson-mx-usb2-phy 20 - const: amlogic,meson-gxbb-usb2-phy 21 22 reg: 23 maxItems: 1 24 25 clocks: 26 minItems: 2 27 28 clock-names: 29 items: 30 - const: usb_general 31 - const: usb 32 33 resets: 34 minItems: 1 35 36 "#phy-cells": 37 const: 0 38 39 phy-supply: 40 description: 41 Phandle to a regulator that provides power to the PHY. This 42 regulator will be managed during the PHY power on/off sequence. 43 44required: 45 - compatible 46 - reg 47 - clocks 48 - clock-names 49 - "#phy-cells" 50 51additionalProperties: false 52 53examples: 54 - | 55 usb-phy@c0000000 { 56 compatible = "amlogic,meson-gxbb-usb2-phy"; 57 reg = <0xc0000000 0x20>; 58 resets = <&reset_usb_phy>; 59 clocks = <&clk_usb_general>, <&reset_usb>; 60 clock-names = "usb_general", "usb"; 61 phy-supply = <&usb_vbus>; 62 #phy-cells = <0>; 63 }; 64