Amlogic T7 Peripherals Clock Controller

Schema identifier ($id): "http://devicetree.org/schemas/clock/amlogic,t7-peripherals-clkc.yaml#"

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

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>", "Jerome Brunet <jbrunet@baylibre.com>", "Xianwei Zhao <xianwei.zhao@amlogic.com>", "Jian Hu <jian.hu@amlogic.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "amlogic,t7-peripherals-clkc"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Minimum number of items (minItems): 14

Array item rules (items) #

Item 1

input oscillator

Item 2

input sys clk

Item 3

input fixed pll

Item 4

input fclk div 2

Item 5

input fclk div 2p5

Item 6

input fclk div 3

Item 7

input fclk div 4

Item 8

input fclk div 5

Item 9

input fclk div 7

Item 10

input hifi pll

Item 11

input gp0 pll

Item 12

input gp1 pll

Item 13

input mpll1

Item 14

input mpll2

Item 15

external input rmii oscillator (optional)

Item 16

input video pll0 (optional)

Item 17

external pad input for rtc (optional)

clock-names — required here #

Minimum number of items (minItems): 14

Array item rules (items) #

Item 1

Exact value (const): "xtal"

Item 2

Exact value (const): "sys"

Item 3

Exact value (const): "fix"

Item 4

Exact value (const): "fdiv2"

Item 5

Exact value (const): "fdiv2p5"

Item 6

Exact value (const): "fdiv3"

Item 7

Exact value (const): "fdiv4"

Item 8

Exact value (const): "fdiv5"

Item 9

Exact value (const): "fdiv7"

Item 10

Exact value (const): "hifi"

Item 11

Exact value (const): "gp0"

Item 12

Exact value (const): "gp1"

Item 13

Exact value (const): "mpll1"

Item 14

Exact value (const): "mpll2"

Item 15

Exact value (const): "ext_rmii"

Item 16

Exact value (const): "vid_pll0"

Item 17

Exact value (const): "ext_rtc"

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

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

false

Not allowed by this rule.

Examples (examples) #

apb {
    #address-cells = <2>;
    #size-cells = <2>;

    clkc_periphs:clock-controller@0 {
        compatible = "amlogic,t7-peripherals-clkc";
        reg = <0 0x0 0 0x1c8>;
        #clock-cells = <1>;
        clocks = <&xtal>,
                 <&scmi_clk 13>,
                 <&scmi_clk 16>,
                 <&scmi_clk 18>,
                 <&scmi_clk 20>,
                 <&scmi_clk 22>,
                 <&scmi_clk 24>,
                 <&scmi_clk 26>,
                 <&scmi_clk 28>,
                 <&hifi 1>,
                 <&gp0 1>,
                 <&gp1 1>,
                 <&mpll 4>,
                 <&mpll 6>;
        clock-names = "xtal",
                      "sys",
                      "fix",
                      "fdiv2",
                      "fdiv2p5",
                      "fdiv3",
                      "fdiv4",
                      "fdiv5",
                      "fdiv7",
                      "hifi",
                      "gp0",
                      "gp1",
                      "mpll1",
                      "mpll2";
    };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (C) 2024-2025 Amlogic, Inc. All rights reserved

Edit this page