| 
     1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/usb/ingenic,jz4770-phy.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Ingenic SoCs USB PHY devicetree bindings
    8 
    9 maintainers:
   10   - Paul Cercueil <paul@crapouillou.net>
   11   - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
   12 
   13 properties:
   14   $nodename:
   15     pattern: '^usb-phy@.*'
   16 
   17   compatible:
   18     enum:
   19       - ingenic,jz4770-phy
   20       - ingenic,jz4780-phy
   21       - ingenic,x1000-phy
   22       - ingenic,x1830-phy
   23 
   24   reg:
   25     maxItems: 1
   26 
   27   clocks:
   28     maxItems: 1
   29 
   30   vcc-supply:
   31     description: VCC power supply
   32 
   33   '#phy-cells':
   34     const: 0
   35 
   36 required:
   37   - compatible
   38   - reg
   39   - clocks
   40   - vcc-supply
   41   - '#phy-cells'
   42 
   43 additionalProperties: false
   44 
   45 examples:
   46   - |
   47     #include <dt-bindings/clock/jz4770-cgu.h>
   48     otg_phy: usb-phy@3c {
   49       compatible = "ingenic,jz4770-phy";
   50       reg = <0x3c 0x10>;
   51 
   52       vcc-supply = <&vcc>;
   53       clocks = <&cgu JZ4770_CLK_OTG_PHY>;
   54 
   55       #phy-cells = <0>;
   56     };
Cache object: b0b4631467793c2fa9378bd5c2978c98 
 
 |