1 1

Armbian overly toggle GPIO at BOOT

Recommended Posts



Does anyone know how to toggle GPIO output at boot / power up as an overlay or similar?

I have seen only examples that show GPIO in function and I didnt find much information how to toggle GPIO out function.


Basically I would like to be able to turn LCD back light on when the board is booting and than to be able to control the brightness. (That I can do after the Linux is up and running)

but before the Linux is up I still want to be able to control the LCD back light.



Can anyone help with that matter?


Share this post

Link to post
Share on other sites
Want Armbian t-shirt or a cup?

On 6/13/2019 at 10:17 AM, nradulovic said:



Did you have a look at this? https://www.kernel.org/doc/Documentation/devicetree/bindings/gpio/gpio.txt


There are some attributes that can set initial value during initialization. See for example: output-low and output-high properties.


Is that what you need?

Actually I need to see a working example of the dts file...

Because I do not know how to build it correctly.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

1 1