How are the device tree functions defined, modified and selected?

I have a need to access both SPI A and SPI B buses at the same time. The below table shows the available “functions” that supposedly select between a set of available peripherals.

Where are these functions defined?
How are they selected?
How do I create my own (to use SPI A and B at the same time)?

Note that the Amlogic documentation also shows SPI A and B to be in different “functions”.