ARM: dts: add AM33XX EDMA support
PATCH 1/2 ARM: dts: add AM33XX EDMA support
From: Matt Porter <[email protected]>
Adds AM33XX EDMA support to the am33xx.dtsi as documented in Documentation/devicetree/bindings/dma/ti-edma.txt
Joel: Drop DT entries that are non-hardware-description for now as discussed in [1]
[1] https://patchwork.kernel.org/patch/2226761/
Signed-off-by Matt Porter <[email protected]>
Signed-off-by Joel A Fernandes <[email protected]>
--- arch/arm/boot/dts/am33xx.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm/boot/dts/am33xx.dtsi +12 -0
@@ -96,6 +96,18 @@ reg = <0x48200000 0x1000>; }; + edma: edma@49000000 { + compatible = "ti,edma3"; + ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2"; + reg = <0x49000000 0x10000>, + <0x44e10f90 0x10>; + interrupts = <12 13 14>; + #dma-cells = <1>; + dma-channels = <64>; + ti,edma-regions = <4>; + ti,edma-slots = <256>; + }; + gpio0: gpio@44e07000 { compatible = "ti,omap4-gpio"; ti,hwmods = "gpio1";
Signature · 1 line
1.7.9.5
PATCH 2/2 ARM: dts: add AM33XX SPI DMA support
From: Matt Porter <[email protected]>
Adds DMA resources to the AM33XX SPI nodes.
Signed-off-by Matt Porter <[email protected]>
Signed-off-by Joel A Fernandes <[email protected]>
--- arch/arm/boot/dts/am33xx.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
arch/arm/boot/dts/am33xx.dtsi +10 -0
@@ -331,6 +331,11 @@ interrupts = <65>; ti,spi-num-cs = <2>; ti,hwmods = "spi0"; + dmas = <&edma 16 + &edma 17 + &edma 18 + &edma 19>; + dma-names = "tx0", "rx0", "tx1", "rx1"; status = "disabled"; };
@@ -342,6 +347,11 @@ interrupts = <125>; ti,spi-num-cs = <2>; ti,hwmods = "spi1"; + dmas = <&edma 42 + &edma 43 + &edma 44 + &edma 45>; + dma-names = "tx0", "rx0", "tx1", "rx1"; status = "disabled"; };
Signature · 1 line
1.7.9.5