Skip to content

Commit

Permalink
arm64: dts: ls1043a: add the DTS node for QSPI support
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
  • Loading branch information
Yuan Yao authored and Shawn Guo committed Apr 18, 2016
1 parent 60f9ae0 commit e26e054
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
13 changes: 13 additions & 0 deletions arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,16 @@
&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>;
};
};
14 changes: 14 additions & 0 deletions arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,20 @@
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>;
Expand Down

0 comments on commit e26e054

Please sign in to comment.