dts: arm: nordic: fix cryptocell description

The ARM Cryptocell 310/312 IP is wrapped by Nordic specific registers.
It is organized as follows:

- Base address: Nordic wrapper
- Base address + 0x1000: ARM Cryptocell IP registers

Following more standard devicetree conventions, use a single node for
what is exposed as a single peripheral. The node contains 2 register
entries, one for the wrapper and a second one for the 3rd party IP.
Compatibles are used from more specific (nordic,cryptocell) to more
generic (arm,cryptocell-3xx).

Other minor fixes: peripheral is disabled by default (as it should be in
SoC dts files).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2023-09-20 11:33:37 +02:00 committed by Fabio Baltieri
commit 49df14c08a
6 changed files with 17 additions and 56 deletions

View file

@ -13,10 +13,10 @@ config HAS_HW_NRF_BPROT
def_bool $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_BPROT))
config HAS_HW_NRF_CC310
def_bool $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_CC310))
def_bool $(dt_compat_enabled,$(DT_COMPAT_ARM_CRYPTOCELL_310))
config HAS_HW_NRF_CC312
def_bool $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_CC312))
def_bool $(dt_compat_enabled,$(DT_COMPAT_ARM_CRYPTOCELL_312))
config HAS_HW_NRF_CCM
def_bool $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_CCM))