diff options
author | Clark Wang <xiaoning.wang@nxp.com> | 2018-11-28 17:46:52 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:35:33 +0800 |
commit | 64113623bf7ef58359a9db986e63fd2102e22435 (patch) | |
tree | 8eb655e0873bbaa6a950a842abe7e48c715824c6 /arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2-lpspi-slave.dts | |
parent | c226de571e73424d672352c54fe7b6af44ac2258 (diff) |
MLK-20441-2 dts: lpspi: Add lpspi3 and its slave dts files for imx8qm
For lpspi test, add these two features, use lpspi3 without cs-gpio.
Still support spi-nor using lpspi0 with cs-gpio mode.
- fsl-imx8qm-device.dtsi:
Add node to support lpspi3.
- fsl-imx8qm-lpddr4-arm2-lpspi.dts:
Add lpspi3 support for imx8qm-lpddr4-arm2 board.
- fsl-imx8qm-lpddr4-arm2-lpspi-slave.dts:
Enable spi slave mode for lpspi3.
Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2-lpspi-slave.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2-lpspi-slave.dts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2-lpspi-slave.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2-lpspi-slave.dts new file mode 100644 index 000000000000..6a27f0a17de9 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2-lpspi-slave.dts @@ -0,0 +1,21 @@ +/* + * Copyright 2018 NXP + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#include "fsl-imx8qm-lpddr4-arm2-lpspi.dts" + +/delete-node/&spidev0; + +&lpspi3 { + spi-slave; +}; |