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-imx8dx.dtsi | |
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-imx8dx.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8dx.dtsi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8dx.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8dx.dtsi index fa5a9a037249..1ab4b560f7a9 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8dx.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-imx8dx.dtsi @@ -2673,6 +2673,20 @@ status = "disabled"; }; + lpspi2: lpspi@5a020000 { + compatible = "fsl,imx7ulp-spi"; + reg = <0x0 0x5a020000 0x0 0x10000>; + interrupts = <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>; + interrupt-parent = <&gic>; + clocks = <&clk IMX8QXP_SPI2_CLK>, + <&clk IMX8QXP_SPI2_IPG_CLK>; + clock-names = "per", "ipg"; + assigned-clocks = <&clk IMX8QXP_SPI2_CLK>; + assigned-clock-rates = <20000000>; + power-domains = <&pd_dma_lpspi2>; + status = "disabled"; + }; + lpuart0: serial@5a060000 { compatible = "fsl,imx8qm-lpuart"; reg = <0x0 0x5a060000 0x0 0x1000>; |