fix(underglow): Switch from legacy SPI to SPIM

This commit is contained in:
Nick 2020-11-10 16:16:40 -06:00 committed by Pete Johanson
parent b091c7ed3b
commit ae51000d60
9 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
&spi1 {
compatible = "nordic,nrf-spi";
compatible = "nordic,nrf-spim";
/* Cannot be used together with i2c0. */
status = "okay";
mosi-pin = <6>;

View File

@ -1,5 +1,5 @@
&spi1 {
compatible = "nordic,nrf-spi";
compatible = "nordic,nrf-spim";
status = "okay";
mosi-pin = <6>;
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.

View File

@ -1,5 +1,5 @@
&spi1 {
compatible = "nordic,nrf-spi";
compatible = "nordic,nrf-spim";
status = "okay";
mosi-pin = <6>;
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.

View File

@ -1,5 +1,5 @@
&spi1 {
compatible = "nordic,nrf-spi";
compatible = "nordic,nrf-spim";
status = "okay";
mosi-pin = <6>;
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.

View File

@ -1,5 +1,5 @@
&spi1 {
compatible = "nordic,nrf-spi";
compatible = "nordic,nrf-spim";
status = "okay";
mosi-pin = <6>;
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.

View File

@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
*/
&spi1 {
compatible = "nordic,nrf-spi";
compatible = "nordic,nrf-spim";
/* Cannot be used together with i2c0. */
status = "okay";
mosi-pin = <6>;

View File

@ -1,5 +1,5 @@
&spi1 {
compatible = "nordic,nrf-spi";
compatible = "nordic,nrf-spim";
status = "okay";
mosi-pin = <6>;
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.

View File

@ -1,5 +1,5 @@
&spi1 {
compatible = "nordic,nrf-spi";
compatible = "nordic,nrf-spim";
status = "okay";
mosi-pin = <6>;
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.

View File

@ -61,7 +61,7 @@ Here's an example of an nRF52 SPI definition:
```
&spi1 {
compatible = "nordic,nrf-spi";
compatible = "nordic,nrf-spim";
status = "okay";
mosi-pin = <6>;
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.