Reset-GPIO in Device-Tree

Is there a way to define a standalone gpio reset function in the device-tree? I would like to reset a peripheral (that has no linux driver) shortly after bootup. Something like in the following patch: It would be nice if the OS could take care of that rather than the application.

Best regards,

I don’t think any such feature has much of a future as the reset sequence usually needs to be controlled by a proper driver. Anyway, maybe using regular GPIO hogging may work for your case.