forked from kofal.net/zmk
fix(underglow): Switch from legacy SPI to SPIM
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
&spi1 {
|
&spi1 {
|
||||||
compatible = "nordic,nrf-spi";
|
compatible = "nordic,nrf-spim";
|
||||||
/* Cannot be used together with i2c0. */
|
/* Cannot be used together with i2c0. */
|
||||||
status = "okay";
|
status = "okay";
|
||||||
mosi-pin = <6>;
|
mosi-pin = <6>;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
&spi1 {
|
&spi1 {
|
||||||
compatible = "nordic,nrf-spi";
|
compatible = "nordic,nrf-spim";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
mosi-pin = <6>;
|
mosi-pin = <6>;
|
||||||
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.
|
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
&spi1 {
|
&spi1 {
|
||||||
compatible = "nordic,nrf-spi";
|
compatible = "nordic,nrf-spim";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
mosi-pin = <6>;
|
mosi-pin = <6>;
|
||||||
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.
|
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
&spi1 {
|
&spi1 {
|
||||||
compatible = "nordic,nrf-spi";
|
compatible = "nordic,nrf-spim";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
mosi-pin = <6>;
|
mosi-pin = <6>;
|
||||||
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.
|
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
&spi1 {
|
&spi1 {
|
||||||
compatible = "nordic,nrf-spi";
|
compatible = "nordic,nrf-spim";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
mosi-pin = <6>;
|
mosi-pin = <6>;
|
||||||
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.
|
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*/
|
*/
|
||||||
&spi1 {
|
&spi1 {
|
||||||
compatible = "nordic,nrf-spi";
|
compatible = "nordic,nrf-spim";
|
||||||
/* Cannot be used together with i2c0. */
|
/* Cannot be used together with i2c0. */
|
||||||
status = "okay";
|
status = "okay";
|
||||||
mosi-pin = <6>;
|
mosi-pin = <6>;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
&spi1 {
|
&spi1 {
|
||||||
compatible = "nordic,nrf-spi";
|
compatible = "nordic,nrf-spim";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
mosi-pin = <6>;
|
mosi-pin = <6>;
|
||||||
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.
|
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
&spi1 {
|
&spi1 {
|
||||||
compatible = "nordic,nrf-spi";
|
compatible = "nordic,nrf-spim";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
mosi-pin = <6>;
|
mosi-pin = <6>;
|
||||||
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.
|
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ Here's an example of an nRF52 SPI definition:
|
|||||||
|
|
||||||
```
|
```
|
||||||
&spi1 {
|
&spi1 {
|
||||||
compatible = "nordic,nrf-spi";
|
compatible = "nordic,nrf-spim";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
mosi-pin = <6>;
|
mosi-pin = <6>;
|
||||||
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.
|
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.
|
||||||
|
|||||||
Reference in New Issue
Block a user