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:
parent
c005997a0d
commit
f3d29d6fd2
2 changed files with 28 additions and 0 deletions
11
dts/bindings/power/nordic,nrf-gpd.yaml
Normal file
11
dts/bindings/power/nordic,nrf-gpd.yaml
Normal 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
|
||||
17
include/zephyr/dt-bindings/power/nordic-nrf-gpd.h
Normal file
17
include/zephyr/dt-bindings/power/nordic-nrf-gpd.h
Normal 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 */
|
||||
Loading…
Reference in a new issue