The way I understand it, you can configure it however you want. The XYZABC are just labels on the board for standardized builds. If you look on the underside of the board (also visible on the top if you pull the tmc drivers out), you will see each driver slot (XYZABC) has an address, step, direction and disable pin (AB&C also have a cs pin because they share the same addr).
i.e. Port address 0 (labeled as X):
addr: 0
step: i2so.2
dir: i2so.1
dsbl: i2s0.0
Just match those pin designations with the addr:, step_pin:, direction_pin:, disable_pin: and cs_pin: (for AB&C) under the “motor#: > tmc2209:” sections of the config.yaml and it should be good to go.
EDIT: I should note that if you have a section (z:) in your config, you will need to remove it, or change all those values to NO_PIN because if you have duplicate pin designations in your config, the board won’t accept it and will boot to a default config.
Whenever possible, do it via the WebUI > FluidNC > Setttings > Config Items and then save your changes by sending the command $CD=config.yaml (there might also be a macro named “SAVE” that does the same)
Always keep a backup of your last, known to be working, config.yaml.
When rebooting after uploading a new yaml with changes, go to the WebUI > FluidNC > Setttings > Config Items and make sure the name matches the name in your config.yaml. If it doesn’t, there is an error in your config.