linux-loongson/Documentation/devicetree/bindings/reset/thead,th1520-reset.yaml
Michal Wilczynski 30e7573bab dt-bindings: reset: Add T-HEAD TH1520 SoC Reset Controller
Add a YAML schema for the T-HEAD TH1520 SoC reset controller. This
controller manages resets for subsystems such as the GPU within the
TH1520 SoC.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com>
Link: https://lore.kernel.org/r/20250303152511.494405-2-m.wilczynski@samsung.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
2025-04-07 10:19:27 +02:00

45 lines
876 B
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/reset/thead,th1520-reset.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: T-HEAD TH1520 SoC Reset Controller
description:
The T-HEAD TH1520 reset controller is a hardware block that asserts/deasserts
resets for SoC subsystems.
maintainers:
- Michal Wilczynski <m.wilczynski@samsung.com>
properties:
compatible:
enum:
- thead,th1520-reset
reg:
maxItems: 1
"#reset-cells":
const: 1
required:
- compatible
- reg
- "#reset-cells"
additionalProperties: false
examples:
- |
soc {
#address-cells = <2>;
#size-cells = <2>;
rst: reset-controller@ffef528000 {
compatible = "thead,th1520-reset";
reg = <0xff 0xef528000 0x0 0x1000>;
#reset-cells = <1>;
};
};