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