Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

Default config of GPIO's using device tree - Freescale i.MX6

$
0
0

How should default settings to gpio pins be configured device tree - specifically on Freescale imx series.

So far I have only been able to configure gpios using the led interface:

gpioinit {   compatible = "gpio-leds";    pinctrl-names = "default";    mykpp {        gpios = <&gpio4 15 1>;    };};

The above code sets gpio 4 15 to 1 during boot which is what I want. However, I assume there is a better way doing this making this pin show up in sysfs as a general gpio and not a gpio-led


Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>