Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: "http://devicetree.org/schemas/phy/amlogic,meson8b-usb2-phy.yaml#"
0005 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0006 
0007 title: Amlogic Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY
0008 
0009 maintainers:
0010   - Martin Blumenstingl <martin.blumenstingl@googlemail.com>
0011 
0012 properties:
0013   compatible:
0014     oneOf:
0015       - items:
0016           - enum:
0017               - amlogic,meson8-usb2-phy
0018               - amlogic,meson8b-usb2-phy
0019               - amlogic,meson8m2-usb2-phy
0020           - const: amlogic,meson-mx-usb2-phy
0021       - const: amlogic,meson-gxbb-usb2-phy
0022 
0023   reg:
0024     maxItems: 1
0025 
0026   clocks:
0027     minItems: 2
0028 
0029   clock-names:
0030     items:
0031       - const: usb_general
0032       - const: usb
0033 
0034   resets:
0035     minItems: 1
0036 
0037   "#phy-cells":
0038     const: 0
0039 
0040   phy-supply:
0041     description:
0042       Phandle to a regulator that provides power to the PHY. This
0043       regulator will be managed during the PHY power on/off sequence.
0044 
0045 required:
0046   - compatible
0047   - reg
0048   - clocks
0049   - clock-names
0050   - "#phy-cells"
0051 
0052 additionalProperties: false
0053 
0054 examples:
0055   - |
0056     usb-phy@c0000000 {
0057       compatible = "amlogic,meson-gxbb-usb2-phy";
0058       reg = <0xc0000000 0x20>;
0059       resets = <&reset_usb_phy>;
0060       clocks = <&clk_usb_general>, <&reset_usb>;
0061       clock-names = "usb_general", "usb";
0062       phy-supply = <&usb_vbus>;
0063       #phy-cells = <0>;
0064     };