How to set GPIO Pin in DTS file for AT91SAM9G25?

Discussion around AT91RM9200 and SAM9 Series Products.

Moderator: nferre

anku
Posts: 3
Joined: Thu Nov 24, 2016 11:08 am

How to set GPIO Pin in DTS file for AT91SAM9G25?

Fri Sep 22, 2017 2:13 pm

Hello

We have an AT91SAM9G25 and use a 4.4.14 kernel and how do we configure the pin PC6 as an output pin with high level in .dts file?
blue_z
Location: USA
Posts: 1496
Joined: Thu Apr 19, 2007 10:15 pm

Re: How to set GPIO Pin in DTS file for AT91SAM9G25?

Mon Sep 25, 2017 3:08 am

> How to set GPIO Pin in DTS file

The full and correct answer depends on whether you're going to use the pin in the kernel or in userspace.
Otherwise the salient information is in Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt.

Regards

Return to “SAM9 ARM9 MPU”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests