dt-bindings: net: add EEE capability constants
authorjbrunet <jbrunet@baylibre.com>
Mon, 28 Nov 2016 09:46:47 +0000 (10:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Nov 2016 00:38:31 +0000 (19:38 -0500)
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
Tested-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/dt-bindings/net/mdio.h [new file with mode: 0644]

diff --git a/include/dt-bindings/net/mdio.h b/include/dt-bindings/net/mdio.h
new file mode 100644 (file)
index 0000000..99c6d90
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * This header provides generic constants for ethernet MDIO bindings
+ */
+
+#ifndef _DT_BINDINGS_NET_MDIO_H
+#define _DT_BINDINGS_NET_MDIO_H
+
+/*
+ * EEE capability Advertisement
+ */
+
+#define MDIO_EEE_100TX         0x0002  /* 100TX EEE cap */
+#define MDIO_EEE_1000T         0x0004  /* 1000T EEE cap */
+#define MDIO_EEE_10GT          0x0008  /* 10GT EEE cap */
+#define MDIO_EEE_1000KX                0x0010  /* 1000KX EEE cap */
+#define MDIO_EEE_10GKX4                0x0020  /* 10G KX4 EEE cap */
+#define MDIO_EEE_10GKR         0x0040  /* 10G KR EEE cap */
+
+#endif