1 1
mhel

devicetree tinkering

Recommended Posts

Hello,

First off, I'd like to thank the Armbian group for making my hobby a little more fun :)

 

 

So I'm tinkering with gpio in devicetree, but I'm getting stuck.

cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */

with the excerpt from above, how/where can I find the description of 5 ?

Share this post


Link to post
Share on other sites
1 hour ago, mhel said:

with the excerpt from above, how/where can I find the description of 5 ?

Note the comment PF6  - port F, pin 6. If A is 0, then F is alphabetically 5.

 

Share this post


Link to post
Share on other sites

Aha, thanks a lot.

I was thinking about that, but counting with my fingers screws up my count :)

thanks again.

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.

Guest
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.

Loading...
1 1