Renesas EMMA Mobile EV2 System Management Unit

Schema identifier ($id): "http://devicetree.org/schemas/clock/renesas,emev2-smu.yaml#"

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

Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>", "Magnus Damm <magnus.damm@gmail.com>"

The System Management Unit is described in user's manual R19UH0037EJ1000_SMU. This is not a clock provider, but clocks under SMU depend on it.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "renesas,emev2-smu"

reg — required here #

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 2

#size-cells — required here #

Exact value (const): 0

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

Properties matching a name pattern (patternProperties) #

.*sclkdiv@.* — name matches this regular expression #

Value type (type): "object"

Function block with an input mux and a divider, which corresponds to "Serial clock generator" in fig. "Clock System Overview" of the manual, and "xxx frequency division setting register" (XXXCLKDIV) registers. This makes internal (neither input nor output) clock that is provided to input of xxxGCLK block.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "renesas,emev2-smu-clkdiv"

reg — required here

Maximum number of items (maxItems): 1

Byte offset from SMU base and Bit position in the register.

clocks — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

#clock-cells — required here

Exact value (const): 0

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

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

false

Not allowed by this rule.

.*sclk@.* — name matches this regular expression #

Value type (type): "object"

Clock gating node shown as "Clock stop processing block" in the fig. "Clock System Overview" of the manual. Registers are "xxx clock gate control register" (XXXGCLKCTRL).

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "renesas,emev2-smu-gclk"

reg — required here

Maximum number of items (maxItems): 1

Byte offset from SMU base and Bit position in the register.

clocks — required here

Maximum number of items (maxItems): 1

#clock-cells — required here

Exact value (const): 0

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

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

false

Not allowed by this rule.

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

true

Allowed by this rule.

Examples (examples) #

// Example of clock-tree description:
//
//  This describes a clock path in the clock tree
//   c32ki -> pll3_fo -> usia_u0_sclkdiv -> usia_u0_sclk
clocks@e0110000 {
        compatible = "renesas,emev2-smu";
        reg = <0xe0110000 0x10000>;
        #address-cells = <2>;
        #size-cells = <0>;

        c32ki: c32ki {
                compatible = "fixed-clock";
                clock-frequency = <32768>;
                #clock-cells = <0>;
        };
        pll3_fo: pll3_fo {
                compatible = "fixed-factor-clock";
                clocks = <&c32ki>;
                clock-div = <1>;
                clock-mult = <7000>;
                #clock-cells = <0>;
        };
        usia_u0_sclkdiv: usia_u0_sclkdiv@610,0 {
                compatible = "renesas,emev2-smu-clkdiv";
                reg = <0x610 0>;
                clocks = <&pll3_fo>;
                #clock-cells = <0>;
        };
        usia_u0_sclk: usia_u0_sclk@4a0,1 {
                compatible = "renesas,emev2-smu-gclk";
                reg = <0x4a0 1>;
                clocks = <&usia_u0_sclkdiv>;
                #clock-cells = <0>;
        };
};

Source notes #

Annotations retained from the schema source

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

Edit this page