SPI on mainline
#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


Messages In This Thread
SPI on mainline - by jeroen79 - 02-09-2018, 11:10 AM
RE: SPI on mainline - by jeroen79 - 02-11-2018, 04:22 AM
RE: SPI on mainline - by xalius - 02-11-2018, 09:48 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)