Re: mcp251xfd on RPi 5.4 downstream

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I believe Waveshare did choose other interrupt pins.
> Marc used 24 25 which I also chose for a pHat I'm currently making
> schematics for.
> 
> Try these lines in /boot/config.txt
> 
> dtoverlay=mcp251xfd-spi0-0,interrupt=25
> dtoverlay=mcp251xfd-spi1-0,interrupt=16
> 
> The waveshare overlay is strange in one point. It uses Pin 26 (instead
> of 18) for Chip selection but that is no chip select pin. This can work
> if the pin is output and luckily pulls the CE line in the right direction.
> 
> https://gist.github.com/pdp7/784d0ba8b9648d20ab055747ec945225#file-2xmcp2517fd-overlay-dts-L40
> 
> https://pinout.xyz/pinout/pin37_gpio26#
> 
> Maybe this has something to do with Nvidia Jetson Platform.
> 
> --
> Patrick
> 

Apparently Pin 26 is CE1 for SPI5, only available on Pi 4.

https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README#L2674

--
Patrick



[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux