Good health, going! Thank you for you answer!
And sorry for my English😓
What I want:
When OPi PC turns off, "reboot: System halted" is displayed on the screen. I want the PA21 to turn on at this moment.
What I did with overlays:
1) I found "gpio-poweroff", described in the first link of my first message.
2) I found a thread at this forum (second link in my first message) with overlay code and changed gpio pin to PA21.
Here is my overlay code that does not work:
3) I found a pull request (third link in my first message) with overlay code and changed gpio pin to PA21.
Here is my overlay code that does not work too:
What I did with armbian-config:
Armbian-config menu has "Dtc" entry that opens huge file in the nano editor.
I tried to change entries in this file instead of make overlays. And pasted only changes in the my first message.
The end result was the same. No errors occured but it still does not work.
What I expected:
PA21 is configured as output. And it turned on (for 100ms) when OPi PC halted.
What is happening now:
PA21 isn't configured at all. And nothing happens when OPi PC halted.