diff options
author | Clark Wang <xiaoning.wang@nxp.com> | 2018-11-30 15:50:02 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:35:34 +0800 |
commit | dd81b6cfa7430a4ea191729dff43dcaf6363bb4d (patch) | |
tree | e0cd1362a0e3f87ab4810fc74aa1f5800726fb92 /arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2-lpspi-slave.dts | |
parent | a57ea5805a1a336e9c9b72a496ecf239736fe58b (diff) |
MLK-20483 arm64: dts: Add lpspi2 and its slave dts files for imx8qxp
For lpspi test, add these two features, use lpspi2 without cs-gpio.
Still support spi-nor using lpspi0 with cs-gpio mode.
- fsl-imx8dx.dtsi:
Add node to support lpspi2.
- fsl-imx8qxp-lpddr4-arm2-lpspi.dts:
Add lpspi2 support for imx8qxp-lpddr4-arm2 board.
- fsl-imx8qxp-lpddr4-arm2-lpspi-slave.dts:
Enable spi slave mode for lpspi2.
NOTE: lpspi2 of imx8qxp-lpddr4-arm2 uses the same pins with lpspi3 of
imx8qm-lpddr4-arm2 on Base Board.
Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2-lpspi-slave.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2-lpspi-slave.dts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2-lpspi-slave.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2-lpspi-slave.dts new file mode 100644 index 000000000000..7f3cf7082a93 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2-lpspi-slave.dts @@ -0,0 +1,21 @@ +/* + * Copyright 2017-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-imx8qxp-lpddr4-arm2-lpspi.dts" + +/delete-node/&spidev0; + +&lpspi2 { + spi-slave; +}; |