Calxeda highbank platform Clock Controller

Schema identifier ($id): "http://devicetree.org/schemas/clock/calxeda.yaml#"

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

This binding covers the Calxeda SoC internal peripheral and bus clocks as used by peripherals. The clocks live inside the "system register" region of the SoC, so are typically presented as children of an "hb-sregs" node.

Maintainers (maintainers): "Andre Przywara <andre.przywara@arm.com>"

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Allowed values (enum): "calxeda,hb-pll-clock", "calxeda,hb-a9periph-clock", "calxeda,hb-a9bus-clock", "calxeda,hb-emmc-clock"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

sregs@3fffc000 {
    compatible = "calxeda,hb-sregs";
    reg = <0x3fffc000 0x1000>;

    clocks {
        #address-cells = <1>;
        #size-cells = <0>;

        osc: oscillator {
            #clock-cells = <0>;
            compatible = "fixed-clock";
            clock-frequency = <33333000>;
        };

        ddrpll: ddrpll@108 {
            #clock-cells = <0>;
            compatible = "calxeda,hb-pll-clock";
            clocks = <&osc>;
            reg = <0x108>;
        };

        a9pll: a9pll@100 {
            #clock-cells = <0>;
            compatible = "calxeda,hb-pll-clock";
            clocks = <&osc>;
            reg = <0x100>;
        };

        a9periphclk: a9periphclk@104 {
            #clock-cells = <0>;
            compatible = "calxeda,hb-a9periph-clock";
            clocks = <&a9pll>;
            reg = <0x104>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page