diff options
author | Guodong Xu <guodong@riscstar.com> | 2025-08-22 11:06:32 +0800 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2025-09-02 20:41:20 +0800 |
commit | 81d79ad0ddcaeaf6136abe870b2386bde31b7ed4 (patch) | |
tree | 55265834b4c12fbf9d0b5b236417378d7699d826 | |
parent | eba84c94f9597a82f143997bfacc75e5b27a37de (diff) |
riscv: dts: spacemit: Add PDMA node for K1 SoC
Add PDMA dma-controller node under dma_bus for SpacemiT K1 SoC.
The PDMA node is marked as disabled by default, allowing board-specific
device trees to enable it as needed.
Signed-off-by: Guodong Xu <guodong@riscstar.com>
Reviewed-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Link: https://lore.kernel.org/r/20250822-working_dma_0701_v2-v5-6-f5c0eda734cc@riscstar.com
Signed-off-by: Yixun Lan <dlan@gentoo.org>
-rw-r--r-- | arch/riscv/boot/dts/spacemit/k1.dtsi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/spacemit/k1.dtsi b/arch/riscv/boot/dts/spacemit/k1.dtsi index 6c68b2e54675..19dc9c94e5b5 100644 --- a/arch/riscv/boot/dts/spacemit/k1.dtsi +++ b/arch/riscv/boot/dts/spacemit/k1.dtsi @@ -660,6 +660,17 @@ dma-ranges = <0x0 0x00000000 0x0 0x00000000 0x0 0x80000000>, <0x1 0x00000000 0x1 0x80000000 0x3 0x00000000>; + pdma: dma-controller@d4000000 { + compatible = "spacemit,k1-pdma"; + reg = <0x0 0xd4000000 0x0 0x4000>; + clocks = <&syscon_apmu CLK_DMA>; + resets = <&syscon_apmu RESET_DMA>; + interrupts = <72>; + dma-channels = <16>; + #dma-cells= <1>; + status = "disabled"; + }; + uart0: serial@d4017000 { compatible = "spacemit,k1-uart", "intel,xscale-uart"; |