SPI on mainline
#1
Hi,


How does one get spi to work on mailine kernel?

i added the following to /boot/armbianEnvt.txt so it would load the overlay but that doesn't seem to help, are the overlays outdated for mainline?
 

verbosity=1
overlay_prefix=sun50i-a64
overlays=spi-spidev
param_spidev_spi_bus=0


Thx,
Jeroen
  Reply
#2
the overlay doesn't seem to work, adding the following to the dtb and compiling it does work:


&spi0 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";

spidev@0 {
reg = <0>; /* Chip Select 0 */
compatible = "spidev";
spi-max-frequency = <1000000>;
status = "okay";
};

spidev@1 {
reg = <1>; /* Chip Select 1 */
compatible = "spidev";
spi-max-frequency = <1000000>;
status = "okay";
};
};
  Reply
#3
Thanks for the update, I had not tried the Armbian overlays on mainline yet, but since the nodes are mostly different I guess it also requires to make new overlays for mainline...
Come have a chat in the Pine IRC channel >>
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)