diff --git a/config/boards/nice_nano_v2.overlay b/config/boards/nice_nano_v2.overlay index 165e520..f469049 100644 --- a/config/boards/nice_nano_v2.overlay +++ b/config/boards/nice_nano_v2.overlay @@ -1,27 +1,13 @@ #include -&pinctrl { - spi3_default: spi3_default { - group1 { - psels = ; - }; - }; - - spi3_sleep: spi3_sleep { - group1 { - psels = ; - 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 {