0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/phy/renesas,usb3-phy.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Renesas R-Car generation 3 USB 3.0 PHY
0008
0009 maintainers:
0010 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
0011
0012 properties:
0013 compatible:
0014 items:
0015 - enum:
0016 - renesas,r8a774a1-usb3-phy # RZ/G2M
0017 - renesas,r8a774b1-usb3-phy # RZ/G2N
0018 - renesas,r8a774e1-usb3-phy # RZ/G2H
0019 - renesas,r8a7795-usb3-phy # R-Car H3
0020 - renesas,r8a7796-usb3-phy # R-Car M3-W
0021 - renesas,r8a77961-usb3-phy # R-Car M3-W+
0022 - renesas,r8a77965-usb3-phy # R-Car M3-N
0023 - const: renesas,rcar-gen3-usb3-phy
0024
0025 reg:
0026 maxItems: 1
0027
0028 clocks:
0029 minItems: 2
0030 maxItems: 3
0031
0032 clock-names:
0033 # If you want to use the ssc, the clock-frequency of usb_extal
0034 # must not be 0.
0035 minItems: 2
0036 items:
0037 - const: usb3-if # The functional clock
0038 - const: usb3s_clk # The usb3's external clock
0039 - const: usb_extal # The usb2's external clock
0040
0041 '#phy-cells':
0042 # see phy-bindings.txt in the same directory
0043 const: 0
0044
0045 power-domains:
0046 maxItems: 1
0047
0048 resets:
0049 maxItems: 1
0050
0051 renesas,ssc-range:
0052 description: |
0053 Enable/disable spread spectrum clock (ssc). 0 or the property doesn't
0054 exist means disabling the ssc. The actual value will be -<value> ppm.
0055 $ref: /schemas/types.yaml#/definitions/uint32
0056 enum: [ 0, 4003, 4492, 4980 ]
0057
0058 required:
0059 - compatible
0060 - reg
0061 - clocks
0062 - clock-names
0063 - '#phy-cells'
0064
0065 additionalProperties: false
0066
0067 examples:
0068 - |
0069 #include <dt-bindings/clock/r8a7795-cpg-mssr.h>
0070 #include <dt-bindings/power/r8a7795-sysc.h>
0071
0072 usb-phy@e65ee000 {
0073 compatible = "renesas,r8a7795-usb3-phy", "renesas,rcar-gen3-usb3-phy";
0074 reg = <0xe65ee000 0x90>;
0075 clocks = <&cpg CPG_MOD 328>, <&usb3s0_clk>, <&usb_extal>;
0076 clock-names = "usb3-if", "usb3s_clk", "usb_extal";
0077 #phy-cells = <0>;
0078 };