[Jan 06] Arch Linux (20171225-1) PINE A64(+) Pinebook A64-LTS/SOPINE | [Jan 04] Linux (0.5.15-136) ROCK64 | [Jan 04] Android (20171204) ROCK64 | [Dec 22] Stretch Mate (0.5.15-136-20171222) ROCK64 | [Dec 21] openHAB 2 (v1.4) PINE A64(+) | [Dec 11] Volumio (2.315) PINE A64(+) A64-LTS/SOPINE | [Dec 11] Armbian (5.35) PINE A64(+) Pinebook A64-LTS/SOPINE | [Dec 8] OpenMediaVault (0.5.15-136) ROCK64

Getting Started | Visit the WIKI | IRC Logs | Forum Rules/Policy


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";

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

[email protected] {
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 A64 IRC channel >>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)