brintos

brintos / linux-shallow public Read only

0
0
Text · 2.0 KiB · fe57c53 Raw
79 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/phy/renesas,usb3-phy.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Renesas R-Car generation 3 USB 3.0 PHY8 9maintainers:10  - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>11 12properties:13  compatible:14    items:15      - enum:16          - renesas,r8a774a1-usb3-phy # RZ/G2M17          - renesas,r8a774b1-usb3-phy # RZ/G2N18          - renesas,r8a774e1-usb3-phy # RZ/G2H19          - renesas,r8a7795-usb3-phy  # R-Car H320          - renesas,r8a7796-usb3-phy  # R-Car M3-W21          - renesas,r8a77961-usb3-phy # R-Car M3-W+22          - renesas,r8a77965-usb3-phy # R-Car M3-N23      - const: renesas,rcar-gen3-usb3-phy24 25  reg:26    maxItems: 127 28  clocks:29    minItems: 230    maxItems: 331 32  clock-names:33    # If you want to use the ssc, the clock-frequency of usb_extal34    # must not be 0.35    minItems: 236    items:37      - const: usb3-if # The functional clock38      - const: usb3s_clk # The usb3's external clock39      - const: usb_extal # The usb2's external clock40 41  '#phy-cells':42    # see phy-bindings.txt in the same directory43    const: 044 45  power-domains:46    maxItems: 147 48  resets:49    maxItems: 150 51  renesas,ssc-range:52    description: |53      Enable/disable spread spectrum clock (ssc). 0 or the property doesn't54      exist means disabling the ssc. The actual value will be -<value> ppm.55    $ref: /schemas/types.yaml#/definitions/uint3256    enum: [ 0, 4003, 4492, 4980 ]57 58required:59  - compatible60  - reg61  - clocks62  - clock-names63  - '#phy-cells'64 65additionalProperties: false66 67examples:68  - |69    #include <dt-bindings/clock/r8a7795-cpg-mssr.h>70    #include <dt-bindings/power/r8a7795-sysc.h>71 72    usb-phy@e65ee000 {73        compatible = "renesas,r8a7795-usb3-phy", "renesas,rcar-gen3-usb3-phy";74        reg = <0xe65ee000 0x90>;75        clocks = <&cpg CPG_MOD 328>, <&usb3s0_clk>, <&usb_extal>;76        clock-names = "usb3-if", "usb3s_clk", "usb_extal";77        #phy-cells = <0>;78    };79