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/clock/renesas,cpg-div6-clock.yaml# 58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml# 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_cititle: Renesas CPG DIV6 Clock 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cimaintainers: 108c2ecf20Sopenharmony_ci - Geert Uytterhoeven <geert+renesas@glider.be> 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_cidescription: 138c2ecf20Sopenharmony_ci The CPG DIV6 clocks are variable factor clocks provided by the Clock Pulse 148c2ecf20Sopenharmony_ci Generator (CPG). Their clock input is divided by a configurable factor from 1 158c2ecf20Sopenharmony_ci to 64. 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciproperties: 188c2ecf20Sopenharmony_ci compatible: 198c2ecf20Sopenharmony_ci items: 208c2ecf20Sopenharmony_ci - enum: 218c2ecf20Sopenharmony_ci - renesas,r8a73a4-div6-clock # R-Mobile APE6 228c2ecf20Sopenharmony_ci - renesas,r8a7740-div6-clock # R-Mobile A1 238c2ecf20Sopenharmony_ci - renesas,sh73a0-div6-clock # SH-Mobile AG5 248c2ecf20Sopenharmony_ci - const: renesas,cpg-div6-clock 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci reg: 278c2ecf20Sopenharmony_ci maxItems: 1 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci clocks: 308c2ecf20Sopenharmony_ci oneOf: 318c2ecf20Sopenharmony_ci - maxItems: 1 328c2ecf20Sopenharmony_ci - maxItems: 4 338c2ecf20Sopenharmony_ci - maxItems: 8 348c2ecf20Sopenharmony_ci description: 358c2ecf20Sopenharmony_ci For clocks with multiple parents, invalid settings must be specified as 368c2ecf20Sopenharmony_ci "<0>". 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ci '#clock-cells': 398c2ecf20Sopenharmony_ci const: 0 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ci clock-output-names: true 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_cirequired: 448c2ecf20Sopenharmony_ci - compatible 458c2ecf20Sopenharmony_ci - reg 468c2ecf20Sopenharmony_ci - clocks 478c2ecf20Sopenharmony_ci - '#clock-cells' 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ciadditionalProperties: false 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ciexamples: 528c2ecf20Sopenharmony_ci - | 538c2ecf20Sopenharmony_ci #include <dt-bindings/clock/r8a73a4-clock.h> 548c2ecf20Sopenharmony_ci sdhi2_clk: sdhi2_clk@e615007c { 558c2ecf20Sopenharmony_ci compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock"; 568c2ecf20Sopenharmony_ci reg = <0xe615007c 4>; 578c2ecf20Sopenharmony_ci clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>, <0>, 588c2ecf20Sopenharmony_ci <&extal2_clk>; 598c2ecf20Sopenharmony_ci #clock-cells = <0>; 608c2ecf20Sopenharmony_ci }; 61