<?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のトピックLS1043A QSPI device tree for FRAM</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1043A-QSPI-device-tree-for-FRAM/m-p/1271261#M7915</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am currently working with a LS1043A on a custom board. I am using the QSPI-B bus to communicate with two FRAMs, one at CS0 and one at CS1. Nothing is on QSPI-A. However, I'm not sure how to implement the corresponding device tree node. For now, it seems that when booting Linux it checks for something on the QSPI-A bus (I can see the CS pins going low when it tries to read the JEDEC id bytes, as well as the clock), but nothing on QSPI-B (CS0/1 not moving, still high).&lt;/P&gt;&lt;P&gt;Current implementation of device tree for QSPI:&lt;/P&gt;&lt;P&gt;fsl-ls1043a.dtsi :&lt;/P&gt;&lt;P&gt;qspi: quadspi@1550000&lt;BR /&gt;{&lt;BR /&gt;compatible = "fsl,ls1043a-qspi", "fsl,ls1021a-qspi";&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;reg = &amp;lt;0x0 0x1550000 0x0 0x10000&amp;gt;,&lt;BR /&gt;&amp;lt;0x0 0x40000000 0x0 0x4000000&amp;gt;;&lt;BR /&gt;reg-names = "QuadSPI", "QuadSPI-memory";&lt;BR /&gt;interrupts = &amp;lt;0 99 0x4&amp;gt;;&lt;BR /&gt;clock-names = "qspi_en", "qspi";&lt;BR /&gt;clocks = &amp;lt;&amp;amp;clockgen 4 0&amp;gt;, &amp;lt;&amp;amp;clockgen 4 0&amp;gt;;&lt;BR /&gt;big-endian = &amp;lt;1&amp;gt;;&lt;BR /&gt;status = "disabled";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;my_file.dtsi (with every reg tried) :&lt;/P&gt;&lt;P&gt;&amp;amp;qspi&lt;BR /&gt;{&lt;BR /&gt;status = "okay";&lt;BR /&gt;fsl,qspi-has-second-chip = &amp;lt;1&amp;gt;;&lt;BR /&gt;bus-num = &amp;lt;0&amp;gt;;&lt;/P&gt;&lt;P&gt;qflash0:cy15v104q@10&lt;BR /&gt;{&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;compatible = "cy15v104q", "jedec,spi-nor"; /* 16MB */&lt;BR /&gt;reg = &amp;lt;0&amp;gt;;&lt;BR /&gt;spi-tx-bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;spi-rx-bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;spi-max-frequency = &amp;lt;65200000&amp;gt;; /* input clock */&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;qflash1:cy15v104q@1&lt;BR /&gt;{&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;compatible = "cy15v104q", "jedec,spi-nor"; /* 16MB */&lt;BR /&gt;reg = &amp;lt;1&amp;gt;;&lt;BR /&gt;spi-tx-bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;spi-rx-bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;spi-max-frequency = &amp;lt;65200000&amp;gt;; /* input clock */&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;qflash2:cy15v104q@2&lt;BR /&gt;{&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;compatible = "cy15v104q", "jedec,spi-nor"; /* 16MB */&lt;BR /&gt;reg = &amp;lt;2&amp;gt;;&lt;BR /&gt;spi-tx-bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;spi-rx-bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;spi-max-frequency = &amp;lt;65200000&amp;gt;; /* input clock */&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;qflash3: cy15v104q@3&lt;BR /&gt;{&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;compatible = "cy15v104q", "jedec,spi-nor";&lt;BR /&gt;reg = &amp;lt;3&amp;gt;;&lt;BR /&gt;spi-tx-bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;spi-rx-bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;spi-max-frequency = &amp;lt;65200000&amp;gt;; /* input clock */&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;Am I missing something in order to use the LS1043A QSPI-B bus ?&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;</description>
    <pubDate>Mon, 03 May 2021 12:48:58 GMT</pubDate>
    <dc:creator>Pierre_B</dc:creator>
    <dc:date>2021-05-03T12:48:58Z</dc:date>
    <item>
      <title>LS1043A QSPI device tree for FRAM</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-QSPI-device-tree-for-FRAM/m-p/1271261#M7915</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am currently working with a LS1043A on a custom board. I am using the QSPI-B bus to communicate with two FRAMs, one at CS0 and one at CS1. Nothing is on QSPI-A. However, I'm not sure how to implement the corresponding device tree node. For now, it seems that when booting Linux it checks for something on the QSPI-A bus (I can see the CS pins going low when it tries to read the JEDEC id bytes, as well as the clock), but nothing on QSPI-B (CS0/1 not moving, still high).&lt;/P&gt;&lt;P&gt;Current implementation of device tree for QSPI:&lt;/P&gt;&lt;P&gt;fsl-ls1043a.dtsi :&lt;/P&gt;&lt;P&gt;qspi: quadspi@1550000&lt;BR /&gt;{&lt;BR /&gt;compatible = "fsl,ls1043a-qspi", "fsl,ls1021a-qspi";&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;reg = &amp;lt;0x0 0x1550000 0x0 0x10000&amp;gt;,&lt;BR /&gt;&amp;lt;0x0 0x40000000 0x0 0x4000000&amp;gt;;&lt;BR /&gt;reg-names = "QuadSPI", "QuadSPI-memory";&lt;BR /&gt;interrupts = &amp;lt;0 99 0x4&amp;gt;;&lt;BR /&gt;clock-names = "qspi_en", "qspi";&lt;BR /&gt;clocks = &amp;lt;&amp;amp;clockgen 4 0&amp;gt;, &amp;lt;&amp;amp;clockgen 4 0&amp;gt;;&lt;BR /&gt;big-endian = &amp;lt;1&amp;gt;;&lt;BR /&gt;status = "disabled";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;my_file.dtsi (with every reg tried) :&lt;/P&gt;&lt;P&gt;&amp;amp;qspi&lt;BR /&gt;{&lt;BR /&gt;status = "okay";&lt;BR /&gt;fsl,qspi-has-second-chip = &amp;lt;1&amp;gt;;&lt;BR /&gt;bus-num = &amp;lt;0&amp;gt;;&lt;/P&gt;&lt;P&gt;qflash0:cy15v104q@10&lt;BR /&gt;{&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;compatible = "cy15v104q", "jedec,spi-nor"; /* 16MB */&lt;BR /&gt;reg = &amp;lt;0&amp;gt;;&lt;BR /&gt;spi-tx-bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;spi-rx-bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;spi-max-frequency = &amp;lt;65200000&amp;gt;; /* input clock */&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;qflash1:cy15v104q@1&lt;BR /&gt;{&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;compatible = "cy15v104q", "jedec,spi-nor"; /* 16MB */&lt;BR /&gt;reg = &amp;lt;1&amp;gt;;&lt;BR /&gt;spi-tx-bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;spi-rx-bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;spi-max-frequency = &amp;lt;65200000&amp;gt;; /* input clock */&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;qflash2:cy15v104q@2&lt;BR /&gt;{&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;compatible = "cy15v104q", "jedec,spi-nor"; /* 16MB */&lt;BR /&gt;reg = &amp;lt;2&amp;gt;;&lt;BR /&gt;spi-tx-bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;spi-rx-bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;spi-max-frequency = &amp;lt;65200000&amp;gt;; /* input clock */&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;qflash3: cy15v104q@3&lt;BR /&gt;{&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;compatible = "cy15v104q", "jedec,spi-nor";&lt;BR /&gt;reg = &amp;lt;3&amp;gt;;&lt;BR /&gt;spi-tx-bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;spi-rx-bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;spi-max-frequency = &amp;lt;65200000&amp;gt;; /* input clock */&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;Am I missing something in order to use the LS1043A QSPI-B bus ?&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 12:48:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-QSPI-device-tree-for-FRAM/m-p/1271261#M7915</guid>
      <dc:creator>Pierre_B</dc:creator>
      <dc:date>2021-05-03T12:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A QSPI device tree for FRAM</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-QSPI-device-tree-for-FRAM/m-p/1271552#M7917</link>
      <description>&lt;P&gt;Please provide U-Boot booting log as text file for inspection.&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 04:39:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-QSPI-device-tree-for-FRAM/m-p/1271552#M7917</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-05-04T04:39:23Z</dc:date>
    </item>
  </channel>
</rss>

