dts: SHA: npcx: add the SHA DTS node and binding
- Add SHA DTS node to npcx9.dtsi. - Add yaml binding for npcx SHA. Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
This commit is contained in:
parent
b67c78bfbe
commit
bd766d0489
2 changed files with 18 additions and 0 deletions
|
|
@ -251,6 +251,12 @@
|
|||
threshold-reg-offset = <0x60>;
|
||||
threshold-count = <6>;
|
||||
};
|
||||
|
||||
sha0: sha@13c {
|
||||
compatible = "nuvoton,npcx-sha";
|
||||
reg = <0x13c 0x3c>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
soc-id {
|
||||
|
|
|
|||
12
dts/bindings/crypto/nuvoton,npcx-sha.yaml
Normal file
12
dts/bindings/crypto/nuvoton,npcx-sha.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) 2022 Nuvoton Technology Corporation.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: NPCX Crypto SHA accelerator.
|
||||
|
||||
compatible: "nuvoton,npcx-sha"
|
||||
|
||||
include: base.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
Loading…
Reference in a new issue