Some instructions for using PN532 breakouts on raspi/linux here: https://learn.adafruit.com/adafruit-nfc-rfid-on-raspberry-pi/testing-it-out