Am 06.12.20 um 19:31 schrieb Marc Kleine-Budde: > On 12/6/20 3:56 PM, Patrick Menschel wrote: >>> dtoverlay=spi1-1cs,cs0_pin=18 >> However this line is not be necessary. >> It sets up spidev for spi1. >> https://github.com/raspberrypi/linux/blob/rpi-5.4.y/arch/arm/boot/dts/overlays/spi1-1cs-overlay.dts#L34 > > Yes, but it configures the cs0 for spi1 in the first place. > >> The next overlay removes spidev again. >> https://github.com/raspberrypi/linux/blob/rpi-5.4.y/arch/arm/boot/dts/overlays/mcp251xfd-overlay.dts#L35 > > ACK, but only the spidev. > > Marc > Sorry, my fault. I just realized the overlay structure has changed. I was expecting a default CS0 pin in the mcp251xfd-overlay, which would have been 18. -- Patrick