dts: bindings: power: add nordic,nrf-global-pd

Add binding for Global Power Domain found in nRF54Hx SoCs.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2024-10-10 14:17:52 +02:00 committed by Mahesh Mahadevan
parent c005997a0d
commit f3d29d6fd2
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,11 @@
# Copyright 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
description: Nordic nRF Global Power Domain
compatible: "nordic,nrf-gpd"
include: base.yaml
power-domain-cells:
- id

View file

@ -0,0 +1,17 @@
/*
* Copyright (c) 2024 Nordic Semiconductor ASA
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_POWER_NORDIC_NRF_GLOBAL_PD
#define ZEPHYR_INCLUDE_DT_BINDINGS_POWER_NORDIC_NRF_GLOBAL_PD
/* numbers aligned to nrfs service identifiers */
#define NRF_GPD_SLOW_MAIN 2U
#define NRF_GPD_SLOW_ACTIVE 1U
#define NRF_GPD_FAST_MAIN 3U
#define NRF_GPD_FAST_ACTIVE1 0U
#define NRF_GPD_FAST_ACTIVE0 4U
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_POWER_NORDIC_NRF_GLOBAL_PD */