samples: shields: npm1300_ek: update GPIO config

Update the nPM1300 GPIO configuration for the sample to match new
requirements.

Signed-off-by: Jordan Yates <jordan@embeint.com>
This commit is contained in:
Jordan Yates 2025-04-11 16:52:06 +10:00 committed by Benjamin Cabé
commit 646f08cbb7

View file

@ -20,19 +20,19 @@
&npm1300_ek_buck2 {
regulator-init-microvolt = <3300000>;
retention-microvolt = <2500000>;
enable-gpios = <&npm1300_ek_gpio 1 GPIO_ACTIVE_LOW>;
retention-gpios = <&npm1300_ek_gpio 2 GPIO_ACTIVE_HIGH>;
pwm-gpios = <&npm1300_ek_gpio 2 GPIO_ACTIVE_LOW>;
enable-gpio-config = <1 GPIO_ACTIVE_LOW>;
retention-gpio-config = <2 GPIO_ACTIVE_HIGH>;
pwm-gpio-config = <2 GPIO_ACTIVE_LOW>;
};
&npm1300_ek_ldo1 {
regulator-initial-mode = <NPM1300_LDSW_MODE_LDO>;
enable-gpios = <&npm1300_ek_gpio 2 GPIO_ACTIVE_LOW>;
enable-gpio-config = <2 GPIO_ACTIVE_LOW>;
};
&npm1300_ek_ldo2 {
regulator-initial-mode = <NPM1300_LDSW_MODE_LDSW>;
enable-gpios = <&npm1300_ek_gpio 2 GPIO_ACTIVE_LOW>;
enable-gpio-config = <2 GPIO_ACTIVE_LOW>;
};
&npm1300_ek_pmic {