xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/ti,nspire-misc.yaml (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2# Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/
3%YAML 1.2
4---
5$id: http://devicetree.org/schemas/mfd/ti,nspire-misc.yaml#
6$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8title: TI Nspire MISC hardware block
9
10maintainers:
11  - Andrew Davis <afd@ti.com>
12
13description:
14  System controller node represents a register region containing a set
15  of miscellaneous registers. The registers are not cohesive enough to
16  represent as any specific type of device. Currently there is a reset
17  controller.
18
19properties:
20  compatible:
21    items:
22      - enum:
23          - ti,nspire-misc
24      - const: syscon
25      - const: simple-mfd
26
27  reg:
28    maxItems: 1
29
30  reboot:
31    $ref: /schemas/power/reset/syscon-reboot.yaml#
32
33required:
34  - compatible
35  - reg
36  - reboot
37
38additionalProperties: false
39
40examples:
41  - |
42    misc: misc@900a0000 {
43      compatible = "ti,nspire-misc", "syscon", "simple-mfd";
44      reg = <0x900a0000 0x1000>;
45
46      reboot {
47        compatible = "syscon-reboot";
48        offset = <0x08>;
49        value = <0x02>;
50      };
51    };
52