StarFive JH7110 System-Top-Group Clock and Reset Generator
Schema identifier ($id): "http://devicetree.org/schemas/clock/starfive,jh7110-stgcrg.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Xingyu Wu <xingyu.wu@starfivetech.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "starfive,jh7110-stgcrg"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Main Oscillator (24 MHz)
Item 2
HIFI4 core
Item 3
STG AXI/AHB
Item 4
USB (125 MHz)
Item 5
CPU Bus
Item 6
HIFI4 Axi
Item 7
NOC STG Bus
Item 8
APB Bus
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"osc"
Item 2
Exact value (
const):"hifi4_core"
Item 3
Exact value (
const):"stg_axiahb"
Item 4
Exact value (
const):"usb_125m"
Item 5
Exact value (
const):"cpu_bus"
Item 6
Exact value (
const):"hifi4_axi"
Item 7
Exact value (
const):"nocstg_bus"
Item 8
Exact value (
const):"apb_bus"
#clock-cells — required here #
Exact value (const): 1
See <dt-bindings/clock/starfive,jh7110-crg.h> for valid indices.
#reset-cells — required here #
Exact value (const): 1
See <dt-bindings/reset/starfive,jh7110-crg.h> for valid indices.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "#reset-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/starfive,jh7110-crg.h>
stgcrg: clock-controller@10230000 {
compatible = "starfive,jh7110-stgcrg";
reg = <0x10230000 0x10000>;
clocks = <&osc>,
<&syscrg JH7110_SYSCLK_HIFI4_CORE>,
<&syscrg JH7110_SYSCLK_STG_AXIAHB>,
<&syscrg JH7110_SYSCLK_USB_125M>,
<&syscrg JH7110_SYSCLK_CPU_BUS>,
<&syscrg JH7110_SYSCLK_HIFI4_AXI>,
<&syscrg JH7110_SYSCLK_NOCSTG_BUS>,
<&syscrg JH7110_SYSCLK_APB_BUS>;
clock-names = "osc", "hifi4_core",
"stg_axiahb", "usb_125m",
"cpu_bus", "hifi4_axi",
"nocstg_bus", "apb_bus";
#clock-cells = <1>;
#reset-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause