diff options
author | Qianyu Gong <qianyu.gong@nxp.com> | 2016-02-01 13:09:16 +0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-02-01 09:11:11 -0800 |
commit | 73a5de4c6ea5f0269013897654c7ff50da97323b (patch) | |
tree | 5ab49873019e4daf95218a0787d1ca80a46cdebe /arch/arm | |
parent | a2a4dc565d80a858b047287e7e672c39655e5c3f (diff) | |
download | u-boot-73a5de4c6ea5f0269013897654c7ff50da97323b.zip u-boot-73a5de4c6ea5f0269013897654c7ff50da97323b.tar.gz u-boot-73a5de4c6ea5f0269013897654c7ff50da97323b.tar.bz2 |
armv8/ls1043aqds: fix DSPI/QSPI node in dts file
Fix the lost dts info when merging patches.
Fix DSPI node for 'commit e0579a5852b3 ("armv8/ls1043aqds: add DSPI
support")' and QSPI node for 'commit 166ef1e90ce4 ("armv8/ls1043aqds:
add QSPI support in SD boot")'.
Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/dts/fsl-ls1043a-qds.dtsi | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/arch/arm/dts/fsl-ls1043a-qds.dtsi b/arch/arm/dts/fsl-ls1043a-qds.dtsi index b9dad72..66efe67 100644 --- a/arch/arm/dts/fsl-ls1043a-qds.dtsi +++ b/arch/arm/dts/fsl-ls1043a-qds.dtsi @@ -14,6 +14,52 @@ / { model = "LS1043A QDS Board"; + aliases { + spi0 = &qspi; + spi1 = &dspi0; + }; +}; + +&dspi0 { + bus-num = <0>; + status = "okay"; + + dflash0: n25q128a { + #address-cells = <1>; + #size-cells = <1>; + compatible = "spi-flash"; + reg = <0>; + spi-max-frequency = <1000000>; /* input clock */ + }; + + dflash1: sst25wf040b { + #address-cells = <1>; + #size-cells = <1>; + compatible = "spi-flash"; + spi-max-frequency = <3500000>; + reg = <1>; + }; + + dflash2: en25s64 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "spi-flash"; + spi-max-frequency = <3500000>; + reg = <2>; + }; +}; + +&qspi { + bus-num = <0>; + status = "okay"; + + qflash0: s25fl128s@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "spi-flash"; + spi-max-frequency = <20000000>; + reg = <0>; + }; }; &i2c0 { |