Skip to content

Commit

Permalink
Update nice_nano_v2.overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
rain2813 authored Mar 11, 2024
1 parent 9b9587d commit 29e8c11
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions config/boards/nice_nano_v2.overlay
Original file line number Diff line number Diff line change
@@ -1,27 +1,13 @@
#include <dt-bindings/led/led.h>

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

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

&spi3 {
&spi1 {
compatible = "nordic,nrf-spim";
/* Cannot be used together with i2c0. */
status = "okay";

pinctrl-0 = <&spi3_default>;
pinctrl-1 = <&spi3_sleep>;
pinctrl-names = "default", "sleep";
mosi-pin = <1>;
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.
sck-pin = <0>;
miso-pin = <2>;


led_strip: ws2812@0 {
Expand Down

0 comments on commit 29e8c11

Please sign in to comment.