dts: Add binding and nodes representing Nordic ECB peripheral

Add binding for the Nordic ECB (AES electronic codebook mode
encryption) peripheral and corresponding devicetree nodes for
nRF SoCs that feature this peripheral.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
Andrzej Głąbek 2020-12-21 12:43:51 +01:00 committed by Ioannis Glaropoulos
commit 203b4c3832
10 changed files with 87 additions and 0 deletions

View file

@ -63,6 +63,14 @@
label = "CLOCK";
};
ecb: ecb@4000e000 {
compatible = "nordic,nrf-ecb";
reg = <0x4000e000 0x1000>;
interrupts = <14 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
label = "ECB";
};
uart0: uart@40002000 {
compatible = "nordic,nrf-uart";
reg = <0x40002000 0x1000>;

View file

@ -64,6 +64,14 @@
label = "CLOCK";
};
ecb: ecb@4000e000 {
compatible = "nordic,nrf-ecb";
reg = <0x4000e000 0x1000>;
interrupts = <14 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
label = "ECB";
};
gpio0: gpio@50000000 {
compatible = "nordic,nrf-gpio";
gpio-controller;

View file

@ -60,6 +60,14 @@
label = "CLOCK";
};
ecb: ecb@4000e000 {
compatible = "nordic,nrf-ecb";
reg = <0x4000e000 0x1000>;
interrupts = <14 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
label = "ECB";
};
uart0: uart@40002000 {
/* uart can be either UART or UARTE, for the user to pick */
/* compatible = "nordic,nrf-uarte" or "nordic,nrf-uart"; */

View file

@ -64,6 +64,14 @@
label = "CLOCK";
};
ecb: ecb@4000e000 {
compatible = "nordic,nrf-ecb";
reg = <0x4000e000 0x1000>;
interrupts = <14 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
label = "ECB";
};
uart0: uart@40002000 {
/* uart can be either UART or UARTE, for the user to pick */
/* compatible = "nordic,nrf-uarte" or "nordic,nrf-uart"; */

View file

@ -56,6 +56,14 @@
label = "CLOCK";
};
ecb: ecb@4000e000 {
compatible = "nordic,nrf-ecb";
reg = <0x4000e000 0x1000>;
interrupts = <14 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
label = "ECB";
};
uart0: uart@40002000 {
/* uart can be either UART or UARTE, for the user to pick */
/* compatible = "nordic,nrf-uarte" or "nordic,nrf-uart"; */

View file

@ -60,6 +60,14 @@
label = "CLOCK";
};
ecb: ecb@4000e000 {
compatible = "nordic,nrf-ecb";
reg = <0x4000e000 0x1000>;
interrupts = <14 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
label = "ECB";
};
uart0: uart@40002000 {
/* uart can be either UART or UARTE, for the user to pick */
/* compatible = "nordic,nrf-uarte" or "nordic,nrf-uart"; */

View file

@ -64,6 +64,14 @@
label = "CLOCK";
};
ecb: ecb@4000e000 {
compatible = "nordic,nrf-ecb";
reg = <0x4000e000 0x1000>;
interrupts = <14 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
label = "ECB";
};
uart0: uart@40002000 {
/* uart can be either UART or UARTE, for the user to pick */
/* compatible = "nordic,nrf-uarte" or "nordic,nrf-uart"; */

View file

@ -60,6 +60,14 @@
label = "CLOCK";
};
ecb: ecb@4000e000 {
compatible = "nordic,nrf-ecb";
reg = <0x4000e000 0x1000>;
interrupts = <14 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
label = "ECB";
};
uart0: uart@40002000 {
/* uart can be either UART or UARTE, for the user to pick */
/* compatible = "nordic,nrf-uarte" or "nordic,nrf-uart"; */

View file

@ -72,6 +72,14 @@
label = "DPPIC";
};
ecb: ecb@4100d000 {
compatible = "nordic,nrf-ecb";
reg = <0x4100d000 0x1000>;
interrupts = <13 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
label = "ECB";
};
egu0: egu@41014000 {
compatible = "nordic,nrf-egu";
reg = <0x41014000 0x1000>;

View file

@ -0,0 +1,15 @@
# Copyright (c) 2020 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
description: Nordic ECB (AES electronic codebook mode encryption)
compatible: "nordic,nrf-ecb"
include: base.yaml
properties:
reg:
required: true
interrupts:
required: true