Altera SOCFPGA Clock Manager

Schema identifier ($id): "http://devicetree.org/schemas/arm/altera/socfpga-clk-manager.yaml#"

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

Maintainers (maintainers): "Dinh Nguyen <dinguyen@kernel.org>"

This binding describes the Altera SOCFGPA Clock Manager and its associated tree of clocks, pll's, and clock gates for the Cyclone5, Arria5 and Arria10 chip families.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "altr,clk-mgr"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Value type (type): "object"

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

false

Not allowed by this rule.

Properties and child nodes (properties) #

#address-cells — not listed as required here

Exact value (const): 1

#size-cells — not listed as required here

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^osc[0-9]$ — name matches this regular expression

Value type (type): "object"

^[a-z0-9,_]+(clk|pll|clk_gate|clk_divided)(@[a-f0-9]+)?$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): #/$defs/clock-props

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

compatible — required here

Allowed values (enum): "altr,socfpga-pll-clock", "altr,socfpga-perip-clk", "altr,socfpga-gate-clk", "altr,socfpga-a10-pll-clock", "altr,socfpga-a10-perip-clk", "altr,socfpga-a10-gate-clk", "fixed-clock"

clocks — not listed as required here

one or more phandles to input clock

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

#address-cells — not listed as required here

Exact value (const): 1

#size-cells — not listed as required here

Exact value (const): 0

Properties matching a name pattern (patternProperties)

^[a-z0-9,_]+(clk|pll)(@[a-f0-9]+)?$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): #/$defs/clock-props

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

compatible — required here

Allowed values (enum): "altr,socfpga-perip-clk", "altr,socfpga-gate-clk", "altr,socfpga-a10-perip-clk", "altr,socfpga-a10-gate-clk"

clocks — required here

one or more phandles to input clock

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

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

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

Required in this object (required): "compatible", "reg"

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

false

Not allowed by this rule.

Reusable definitions ($defs) #

clock-props #

Properties and child nodes (properties) #

reg — not listed as required here

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here

Exact value (const): 0

clk-gate — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Array item rules (items)

Item 1

gating register offset

Item 2

bit index

div-reg — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Array item rules (items)

Item 1

divider register offset

Item 2

bit shift

Item 3

bit width

fixed-divider — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Examples (examples) #

clkmgr@ffd04000 {
  compatible = "altr,clk-mgr";
  reg = <0xffd04000 0x1000>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page