SPI on mainline - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Pine A64 Hardware, Accessories and POT (https://forum.pine64.org/forumdisplay.php?fid=32) +---- Forum: Pi2, Euler and Exp GPIO Ports (https://forum.pine64.org/forumdisplay.php?fid=34) +---- Thread: SPI on mainline (/showthread.php?tid=5682) |
SPI on mainline - jeroen79 - 02-09-2018 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 RE: SPI on mainline - jeroen79 - 02-11-2018 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"; }; }; RE: SPI on mainline - xalius - 02-11-2018 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... |