SPI enable?
#6
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";
};
};


Why isn't this included by default in the dtb?
  Reply


Messages In This Thread
SPI enable? - by herialtifa - 01-16-2017, 08:40 PM
RE: SPI enable? - by tllim - 01-20-2017, 08:09 PM
RE: SPI enable? - by herialtifa - 01-20-2017, 08:58 PM
RE: SPI enable? - by jeroen79 - 02-09-2018, 11:12 AM
RE: SPI enable? - by xalius - 02-09-2018, 12:00 PM
RE: SPI enable? - by jeroen79 - 02-11-2018, 03:30 AM
RE: SPI enable? - by xalius - 02-15-2018, 10:48 AM
RE: SPI enable? - by jomoengineer - 03-17-2018, 01:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)