arm64: dts: ls1043a: add the DTS node for QSPI support
authorYuan Yao <yao.yuan@nxp.com>
Wed, 13 Apr 2016 10:08:27 +0000 (18:08 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 18 Apr 2016 02:15:50 +0000 (10:15 +0800)
Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi

index 80688acb73a31f44be9cd8511e1b3df255987abf..9d3e9fe1c87c6e73624ffa3ba4855b074e4f4a12 100644 (file)
 &lpuart0 {
        status = "okay";
 };
+
+&qspi {
+       bus-num = <0>;
+       status = "okay";
+
+       qflash0: s25fl128s@0 {
+               compatible = "spansion,m25p80";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               spi-max-frequency = <20000000>;
+               reg = <0>;
+       };
+};
index bf70b276f09b7a2af9f878bf7677b2426b8920c1..de0323b48b1e7fe073de1545815fb3b1b82b503a 100644 (file)
                        interrupts = <0 43 0x4>;
                };
 
+               qspi: quadspi@1550000 {
+                       compatible = "fsl,ls1043a-qspi", "fsl,ls1021a-qspi";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x0 0x1550000 0x0 0x10000>,
+                               <0x0 0x40000000 0x0 0x4000000>;
+                       reg-names = "QuadSPI", "QuadSPI-memory";
+                       interrupts = <0 99 0x4>;
+                       clock-names = "qspi_en", "qspi";
+                       clocks = <&clockgen 4 0>, <&clockgen 4 0>;
+                       big-endian;
+                       status = "disabled";
+               };
+
                esdhc: esdhc@1560000 {
                        compatible = "fsl,ls1043a-esdhc", "fsl,esdhc";
                        reg = <0x0 0x1560000 0x0 0x10000>;