1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 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/clock/starf 4 $id: http://devicetree.org/schemas/clock/starfive,jh7110-pll.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: StarFive JH7110 PLL Clock Generator 7 title: StarFive JH7110 PLL Clock Generator 8 8 9 description: 9 description: 10 These PLLs are high speed, low jitter freque 10 These PLLs are high speed, low jitter frequency synthesizers in the JH7110. 11 Each PLL works in integer mode or fraction m 11 Each PLL works in integer mode or fraction mode, with configuration 12 registers in the sys syscon. So the PLLs nod 12 registers in the sys syscon. So the PLLs node should be a child of 13 SYS-SYSCON node. 13 SYS-SYSCON node. 14 The formula for calculating frequency is 14 The formula for calculating frequency is 15 Fvco = Fref * (NI + NF) / M / Q1 15 Fvco = Fref * (NI + NF) / M / Q1 16 16 17 maintainers: 17 maintainers: 18 - Xingyu Wu <xingyu.wu@starfivetech.com> 18 - Xingyu Wu <xingyu.wu@starfivetech.com> 19 19 20 properties: 20 properties: 21 compatible: 21 compatible: 22 const: starfive,jh7110-pll 22 const: starfive,jh7110-pll 23 23 24 clocks: 24 clocks: 25 maxItems: 1 25 maxItems: 1 26 description: Main Oscillator (24 MHz) 26 description: Main Oscillator (24 MHz) 27 27 28 '#clock-cells': 28 '#clock-cells': 29 const: 1 29 const: 1 30 description: 30 description: 31 See <dt-bindings/clock/starfive,jh7110-c 31 See <dt-bindings/clock/starfive,jh7110-crg.h> for valid indices. 32 32 33 required: 33 required: 34 - compatible 34 - compatible 35 - clocks 35 - clocks 36 - '#clock-cells' 36 - '#clock-cells' 37 37 38 additionalProperties: false 38 additionalProperties: false 39 39 40 examples: 40 examples: 41 - | 41 - | 42 clock-controller { 42 clock-controller { 43 compatible = "starfive,jh7110-pll"; 43 compatible = "starfive,jh7110-pll"; 44 clocks = <&osc>; 44 clocks = <&osc>; 45 #clock-cells = <1>; 45 #clock-cells = <1>; 46 }; 46 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.