18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 28c2ecf20Sopenharmony_ci%YAML 1.2 38c2ecf20Sopenharmony_ci--- 48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/phy/renesas,usb3-phy.yaml# 58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml# 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_cititle: Renesas R-Car generation 3 USB 3.0 PHY 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cimaintainers: 108c2ecf20Sopenharmony_ci - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciproperties: 138c2ecf20Sopenharmony_ci compatible: 148c2ecf20Sopenharmony_ci items: 158c2ecf20Sopenharmony_ci - enum: 168c2ecf20Sopenharmony_ci - renesas,r8a774a1-usb3-phy # RZ/G2M 178c2ecf20Sopenharmony_ci - renesas,r8a774b1-usb3-phy # RZ/G2N 188c2ecf20Sopenharmony_ci - renesas,r8a774e1-usb3-phy # RZ/G2H 198c2ecf20Sopenharmony_ci - renesas,r8a7795-usb3-phy # R-Car H3 208c2ecf20Sopenharmony_ci - renesas,r8a7796-usb3-phy # R-Car M3-W 218c2ecf20Sopenharmony_ci - renesas,r8a77961-usb3-phy # R-Car M3-W+ 228c2ecf20Sopenharmony_ci - renesas,r8a77965-usb3-phy # R-Car M3-N 238c2ecf20Sopenharmony_ci - const: renesas,rcar-gen3-usb3-phy 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci reg: 268c2ecf20Sopenharmony_ci maxItems: 1 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci clocks: 298c2ecf20Sopenharmony_ci minItems: 2 308c2ecf20Sopenharmony_ci maxItems: 3 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci clock-names: 338c2ecf20Sopenharmony_ci # If you want to use the ssc, the clock-frequency of usb_extal 348c2ecf20Sopenharmony_ci # must not be 0. 358c2ecf20Sopenharmony_ci minItems: 2 368c2ecf20Sopenharmony_ci maxItems: 3 378c2ecf20Sopenharmony_ci items: 388c2ecf20Sopenharmony_ci - const: usb3-if # The funcional clock 398c2ecf20Sopenharmony_ci - const: usb3s_clk # The usb3's external clock 408c2ecf20Sopenharmony_ci - const: usb_extal # The usb2's external clock 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ci '#phy-cells': 438c2ecf20Sopenharmony_ci # see phy-bindings.txt in the same directory 448c2ecf20Sopenharmony_ci const: 0 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ci power-domains: 478c2ecf20Sopenharmony_ci maxItems: 1 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ci resets: 508c2ecf20Sopenharmony_ci maxItems: 1 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ci renesas,ssc-range: 538c2ecf20Sopenharmony_ci description: | 548c2ecf20Sopenharmony_ci Enable/disable spread spectrum clock (ssc). 0 or the property doesn't 558c2ecf20Sopenharmony_ci exist means disabling the ssc. The actual value will be -<value> ppm. 568c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 578c2ecf20Sopenharmony_ci enum: [ 0, 4003, 4492, 4980 ] 588c2ecf20Sopenharmony_ci 598c2ecf20Sopenharmony_cirequired: 608c2ecf20Sopenharmony_ci - compatible 618c2ecf20Sopenharmony_ci - reg 628c2ecf20Sopenharmony_ci - clocks 638c2ecf20Sopenharmony_ci - clock-names 648c2ecf20Sopenharmony_ci - '#phy-cells' 658c2ecf20Sopenharmony_ci 668c2ecf20Sopenharmony_ciadditionalProperties: false 678c2ecf20Sopenharmony_ci 688c2ecf20Sopenharmony_ciexamples: 698c2ecf20Sopenharmony_ci - | 708c2ecf20Sopenharmony_ci #include <dt-bindings/clock/r8a7795-cpg-mssr.h> 718c2ecf20Sopenharmony_ci #include <dt-bindings/power/r8a7795-sysc.h> 728c2ecf20Sopenharmony_ci 738c2ecf20Sopenharmony_ci usb-phy@e65ee000 { 748c2ecf20Sopenharmony_ci compatible = "renesas,r8a7795-usb3-phy", "renesas,rcar-gen3-usb3-phy"; 758c2ecf20Sopenharmony_ci reg = <0xe65ee000 0x90>; 768c2ecf20Sopenharmony_ci clocks = <&cpg CPG_MOD 328>, <&usb3s0_clk>, <&usb_extal>; 778c2ecf20Sopenharmony_ci clock-names = "usb3-if", "usb3s_clk", "usb_extal"; 788c2ecf20Sopenharmony_ci #phy-cells = <0>; 798c2ecf20Sopenharmony_ci }; 80