c64c4b6882
Add a compatible 'syscon' to the system management node since the system control registers are mapped by this driver. The other driver must access the system control registers through 'regmap' using a phandle that references this node. Signed-off-by: Jacky Huang <ychuang3@nuvoton.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Philipp Zabel <p.zabel@pengutronix.de> Link: https://lore.kernel.org/r/20240521012447.42211-2-ychuang570808@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
47 lines
885 B
YAML
47 lines
885 B
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/reset/nuvoton,ma35d1-reset.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Nuvoton MA35D1 Reset Controller
|
|
|
|
maintainers:
|
|
- Chi-Fang Li <cfli0@nuvoton.com>
|
|
- Jacky Huang <ychuang3@nuvoton.com>
|
|
|
|
description:
|
|
The system reset controller can be used to reset various peripheral
|
|
controllers in MA35D1 SoC.
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- const: nuvoton,ma35d1-reset
|
|
- const: syscon
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
'#reset-cells':
|
|
const: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- '#reset-cells'
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
# system reset controller node:
|
|
- |
|
|
|
|
system-management@40460000 {
|
|
compatible = "nuvoton,ma35d1-reset", "syscon";
|
|
reg = <0x40460000 0x200>;
|
|
#reset-cells = <1>;
|
|
};
|
|
...
|
|
|