diff options
author | Yuan Yao <yao.yuan@nxp.com> | 2016-04-13 06:08:27 -0400 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2016-04-17 22:15:50 -0400 |
commit | e26e054ba8a2f9d357cdc874168396ea4ef73c28 (patch) | |
tree | 7bcbe7ea25ba6fe57337a9c5a581e0449b217d2f | |
parent | 60f9ae0d2b173245ba960b2fcd0fc44e81f92017 (diff) |
arm64: dts: ls1043a: add the DTS node for QSPI support
Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 13 | ||||
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 14 |
2 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts index 80688acb73a3..9d3e9fe1c87c 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | |||
@@ -166,3 +166,16 @@ | |||
166 | &lpuart0 { | 166 | &lpuart0 { |
167 | status = "okay"; | 167 | status = "okay"; |
168 | }; | 168 | }; |
169 | |||
170 | &qspi { | ||
171 | bus-num = <0>; | ||
172 | status = "okay"; | ||
173 | |||
174 | qflash0: s25fl128s@0 { | ||
175 | compatible = "spansion,m25p80"; | ||
176 | #address-cells = <1>; | ||
177 | #size-cells = <1>; | ||
178 | spi-max-frequency = <20000000>; | ||
179 | reg = <0>; | ||
180 | }; | ||
181 | }; | ||
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index bf70b276f09b..de0323b48b1e 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | |||
@@ -171,6 +171,20 @@ | |||
171 | interrupts = <0 43 0x4>; | 171 | interrupts = <0 43 0x4>; |
172 | }; | 172 | }; |
173 | 173 | ||
174 | qspi: quadspi@1550000 { | ||
175 | compatible = "fsl,ls1043a-qspi", "fsl,ls1021a-qspi"; | ||
176 | #address-cells = <1>; | ||
177 | #size-cells = <0>; | ||
178 | reg = <0x0 0x1550000 0x0 0x10000>, | ||
179 | <0x0 0x40000000 0x0 0x4000000>; | ||
180 | reg-names = "QuadSPI", "QuadSPI-memory"; | ||
181 | interrupts = <0 99 0x4>; | ||
182 | clock-names = "qspi_en", "qspi"; | ||
183 | clocks = <&clockgen 4 0>, <&clockgen 4 0>; | ||
184 | big-endian; | ||
185 | status = "disabled"; | ||
186 | }; | ||
187 | |||
174 | esdhc: esdhc@1560000 { | 188 | esdhc: esdhc@1560000 { |
175 | compatible = "fsl,ls1043a-esdhc", "fsl,esdhc"; | 189 | compatible = "fsl,ls1043a-esdhc", "fsl,esdhc"; |
176 | reg = <0x0 0x1560000 0x0 0x10000>; | 190 | reg = <0x0 0x1560000 0x0 0x10000>; |