<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to declare a GPIO pin in devicetree ? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-declare-a-GPIO-pin-in-devicetree/m-p/927523#M139232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;As question above, I get a trouble when approach GPIO in iMX6UL-EVK board.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After find out location of GPIO 25 pin, I try to configure it by:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="color: #51626f; border: 0px;"&gt;$&amp;nbsp;echo 25 &amp;gt; /sys/class/gpio/export&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;$&amp;nbsp;echo "out" &amp;gt; /sys/class/gpio/gpio25/direction&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;$&amp;nbsp;echo 1 &amp;gt; /sys/class/gpio/gpio25/value&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And I test with a red LED. But&amp;nbsp;LED is still no light.&amp;nbsp;(LED is working good with other device and GPIO pin is exactly. )&lt;/P&gt;&lt;P&gt;Does this problem is belong to declare GPIO pin devicetree ? And what should I do now ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Toan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Sep 2019 03:57:15 GMT</pubDate>
    <dc:creator>toanjunifer</dc:creator>
    <dc:date>2019-09-16T03:57:15Z</dc:date>
    <item>
      <title>How to declare a GPIO pin in devicetree ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-declare-a-GPIO-pin-in-devicetree/m-p/927523#M139232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;As question above, I get a trouble when approach GPIO in iMX6UL-EVK board.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After find out location of GPIO 25 pin, I try to configure it by:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="color: #51626f; border: 0px;"&gt;$&amp;nbsp;echo 25 &amp;gt; /sys/class/gpio/export&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;$&amp;nbsp;echo "out" &amp;gt; /sys/class/gpio/gpio25/direction&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;$&amp;nbsp;echo 1 &amp;gt; /sys/class/gpio/gpio25/value&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And I test with a red LED. But&amp;nbsp;LED is still no light.&amp;nbsp;(LED is working good with other device and GPIO pin is exactly. )&lt;/P&gt;&lt;P&gt;Does this problem is belong to declare GPIO pin devicetree ? And what should I do now ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Toan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2019 03:57:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-declare-a-GPIO-pin-in-devicetree/m-p/927523#M139232</guid>
      <dc:creator>toanjunifer</dc:creator>
      <dc:date>2019-09-16T03:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to declare a GPIO pin in devicetree ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-declare-a-GPIO-pin-in-devicetree/m-p/927524#M139233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; use imx6ul.dtsi : gpio1 should be included; usrt2 disabled.&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Flinux-imx%2Ftree%2Farch%2Farm%2Fboot%2Fdts%2Fimx6ul.dtsi%3Fh%3Dgit.kernel.org%2Flinux-stable%2Flinux-4.14.y" rel="nofollow" target="_blank"&gt;imx6ul.dtsi\dts\boot\arm\arch - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Have a great day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Yuri&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;-------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Note:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2019 05:40:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-declare-a-GPIO-pin-in-devicetree/m-p/927524#M139233</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2019-09-16T05:40:05Z</dc:date>
    </item>
  </channel>
</rss>

