<?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: JTAG in device tree configuration in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/JTAG-in-device-tree-configuration/m-p/681246#M105230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carlos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for your answer. I already configured the pins of the jtag as you can see in the first post. I have that &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;pinctrl_jtag : jtaggrp{ with the values of the parameters of the signals. My question is more about where has to be &amp;nbsp;this pinctrl specified&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;like for example :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE data-tab-size="8" style="color: #24292e;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;&amp;amp;uart4 {&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="585" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;pinctrl-names = "default";&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="586" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_uart4&amp;gt;;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="587" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;status = "okay";&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="588" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;};&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you specify the pinctrl_uart in the iomux to define the pins and set the status okay to enable it. In the case of jtag, where do you call the pinctrl_jtag and enable it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your kind answer.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jul 2017 19:38:37 GMT</pubDate>
    <dc:creator>jaimepena</dc:creator>
    <dc:date>2017-07-03T19:38:37Z</dc:date>
    <item>
      <title>JTAG in device tree configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/JTAG-in-device-tree-configuration/m-p/681244#M105228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a imx6dp with a custom board and I want to modifie the control pad configuration of jtag in the device tree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I define the variables in this way because there is no definition for jtag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define MX6QDL_PAD_JTAG_TMS__SJC_TMS 0x0 0x678 0x0000 0 0&lt;BR /&gt;#define MX6QDL_PAD_JTAG_MOD__SJC_MOD 0x0 0x67C 0x0000 0 0&lt;BR /&gt;#define MX6QDL_PAD_JTAG_TMS__SJC_TRSTB 0x0 0x680 0x0000 0 0&lt;BR /&gt;#define MX6QDL_PAD_JTAG_TDI__SJC_TDI 0x0 0x684 0x0000 0 0&lt;BR /&gt;#define MX6QDL_PAD_JTAG_TCK__SJC_TCK 0x0 0x688 0x0000 0 0&lt;BR /&gt;#define MX6QDL_PAD_JTAG_TDO__SJC_TDO 0x0 0x68C 0x0000 0 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pinctrl_jtag : jtaggrp{&lt;BR /&gt; fsl,pins = &amp;lt;&lt;BR /&gt; MX6QDL_PAD_JTAG_TMS__SJC_TMS 0x07060&lt;BR /&gt; MX6QDL_PAD_JTAG_MOD__SJC_MOD 0x07060&lt;BR /&gt; MX6QDL_PAD_JTAG_TMS__SJC_TRSTB 0x07060 &lt;BR /&gt; MX6QDL_PAD_JTAG_TDI__SJC_TDI 0x07060&lt;BR /&gt; MX6QDL_PAD_JTAG_TCK__SJC_TCK 0x07060&lt;BR /&gt; MX6QDL_PAD_JTAG_TDO__SJC_TDO 0x090B1 &lt;BR /&gt; &amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how to configure the device in the device tree file &amp;nbsp;to use the pinctrl for the jtag. There is no definition of this device&amp;nbsp;&lt;STRONG class="" style="color: #24292e; background-color: #ffffff; font-weight: 600;"&gt;imx6qdl.dtsi file&amp;nbsp;&lt;/STRONG&gt;neither with the dtb of the sabreauto and it uses jtag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 12:38:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/JTAG-in-device-tree-configuration/m-p/681244#M105228</guid>
      <dc:creator>jaimepena</dc:creator>
      <dc:date>2017-07-03T12:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG in device tree configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/JTAG-in-device-tree-configuration/m-p/681245#M105229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaime,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the short answer is that it is not possible as JTAG pins are dedicated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IOMUX module is described in chapter 36 of Reference Manual. here you can find that the JTAG pins are not listed on any of the mux registers and they are also not listed in the imx6q_pinfunc.h file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just for reference, in the thread below I explain with detail how to configure a pin in the device tree. Here you can see and understand what I am talking about.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/450118"&gt;32Khz clock on CCM_CLKO2 (SD1_WP)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Carlos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Mon, 03 Jul 2017 17:52:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/JTAG-in-device-tree-configuration/m-p/681245#M105229</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2017-07-03T17:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG in device tree configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/JTAG-in-device-tree-configuration/m-p/681246#M105230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carlos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for your answer. I already configured the pins of the jtag as you can see in the first post. I have that &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;pinctrl_jtag : jtaggrp{ with the values of the parameters of the signals. My question is more about where has to be &amp;nbsp;this pinctrl specified&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;like for example :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE data-tab-size="8" style="color: #24292e;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;&amp;amp;uart4 {&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="585" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;pinctrl-names = "default";&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="586" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_uart4&amp;gt;;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="587" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;status = "okay";&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="588" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;};&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you specify the pinctrl_uart in the iomux to define the pins and set the status okay to enable it. In the case of jtag, where do you call the pinctrl_jtag and enable it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your kind answer.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 19:38:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/JTAG-in-device-tree-configuration/m-p/681246#M105230</guid>
      <dc:creator>jaimepena</dc:creator>
      <dc:date>2017-07-03T19:38:37Z</dc:date>
    </item>
  </channel>
</rss>

