Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: clock: starfive: Add JH7100 bindings

Add bindings for the clock generator on the JH7100 RISC-V SoC by
StarFive Ltd. This is a test chip for their upcoming JH7110 SoC.

Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>

authored by

Geert Uytterhoeven and committed by
Emil Renner Berthing
af35098f 38bb8a72

+56
+56
Documentation/devicetree/bindings/clock/starfive,jh7100-clkgen.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/clock/starfive,jh7100-clkgen.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: StarFive JH7100 Clock Generator 8 + 9 + maintainers: 10 + - Geert Uytterhoeven <geert@linux-m68k.org> 11 + - Emil Renner Berthing <kernel@esmil.dk> 12 + 13 + properties: 14 + compatible: 15 + const: starfive,jh7100-clkgen 16 + 17 + reg: 18 + maxItems: 1 19 + 20 + clocks: 21 + items: 22 + - description: Main clock source (25 MHz) 23 + - description: Application-specific clock source (12-27 MHz) 24 + - description: RMII reference clock (50 MHz) 25 + - description: RGMII RX clock (125 MHz) 26 + 27 + clock-names: 28 + items: 29 + - const: osc_sys 30 + - const: osc_aud 31 + - const: gmac_rmii_ref 32 + - const: gmac_gr_mii_rxclk 33 + 34 + '#clock-cells': 35 + const: 1 36 + description: 37 + See <dt-bindings/clock/starfive-jh7100.h> for valid indices. 38 + 39 + required: 40 + - compatible 41 + - reg 42 + - clocks 43 + - clock-names 44 + - '#clock-cells' 45 + 46 + additionalProperties: false 47 + 48 + examples: 49 + - | 50 + clock-controller@11800000 { 51 + compatible = "starfive,jh7100-clkgen"; 52 + reg = <0x11800000 0x10000>; 53 + clocks = <&osc_sys>, <&osc_aud>, <&gmac_rmii_ref>, <&gmac_gr_mii_rxclk>; 54 + clock-names = "osc_sys", "osc_aud", "gmac_rmii_ref", "gmac_gr_mii_rxclk"; 55 + #clock-cells = <1>; 56 + };