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:
Jun Lin 2022-12-14 13:06:40 +08:00 committed by Carles Cufí
parent b67c78bfbe
commit bd766d0489
2 changed files with 18 additions and 0 deletions

View file

@ -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 {

View 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