summaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorKarl Palsson <karlp@etactica.com>2021-09-15 17:05:36 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2021-09-16 20:29:55 +0200
commit891344a7f602e9431a52b89d32d3b5a8e2b0430c (patch)
tree6a125fe4a059b7806d089b5f63531679434f0e56 /platforms
parentd68a78807e7708c480b2fc9d34e1873714423aae (diff)
dma: convert to new style, add DMAMUX
DMAMUX is a channel/source muxer available on L4+,L5,H7,G0,G4,WB and WL parts. Signed-of-by: Karl Palsson <karlp@etactica.com>
Diffstat (limited to 'platforms')
-rw-r--r--platforms/stm32/f4.yaml8
-rw-r--r--platforms/stm32/wb.yaml13
2 files changed, 21 insertions, 0 deletions
diff --git a/platforms/stm32/f4.yaml b/platforms/stm32/f4.yaml
index d2d8a28..72d4505 100644
--- a/platforms/stm32/f4.yaml
+++ b/platforms/stm32/f4.yaml
@@ -37,6 +37,14 @@
offset: 0x40004400
type: v1
+ stm32_dma:
+ DMA1:
+ type: v2
+ offset: 0x40026000
+ DMA2:
+ type: v2
+ offset: 0x40026400
+
dwc_otg:
OTG_FS:
offset: 0x50000000
diff --git a/platforms/stm32/wb.yaml b/platforms/stm32/wb.yaml
index c41148c..2214005 100644
--- a/platforms/stm32/wb.yaml
+++ b/platforms/stm32/wb.yaml
@@ -33,6 +33,19 @@
type: v2
offset: 0x40013800
+ stm32_dma:
+ DMA1:
+ type: v1
+ offset: 0x40020000
+ DMA2:
+ type: v1
+ offset: 0x40020400
+
+ stm32_dmamux:
+ DMAMUX1:
+ type: v1
+ offset: 0x40020800
+
rcc:
RCC:
offset: 0x58000000