]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/net/macb.h
drivers: fsl-mc: Update qbman driver
[karo-tx-uboot.git] / drivers / net / macb.h
index de5214fe6e4632e9a90dc7d6a9b0e0c76c1b932b..06f7c66dfd53ab6ff12fce298b902fcb2b7bb692 100644 (file)
@@ -58,6 +58,9 @@
 #define MACB_WOL                               0x00c4
 #define MACB_MID                               0x00fc
 
+/* GEM specific register offsets */
+#define GEM_DCFG1                              0x0280
+
 /* Bitfields in NCR */
 #define MACB_LB_OFFSET                         0
 #define MACB_LB_SIZE                           1
 #define MACB_IDNUM_SIZE                                16
 
 /* Bitfields in DCFG1 */
+#define GEM_DBWDEF_OFFSET                      25
+#define GEM_DBWDEF_SIZE                                3
+
+/* constants for data bus width */
+#define GEM_DBW32                              0
+#define GEM_DBW64                              1
+#define GEM_DBW128                             2
+
 /* Constants for CLK */
 #define MACB_CLK_DIV8                          0
 #define MACB_CLK_DIV16                         1