Skip to content

Commit fca91ea

Browse files
rakonsnordicjm
authored andcommitted
dts: nordic,gpio-pins: Implementation of gpio-pins binding
This commit adds nordic,gpio-pins binding. This binding may be used to properly generate pins access for the domain using UICR. Additionally the pins defined this way may be accessed via devicetree macros. No driver is implemented with this binding. Signed-off-by: Radoslaw Koppel <radoslaw.koppel@nordicsemi.no> Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
1 parent cb6faf3 commit fca91ea

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright (c) 2023 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
3+
4+
description: |
5+
This allows to define the pin of the GPIO to be owned by the domain.
6+
It does not provide any specyfic driver.
7+
Its function is to allow us to use two functionalities:
8+
9+
1. Generate the right UICR marking the domain to own the selected pin.
10+
2. Access to pins by the macros from zephyr/devicetree/gpio.h file
11+
increasing the hardware abstraction this way.
12+
13+
compatible: "nordic,gpio-pins"
14+
15+
properties:
16+
gpios:
17+
type: phandle-array
18+
required: true

0 commit comments

Comments
 (0)