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