StarFive JH7100 Audio Clock Generator
Schema identifier ($id): "http://devicetree.org/schemas/clock/starfive,jh7100-audclk.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Emil Renner Berthing <kernel@esmil.dk>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "starfive,jh7100-audclk"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Audio source clock
Item 2
External 12.288MHz clock
Item 3
Domain 7 AHB bus clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"audio_src"
Item 2
Exact value (
const):"audio_12288"
Item 3
Exact value (
const):"dom7ahb_bus"
#clock-cells — required here #
Exact value (const): 1
See <dt-bindings/clock/starfive-jh7100-audio.h> for valid indices.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-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-jh7100.h>
clock-controller@10480000 {
compatible = "starfive,jh7100-audclk";
reg = <0x10480000 0x10000>;
clocks = <&clkgen JH7100_CLK_AUDIO_SRC>,
<&clkgen JH7100_CLK_AUDIO_12288>,
<&clkgen JH7100_CLK_DOM7AHB_BUS>;
clock-names = "audio_src", "audio_12288", "dom7ahb_bus";
#clock-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause