blob: 9d0c36ec1982b7f02e4e5e9711bcdadef4787208 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/hwinfo/loongson,ls2k-chipid.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Loongson-2 SoC ChipID
8
9maintainers:
10 - Yinbo Zhu <zhuyinbo@loongson.cn>
11
12description: |
13 Loongson-2 SoC contains many groups of global utilities register
14 blocks, of which the ChipID group registers record SoC version,
15 feature, vendor and id information.
16
17properties:
18 compatible:
19 const: loongson,ls2k-chipid
20
21 reg:
22 maxItems: 1
23
24 little-endian: true
25
26required:
27 - compatible
28 - reg
29
30additionalProperties: false
31
32examples:
33 - |
34 chipid: chipid@1fe00000 {
35 compatible = "loongson,ls2k-chipid";
36 reg = <0x1fe00000 0x3ffc>;
37 little-endian;
38 };