Set GPIO direction on system start


I made an own devicetree and can enable with:
echo high > gpio75/direction

But how can I made this automatic on system boot?

Thank you!

'man 5 crontab' then search for reboot is probably easiest.



I found a Option in the device tree configuration.
There I can set as output.

Thank you

Hi fiambs

Did you get this to work? If so, what settings did you use in the Device Tree? Can you please post a summary?

The reason I ask is that I also tried to set the output pin initial state in the Device Tree but after a short while of not getting it to work I put it to one side for another day. Knowing what you did will save me some time.