<?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 Help with .dts files (imx6) in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Help-with-dts-files-imx6/m-p/622108#M94328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using an imx6ulevk (no LCD connected). I'm trying to use a few of the LCD lines to toggle some LEDs that I've added to the board (specifically DATA00 - DATA02, aka GPIO3.5 - GPIO3.7).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've modified the imx6ul-14x14-evk.dts file (attached as imxtul-oib.dts) and compiled it. Then I copy it to my NFS folder and run netboot on the evk to load the kernel, dtb file, etc.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then go to /sys/class/gpio. I can export the GPIO pins (e.g. echo 70 &amp;gt; export) I'm using and write the direction and value settings, but the GPIO lines (LEDs) do not toggle.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there something else that I'm not doing, and is my .dts file ok?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Charlie&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336123"&gt;imx6ul-oib.dts.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Dec 2016 19:59:26 GMT</pubDate>
    <dc:creator>charlieschultz</dc:creator>
    <dc:date>2016-12-16T19:59:26Z</dc:date>
    <item>
      <title>Help with .dts files (imx6)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Help-with-dts-files-imx6/m-p/622108#M94328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using an imx6ulevk (no LCD connected). I'm trying to use a few of the LCD lines to toggle some LEDs that I've added to the board (specifically DATA00 - DATA02, aka GPIO3.5 - GPIO3.7).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've modified the imx6ul-14x14-evk.dts file (attached as imxtul-oib.dts) and compiled it. Then I copy it to my NFS folder and run netboot on the evk to load the kernel, dtb file, etc.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then go to /sys/class/gpio. I can export the GPIO pins (e.g. echo 70 &amp;gt; export) I'm using and write the direction and value settings, but the GPIO lines (LEDs) do not toggle.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there something else that I'm not doing, and is my .dts file ok?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Charlie&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336123"&gt;imx6ul-oib.dts.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 19:59:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Help-with-dts-files-imx6/m-p/622108#M94328</guid>
      <dc:creator>charlieschultz</dc:creator>
      <dc:date>2016-12-16T19:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help with .dts files (imx6)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Help-with-dts-files-imx6/m-p/622109#M94329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charlie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://community.freescale.com/thread/381277" title="https://community.freescale.com/thread/381277"&gt;Simple GPIO Example - quandry | NXP Community&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also may be useful to remove lcd configs from uboot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Dec 2016 01:08:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Help-with-dts-files-imx6/m-p/622109#M94329</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-12-17T01:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with .dts files (imx6)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Help-with-dts-files-imx6/m-p/622110#M94330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest first of all using memtool utility check if IOMUX register for specific pad is set correctly. (refer iMX Reference Manual for addresses od register)&lt;/P&gt;&lt;P&gt;ie. if that pin is really configured as a GPIO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly refer this url: &lt;A class="link-titled" href="http://developer.toradex.com/knowledge-base/gpio-%28linux%29" title="http://developer.toradex.com/knowledge-base/gpio-%28linux%29"&gt;GPIO (Linux)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Piyush Ashtikar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Dec 2016 06:05:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Help-with-dts-files-imx6/m-p/622110#M94330</guid>
      <dc:creator>piyushashtikar</dc:creator>
      <dc:date>2016-12-17T06:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help with .dts files (imx6)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Help-with-dts-files-imx6/m-p/622111#M94331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all. Memtool showed me that the mux pins were not getting set for gpio. Adding them to the "hog" list in the .dts file fixed that and I can now toggle the LEDs. I'm still a bit unclear as to why the pinctrl_gpio3 definition didn't do the same thing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 14:33:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Help-with-dts-files-imx6/m-p/622111#M94331</guid>
      <dc:creator>charlieschultz</dc:creator>
      <dc:date>2016-12-19T14:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help with .dts files (imx6)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Help-with-dts-files-imx6/m-p/622112#M94332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please consider to mark the answer as "correct" .&lt;/P&gt;&lt;P&gt;It will help other users who face similar problem.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2016 04:53:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Help-with-dts-files-imx6/m-p/622112#M94332</guid>
      <dc:creator>piyushashtikar</dc:creator>
      <dc:date>2016-12-20T04:53:29Z</dc:date>
    </item>
  </channel>
</rss>

