Interrupt numbers in a dts

I’m trying to write a DTS (which i am new to…) for some new SPI hardware, and understand most of it, i do however have some problems with the interrupts. In the snippet from one of them, i do understand the interrupt parent, but it’s not really clear to me how they get the values in the interrupts line. Is there any documentation on that somewhere?

interrupt-parent = <&gpio4>;
interrupts = <16 8>;

You will fill documentation in linux kernel source itself.
Please follow the nodes driver documentation.

If you’re working on custom hardware then you need to consult a linux kernel developer for advice.

Radxa forum is mostly for radxa hardware.

Good luck.

i’m working with off the shelf hardware, i just want to understand how i can determine what values i need to put in the interrupt line if the hat pulls a certain pin on the gpio connector high/low (i have to check which of the two it is), as for the same hardware i see different values for different rock boards.