driver: reset: npcx: add driver support for reset controller
Nuvoton NPCX chips have reset registers which allow to reset the peripheral hardware modules. This commit adds the support by implementing the reset driver. Note that only the reset_line_toggle API is supported because of the nature of the reset controller's design. Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
This commit is contained in:
parent
e10ed057e8
commit
011b730b4c
13 changed files with 458 additions and 0 deletions
18
dts/bindings/reset/nuvoton,npcx-rst.yaml
Normal file
18
dts/bindings/reset/nuvoton,npcx-rst.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Copyright (c) 2024 Nuvoton Technology Corporation.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: NPCX Reset Controller
|
||||
|
||||
compatible: "nuvoton,npcx-rst"
|
||||
|
||||
include: [reset-controller.yaml, base.yaml]
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
"#reset-cells":
|
||||
const: 1
|
||||
|
||||
reset-cells:
|
||||
- id
|
Loading…
Add table
Add a link
Reference in a new issue