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/ingenic,phy-usb.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Ingenic SoCs USB PHY devicetree bindings
0008 
0009 maintainers:
0010   - Paul Cercueil <paul@crapouillou.net>
0011   - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
0012 
0013 properties:
0014   $nodename:
0015     pattern: '^usb-phy@.*'
0016 
0017   compatible:
0018     enum:
0019       - ingenic,jz4770-phy
0020       - ingenic,jz4775-phy
0021       - ingenic,jz4780-phy
0022       - ingenic,x1000-phy
0023       - ingenic,x1830-phy
0024       - ingenic,x2000-phy
0025 
0026   reg:
0027     maxItems: 1
0028 
0029   clocks:
0030     maxItems: 1
0031 
0032   vcc-supply:
0033     description: VCC power supply
0034 
0035   '#phy-cells':
0036     const: 0
0037 
0038 required:
0039   - compatible
0040   - reg
0041   - clocks
0042   - vcc-supply
0043   - '#phy-cells'
0044 
0045 additionalProperties: false
0046 
0047 examples:
0048   - |
0049     #include <dt-bindings/clock/ingenic,jz4770-cgu.h>
0050     otg_phy: usb-phy@3c {
0051       compatible = "ingenic,jz4770-phy";
0052       reg = <0x3c 0x10>;
0053 
0054       vcc-supply = <&vcc>;
0055       clocks = <&cgu JZ4770_CLK_OTG_PHY>;
0056 
0057       #phy-cells = <0>;
0058     };