MCP2515 IRQ Kernel Panic

Hey All,

I'm working on getting a MCP2515 chip spun up on the CS1 line of the SPI bus of a HLK-7688a.
I've started with OpenWRT 22.03 as a base, since it has the half duplex stuff implemented.

I can see that the MCP chip is being successfully initialized in the dmesg output.

Screenshot 2023-05-08 at 2.09.01 PM

But when I go to bring up the can0 interface, I get a kernel panic.

I've dug through the forum looking to see if anyone had run into anything similar, and ran across this thread:

However applying the patch mentioned by Lux didn't result in any difference.

I'm able to control the interrupt line to turn on and off an LED using the sysfs gpio interface so I don't think that the gpio indexing is off.

Any help, or direction would be greatly appreciated.

Here's a pinout of the Module, and the addition to the dts file. I disabled i2C to use it as GPIO for the interrupt line.

Screenshot 2023-05-08 at 2.10.16 PM
Screenshot 2023-05-08 at 2.15.05 PM

Did you manage to get this resolved? I'm having the same issue