Skip to content

Commit 646f08c

Browse files
JordanYateskartben
authored andcommitted
samples: shields: npm1300_ek: update GPIO config
Update the nPM1300 GPIO configuration for the sample to match new requirements. Signed-off-by: Jordan Yates <[email protected]>
1 parent 4904c27 commit 646f08c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

samples/shields/npm1300_ek/nrf52dk_nrf52832.overlay

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@
2020
&npm1300_ek_buck2 {
2121
regulator-init-microvolt = <3300000>;
2222
retention-microvolt = <2500000>;
23-
enable-gpios = <&npm1300_ek_gpio 1 GPIO_ACTIVE_LOW>;
24-
retention-gpios = <&npm1300_ek_gpio 2 GPIO_ACTIVE_HIGH>;
25-
pwm-gpios = <&npm1300_ek_gpio 2 GPIO_ACTIVE_LOW>;
23+
enable-gpio-config = <1 GPIO_ACTIVE_LOW>;
24+
retention-gpio-config = <2 GPIO_ACTIVE_HIGH>;
25+
pwm-gpio-config = <2 GPIO_ACTIVE_LOW>;
2626
};
2727

2828
&npm1300_ek_ldo1 {
2929
regulator-initial-mode = <NPM1300_LDSW_MODE_LDO>;
30-
enable-gpios = <&npm1300_ek_gpio 2 GPIO_ACTIVE_LOW>;
30+
enable-gpio-config = <2 GPIO_ACTIVE_LOW>;
3131
};
3232

3333
&npm1300_ek_ldo2 {
3434
regulator-initial-mode = <NPM1300_LDSW_MODE_LDSW>;
35-
enable-gpios = <&npm1300_ek_gpio 2 GPIO_ACTIVE_LOW>;
35+
enable-gpio-config = <2 GPIO_ACTIVE_LOW>;
3636
};
3737

3838
&npm1300_ek_pmic {

0 commit comments

Comments
 (0)