1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 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 PHY 8 9maintainers: 10 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> 11 12properties: 13 compatible: 14 items: 15 - enum: 16 - renesas,r8a774a1-usb3-phy # RZ/G2M 17 - renesas,r8a774b1-usb3-phy # RZ/G2N 18 - renesas,r8a774e1-usb3-phy # RZ/G2H 19 - renesas,r8a7795-usb3-phy # R-Car H3 20 - renesas,r8a7796-usb3-phy # R-Car M3-W 21 - renesas,r8a77961-usb3-phy # R-Car M3-W+ 22 - renesas,r8a77965-usb3-phy # R-Car M3-N 23 - const: renesas,rcar-gen3-usb3-phy 24 25 reg: 26 maxItems: 1 27 28 clocks: 29 minItems: 2 30 maxItems: 3 31 32 clock-names: 33 # If you want to use the ssc, the clock-frequency of usb_extal 34 # must not be 0. 35 minItems: 2 36 maxItems: 3 37 items: 38 - const: usb3-if # The funcional clock 39 - const: usb3s_clk # The usb3's external clock 40 - const: usb_extal # The usb2's external clock 41 42 '#phy-cells': 43 # see phy-bindings.txt in the same directory 44 const: 0 45 46 power-domains: 47 maxItems: 1 48 49 resets: 50 maxItems: 1 51 52 renesas,ssc-range: 53 description: | 54 Enable/disable spread spectrum clock (ssc). 0 or the property doesn't 55 exist means disabling the ssc. The actual value will be -<value> ppm. 56 $ref: /schemas/types.yaml#/definitions/uint32 57 enum: [ 0, 4003, 4492, 4980 ] 58 59required: 60 - compatible 61 - reg 62 - clocks 63 - clock-names 64 - '#phy-cells' 65 66additionalProperties: false 67 68examples: 69 - | 70 #include <dt-bindings/clock/r8a7795-cpg-mssr.h> 71 #include <dt-bindings/power/r8a7795-sysc.h> 72 73 usb-phy@e65ee000 { 74 compatible = "renesas,r8a7795-usb3-phy", "renesas,rcar-gen3-usb3-phy"; 75 reg = <0xe65ee000 0x90>; 76 clocks = <&cpg CPG_MOD 328>, <&usb3s0_clk>, <&usb_extal>; 77 clock-names = "usb3-if", "usb3s_clk", "usb_extal"; 78 #phy-cells = <0>; 79 }; 80