File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
include/zephyr/dt-bindings/dma Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 66
77#include <arm/armv7-m.dtsi>
88#include <adi/max32/max32xxx.dtsi>
9+ #include <zephyr/dt-bindings/dma/max32660_dma.h>
910
1011&clk_ipo {
1112 clock-frequency = <DT_FREQ_M(96)>;
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2025 Analog Devices, Inc.
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32660_DMA_H_
8+ #define ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32660_DMA_H_
9+
10+ #define MAX32_DMA_SLOT_MEMTOMEM 0x00U
11+ #define MAX32_DMA_SLOT_SPI0_RX 0x01U
12+ #define MAX32_DMA_SLOT_SPI1_RX 0x02U
13+ #define MAX32_DMA_SLOT_UART0_RX 0x04U
14+ #define MAX32_DMA_SLOT_UART1_RX 0x05U
15+ #define MAX32_DMA_SLOT_I2C0_RX 0x07U
16+ #define MAX32_DMA_SLOT_I2C1_RX 0x08U
17+ #define MAX32_DMA_SLOT_SPI0_TX 0x21U
18+ #define MAX32_DMA_SLOT_SPI1_TX 0x22U
19+ #define MAX32_DMA_SLOT_UART0_TX 0x24U
20+ #define MAX32_DMA_SLOT_UART1_TX 0x25U
21+ #define MAX32_DMA_SLOT_I2C0_TX 0x27U
22+ #define MAX32_DMA_SLOT_I2C1_TX 0x28U
23+
24+ #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32660_DMA_H_ */
You can’t perform that action at this time.
0 commit comments