Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # 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 | |
| 7 | title: Loongson-2 SoC ChipID |
| 8 | |
| 9 | maintainers: |
| 10 | - Yinbo Zhu <zhuyinbo@loongson.cn> |
| 11 | |
| 12 | description: | |
| 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 | |
| 17 | properties: |
| 18 | compatible: |
| 19 | const: loongson,ls2k-chipid |
| 20 | |
| 21 | reg: |
| 22 | maxItems: 1 |
| 23 | |
| 24 | little-endian: true |
| 25 | |
| 26 | required: |
| 27 | - compatible |
| 28 | - reg |
| 29 | |
| 30 | additionalProperties: false |
| 31 | |
| 32 | examples: |
| 33 | - | |
| 34 | chipid: chipid@1fe00000 { |
| 35 | compatible = "loongson,ls2k-chipid"; |
| 36 | reg = <0x1fe00000 0x3ffc>; |
| 37 | little-endian; |
| 38 | }; |