diff options
author | Clark Wang <xiaoning.wang@nxp.com> | 2018-11-21 19:13:47 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:35:24 +0800 |
commit | 128c71d26255a18e56ac0526cf1fa705f8885fe7 (patch) | |
tree | 2a34b85e690c5c2de07bbe822ce163f0430bcfb9 /arch/arm/boot/dts/imx6ul-14x14-evk-ecspi-slave.dts | |
parent | a039028e0e8994ec940e2c231414f3210e4fc14b (diff) |
MLK-20440 dts: ecspi: Add ecspi and its slave dts files for imx6ul
For ECSPI test, add these two dts files.
imx6ul-14x14-evk-ecspi.dts: enable ecspi4 function. Because ethernet2
uses the same pins with ecspi4, so disable fec1/fec2.
imx6ul-14x14-evk-ecspi-slave.dts: Add "spi-slave" attribute to enable
slave mode.
Wire Connection:
J1704:
3 - SCS
4 - MOSI
5 - MISO
6 - SCK
7 - GND
Modify "Makefile" to build these two dts files.
Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6ul-14x14-evk-ecspi-slave.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6ul-14x14-evk-ecspi-slave.dts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6ul-14x14-evk-ecspi-slave.dts b/arch/arm/boot/dts/imx6ul-14x14-evk-ecspi-slave.dts new file mode 100644 index 000000000000..9c91f2553031 --- /dev/null +++ b/arch/arm/boot/dts/imx6ul-14x14-evk-ecspi-slave.dts @@ -0,0 +1,21 @@ +/* + * Copyright (C) 2018 NXP + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +/* + * DTS file for ECSPI Slave Certification at i.mx6ul 14x14 evk board. + * NOTE: Because Ethernet2 use the same pins with ecspi4, so disable + * fec1/fec2 for ECSPI4 test. + */ + +#include "imx6ul-14x14-evk-ecspi.dts" + +/delete-node/&spidev0; + +&ecspi4 { + spi-slave; +}; |