mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-04 02:25:58 +00:00

Convert the Synopsys Designware Reset Controller binding to schema. It is a straight forward conversion. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20250702222609.2760718-1-robh@kernel.org Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
40 lines
692 B
YAML
40 lines
692 B
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/reset/snps,dw-reset.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Synopsys DesignWare Reset controller
|
|
|
|
maintainers:
|
|
- Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- snps,dw-high-reset
|
|
- snps,dw-low-reset
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
'#reset-cells':
|
|
const: 1
|
|
|
|
reset-controller: true
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- '#reset-cells'
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
reset-controller@0 {
|
|
compatible = "snps,dw-high-reset";
|
|
reg = <0x0000 0x4>;
|
|
#reset-cells = <1>;
|
|
};
|