How to change pin for control automation phat board in library

I want to use automation phat board library on another board(eagleye 530s), not raspberry pi.
Eagleye 530s has 40 pins just like the rasp pi, but the pin roles are different.
(eagle 530s pin description :
Can I use phat library described in the link?(
If I can, how can i use this library on eagle 530s.
Thank you

The pins are defined in the top of the library:

As for getting it to work on the Eagle- I don’t know. It’s not a board I’ve got any experience with. But good luck!