[June 19] Armbian (5.42) ROCK64 | [June 19] Armbian (5.38) PINE A64(+) / PINE A64-LTS / SOPINE | [June 19] motionEyeOS (20180224) PINE A64(+) | [June 19] Armbian (5.46) Pinebook | [June 06] Bionic LXDE (0.6.44-239) ROCK64 | Bionic Minimal (0.6.44-239) ROCK64 | [June 06] Debian Stretch Minimal (0.6.44-239) ROCK64 | [June 06] Jessie OpenMediaVault (0.6.44-239) ROCK64 | [May 21] Slackware (20180508) ROCK64

Project Inspiration | Get Started | 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)