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/ti,omap-usb2.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: OMAP USB2 PHY
0008 
0009 maintainers:
0010   - Kishon Vijay Abraham I <kishon@ti.com>
0011   - Roger Quadros <rogerq@kernel.org>
0012 
0013 properties:
0014   compatible:
0015     oneOf:
0016       - items:
0017           - enum:
0018               - ti,dra7x-usb2
0019               - ti,dra7x-usb2-phy2
0020               - ti,am654-usb2
0021           - enum:
0022               - ti,omap-usb2
0023       - items:
0024           - const: ti,am437x-usb2
0025       - items:
0026           - const: ti,omap-usb2
0027 
0028   reg:
0029     maxItems: 1
0030 
0031   "#phy-cells":
0032     const: 0
0033 
0034   clocks:
0035     minItems: 1
0036     items:
0037       - description: wakeup clock
0038       - description: reference clock
0039 
0040   clock-names:
0041     minItems: 1
0042     items:
0043       - const: wkupclk
0044       - const: refclk
0045 
0046   syscon-phy-power:
0047     $ref: /schemas/types.yaml#/definitions/phandle-array
0048     items:
0049       - items:
0050           - description: phandle to the system control module
0051           - description: register offset to power on/off the PHY
0052     description:
0053       phandle/offset pair. Phandle to the system control module and
0054       register offset to power on/off the PHY.
0055 
0056   ctrl-module:
0057     $ref: /schemas/types.yaml#/definitions/phandle
0058     description:
0059       (deprecated) phandle of the control module used by PHY driver
0060       to power on the PHY. Use syscon-phy-power instead.
0061 
0062 required:
0063   - compatible
0064   - reg
0065   - "#phy-cells"
0066   - clocks
0067   - clock-names
0068 
0069 additionalProperties: false
0070 
0071 examples:
0072   - |
0073     usb0_phy: phy@4100000 {
0074       compatible = "ti,am654-usb2", "ti,omap-usb2";
0075       reg = <0x4100000 0x54>;
0076       syscon-phy-power = <&scm_conf 0x4000>;
0077       clocks = <&k3_clks 151 0>, <&k3_clks 151 1>;
0078       clock-names = "wkupclk", "refclk";
0079       #phy-cells = <0>;
0080     };