-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Acked-by: Stephen Boyd <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]>
- Loading branch information
Showing
1 changed file
with
56 additions
and
0 deletions.
There are no files selected for viewing
56 changes: 56 additions & 0 deletions
56
Documentation/devicetree/bindings/clock/starfive,jh7100-clkgen.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/clock/starfive,jh7100-clkgen.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: StarFive JH7100 Clock Generator | ||
|
||
maintainers: | ||
- Geert Uytterhoeven <[email protected]> | ||
- Emil Renner Berthing <[email protected]> | ||
|
||
properties: | ||
compatible: | ||
const: starfive,jh7100-clkgen | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
items: | ||
- description: Main clock source (25 MHz) | ||
- description: Application-specific clock source (12-27 MHz) | ||
- description: RMII reference clock (50 MHz) | ||
- description: RGMII RX clock (125 MHz) | ||
|
||
clock-names: | ||
items: | ||
- const: osc_sys | ||
- const: osc_aud | ||
- const: gmac_rmii_ref | ||
- const: gmac_gr_mii_rxclk | ||
|
||
'#clock-cells': | ||
const: 1 | ||
description: | ||
See <dt-bindings/clock/starfive-jh7100.h> for valid indices. | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
- clock-names | ||
- '#clock-cells' | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
clock-controller@11800000 { | ||
compatible = "starfive,jh7100-clkgen"; | ||
reg = <0x11800000 0x10000>; | ||
clocks = <&osc_sys>, <&osc_aud>, <&gmac_rmii_ref>, <&gmac_gr_mii_rxclk>; | ||
clock-names = "osc_sys", "osc_aud", "gmac_rmii_ref", "gmac_gr_mii_rxclk"; | ||
#clock-cells = <1>; | ||
}; |