mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-16 04:04:06 +00:00
[WIP] dt-bindings: clock: starfive: Add preliminary JH7100 bindings
Add preliminary Device Tree bindings for the StarFive JH7100 Clock Generator. To be verified against documentation when it becomes available. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
parent
ef65dd6ac2
commit
25dfb314a1
1 changed files with 52 additions and 0 deletions
|
@ -0,0 +1,52 @@
|
|||
# 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:
|
||||
- FIXME <someone@starfivetech.com>
|
||||
- Geert Uytterhoeven <geert@linux-m68k.org>
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
const: starfive,jh7100-clkgen
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
clocks:
|
||||
items:
|
||||
- description: Main clock source (default 25 MHz)
|
||||
- description: Application-specific clock source (12-27 MHz)
|
||||
|
||||
clock-names:
|
||||
items:
|
||||
- const: osc_sys
|
||||
- const: osc_aud
|
||||
|
||||
'#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:
|
||||
- |
|
||||
clkgen: clock-controller@11800000 {
|
||||
compatible = "starfive,jh7100-clkgen";
|
||||
reg = <0x11800000 0x10000>;
|
||||
clocks = <&osc_sys>, <&osc_aud>;
|
||||
clock-names = "osc_sys", "osc_aud";
|
||||
#clock-cells = <1>;
|
||||
};
|
Loading…
Add table
Reference in a new issue