Skip to content

Commit f3d29d6

Browse files
gmarullmmahadevan108
authored andcommitted
dts: bindings: power: add nordic,nrf-global-pd
Add binding for Global Power Domain found in nRF54Hx SoCs. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent c005997 commit f3d29d6

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Copyright 2024 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: Nordic nRF Global Power Domain
5+
6+
compatible: "nordic,nrf-gpd"
7+
8+
include: base.yaml
9+
10+
power-domain-cells:
11+
- id
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
7+
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_POWER_NORDIC_NRF_GLOBAL_PD
8+
#define ZEPHYR_INCLUDE_DT_BINDINGS_POWER_NORDIC_NRF_GLOBAL_PD
9+
10+
/* numbers aligned to nrfs service identifiers */
11+
#define NRF_GPD_SLOW_MAIN 2U
12+
#define NRF_GPD_SLOW_ACTIVE 1U
13+
#define NRF_GPD_FAST_MAIN 3U
14+
#define NRF_GPD_FAST_ACTIVE1 0U
15+
#define NRF_GPD_FAST_ACTIVE0 4U
16+
17+
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_POWER_NORDIC_NRF_GLOBAL_PD */

0 commit comments

Comments
 (0)