Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dts: arm: atmel: samx7x: move SAM E70/V71 DMA header to dt-bindings #83750

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 0 additions & 54 deletions dts/arm/atmel/dma_atmel_same70.h

This file was deleted.

1 change: 0 additions & 1 deletion dts/arm/atmel/same70.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@
*/

#include <atmel/samx7x.dtsi>
#include "dma_atmel_same70.h"
1 change: 0 additions & 1 deletion dts/arm/atmel/same70b.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
*/

#include <atmel/samx7xb.dtsi>
#include "dma_atmel_same70.h"
1 change: 0 additions & 1 deletion dts/arm/atmel/samv71.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
*/

#include <atmel/samx7x.dtsi>
#include "dma_atmel_samv71.h"
1 change: 0 additions & 1 deletion dts/arm/atmel/samv71b.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
*/

#include <atmel/samx7xb.dtsi>
#include "dma_atmel_samv71.h"
1 change: 1 addition & 0 deletions dts/arm/atmel/samx7x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <zephyr/dt-bindings/gpio/gpio.h>
#include <zephyr/dt-bindings/pwm/pwm.h>
#include <zephyr/dt-bindings/clock/atmel_sam_pmc.h>
#include <zephyr/dt-bindings/dma/atmel_samx7x_dma.h>

/ {
aliases {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@
* SPDX-License-Identifier: Apache-2.0
*/

#ifndef DMA_ATMEL_SAMV71_H_
#define DMA_ATMEL_SAMV71_H_
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ATMEL_SAMX7X_DMA_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_ATMEL_SAMX7X_DMA_H_

/** Peripheral Hardware Request Line Identifier */
/**
* Atmel SAMx7x Peripheral Hardware Request HW Interface Number (XDMAC_CC.PERID).
*
* See table Table 35-1. Peripheral Hardware Requests in the SAM E70/S70/V70/V71 datasheet.
*/
#define DMA_PERID_HSMCI_TX_RX 0
#define DMA_PERID_SPI0_TX 1
#define DMA_PERID_SPI0_RX 2
Expand Down Expand Up @@ -37,8 +41,7 @@
#define DMA_PERID_UART3_RX 27
#define DMA_PERID_UART4_TX 28
#define DMA_PERID_UART4_RX 29
#define DMA_PERID_DACC0_TX 30
#define DMA_PERID_DACC1_TX 31
#define DMA_PERID_DACC_TX 30
#define DMA_PERID_SSC_TX 32
#define DMA_PERID_SSC_RX 33
#define DMA_PERID_PIOA_RX 34
Expand All @@ -48,9 +51,9 @@
#define DMA_PERID_AES_RX 38
#define DMA_PERID_PWM1_TX 39
#define DMA_PERID_TC0_RX 40
#define DMA_PERID_TC3_RX 41
#define DMA_PERID_TC6_RX 42
#define DMA_PERID_TC9_RX 43
#define DMA_PERID_TC1_RX 41
#define DMA_PERID_TC2_RX 42
#define DMA_PERID_TC3_RX 43
#define DMA_PERID_I2SC0_TX_L 44
#define DMA_PERID_I2SC0_RX_L 45
#define DMA_PERID_I2SC1_TX_L 46
Expand All @@ -60,4 +63,4 @@
#define DMA_PERID_I2SC1_TX_R 50
#define DMA_PERID_I2SC1_RX_R 51

#endif /* DMA_ATMEL_SAMV71_H_ */
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ATMEL_SAMX7X_DMA_H_ */
Loading