<?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 Re: ls1028 gpio use issue in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/ls1028-gpio-use-issue/m-p/1205675#M7307</link>
    <description>&lt;P&gt;In ATF, I have changed GPIO bit 25 corresponds to 0x40. But I still cannot successfully set the DATA register.&lt;/P&gt;&lt;P&gt;code output:&lt;/P&gt;&lt;P&gt;bit_num:40&lt;BR /&gt;dir:0&lt;BR /&gt;dir:40&lt;BR /&gt;dir:40&lt;BR /&gt;dat:0&lt;BR /&gt;dat:40&lt;BR /&gt;dat:0&lt;BR /&gt;Configure Pin Data Error!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can you verify this code?&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jan 2021 01:12:36 GMT</pubDate>
    <dc:creator>540915622</dc:creator>
    <dc:date>2021-01-04T01:12:36Z</dc:date>
    <item>
      <title>ls1028 gpio use issue</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028-gpio-use-issue/m-p/1205430#M7289</link>
      <description>&lt;P&gt;I want to use gpio1_25 in ATF,uboot and kernel,wo found some problem.&lt;/P&gt;&lt;P&gt;1.In ATF, I use the following code to operate GPIO&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QQ截图20201231144110.png" style="width: 657px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133732i7758A9DB7B0DAF7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="QQ截图20201231144110.png" alt="QQ截图20201231144110.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;code output:&lt;BR /&gt;bit_num:2000000&lt;BR /&gt;dir:0&lt;BR /&gt;dir:2000000&lt;BR /&gt;dir:2000000&lt;BR /&gt;dat:0&lt;BR /&gt;dat:2000000&lt;BR /&gt;dat:0&lt;BR /&gt;Configure Pin Data Error!&lt;/P&gt;&lt;P&gt;The output looks like the direction is set correctly, but the data is not set successfully。&lt;/P&gt;&lt;P&gt;2.In uboot, I found that there is no gpio driver for ls1028.&lt;/P&gt;&lt;P&gt;3.In kernel,I found the GPIO driver gpio-mpc8xxx.c in the kernel, but I found that the code here should be problematic.&lt;/P&gt;&lt;P&gt;Question 1&lt;/P&gt;&lt;P&gt;Seen from the chip manual that ls1028 does not have the GPIO_IBE register。&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QQ截图20201231143847.png" style="width: 786px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133723iD1A3C0C21E338F9C/image-size/large?v=v2&amp;amp;px=999" role="button" title="QQ截图20201231143847.png" alt="QQ截图20201231143847.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question 2&lt;/P&gt;&lt;P&gt;The device tree obtained by of_property_read_bool is in little-endian mode. Why is bgpio_init registered in big-endian mode?&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QQ截图20201231143137.png" style="width: 758px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133722i08363928695985EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="QQ截图20201231143137.png" alt="QQ截图20201231143137.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 06:48:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028-gpio-use-issue/m-p/1205430#M7289</guid>
      <dc:creator>540915622</dc:creator>
      <dc:date>2020-12-31T06:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: ls1028 gpio use issue</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028-gpio-use-issue/m-p/1205543#M7293</link>
      <description>&lt;P&gt;Please refer to the LSDK 20.12 Documentation:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.nxp.com/bundle/GUID-3FFCCD77-5220-414D-8664-09E6FB1B02C6/page/GUID-1ABF245E-9E9B-4BEB-B2B5-CF6CE94E97AA.html" target="_blank"&gt;https://docs.nxp.com/bundle/GUID-3FFCCD77-5220-414D-8664-09E6FB1B02C6/page/GUID-1ABF245E-9E9B-4BEB-B2B5-CF6CE94E97AA.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please refer to the QorIQ LS1028A Reference Manual, 20.4 GPIO register descriptions where it is shown that GPIO bit 25 corresponds to 0x40.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jan 2021 12:17:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028-gpio-use-issue/m-p/1205543#M7293</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-01-01T12:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: ls1028 gpio use issue</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028-gpio-use-issue/m-p/1205675#M7307</link>
      <description>&lt;P&gt;In ATF, I have changed GPIO bit 25 corresponds to 0x40. But I still cannot successfully set the DATA register.&lt;/P&gt;&lt;P&gt;code output:&lt;/P&gt;&lt;P&gt;bit_num:40&lt;BR /&gt;dir:0&lt;BR /&gt;dir:40&lt;BR /&gt;dir:40&lt;BR /&gt;dat:0&lt;BR /&gt;dat:40&lt;BR /&gt;dat:0&lt;BR /&gt;Configure Pin Data Error!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can you verify this code?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 01:12:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028-gpio-use-issue/m-p/1205675#M7307</guid>
      <dc:creator>540915622</dc:creator>
      <dc:date>2021-01-04T01:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: ls1028 gpio use issue</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028-gpio-use-issue/m-p/1205750#M7308</link>
      <description>&lt;P&gt;Please provide additional information:&lt;/P&gt;
&lt;P&gt;1) U-Boot log showing current RCW&lt;/P&gt;
&lt;P&gt;2) dump of the GPIO CCSR registers (after the code is executed) obtained using U-Boot "md" command.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 04:16:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028-gpio-use-issue/m-p/1205750#M7308</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-01-04T04:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: ls1028 gpio use issue</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028-gpio-use-issue/m-p/1205783#M7309</link>
      <description>&lt;P&gt;1. RCW&lt;/P&gt;&lt;P&gt;NOTICE: Fixed DDR on board&lt;/P&gt;&lt;P&gt;NOTICE: 2 GB DDR4, 32-bit, CL=11, ECC on&lt;BR /&gt;NOTICE: BL2: v1.5(release):LSDK-20.04-update-290520-1-gbd43880e2-dirty&lt;BR /&gt;NOTICE: BL2: Built : 11:07:11, Jan 4 2021&lt;BR /&gt;eeeeeee&lt;BR /&gt;bit_num:40&lt;BR /&gt;dir:0&lt;BR /&gt;dir:40&lt;BR /&gt;dir:40&lt;BR /&gt;dat:0&lt;BR /&gt;dat:40&lt;BR /&gt;dat:0&lt;BR /&gt;Configure Pin Data Error!&lt;BR /&gt;NOTICE: BL31: v1.5(release):LSDK-20.04-update-290520-1-gbd43880e2-dirty&lt;BR /&gt;NOTICE: BL31: Built : 11:07:18, Jan 4 2021&lt;BR /&gt;NOTICE: Welcome to LS1028 BL31 Phase&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;U-Boot 2019.10-g13dabf58-dirty (Dec 30 2020 - 15:53:41 +0800)&lt;/P&gt;&lt;P&gt;SoC: LS1028AE Rev1.0 (0x870b0010)&lt;BR /&gt;Clock Configuration:&lt;BR /&gt;CPU0(A72):1500 MHz CPU1(A72):1500 MHz&lt;BR /&gt;Bus: 400 MHz DDR: 1600 MT/s&lt;BR /&gt;Reset Configuration Word (RCW):&lt;BR /&gt;00000000: 3c004010 00000030 00000000 00000000&lt;BR /&gt;00000010: 00000000 018f0000 0030c000 00000000&lt;BR /&gt;00000020: 01e031a0 00002580 00000000 00000296&lt;BR /&gt;00000030: 00000000 00000010 00000000 00000000&lt;BR /&gt;00000040: 00000000 00000000 00000000 00000000&lt;BR /&gt;00000050: 00000000 00000000 00000000 00000000&lt;BR /&gt;00000060: 00000000 00000000 100e7514 00000000&lt;BR /&gt;00000070: bb580000 00000000&lt;BR /&gt;Model: MYIR MYD-JLS1028 Development Board&lt;BR /&gt;Board: MYD-JLS1028, Version: 1.0, boot from SD&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;=&amp;gt; md 0x2300000&lt;BR /&gt;02300000: 00000040 00000000 00000000 00000000 @...............&lt;BR /&gt;02300010: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;02300020: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;02300030: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;02300040: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;02300050: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;02300060: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;02300070: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;02300080: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;02300090: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;023000a0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;023000b0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;023000c0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;023000d0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;023000e0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;023000f0: 00000000 00000000 00000000 00000000 ................&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 05:49:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028-gpio-use-issue/m-p/1205783#M7309</guid>
      <dc:creator>540915622</dc:creator>
      <dc:date>2021-01-04T05:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: ls1028 gpio use issue</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028-gpio-use-issue/m-p/1205807#M7310</link>
      <description>&lt;P&gt;GPIBE was present in Rev0 draft version under section 20.4.8, but is was unintentionally removed in LS1028ARM Rev0 - please see the register description attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 06:14:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028-gpio-use-issue/m-p/1205807#M7310</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-01-04T06:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: ls1028 gpio use issue</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028-gpio-use-issue/m-p/1205827#M7311</link>
      <description>&lt;P&gt;I have replied the relevant code。&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 06:38:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028-gpio-use-issue/m-p/1205827#M7311</guid>
      <dc:creator>540915622</dc:creator>
      <dc:date>2021-01-04T06:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: ls1028 gpio use issue</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028-gpio-use-issue/m-p/1207147#M7314</link>
      <description>&lt;P&gt;Did you see my reply?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 01:17:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028-gpio-use-issue/m-p/1207147#M7314</guid>
      <dc:creator>540915622</dc:creator>
      <dc:date>2021-01-06T01:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: ls1028 gpio use issue</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028-gpio-use-issue/m-p/1207851#M7318</link>
      <description>&lt;P&gt;I have already responded to the following two pieces of information above。&lt;BR /&gt;1) U-Boot log showing current RCW&lt;/P&gt;&lt;P&gt;2) dump of the GPIO CCSR registers (after the code is executed) obtained using U-Boot "md" command.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 01:08:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028-gpio-use-issue/m-p/1207851#M7318</guid>
      <dc:creator>540915622</dc:creator>
      <dc:date>2021-01-07T01:08:16Z</dc:date>
    </item>
  </channel>
</rss>

