Skip to content

Commit

Permalink
dts: nordic: Add RESETINFO
Browse files Browse the repository at this point in the history
Add devicetree nodes for the Reset Information registers on nRF54H20,
along with a new binding.

(cherry picked from commit 742c728)

Original-Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
GitOrigin-RevId: 742c728
Change-Id: I1d89c9a3d486bacc8d32b4a17e7ab888b3186285
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5603017
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com>
Tested-by: Fabio Baltieri <fabiobaltieri@google.com>
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
  • Loading branch information
57300 authored and Chromeos LUCI committed Jun 6, 2024
1 parent 1878041 commit 07c1872
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dts/bindings/arm/nordic,nrf-resetinfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

description: Nordic RESETINFO (Reset Information)

compatible: "nordic,nrf-resetinfo"

include: base.yaml

properties:
reg:
required: true
10 changes: 10 additions & 0 deletions dts/common/nordic/nrf54h20.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,11 @@
interrupts = <21 NRF_DEFAULT_IRQ_PRIORITY>;
};

cpuapp_resetinfo: resetinfo@1e000 {
compatible = "nordic,nrf-resetinfo";
reg = <0x1e000 0x1000>;
};

cpuapp_ieee802154: ieee802154 {
compatible = "nordic,nrf-ieee802154";
status = "disabled";
Expand Down Expand Up @@ -227,6 +232,11 @@
interrupts = <20 NRF_DEFAULT_IRQ_PRIORITY>;
};

cpurad_resetinfo: resetinfo@1e000 {
compatible = "nordic,nrf-resetinfo";
reg = <0x1e000 0x1000>;
};

dppic020: dppic@22000 {
compatible = "nordic,nrf-dppic-local";
reg = <0x22000 0x1000>;
Expand Down
2 changes: 2 additions & 0 deletions soc/nordic/validate_base_addresses.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ CHECK_DT_REG(qdec131, NRF_QDEC131);
CHECK_DT_REG(radio, NRF_RADIO);
CHECK_DT_REG(regulators, NRF_REGULATORS);
CHECK_DT_REG(reset, NRF_RESET);
CHECK_DT_REG(cpuapp_resetinfo, NRF_APPLICATION_RESETINFO);
CHECK_DT_REG(cpurad_resetinfo, NRF_RADIOCORE_RESETINFO);
CHECK_DT_REG(rng, NRF_RNG);
CHECK_DT_REG(rtc, NRF_RTC);
CHECK_DT_REG(rtc0, NRF_RTC0);
Expand Down

0 comments on commit 07c1872

Please sign in to comment.