xref: /linux/Documentation/devicetree/bindings/hwinfo/loongson,ls2k-chipid.yaml (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
1*06ebd23aSYinbo Zhu# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*06ebd23aSYinbo Zhu%YAML 1.2
3*06ebd23aSYinbo Zhu---
4*06ebd23aSYinbo Zhu$id: http://devicetree.org/schemas/hwinfo/loongson,ls2k-chipid.yaml#
5*06ebd23aSYinbo Zhu$schema: http://devicetree.org/meta-schemas/core.yaml#
6*06ebd23aSYinbo Zhu
7*06ebd23aSYinbo Zhutitle: Loongson-2 SoC ChipID
8*06ebd23aSYinbo Zhu
9*06ebd23aSYinbo Zhumaintainers:
10*06ebd23aSYinbo Zhu  - Yinbo Zhu <zhuyinbo@loongson.cn>
11*06ebd23aSYinbo Zhu
12*06ebd23aSYinbo Zhudescription: |
13*06ebd23aSYinbo Zhu  Loongson-2 SoC contains many groups of global utilities register
14*06ebd23aSYinbo Zhu  blocks, of which the ChipID group registers record SoC version,
15*06ebd23aSYinbo Zhu  feature, vendor and id information.
16*06ebd23aSYinbo Zhu
17*06ebd23aSYinbo Zhuproperties:
18*06ebd23aSYinbo Zhu  compatible:
19*06ebd23aSYinbo Zhu    const: loongson,ls2k-chipid
20*06ebd23aSYinbo Zhu
21*06ebd23aSYinbo Zhu  reg:
22*06ebd23aSYinbo Zhu    maxItems: 1
23*06ebd23aSYinbo Zhu
24*06ebd23aSYinbo Zhu  little-endian: true
25*06ebd23aSYinbo Zhu
26*06ebd23aSYinbo Zhurequired:
27*06ebd23aSYinbo Zhu  - compatible
28*06ebd23aSYinbo Zhu  - reg
29*06ebd23aSYinbo Zhu
30*06ebd23aSYinbo ZhuadditionalProperties: false
31*06ebd23aSYinbo Zhu
32*06ebd23aSYinbo Zhuexamples:
33*06ebd23aSYinbo Zhu  - |
34*06ebd23aSYinbo Zhu    chipid: chipid@1fe00000 {
35*06ebd23aSYinbo Zhu        compatible = "loongson,ls2k-chipid";
36*06ebd23aSYinbo Zhu        reg = <0x1fe00000 0x3ffc>;
37*06ebd23aSYinbo Zhu        little-endian;
38*06ebd23aSYinbo Zhu    };
39