aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/boards
diff options
context:
space:
mode:
authorAlexander Krikun <[email protected]>2024-08-15 01:04:55 +0400
committerPete Johanson <[email protected]>2024-09-06 13:04:22 -0600
commitcddc92108cf0afd57c5d771ef116218547a6f4f4 (patch)
treebc6830d023e4abf28fe7c974925564e756c4c7b7 /app/boards
parenta2f32cc12ced6e06c84c3dffd63d7caa22175966 (diff)
downloadzmk-cddc92108cf0afd57c5d771ef116218547a6f4f4.tar.gz
zmk-cddc92108cf0afd57c5d771ef116218547a6f4f4.zip
fix(boards): add sleep pinctrl node for nice!60
Add spi3_sleep pinctrl node to fix nice!60 builds with both RGB underglow and sleep enabled.
Diffstat (limited to 'app/boards')
-rw-r--r--app/boards/arm/nice60/nice60-pinctrl.dtsi7
-rw-r--r--app/boards/arm/nice60/nice60.dts3
2 files changed, 9 insertions, 1 deletions
diff --git a/app/boards/arm/nice60/nice60-pinctrl.dtsi b/app/boards/arm/nice60/nice60-pinctrl.dtsi
index 9b0e198d39..e808eaa78a 100644
--- a/app/boards/arm/nice60/nice60-pinctrl.dtsi
+++ b/app/boards/arm/nice60/nice60-pinctrl.dtsi
@@ -9,4 +9,11 @@
psels = <NRF_PSEL(SPIM_MOSI, 0, 27)>;
};
};
+
+ spi3_sleep: spi3_sleep {
+ group1 {
+ psels = <NRF_PSEL(SPIM_MOSI, 0, 27)>;
+ low-power-enable;
+ };
+ };
};
diff --git a/app/boards/arm/nice60/nice60.dts b/app/boards/arm/nice60/nice60.dts
index 4eefbb9d8f..fec8a678e7 100644
--- a/app/boards/arm/nice60/nice60.dts
+++ b/app/boards/arm/nice60/nice60.dts
@@ -110,7 +110,8 @@ RC(4,0) RC(4,1) RC(4,2) RC(4,5) R
compatible = "nordic,nrf-spim";
pinctrl-0 = <&spi3_default>;
- pinctrl-names = "default";
+ pinctrl-1 = <&spi3_sleep>;
+ pinctrl-names = "default", "sleep";
status = "okay";
led_strip: ws2812@0 {