fix(underglow): Switch from legacy SPI to SPIM
This commit is contained in:
parent
b091c7ed3b
commit
ae51000d60
9 changed files with 9 additions and 9 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue