Imp005 hardware pin for pn532 IRQ?

Erm, why are you calling this “spi0.pinN”? Do you mean “hardware.pinN”? That might be more successful.