Nuvoton NPCM7XX Clock Controller

Schema identifier ($id): "http://devicetree.org/schemas/clock/nuvoton,npcm750-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tali Perry <tali.perry1@gmail.com>"

Nuvoton Poleg BMC NPCM7XX contains an integrated clock controller, which generates and supplies clocks to all modules within the BMC. External clocks: There are six fixed clocks that are generated outside the BMC. All clocks are of a known fixed value that cannot be changed. clk_refclk, clk_mcbypck and clk_sysbypck are inputs to the clock controller. clk_rg1refck, clk_rg2refck and clk_xin are external clocks suppling the network. They are set on the device tree, but not used by the clock module. The network devices use them directly. All available clocks are defined as preprocessor macros in: dt-bindings/clock/nuvoton,npcm7xx-clock.h and can be reused as DT sources.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nuvoton,npcm750-clk"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "refclk"

Item 2

Exact value (const): "sysbypck"

Item 3

Exact value (const): "mcbypck"

clocks — not listed as required here #

Array item rules (items) #

Item 1

refclk

Item 2

sysbypck

Item 3

mcbypck

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@f0801000 {
    compatible = "nuvoton,npcm750-clk";
    #clock-cells = <1>;
    reg = <0xf0801000 0x1000>;
    clock-names = "refclk", "sysbypck", "mcbypck";
    clocks = <&clk_refclk>, <&clk_sysbypck>, <&clk_mcbypck>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page