Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | # Copyright 2019 Manivannan Sadhasivam <mani@kernel.org> |
| 3 | %YAML 1.2 |
| 4 | --- |
| 5 | $id: http://devicetree.org/schemas/reset/bitmain,bm1880-reset.yaml# |
| 6 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 7 | |
| 8 | title: Bitmain BM1880 SoC Reset Controller |
| 9 | |
| 10 | maintainers: |
| 11 | - Manivannan Sadhasivam <mani@kernel.org> |
| 12 | |
| 13 | properties: |
| 14 | compatible: |
| 15 | const: bitmain,bm1880-reset |
| 16 | |
| 17 | reg: |
| 18 | maxItems: 1 |
| 19 | |
| 20 | "#reset-cells": |
| 21 | const: 1 |
| 22 | |
| 23 | required: |
| 24 | - compatible |
| 25 | - reg |
| 26 | - "#reset-cells" |
| 27 | |
| 28 | additionalProperties: false |
| 29 | |
| 30 | examples: |
| 31 | - | |
| 32 | rst: reset-controller@c00 { |
| 33 | compatible = "bitmain,bm1880-reset"; |
| 34 | reg = <0xc00 0x8>; |
| 35 | #reset-cells = <1>; |
| 36 | }; |