I’m currently using spi3 for an eink display, using an overlay file I wrote for armbian as below. I can’t see the pins on the Hardware Description page, but is there a way I can use spi1-spidev or spi2-spidev to send data to a short LED strip simultaneously, or should I try to use PWM instead?
/dts-v1/;
/plugin/;
/ {
metadata {
title = "Enable spidev on SPI3-M1 over CS0";
compatible = "radxa,zero3";
category = "misc";
exclusive = "GPIO4_C3", "GPIO4_C5", "GPIO4_C2", "GPIO4_C6";
description = "Enable spidev on SPI3-M1 over CS0.";
};
};
&spi3 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default", "high_speed";
pinctrl-0 = <&spi3m1_cs0 &spi3m1_pins>;
pinctrl-1 = <&spi3m1_cs0 &spi3m1_pins_hs>;
max-freq = <50000000>;
spidev@0 {
compatible = "rockchip,spidev";
status = "okay";
reg = <0>;
spi-max-frequency = <50000000>;
};
};