Change GPIO boot value

How can I change the boot value of a GPIO in the device tree? I was able to do it in BPI-M4, but in the BPI-M5 device tree i cannot see a field to define the pull down.

Does anyone have a solution (M2Pro) ?

https://wiki.banana-pi.org/Getting_Started_with_M5/M2Pro#WiringPi2-Python