Skip to content

Commit

Permalink
Update nice_nano.overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
WainingForests authored Apr 9, 2023
1 parent bb703e8 commit b4ab1c4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config/boards/nice_nano.overlay
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
#include <dt-bindings/led/led.h>

&pinctrl {
spi1_default: spi1_default {
spi3_default: spi3_default {
group1 {
psels = <NRF_PSEL(SPIM_MOSI, 0, 6)>;
};
};

spi1_sleep: spi1_sleep {
spi3_sleep: spi3_sleep {
group1 {
psels = <NRF_PSEL(SPIM_MOSI, 0, 6)>;
low-power-enable;
};
};
};

&spi1 {
&spi3 {
compatible = "nordic,nrf-spim";
status = "okay";

pinctrl-0 = <&spi1_default>;
pinctrl-1 = <&spi1_sleep>;
pinctrl-0 = <&spi3_default>;
pinctrl-1 = <&spi3_sleep>;
pinctrl-names = "default", "sleep";

led_strip: ws2812@0 {
Expand Down

0 comments on commit b4ab1c4

Please sign in to comment.