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-device.dtsi | |
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-device.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi index 3cea30587dc7..635b1d230036 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi @@ -2976,6 +2976,20 @@ status = "disabled"; }; + lpspi3: lpspi@5a030000 { + compatible = "fsl,imx7ulp-spi"; + reg = <0x0 0x5a030000 0x0 0x10000>; + interrupts = <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>; + interrupt-parent = <&gic>; + clocks = <&clk IMX8QM_SPI3_CLK>, + <&clk IMX8QM_SPI3_IPG_CLK>; + clock-names = "per", "ipg"; + assigned-clocks = <&clk IMX8QM_SPI3_CLK>; + assigned-clock-rates = <60000000>; + power-domains = <&pd_dma_lpspi3>; + status = "disabled"; + }; + lpuart0: serial@5a060000 { compatible = "fsl,imx8qm-lpuart"; reg = <0x0 0x5a060000 0x0 0x1000>; |