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