Page 1 of 1

How to set GPIO Pin in DTS file for AT91SAM9G25?

Posted: Fri Sep 22, 2017 2:13 pm
by anku
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?

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

Posted: Mon Sep 25, 2017 3:08 am
by blue_z
> 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