Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ary-ovo committed Jun 18, 2024
1 parent 91e1c7c commit 636a03a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions config/boards/shields/weekin_roc/boards/weekin840_m2.overlay
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#include <dt-bindings/led/led.h>

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

spi3_sleep: spi3_sleep {
spi1_sleep: spi1_sleep {
group1 {
psels = <NRF_PSEL(SPIM_MOSI, 0, 6)>;
low-power-enable;
Expand All @@ -19,6 +19,11 @@
&spi1 {
compatible = "nordic,nrf-spim";
status = "okay";

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

mosi-pin = <6>;
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.
sck-pin = <5>;
Expand Down

0 comments on commit 636a03a

Please sign in to comment.