title: Default config of GPIO's using device tree - Freescale i.MX6
body: <p>How should default settings to gpio pins be configured device tree - specifically on Freescale imx series.</p>
  
  <p>So far I have only been able to configure gpios using the led interface:</p>
  
  <pre><code>gpioinit {
     compatible = "gpio-leds";
      pinctrl-names = "default";
      mykpp {
          gpios = &lt;&amp;gpio4 15 1&gt;;
      };
  };
  </code></pre>
  
  <p>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</p>