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