I think you mean spi0.0 and spi0.1 - spi1 and spi2 remain disabled without an overlay to enable them.
If you wanted to stop spi0 from using CS1 (CE1), i.e. spi0.1, you would have to use a device tree overlay to reduce the pin usage - something like this:
Code: Select all
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709";
fragment@0 {
target = <&spi0_cs_pins>;
frag0: __overlay__ {
brcm,pins = <8>;
};
};
fragment@1 {
target = <&spi0>;
frag1: __overlay__ {
cs-gpios = <&gpio 8 1>;
status = "okay";
};
};
};
Save this to a file - "spi0-no-cs1-overlay.dts" - then compile and install it with:
Code: Select all
dtc -@ -I dts -O dtb -o spi0-no-cs1.dtbo spi0-no-cs1-overlay.dts
sudo cp spi0-no-cs1.dtbo /boot/overlays
Use it by adding "dtoverlay=spi0-no-cs1" to config.txt.
The SPI + ttyS0 problems should only exist for spi1 and spi2 - spi0 has a dedicated interrupt line.