<?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: LS1043A pin muxing in linux kernel in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1043A-pin-muxing-in-linux-kernel/m-p/1937064#M14787</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199933" target="_blank"&gt;@Oswalag&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks you for the support.&lt;/P&gt;&lt;P&gt;Yes, I have refer "QorIQ LS1043A reference manual",&amp;nbsp; in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;chapter-3 (signal description)&amp;nbsp;&lt;/STRONG&gt;pin muxing has been explained , they have given base RCW setting for pin muxing in "&lt;STRONG&gt;section-3.4 (Signal multiplexing details)".&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So in Layerscape SDK in have modify&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;rcw_1600_sdboot.rcw&lt;/STRONG&gt;&amp;nbsp;file for pin muxing. In order to update correct pin muxing, first I have copy all RCW field from SDK build "&lt;STRONG&gt;rcw/git/ls1043aqds/ls1043a.rcwi"&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;to spread-sheet, after that i was looking in to our&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;custom board schematic&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;reference manual&amp;nbsp;&lt;/STRONG&gt;chapter-3 and updating correct value in spread-sheet in front of respective RCW field.&lt;/P&gt;&lt;P&gt;After Pin muxing has completed , I have copied spread-sheet RCW field and it's value in to file "&lt;STRONG&gt;rcw_1600_sdboot.rcw"&amp;nbsp; ,&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Let me know if there is flow with this approch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhargav Jayswal&lt;/P&gt;</description>
    <pubDate>Wed, 21 Aug 2024 06:53:20 GMT</pubDate>
    <dc:creator>bhargavjayswal</dc:creator>
    <dc:date>2024-08-21T06:53:20Z</dc:date>
    <item>
      <title>LS1043A pin muxing in linux kernel</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-pin-muxing-in-linux-kernel/m-p/1931095#M14732</link>
      <description>&lt;P&gt;Dear NXP Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently i'm using layerscape SDK version &lt;STRONG&gt;L6.1.55_1.0.0,&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;as I have seen for some of NXP processor, pin muxing is handle in u-boot instead of kernel DTS as mentioned below link.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;I want to set up pin muxing for custom board based on &lt;STRONG&gt;LS1043A SOC.&amp;nbsp;&lt;/STRONG&gt;But I require an information that where pin muxing has implement for&amp;nbsp;&lt;STRONG&gt;LS1043a.&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;Kindly provide an information&amp;nbsp; that, how NXP's has provided pin muxing mechanism. Is it done in uboot or kernel for LS043A. Also provide information that is it directly implimented&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;Bhargav Jayswal&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 11:36:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-pin-muxing-in-linux-kernel/m-p/1931095#M14732</guid>
      <dc:creator>bhargavjayswal</dc:creator>
      <dc:date>2024-08-13T11:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A pin muxing in linux kernel</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-pin-muxing-in-linux-kernel/m-p/1932674#M14742</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;To verify pin multiplexing, we offer Pinmux tool. This tool is a part of our CodeWarrior ARM v8 software.&lt;/P&gt;
&lt;P&gt;&lt;A class="link-titled" title="http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/qoriq-layerscape-arm-processors/codewarrior-development-software-for-arm-v8-64-bit-based-qoriq-ls-series-processors:CW-LS-ARM8" href="http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/qoriq-layerscape-arm-processors/codewarrior-development-software-for-arm-v8-64-bit-based-qoriq-ls-series-processors:CW-LS-ARM8?_gl=1*8xgcgy*_ga*MTgxMjQ5NzYxMC4xNzIxMjM0MDgw*_ga_WM5LE0KMSH*MTcyMzY5MTMwOS43NC4xLjE3MjM2OTIxMTcuMC4wLjA." rel="nofollow noopener noreferrer" target="_blank"&gt;CodeWarrior ARMv8 64 bit|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The PinMuxing tool gives an overview of the SoC pins and their allocations to peripherals.&lt;BR /&gt;It is designed to help the board designers and low-level platform programmers to:&lt;BR /&gt;• Use the correct and optimal number of pins needed for a custom board design&lt;BR /&gt;• Program the platform (for example, reset configuration word (RCW)) in sync with the pins used in a board design&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/QCVS_PinMuxing_User_Guide.pdf" target="_self"&gt;QCVS PinMuxing Tool User Guide&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can find all the RCW configurations available in your device Reference Manual.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 03:32:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-pin-muxing-in-linux-kernel/m-p/1932674#M14742</guid>
      <dc:creator>Oswalag</dc:creator>
      <dc:date>2024-08-15T03:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A pin muxing in linux kernel</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-pin-muxing-in-linux-kernel/m-p/1937064#M14787</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199933" target="_blank"&gt;@Oswalag&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks you for the support.&lt;/P&gt;&lt;P&gt;Yes, I have refer "QorIQ LS1043A reference manual",&amp;nbsp; in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;chapter-3 (signal description)&amp;nbsp;&lt;/STRONG&gt;pin muxing has been explained , they have given base RCW setting for pin muxing in "&lt;STRONG&gt;section-3.4 (Signal multiplexing details)".&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So in Layerscape SDK in have modify&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;rcw_1600_sdboot.rcw&lt;/STRONG&gt;&amp;nbsp;file for pin muxing. In order to update correct pin muxing, first I have copy all RCW field from SDK build "&lt;STRONG&gt;rcw/git/ls1043aqds/ls1043a.rcwi"&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;to spread-sheet, after that i was looking in to our&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;custom board schematic&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;reference manual&amp;nbsp;&lt;/STRONG&gt;chapter-3 and updating correct value in spread-sheet in front of respective RCW field.&lt;/P&gt;&lt;P&gt;After Pin muxing has completed , I have copied spread-sheet RCW field and it's value in to file "&lt;STRONG&gt;rcw_1600_sdboot.rcw"&amp;nbsp; ,&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Let me know if there is flow with this approch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhargav Jayswal&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 06:53:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-pin-muxing-in-linux-kernel/m-p/1937064#M14787</guid>
      <dc:creator>bhargavjayswal</dc:creator>
      <dc:date>2024-08-21T06:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A pin muxing in linux kernel</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-pin-muxing-in-linux-kernel/m-p/1938693#M14812</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;After you modify the RCW file you have to re-build again your image to save the changes you made.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 19:43:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-pin-muxing-in-linux-kernel/m-p/1938693#M14812</guid>
      <dc:creator>Oswalag</dc:creator>
      <dc:date>2024-08-22T19:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A pin muxing in linux kernel</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-pin-muxing-in-linux-kernel/m-p/1945456#M14844</link>
      <description>&lt;DIV&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199933"&gt;@Oswalag&lt;/a&gt;&amp;nbsp;,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have further queries on pin. We have done pin muxing for the boot&amp;nbsp;process in RCW, In LS1043 Reference Manual, In "&lt;STRONG&gt;chapter 3 Signal Description"&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;mentioned pin muxing detail using RCW. In&lt;STRONG&gt;&amp;nbsp;"Section 3.4 Signal Muxing details"&amp;nbsp;&lt;/STRONG&gt;only mentioned a few pin muxing can be used to start the board tiil bootloader.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In general pin muxing can be done through dts/dtsi on ARM SOC. But for LS1043A, I do not find any pin has been configured(muxing) through dts/dtsi at linux KERNEL(fsl-ls1043a.dtsi , fsl-ls1043a-rdb.dts, ... etc).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In&amp;nbsp;&lt;STRONG&gt;"chapter 12 Supplemental Configuration unit"&amp;nbsp;&lt;/STRONG&gt;describes rest pin muxing details, which pins can not be configured by RCW. I found that pin muxing for a few USB pins has been configured at u-boot in file&amp;nbsp;&lt;STRONG&gt;"board/freescale/ls1043ardb/ls1043ardb.c&lt;/STRONG&gt;" inside the function&amp;nbsp;&lt;STRONG&gt;config_board_mux().&lt;/STRONG&gt;&amp;nbsp;Where I do not find any pin muxing has been done using linux KERNEL through "&lt;STRONG&gt;c code"&amp;nbsp;&lt;/STRONG&gt;well&lt;STRONG&gt;.&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My query is what is the suggested way of pin muxing for LS1043A SOC ?&amp;nbsp; Do we need to do pin muxing in bootloader code or at kernel level apart from RCW.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Bhargav Jayswal&lt;/DIV&gt;</description>
      <pubDate>Mon, 02 Sep 2024 11:04:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-pin-muxing-in-linux-kernel/m-p/1945456#M14844</guid>
      <dc:creator>bhargavjayswal</dc:creator>
      <dc:date>2024-09-02T11:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A pin muxing in linux kernel</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-pin-muxing-in-linux-kernel/m-p/1947568#M14852</link>
      <description>&lt;P&gt;&lt;SPAN&gt;You are correct,&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;config_board_mux()&amp;nbsp;&lt;/STRONG&gt;is a function to configure this mentioned mux pins function.(besides RCW configuration)&lt;/P&gt;
&lt;P&gt;Pin muxing cannot be performed using linux kernel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 21:28:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-pin-muxing-in-linux-kernel/m-p/1947568#M14852</guid>
      <dc:creator>Oswalag</dc:creator>
      <dc:date>2024-09-04T21:28:35Z</dc:date>
    </item>
  </channel>
</rss>

