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

Add bindings for the reset generator on the SOPHGO CV1800B RISC-V SoC. Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20250617070144.1149926-2-inochiama@gmail.com Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
43 lines
808 B
YAML
43 lines
808 B
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/reset/sophgo,sg2042-reset.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Sophgo SG2042 SoC Reset Controller
|
|
|
|
maintainers:
|
|
- Chen Wang <unicorn_wang@outlook.com>
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- items:
|
|
- enum:
|
|
- sophgo,sg2044-reset
|
|
- const: sophgo,sg2042-reset
|
|
- enum:
|
|
- sophgo,cv1800b-reset
|
|
- sophgo,sg2042-reset
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
"#reset-cells":
|
|
const: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- "#reset-cells"
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
rstgen: reset-controller@c00 {
|
|
compatible = "sophgo,sg2042-reset";
|
|
reg = <0xc00 0xc>;
|
|
#reset-cells = <1>;
|
|
};
|