<?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: Define UART in Device Tree in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Define-UART-in-Device-Tree/m-p/389409#M56620</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Till&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;configuration seems as correct and&lt;/P&gt;&lt;P&gt;0x1b0b1 device tree is well described below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.kosagi.com/w/index.php?title=Definitive_GPIO_guide"&gt;http://www.kosagi.com/w/index.php?title=Definitive_GPIO_guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However as far as I know this board has not uart1 routed externally,&lt;/P&gt;&lt;P&gt;had you changed/disabled in software these signals (may be they are used&lt;/P&gt;&lt;P&gt;somewhere else ?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Dec 2014 01:19:01 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2014-12-05T01:19:01Z</dc:date>
    <item>
      <title>Define UART in Device Tree</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Define-UART-in-Device-Tree/m-p/389408#M56619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello together,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I am using a board based on the Phytec PhyFlex PFLA02 with a imx6DL. We have already most of the things we need working. But I currently try to get UART1 working and I am stuck. I modified the device tree so we use correct pins for this uart. But when I try to communicate with the device we have behind this UART, I receive no answer. We analysed this with an oscilloscope and we can see that I am able to send the bytes I want to send and that our device is responding accordingly. But when I try to read from the serial port I receive not a single byte. So I guess my device tree configuration is wrong somehow.&lt;/P&gt;&lt;P&gt;I hope someone here can point me in the right direction what I am missing. Here is the pinctrl config for UART 1:&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14176244849004807" jivemacro_uid="_14176244849004807"&gt;
&lt;P style="padding-left: 30px;"&gt;pinctrl_uart1: uart1grp {&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fsl,pins = &amp;lt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6QDL_PAD_SD3_DAT6__UART1_TX_DATA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x1b0b1&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6QDL_PAD_SD3_DAT7__UART1_RX_DATA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x1b0b1&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and here is the &amp;amp;uart1 config:&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14176245219393473" jivemacro_uid="_14176245219393473"&gt;
&lt;P&gt;&amp;amp;uart1 {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pinctrl-names = "default";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_uart1&amp;gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status = "okay";&lt;/P&gt;
&lt;P&gt;};&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that this is only a simple mistake.&lt;/P&gt;&lt;P&gt;And I have another question to deepen my understanding of the device tree: What does the 0x1b0b1 mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 16:37:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Define-UART-in-Device-Tree/m-p/389408#M56619</guid>
      <dc:creator>till_klocke</dc:creator>
      <dc:date>2014-12-03T16:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Define UART in Device Tree</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Define-UART-in-Device-Tree/m-p/389409#M56620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Till&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;configuration seems as correct and&lt;/P&gt;&lt;P&gt;0x1b0b1 device tree is well described below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.kosagi.com/w/index.php?title=Definitive_GPIO_guide"&gt;http://www.kosagi.com/w/index.php?title=Definitive_GPIO_guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However as far as I know this board has not uart1 routed externally,&lt;/P&gt;&lt;P&gt;had you changed/disabled in software these signals (may be they are used&lt;/P&gt;&lt;P&gt;somewhere else ?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 01:19:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Define-UART-in-Device-Tree/m-p/389409#M56620</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2014-12-05T01:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Define UART in Device Tree</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Define-UART-in-Device-Tree/m-p/389410#M56621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually the processor board itself brings all UARTs to its connector and we are using a custom board on it. But my problem was in the end a simple typo. I needed to define RX and TX exactly the other way round.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 15:36:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Define-UART-in-Device-Tree/m-p/389410#M56621</guid>
      <dc:creator>till_klocke</dc:creator>
      <dc:date>2014-12-11T15:36:39Z</dc:date>
    </item>
  </channel>
</rss>

