| # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| %YAML 1.2 |
| --- |
| $id: http://devicetree.org/schemas/reset/canaan,k210-rst.yaml# |
| $schema: http://devicetree.org/meta-schemas/core.yaml# |
| |
| title: Canaan Kendryte K210 Reset Controller Device Tree Bindings |
| |
| maintainers: |
| - Damien Le Moal <damien.lemoal@wdc.com> |
| |
| description: | |
| Canaan Kendryte K210 reset controller driver which supports the SoC |
| system controller supplied reset registers for the various peripherals |
| of the SoC. The K210 reset controller node must be defined as a child |
| node of the K210 system controller node. |
| |
| See also: |
| - dt-bindings/reset/k210-rst.h |
| |
| properties: |
| compatible: |
| const: canaan,k210-rst |
| |
| '#reset-cells': |
| const: 1 |
| |
| required: |
| - '#reset-cells' |
| - compatible |
| |
| additionalProperties: false |
| |
| examples: |
| - | |
| #include <dt-bindings/reset/k210-rst.h> |
| sysrst: reset-controller { |
| compatible = "canaan,k210-rst"; |
| #reset-cells = <1>; |
| }; |