Loongson-2 SoC ChipID

Schema identifier ($id): "http://devicetree.org/schemas/hwinfo/loongson,ls2k-chipid.yaml#"

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

Maintainers (maintainers): "Yinbo Zhu <zhuyinbo@loongson.cn>"

Loongson-2 SoC contains many groups of global utilities register blocks, of which the ChipID group registers record SoC version, feature, vendor and id information.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "loongson,ls2k-chipid"

reg — required here #

Maximum number of items (maxItems): 1

little-endian — not listed as required here #

true — No constraints added by this property rule.

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) #

chipid: chipid@1fe00000 {
    compatible = "loongson,ls2k-chipid";
    reg = <0x1fe00000 0x3ffc>;
    little-endian;
};

Source notes #

Annotations retained from the schema source

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

Edit this page