<?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 u-boot gpio control in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/u-boot-gpio-control/m-p/965042#M4803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi team we are using ls2088ardb custom board.&lt;/P&gt;&lt;P&gt;We need to control 2 gpio led in rcw and u-boot.&lt;/P&gt;&lt;P&gt;In rcw gpio2_04 needs to low and gpio4_07 need to be high.&lt;/P&gt;&lt;P&gt;after u-boot boot the gpio2_04 should be high and gpio4_07 should be low.&lt;/P&gt;&lt;P&gt;Can u tell me the code changes for this in u-boot and rcw.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jun 2019 14:00:24 GMT</pubDate>
    <dc:creator>latha_g</dc:creator>
    <dc:date>2019-06-24T14:00:24Z</dc:date>
    <item>
      <title>u-boot gpio control</title>
      <link>https://community.nxp.com/t5/Layerscape/u-boot-gpio-control/m-p/965042#M4803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi team we are using ls2088ardb custom board.&lt;/P&gt;&lt;P&gt;We need to control 2 gpio led in rcw and u-boot.&lt;/P&gt;&lt;P&gt;In rcw gpio2_04 needs to low and gpio4_07 need to be high.&lt;/P&gt;&lt;P&gt;after u-boot boot the gpio2_04 should be high and gpio4_07 should be low.&lt;/P&gt;&lt;P&gt;Can u tell me the code changes for this in u-boot and rcw.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2019 14:00:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/u-boot-gpio-control/m-p/965042#M4803</guid>
      <dc:creator>latha_g</dc:creator>
      <dc:date>2019-06-24T14:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot gpio control</title>
      <link>https://community.nxp.com/t5/Layerscape/u-boot-gpio-control/m-p/965043#M4804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;The LS2088a RCW provides pin assigning between the LS2088a peripheral interfaces. This pin assigning includes pin assigning to GPIO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;The LS2088a RCW does not provide level setting for the GPIO pins.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;See the Section 4.9.7.9 of the LS2088a Reference Manual:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=LS2088ARM" target="test_blank"&gt;https://www.nxp.com/webapp/Download?colCode=LS2088ARM&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Use PBI commands for GPIO level setting. These commands are executed before the LS2088a starting. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;See the Chapter 7 of the LS2088a Reference Manual.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Draw attention on the Section 7.2.2.1 about writing to CCSR address space.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&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;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2019 09:12:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/u-boot-gpio-control/m-p/965043#M4804</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2019-06-25T09:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot gpio control</title>
      <link>https://community.nxp.com/t5/Layerscape/u-boot-gpio-control/m-p/965044#M4805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;In pbi i made changes as below to make gpio4_07 to high and gio2_04 to low.&lt;/P&gt;&lt;P&gt;CCSR 4bytes Write to 0x02310000,data=0x00000000&lt;/P&gt;&lt;P&gt;CCSR 4bytes Write to 0x02330000,data=0x02a08000&lt;/P&gt;&lt;P&gt;is the above changes correct.&lt;/P&gt;&lt;P&gt;Also to makes gpio2_04 t0 high and gpio4_07 to low in u-boot what changes should i do in code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2019 09:58:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/u-boot-gpio-control/m-p/965044#M4805</guid>
      <dc:creator>latha_g</dc:creator>
      <dc:date>2019-06-25T09:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot gpio control</title>
      <link>https://community.nxp.com/t5/Layerscape/u-boot-gpio-control/m-p/965045#M4806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;It looks like that the following writing in PBI is needed:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Setting for the GPIO2_4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;address 0x02310000: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;data 0x10&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;address 0x02310008: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;data 0x0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Setting for the GPIO4_7&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;address 0x02330000: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;data 0x80&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;address 0x02310008: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;data 0x80&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Attached file contains u_boot readme file. The file is available using the following link:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;A href="https://github.com/u-boot/u-boot/blob/master/README"&gt;https://github.com/u-boot/u-boot/blob/master/README&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Find the following section in this file:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Standalone HOWTO:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Use this section for developing standalone program for GPIO using.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This thread is continued as a private discussion with the submitter, &lt;BR /&gt;NXP support is not following the thread anymore.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2019 06:28:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/u-boot-gpio-control/m-p/965045#M4806</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2019-06-26T06:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot gpio control</title>
      <link>https://community.nxp.com/t5/Layerscape/u-boot-gpio-control/m-p/965046#M4807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii Pavel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot from 2019-06-26 17-43-38.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/89827iF2AB3408AE18772A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2019-06-26 17-43-38.png" alt="Screenshot from 2019-06-26 17-43-38.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2019 12:15:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/u-boot-gpio-control/m-p/965046#M4807</guid>
      <dc:creator>latha_g</dc:creator>
      <dc:date>2019-06-26T12:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot gpio control</title>
      <link>https://community.nxp.com/t5/Layerscape/u-boot-gpio-control/m-p/965047#M4808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is the above pbi changes correct for gpio4_07(low)&lt;/P&gt;&lt;P&gt;also how can we add a delay in pbl for led to be off and later to be on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2019 12:17:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/u-boot-gpio-control/m-p/965047#M4808</guid>
      <dc:creator>latha_g</dc:creator>
      <dc:date>2019-06-26T12:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot gpio control</title>
      <link>https://community.nxp.com/t5/Layerscape/u-boot-gpio-control/m-p/965048#M4809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;It looks like that your PBI changes are correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Insert a few wait in your PBI code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;See the Section 7.2.10 of the LS2088a Reference Manual.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2019 06:10:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/u-boot-gpio-control/m-p/965048#M4809</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2019-06-27T06:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot gpio control</title>
      <link>https://community.nxp.com/t5/Layerscape/u-boot-gpio-control/m-p/965049#M4810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the above confirmation.&lt;/P&gt;&lt;P&gt;Now i have another issue.When i have two different gpio i am able to do but when it comes to same gpio with different port i am facing issue.&lt;/P&gt;&lt;P&gt;suppose i have gpio4 with different port how to control them individually?&lt;/P&gt;&lt;P&gt;for example i need to make gpio4_22 as direction out with value to be high.&lt;/P&gt;&lt;P&gt;and gpio4_09 as direction out and with value to be low.&lt;/P&gt;&lt;P&gt;How do we do this ?how to calculate the address for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2019 11:47:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/u-boot-gpio-control/m-p/965049#M4810</guid>
      <dc:creator>latha_g</dc:creator>
      <dc:date>2019-06-27T11:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot gpio control</title>
      <link>https://community.nxp.com/t5/Layerscape/u-boot-gpio-control/m-p/965050#M4811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #201f1e; background: white;"&gt;The LS2088 GPDAT (0x02330008) register controls the GPIO4 outputs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #201f1e; background: white;"&gt;Write 0x0000_0800 to this register for setting for setting &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;gpio4_22 to high and gpio4_09 to low.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #201f1e; background: white;"&gt;Write 0x0040_0800 to the register GPDIR (0x02330008) for setting these pins to outputs&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2019 09:32:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/u-boot-gpio-control/m-p/965050#M4811</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2019-06-28T09:32:35Z</dc:date>
    </item>
  </channel>
</rss>

