From 636a03aef0f3587730b44e2e65a80b8b705af984 Mon Sep 17 00:00:00 2001 From: Ary-ovo <2452752059@qq.com> Date: Tue, 18 Jun 2024 23:37:33 +0800 Subject: [PATCH] test --- .../shields/weekin_roc/boards/weekin840_m2.overlay | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/config/boards/shields/weekin_roc/boards/weekin840_m2.overlay b/config/boards/shields/weekin_roc/boards/weekin840_m2.overlay index 7683219..e41a4ae 100644 --- a/config/boards/shields/weekin_roc/boards/weekin840_m2.overlay +++ b/config/boards/shields/weekin_roc/boards/weekin840_m2.overlay @@ -1,13 +1,13 @@ #include &pinctrl { - spi3_default: spi3_default { + spi1_default: spi1_default { group1 { psels = ; }; }; - spi3_sleep: spi3_sleep { + spi1_sleep: spi1_sleep { group1 { psels = ; low-power-enable; @@ -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>;