Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 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 | |
| 8 | title: TI Nspire MISC hardware block |
| 9 | |
| 10 | maintainers: |
| 11 | - Andrew Davis <afd@ti.com> |
| 12 | |
| 13 | description: |
| 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 | |
| 19 | properties: |
| 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 | |
| 33 | required: |
| 34 | - compatible |
| 35 | - reg |
| 36 | - reboot |
| 37 | |
| 38 | additionalProperties: false |
| 39 | |
| 40 | examples: |
| 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 | }; |