summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2018-12-01 19:00:16 +0100
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2018-12-19 15:23:00 +0100
commit9ab403d0dd3c88370612c97f8c4cb88199302833 (patch)
tree6e6656478912ea55d121acfd1869328906e374d5 /include
parentccfd69883ab93889ca985c89086381bfc4050b61 (diff)
downloadu-boot-9ab403d0dd3c88370612c97f8c4cb88199302833.tar.gz
u-boot-9ab403d0dd3c88370612c97f8c4cb88199302833.tar.bz2
u-boot-9ab403d0dd3c88370612c97f8c4cb88199302833.zip
bmips: bcm6338: add bcm6348-iudma support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/dma/bcm6338-dma.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/dt-bindings/dma/bcm6338-dma.h b/include/dt-bindings/dma/bcm6338-dma.h
new file mode 100644
index 0000000000..f2e0b20444
--- /dev/null
+++ b/include/dt-bindings/dma/bcm6338-dma.h
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com>
+ *
+ * Derived from linux/drivers/net/ethernet/broadcom/bcm63xx_enet.c
+ */
+
+#ifndef __DT_BINDINGS_DMA_BCM6338_H
+#define __DT_BINDINGS_DMA_BCM6338_H
+
+#define BCM6338_DMA_ENET_RX 0
+#define BCM6338_DMA_ENET_TX 1
+
+#endif /* __DT_BINDINGS_DMA_BCM6338_H */