zephyr/samples/shields/npm13xx_ek/npm1304.overlay
Sergei Ovchinnikov f0f2b941f0 boards: shields: add npm1304_ek shield
Add an nPM1304 EK shield, update samples/shields/npm1300_ek to support
both shields, improve the sample description.

Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
2025-07-28 08:47:49 -04:00

37 lines
801 B
Plaintext

/*
* Copyright (C) 2025 Nordic Semiconductor ASA
* SPDX-License-Identifier: Apache-2.0
*/
&npm1304_ek_regulators {
dvs-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>,
<&gpio0 18 GPIO_ACTIVE_LOW>;
};
&npm1304_ek_buck1 {
regulator-init-microvolt = <2000000>;
};
&npm1304_ek_buck2 {
regulator-init-microvolt = <3300000>;
retention-microvolt = <2500000>;
enable-gpio-config = <1 GPIO_ACTIVE_LOW>;
retention-gpio-config = <2 GPIO_ACTIVE_HIGH>;
pwm-gpio-config = <2 GPIO_ACTIVE_LOW>;
};
&npm1304_ek_ldo1 {
regulator-initial-mode = <NPM13XX_LDSW_MODE_LDO>;
enable-gpio-config = <2 GPIO_ACTIVE_LOW>;
};
&npm1304_ek_ldo2 {
regulator-initial-mode = <NPM13XX_LDSW_MODE_LDSW>;
enable-gpio-config = <2 GPIO_ACTIVE_LOW>;
};
&npm1304_ek_pmic {
host-int-gpios = <&gpio0 22 0>;
pmic-int-pin = <3>;
};