<?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>LayerscapeのトピックRe: Gpio export</title>
    <link>https://community.nxp.com/t5/Layerscape/Gpio-export/m-p/912050#M4332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="334904" data-username="latha.g@vvdntech.in" href="https://community.nxp.com/people/latha.g@vvdntech.in"&gt;latha G&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First gpio3_10 and gpio3_08 are multiplexed with UART1_CTS_B and UART1_RTS_B, please configure RCW[UART_BASE]&amp;nbsp; as 00 to configure 6 GPIO pins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87150i2996CB9F97B60FD4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LS2088 platform could use GPIO driver for PowerPC architecture. In Linux Kernel, please configure "CONFIG_ARCH_LAYERSCAPE=y" then configure "CONFIG_GPIO_MPC8XXX=y" in Linux Kernel configuration file and rebuild Kernel image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After boot up Linux system, you will get similar information as the following.&lt;/P&gt;&lt;P&gt;root@localhost:~# ls /sys/class/gpio/&lt;BR /&gt;export&amp;nbsp; gpiochip384&amp;nbsp; gpiochip416&amp;nbsp; gpiochip448&amp;nbsp; gpiochip480&amp;nbsp; unexport&lt;/P&gt;&lt;P&gt;root@localhost:~# cat /sys/kernel/debug/gpio&lt;BR /&gt;&amp;nbsp;GPIOs 384-415, parent: platform/2330000.gpio, 2330000.gpio:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GPIOs 416-447, parent: platform/2320000.gpio, 2320000.gpio:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GPIOs 448-479, parent: platform/2310000.gpio, 2310000.gpio:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GPIOs 480-511, parent: platform/2300000.gpio, 2300000.gpio:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87151i537FE6C86FA38E88/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;GPIO424(416+8) corresponds with GPIO3_8, GPIO426(416+10) corresponds with GPIO3_10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@localhost:~# cd /sys/class/gpio/&lt;BR /&gt;root@localhost:/sys/class/gpio# echo 424 &amp;gt; export&lt;BR /&gt;root@localhost:/sys/class/gpio# echo 426 &amp;gt; export&lt;BR /&gt;root@localhost:/sys/class/gpio# ls&lt;BR /&gt;export&amp;nbsp; gpio424&amp;nbsp; gpio426&amp;nbsp; gpiochip384&amp;nbsp; gpiochip416&amp;nbsp; gpiochip448&amp;nbsp; gpiochip480&amp;nbsp; unexport&lt;BR /&gt;&lt;A href="mailto:root@localhost:/sys/class/gpio"&gt;root@localhost:/sys/class/gpio#&lt;/A&gt;&lt;/P&gt;&lt;P&gt;root@localhost:/sys/class/gpio# echo "out" &amp;gt; gpio424/direction&lt;BR /&gt;root@localhost:/sys/class/gpio# echo 1 &amp;gt; gpio424/value&lt;BR /&gt;root@localhost:/sys/class/gpio# ls gpio424/&lt;BR /&gt;active_low&amp;nbsp; device&amp;nbsp; direction&amp;nbsp; edge&amp;nbsp; subsystem&amp;nbsp; uevent&amp;nbsp; value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more detailed information about GPIO on ARMv8 platforms, please refer to &lt;A href="https://community.nxp.com/docs/DOC-332743"&gt;LS1043 GPIO support in Linux SDK&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yiping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Jun 2019 05:47:36 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2019-06-16T05:47:36Z</dc:date>
    <item>
      <title>Gpio export</title>
      <link>https://community.nxp.com/t5/Layerscape/Gpio-export/m-p/912048#M4330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are want to export the gpio3_10 and gpio3_08 in /sys/class/gpio in kernel in ls2088ardb board ,can we know the procedure or steps to be followed. we are using LSDK 18.09 souce code .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2019 11:35:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Gpio-export/m-p/912048#M4330</guid>
      <dc:creator>latha_g</dc:creator>
      <dc:date>2019-06-12T11:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Gpio export</title>
      <link>https://community.nxp.com/t5/Layerscape/Gpio-export/m-p/912049#M4331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are using ls2088ardb board and we are able to glow the gpio3_10 and gpio0_08 through devmem command with the value 0x02a08000.&lt;/P&gt;&lt;P&gt;But we dont know the value to turn off and also what is the significance of this data(0x02a08000).&lt;/P&gt;&lt;P&gt;Also need the reply for the above question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2019 14:00:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Gpio-export/m-p/912049#M4331</guid>
      <dc:creator>latha_g</dc:creator>
      <dc:date>2019-06-14T14:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Gpio export</title>
      <link>https://community.nxp.com/t5/Layerscape/Gpio-export/m-p/912050#M4332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="334904" data-username="latha.g@vvdntech.in" href="https://community.nxp.com/people/latha.g@vvdntech.in"&gt;latha G&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First gpio3_10 and gpio3_08 are multiplexed with UART1_CTS_B and UART1_RTS_B, please configure RCW[UART_BASE]&amp;nbsp; as 00 to configure 6 GPIO pins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87150i2996CB9F97B60FD4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LS2088 platform could use GPIO driver for PowerPC architecture. In Linux Kernel, please configure "CONFIG_ARCH_LAYERSCAPE=y" then configure "CONFIG_GPIO_MPC8XXX=y" in Linux Kernel configuration file and rebuild Kernel image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After boot up Linux system, you will get similar information as the following.&lt;/P&gt;&lt;P&gt;root@localhost:~# ls /sys/class/gpio/&lt;BR /&gt;export&amp;nbsp; gpiochip384&amp;nbsp; gpiochip416&amp;nbsp; gpiochip448&amp;nbsp; gpiochip480&amp;nbsp; unexport&lt;/P&gt;&lt;P&gt;root@localhost:~# cat /sys/kernel/debug/gpio&lt;BR /&gt;&amp;nbsp;GPIOs 384-415, parent: platform/2330000.gpio, 2330000.gpio:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GPIOs 416-447, parent: platform/2320000.gpio, 2320000.gpio:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GPIOs 448-479, parent: platform/2310000.gpio, 2310000.gpio:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GPIOs 480-511, parent: platform/2300000.gpio, 2300000.gpio:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87151i537FE6C86FA38E88/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;GPIO424(416+8) corresponds with GPIO3_8, GPIO426(416+10) corresponds with GPIO3_10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@localhost:~# cd /sys/class/gpio/&lt;BR /&gt;root@localhost:/sys/class/gpio# echo 424 &amp;gt; export&lt;BR /&gt;root@localhost:/sys/class/gpio# echo 426 &amp;gt; export&lt;BR /&gt;root@localhost:/sys/class/gpio# ls&lt;BR /&gt;export&amp;nbsp; gpio424&amp;nbsp; gpio426&amp;nbsp; gpiochip384&amp;nbsp; gpiochip416&amp;nbsp; gpiochip448&amp;nbsp; gpiochip480&amp;nbsp; unexport&lt;BR /&gt;&lt;A href="mailto:root@localhost:/sys/class/gpio"&gt;root@localhost:/sys/class/gpio#&lt;/A&gt;&lt;/P&gt;&lt;P&gt;root@localhost:/sys/class/gpio# echo "out" &amp;gt; gpio424/direction&lt;BR /&gt;root@localhost:/sys/class/gpio# echo 1 &amp;gt; gpio424/value&lt;BR /&gt;root@localhost:/sys/class/gpio# ls gpio424/&lt;BR /&gt;active_low&amp;nbsp; device&amp;nbsp; direction&amp;nbsp; edge&amp;nbsp; subsystem&amp;nbsp; uevent&amp;nbsp; value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more detailed information about GPIO on ARMv8 platforms, please refer to &lt;A href="https://community.nxp.com/docs/DOC-332743"&gt;LS1043 GPIO support in Linux SDK&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yiping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Jun 2019 05:47:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Gpio-export/m-p/912050#M4332</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2019-06-16T05:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Gpio export</title>
      <link>https://community.nxp.com/t5/Layerscape/Gpio-export/m-p/912051#M4333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yiping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;We tried and we are able to control the led.&lt;/P&gt;&lt;P&gt;Now we are trying to control the led through devmem command.&lt;/P&gt;&lt;P&gt;we are using ls2088ardb board and we are able to glow the gpio3_10 and gpio3_08 through devmem command with the value 0x02a08000.&lt;/P&gt;&lt;P&gt;But we dont know the value to turn off and also what is the significance of this data(0x02a08000).&lt;/P&gt;&lt;P&gt;When gpio3_10 is on we are able to control single led but when both are on ,when we off one both gets off and both gets on at a time.we need to control single led.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2019 04:11:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Gpio-export/m-p/912051#M4333</guid>
      <dc:creator>latha_g</dc:creator>
      <dc:date>2019-06-17T04:11:46Z</dc:date>
    </item>
  </channel>
</rss>

