Unisoc System Global Register

Schema identifier ($id): "http://devicetree.org/schemas/mfd/sprd,ums512-glbreg.yaml#"

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

Maintainers (maintainers): "Orson Zhai <orsonzhai@gmail.com>", "Baolin Wang <baolin.wang7@gmail.com>", "Chunyan Zhang <zhang.lyra@gmail.com>"

Unisoc system global registers provide register map for clocks and some multimedia modules of the SoC.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "sprd,ums512-glbregs", "sprd,ums9620-glbregs"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 1

ranges — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

^clock-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/clock/sprd,ums512-clk.yaml#

Clock controller for the SoC clocks.

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

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

false

Not allowed by this rule.

Examples (examples) #

ap_apb_regs: syscon@71000000 {
  compatible = "sprd,ums512-glbregs", "syscon", "simple-mfd";
  reg = <0x71000000 0x3000>;
  #address-cells = <1>;
  #size-cells = <1>;
  ranges = <0 0x71000000 0x3000>;

  clock-controller@0 {
    compatible = "sprd,ums512-apahb-gate";
    reg = <0x0 0x2000>;
    #clock-cells = <1>;
  };
};
ap_intc5_regs: syscon@32360000 {
  compatible = "sprd,ums512-glbregs", "syscon", "simple-mfd";
  reg = <0x32360000 0x1000>;
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2022 Unisoc Inc.

Edit this page