arm64: dts: ls1028a: Specify the DMA channels for the DSPI controllers
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 18 Mar 2020 00:16:02 +0000 (02:16 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 20 Apr 2020 14:36:24 +0000 (22:36 +0800)
LS1028A has a functional connection to the eDMA module. Even if the
spi-fsl-dspi.c driver is not using DMA for LS1028A now, define the slots
in the DMAMUX for connecting the eDMA channels to the 3 DSPI
controllers.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi

index 2a7f70b..95b6fe8 100644 (file)
                        interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
                        clock-names = "dspi";
                        clocks = <&clockgen 4 1>;
+                       dmas = <&edma0 0 62>, <&edma0 0 60>;
+                       dma-names = "tx", "rx";
                        spi-num-chipselects = <4>;
                        little-endian;
                        status = "disabled";
                        interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
                        clock-names = "dspi";
                        clocks = <&clockgen 4 1>;
+                       dmas = <&edma0 0 58>, <&edma0 0 56>;
+                       dma-names = "tx", "rx";
                        spi-num-chipselects = <4>;
                        little-endian;
                        status = "disabled";
                        interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
                        clock-names = "dspi";
                        clocks = <&clockgen 4 1>;
+                       dmas = <&edma0 0 54>, <&edma0 0 2>;
+                       dma-names = "tx", "rx";
                        spi-num-chipselects = <3>;
                        little-endian;
                        status = "disabled";