Skip to content

Commit

Permalink
dts: nrf5340_cpuapp: add cryptocell node
Browse files Browse the repository at this point in the history
Add the missing node and bindings. This is a secure-mapped peripheral,
so do not add it to the common include file
nrf5340_cpuapp_common.dtsi.

Fixes: zephyrproject-rtos#25493
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
  • Loading branch information
mbolivar-nordic authored and Oleg committed May 30, 2020
1 parent 6c4168b commit 46a6806
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
15 changes: 15 additions & 0 deletions dts/arm/nordic/nrf5340_cpuapp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,21 @@
};

/* Additional Secure peripherals */
cryptocell: crypto@50844000 {
compatible = "nordic,nrf-cc312";
reg = <0x50844000 0x1000>;
label = "CRYPTOCELL";
status = "okay";
#address-cells = <1>;
#size-cells = <1>;
cryptocell312: crypto@50845000 {
compatible = "arm,cryptocell-312";
reg = <0x50845000 0x1000>;
interrupts = <68 1>;
label = "CRYPTOCELL312";
};
};

gpiote: gpiote@5000d000 {
compatible = "nordic,nrf-gpiote";
reg = <0x5000d000 0x1000>;
Expand Down
18 changes: 18 additions & 0 deletions dts/bindings/crypto/arm,cryptocell-312.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright (c) 2018, 2020 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

description: ARM TrustZone CryptoCell 312

compatible: "arm,cryptocell-312"

include: base.yaml

properties:
reg:
required: true

label:
required: true

interrupts:
required: true
15 changes: 15 additions & 0 deletions dts/bindings/crypto/nordic,nrf-cc312.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright (c) 2018, 2020 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

description: Nordic Control Interface for ARM TrustZone CryptoCell 312

compatible: "nordic,nrf-cc312"

include: base.yaml

properties:
reg:
required: true

label:
required: true

0 comments on commit 46a6806

Please sign in to comment.