Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/clock/starfive,jh7100-clkgen.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: StarFive JH7100 Clock Generator
0008 
0009 maintainers:
0010   - Geert Uytterhoeven <geert@linux-m68k.org>
0011   - Emil Renner Berthing <kernel@esmil.dk>
0012 
0013 properties:
0014   compatible:
0015     const: starfive,jh7100-clkgen
0016 
0017   reg:
0018     maxItems: 1
0019 
0020   clocks:
0021     items:
0022       - description: Main clock source (25 MHz)
0023       - description: Application-specific clock source (12-27 MHz)
0024       - description: RMII reference clock (50 MHz)
0025       - description: RGMII RX clock (125 MHz)
0026 
0027   clock-names:
0028     items:
0029       - const: osc_sys
0030       - const: osc_aud
0031       - const: gmac_rmii_ref
0032       - const: gmac_gr_mii_rxclk
0033 
0034   '#clock-cells':
0035     const: 1
0036     description:
0037       See <dt-bindings/clock/starfive-jh7100.h> for valid indices.
0038 
0039 required:
0040   - compatible
0041   - reg
0042   - clocks
0043   - clock-names
0044   - '#clock-cells'
0045 
0046 additionalProperties: false
0047 
0048 examples:
0049   - |
0050     clock-controller@11800000 {
0051             compatible = "starfive,jh7100-clkgen";
0052             reg = <0x11800000 0x10000>;
0053             clocks = <&osc_sys>, <&osc_aud>, <&gmac_rmii_ref>, <&gmac_gr_mii_rxclk>;
0054             clock-names = "osc_sys", "osc_aud", "gmac_rmii_ref", "gmac_gr_mii_rxclk";
0055             #clock-cells = <1>;
0056     };