Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/reset/sophgo,sg2042-reset.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Sophgo SG2042 SoC Reset Controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Chen Wang <unicorn_wang@outlook.com> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | const: sophgo,sg2042-reset |
| 15 | |
| 16 | reg: |
| 17 | maxItems: 1 |
| 18 | |
| 19 | "#reset-cells": |
| 20 | const: 1 |
| 21 | |
| 22 | required: |
| 23 | - compatible |
| 24 | - reg |
| 25 | - "#reset-cells" |
| 26 | |
| 27 | additionalProperties: false |
| 28 | |
| 29 | examples: |
| 30 | - | |
| 31 | rstgen: reset-controller@c00 { |
| 32 | compatible = "sophgo,sg2042-reset"; |
| 33 | reg = <0xc00 0xc>; |
| 34 | #reset-cells = <1>; |
| 35 | }; |