xref: /freebsd/sys/contrib/device-tree/Bindings/firmware/nxp,imx95-scmi.yaml (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1*b2d2a78aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*b2d2a78aSEmmanuel Vadot# Copyright 2024 NXP
3*b2d2a78aSEmmanuel Vadot%YAML 1.2
4*b2d2a78aSEmmanuel Vadot---
5*b2d2a78aSEmmanuel Vadot$id: http://devicetree.org/schemas/firmware/nxp,imx95-scmi.yaml#
6*b2d2a78aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
7*b2d2a78aSEmmanuel Vadot
8*b2d2a78aSEmmanuel Vadottitle: i.MX95 System Control and Management Interface(SCMI) Vendor Protocols Extension
9*b2d2a78aSEmmanuel Vadot
10*b2d2a78aSEmmanuel Vadotmaintainers:
11*b2d2a78aSEmmanuel Vadot  - Peng Fan <peng.fan@nxp.com>
12*b2d2a78aSEmmanuel Vadot
13*b2d2a78aSEmmanuel Vadotproperties:
14*b2d2a78aSEmmanuel Vadot  protocol@81:
15*b2d2a78aSEmmanuel Vadot    $ref: '/schemas/firmware/arm,scmi.yaml#/$defs/protocol-node'
16*b2d2a78aSEmmanuel Vadot    unevaluatedProperties: false
17*b2d2a78aSEmmanuel Vadot
18*b2d2a78aSEmmanuel Vadot    properties:
19*b2d2a78aSEmmanuel Vadot      reg:
20*b2d2a78aSEmmanuel Vadot        const: 0x81
21*b2d2a78aSEmmanuel Vadot
22*b2d2a78aSEmmanuel Vadot  protocol@84:
23*b2d2a78aSEmmanuel Vadot    $ref: '/schemas/firmware/arm,scmi.yaml#/$defs/protocol-node'
24*b2d2a78aSEmmanuel Vadot    unevaluatedProperties: false
25*b2d2a78aSEmmanuel Vadot
26*b2d2a78aSEmmanuel Vadot    properties:
27*b2d2a78aSEmmanuel Vadot      reg:
28*b2d2a78aSEmmanuel Vadot        const: 0x84
29*b2d2a78aSEmmanuel Vadot
30*b2d2a78aSEmmanuel Vadot      nxp,ctrl-ids:
31*b2d2a78aSEmmanuel Vadot        description:
32*b2d2a78aSEmmanuel Vadot          Each entry consists of 2 integers, represents the ctrl id and the value
33*b2d2a78aSEmmanuel Vadot        items:
34*b2d2a78aSEmmanuel Vadot          items:
35*b2d2a78aSEmmanuel Vadot            - description: the ctrl id index
36*b2d2a78aSEmmanuel Vadot              enum: [0, 1, 2, 3, 4, 5, 6, 7, 0x8000, 0x8001, 0x8002, 0x8003,
37*b2d2a78aSEmmanuel Vadot                     0x8004, 0x8005, 0x8006, 0x8007]
38*b2d2a78aSEmmanuel Vadot            - description: the value assigned to the ctrl id
39*b2d2a78aSEmmanuel Vadot        minItems: 1
40*b2d2a78aSEmmanuel Vadot        maxItems: 16
41*b2d2a78aSEmmanuel Vadot        $ref: /schemas/types.yaml#/definitions/uint32-matrix
42*b2d2a78aSEmmanuel Vadot
43*b2d2a78aSEmmanuel VadotadditionalProperties: true
44