Bitmain BM1880 Clock Controller

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

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

Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"

The Bitmain BM1880 clock controller generates and supplies clock to various peripherals within the SoC.

This binding uses common clock bindings [1] Documentation/devicetree/bindings/clock/clock-bindings.txt

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "bitmain,bm1880-clk"

reg — required here #

Array item rules (items) #

Item 1

pll registers

Item 2

system registers

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pll"

Item 2

Exact value (const): "sys"

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "osc"

#clock-cells — required here #

Exact value (const): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

clk: clock-controller@e8 {
    compatible = "bitmain,bm1880-clk";
    reg = <0xe8 0x0c>, <0x800 0xb0>;
    reg-names = "pll", "sys";
    clocks = <&osc>;
    clock-names = "osc";
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

Line 53: Clock controller node:

Edit this page