Skip to content

Commit 38ea08d

Browse files
committed
samples: cellular: slm_shell: Power/indicate pins to devicetree
Move power and indicate pins from Kconfig to devicetree. Jira: LRCS-114 Signed-off-by: Tommi Rantanen <[email protected]>
1 parent 394aaaa commit 38ea08d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

samples/cellular/slm_shell/boards/nrf5340dk_nrf5340_cpuapp.overlay

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@
2828
pinctrl-names = "default", "sleep";
2929
};
3030

31+
/ {
32+
slm_gpio_pins: slm_gpio_pins {
33+
compatible = "slm-gpio-pins";
34+
power-gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
35+
power-gpios-active-time-ms = <100>;
36+
power-gpios-debounce-time-ms = <50>;
37+
indicate-gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
38+
indicate-gpios-active-time-ms = <100>;
39+
};
40+
};
41+
3142
&pinctrl {
3243
uart2_default: uart2_default {
3344
group1 {

0 commit comments

Comments
 (0)