dts: nRF: Add missing headermask binding for NRF_CCM
Add missing headermask binding for NRF_CCM peripheral and define HAS_HW_NRF_CCM_HEADERMASK Kconfig. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
1ddabfa8d8
commit
9ede8cd87e
5 changed files with 13 additions and 0 deletions
|
@ -245,6 +245,7 @@
|
|||
reg = <0x4000f000 0x1000>;
|
||||
interrupts = <15 NRF_DEFAULT_IRQ_PRIORITY>;
|
||||
length-field-length-8-bits;
|
||||
headermask-supported;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -265,6 +265,7 @@
|
|||
reg = <0x4000f000 0x1000>;
|
||||
interrupts = <15 NRF_DEFAULT_IRQ_PRIORITY>;
|
||||
length-field-length-8-bits;
|
||||
headermask-supported;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -144,6 +144,7 @@
|
|||
reg = <0x4100e000 0x1000>;
|
||||
interrupts = <14 NRF_DEFAULT_IRQ_PRIORITY>;
|
||||
length-field-length-8-bits;
|
||||
headermask-supported;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -20,3 +20,10 @@ properties:
|
|||
Indicates whether the CCM peripheral supports the extended length
|
||||
(8 bits) of the LENGTH field in encrypted/decrypted packets.
|
||||
If not set, only the default length (5 bits) is supported.
|
||||
|
||||
headermask-supported:
|
||||
type: boolean
|
||||
description: |
|
||||
Indicates whether the CCM peripheral supports the headermask register to
|
||||
set the PDU header bitmask used to derive the additional authentication
|
||||
data (AAD) in CCM for Bluetooth Low Energy ACL, BIS and CIS PDUs.
|
||||
|
|
|
@ -24,6 +24,9 @@ config HAS_HW_NRF_CCM
|
|||
config HAS_HW_NRF_CCM_LFLEN_8BIT
|
||||
def_bool $(dt_nodelabel_bool_prop,ccm,length-field-length-8-bits)
|
||||
|
||||
config HAS_HW_NRF_CCM_HEADERMASK
|
||||
def_bool $(dt_nodelabel_bool_prop,ccm,headermask-supported)
|
||||
|
||||
config HAS_HW_NRF_CLOCK
|
||||
def_bool $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_CLOCK))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue