| 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 <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
oneOf: |
| 15 |
- items: |
| 16 |
- enum: |
| 17 |
- sophgo,sg2044-reset |
| 18 |
- const: sophgo,sg2042-reset |
| 19 |
- enum: |
| 20 |
- sophgo,cv1800b-reset |
| 21 |
- sophgo,sg2042-reset |
| 22 |
|
| 23 |
reg: |
| 24 |
maxItems: 1 |
| 25 |
|
| 26 |
"#reset-cells": |
| 27 |
const: 1 |
| 28 |
|
| 29 |
required: |
| 30 |
- compatible |
| 31 |
- reg |
| 32 |
- "#reset-cells" |
| 33 |
|
| 34 |
additionalProperties: false |
| 35 |
|
| 36 |
examples: |
| 37 |
- | |
| 38 |
rstgen: reset-controller@c00 { |
| 39 |
compatible = "sophgo,sg2042-reset"; |
| 40 |
reg = <0xc00 0xc>; |
| 41 |
#reset-cells = <1>; |
| 42 |
}; |