summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/soc/altera/altr,sys-mgr.yaml
blob: d56ff4c05ae5b4751f0a7c72d1b5c1a6c52b5659 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/altera/altr,sys-mgr.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Altera SOCFPGA System Manager

maintainers:
  - Dinh Nguyen <dinguyen@kernel.org>

properties:
  compatible:
    oneOf:
      - description: Cyclone5/Arria5/Arria10
        const: altr,sys-mgr
      - description: Stratix10 SoC
        items:
          - const: altr,sys-mgr-s10
          - const: altr,sys-mgr

  reg:
    maxItems: 1

  cpu1-start-addr:
    $ref: /schemas/types.yaml#/definitions/uint32
    description: CPU1 start address in hex

required:
  - compatible
  - reg

allOf:
  - if:
      properties:
        compatible:
          contains:
            const: altr,sys-mgr-s10
    then:
      properties:
        cpu1-start-addr: false

additionalProperties: false

examples:
  - |
    sysmgr@ffd08000 {
      compatible = "altr,sys-mgr";
      reg = <0xffd08000 0x1000>;
      cpu1-start-addr = <0xffd080c4>;
    };