File tree Expand file tree Collapse file tree 5 files changed +75
-0
lines changed
boards/shields/npm6001_ek Expand file tree Collapse file tree 5 files changed +75
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2022 Nordic Semiconductor ASA
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ if SHIELD_NPM6001_EK
5
+
6
+ config GPIO
7
+ default y
8
+
9
+ config WATCHDOG
10
+ default y
11
+
12
+ endif # SHIELD_NPM6001_EK
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2022 Nordic Semiconductor ASA
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ config SHIELD_NPM6001_EK
5
+ def_bool $(shields_list_contains,npm6001_ek)
Original file line number Diff line number Diff line change
1
+ .. _npm6001_ek :
2
+
3
+ nPM6001 EK
4
+ ##########
5
+
6
+ Overview
7
+ ********
8
+
9
+ The nPM6001 EK lets you test different functions and features of the nPM6001
10
+ Power Management Integrated Circuit (PMIC).
11
+
12
+ .. figure :: npm6001_ek.jpg
13
+ :alt: nPM6001 EK
14
+ :align: center
15
+
16
+ nPM6001 EK
17
+
18
+ Requirements
19
+ ************
20
+
21
+ The nPM6001 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 connectors. For example, the I2C lines need to be connected to
24
+ the ``arduino_i2c `` bus. This allows to use the shield with any host board that
25
+ supports the Arduino connector.
26
+
27
+ Usage
28
+ *****
29
+
30
+ The shield can be used in any application by setting ``SHIELD `` to
31
+ ``npm6001_ek ``.
32
+
33
+ References
34
+ **********
35
+
36
+ - `nPM6001 EK Manual <https://infocenter.nordicsemi.com/topic/ug_npm6001_ek/UG/nPM6001_EK/intro.html >`_
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (C) 2022 Nordic Semiconductor ASA
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+
6
+ &arduino_i2c {
7
+ npm6001_ek_pmic: pmic@70 {
8
+ compatible = "nordic,npm6001";
9
+ reg = <0x70>;
10
+
11
+ npm6001_ek_gpio: gpio-controller {
12
+ compatible = "nordic,npm6001-gpio";
13
+ gpio-controller;
14
+ #gpio-cells = <2>;
15
+ ngpios = <3>;
16
+ };
17
+
18
+ npm6001_ek_wdt: watchdog {
19
+ compatible = "nordic,npm6001-wdt";
20
+ };
21
+ };
22
+ };
You can’t perform that action at this time.
0 commit comments