xref: /linux/Documentation/devicetree/bindings/firmware/nxp,imx95-scmi.yaml (revision e78f70bad29c5ae1e1076698b690b15794e9b81e)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2# Copyright 2024 NXP
3%YAML 1.2
4---
5$id: http://devicetree.org/schemas/firmware/nxp,imx95-scmi.yaml#
6$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8title: i.MX95 System Control and Management Interface(SCMI) Vendor Protocols Extension
9
10maintainers:
11  - Peng Fan <peng.fan@nxp.com>
12
13properties:
14  protocol@80:
15    description:
16      SCMI LMM protocol which is for boot, shutdown, and reset of other logical
17      machines (LM). It is usually used to allow one LM to manage another used
18      as an offload or accelerator engine.
19    $ref: '/schemas/firmware/arm,scmi.yaml#/$defs/protocol-node'
20    unevaluatedProperties: false
21
22    properties:
23      reg:
24        const: 0x80
25
26  protocol@81:
27    $ref: '/schemas/firmware/arm,scmi.yaml#/$defs/protocol-node'
28    unevaluatedProperties: false
29
30    properties:
31      reg:
32        const: 0x81
33
34  protocol@82:
35    description:
36      SCMI CPU Protocol which allows an agent to start or stop a CPU. It is
37      used to manage auxiliary CPUs in a LM.
38    $ref: '/schemas/firmware/arm,scmi.yaml#/$defs/protocol-node'
39    unevaluatedProperties: false
40
41    properties:
42      reg:
43        const: 0x82
44
45  protocol@84:
46    $ref: '/schemas/firmware/arm,scmi.yaml#/$defs/protocol-node'
47    unevaluatedProperties: false
48
49    properties:
50      reg:
51        const: 0x84
52
53      nxp,ctrl-ids:
54        description:
55          Each entry consists of 2 integers, represents the ctrl id and the value
56        items:
57          items:
58            - description: the ctrl id index
59              enum: [0, 1, 2, 3, 4, 5, 6, 7, 0x8000, 0x8001, 0x8002, 0x8003,
60                     0x8004, 0x8005, 0x8006, 0x8007]
61            - description: the value assigned to the ctrl id
62        minItems: 1
63        maxItems: 16
64        $ref: /schemas/types.yaml#/definitions/uint32-matrix
65
66additionalProperties: true
67