1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/soc/altera/altr,sys-mgr.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Altera SOCFPGA System Manager
8
9maintainers:
10  - Dinh Nguyen <[email protected]>
11
12properties:
13  compatible:
14    oneOf:
15      - description: Cyclone5/Arria5/Arria10
16        const: altr,sys-mgr
17      - description: Stratix10 SoC
18        items:
19          - const: altr,sys-mgr-s10
20          - const: altr,sys-mgr
21
22  reg:
23    maxItems: 1
24
25  cpu1-start-addr:
26    $ref: /schemas/types.yaml#/definitions/uint32
27    description: CPU1 start address in hex
28
29required:
30  - compatible
31  - reg
32
33allOf:
34  - if:
35      properties:
36        compatible:
37          contains:
38            const: altr,sys-mgr-s10
39    then:
40      properties:
41        cpu1-start-addr: false
42
43additionalProperties: false
44
45examples:
46  - |
47    sysmgr@ffd08000 {
48      compatible = "altr,sys-mgr";
49      reg = <0xffd08000 0x1000>;
50      cpu1-start-addr = <0xffd080c4>;
51    };
52