forked from kofal.net/zmk
refactor(boards): Move to pinctrl.
This commit is contained in:
committed by
Pete Johanson
parent
518f9a550f
commit
1493620bf7
@@ -10,6 +10,8 @@
|
||||
#include <dt-bindings/led/led.h>
|
||||
#include <dt-bindings/zmk/matrix_transform.h>
|
||||
|
||||
#include "nice60-pinctrl.dtsi"
|
||||
|
||||
/ {
|
||||
model = "nice!60";
|
||||
compatible = "nice,60";
|
||||
@@ -110,10 +112,9 @@ RC(4,0) RC(4,1) RC(4,2) RC(4,5) R
|
||||
&spi0 {
|
||||
compatible = "nordic,nrf-spim";
|
||||
/* Cannot be used together with i2c0. */
|
||||
pinctrl-0 = <&spi0_default>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
sck-pin = <12>;
|
||||
mosi-pin = <27>;
|
||||
miso-pin = <13>;
|
||||
|
||||
led_strip: ws2812@0 {
|
||||
compatible = "worldsemi,ws2812-spi";
|
||||
|
||||
Reference in New Issue
Block a user