Skip to content

Commit 6cbe9a0

Browse files
gmarullcarlescufi
authored andcommitted
boards: shields: npm1100_ek: add initial support
Add initial support for the nPM1100 EK. The EK is expected to be connected to Arduino header pins (D2/3/4/5). Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 8c73db6 commit 6cbe9a0

File tree

5 files changed

+72
-0
lines changed

5 files changed

+72
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright (c) 2023 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
if SHIELD_NPM1100_EK
5+
6+
config REGULATOR
7+
default y
8+
9+
endif # SHIELD_NPM1100_EK
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Copyright (c) 2023 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config SHIELD_NPM1100_EK
5+
def_bool $(shields_list_contains,npm1100_ek)
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
.. _npm1100_ek:
2+
3+
nPM1100 EK
4+
##########
5+
6+
Overview
7+
********
8+
9+
The nPM1100 EK lets you test different functions and features of the nPM1100
10+
Power Management Integrated Circuit (PMIC).
11+
12+
.. figure:: npm1100_ek.jpg
13+
:alt: nPM1100 EK
14+
:align: center
15+
16+
nPM1100 EK
17+
18+
Requirements
19+
************
20+
21+
The nPM1100 EK board is not designed to fit straight into an Arduino connector.
22+
However, the Zephyr shield is designed expecting it to be connected to the
23+
Arduino shield pins. This allows to use the shield with any host board that
24+
supports the Arduino connector. The connections are:
25+
26+
+-----------+--------------+
27+
| PMIC Pin | Arduino Pin |
28+
+===========+==============+
29+
| ISET | D2 |
30+
| MODE | D3 |
31+
+-----------+--------------+
32+
33+
Usage
34+
*****
35+
36+
The shield can be used in any application by setting ``SHIELD`` to
37+
``npm1100_ek``.
38+
39+
References
40+
**********
41+
42+
- `nPM1100 EK Manual <https://infocenter.nordicsemi.com/topic/ug_npm1100_ek/UG/nPM1100_EK/intro.html>`_
65.9 KB
Loading
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright (C) 2023 Nordic Semiconductor ASA
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
/ {
7+
npm1100_ek_pmic: pmic {
8+
compatible = "nordic,npm1100";
9+
10+
nordic,iset-gpios = <&arduino_header 8 GPIO_ACTIVE_HIGH>; /* D2 */
11+
12+
npm1100_ek_buck: BUCK {
13+
nordic,mode-gpios = <&arduino_header 9 GPIO_ACTIVE_HIGH>; /* D3 */
14+
};
15+
};
16+
};

0 commit comments

Comments
 (0)