02-11-2018, 04:22 AM
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";
};
};
&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";
};
};