aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorLendacky, Thomas <Thomas.Lendacky@amd.com>2014-06-05 10:15:00 -0400
committerDavid S. Miller <davem@davemloft.net>2014-06-05 18:26:51 -0400
commit7c123b6a1c5ce1d7900b4ef7bab5f0491e4f674e (patch)
tree4bb63f9c5509fea64f128a43338e204544483eec /Documentation/devicetree/bindings
parente0a47d1f781665d2aa126b804572314d128a0070 (diff)
amd-xgbe: AMD 10GbE device bindings documentation
This patch provides the documentation of the device bindings for the AMD 10GbE platform driver. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r--Documentation/devicetree/bindings/net/amd-xgbe-phy.txt17
-rw-r--r--Documentation/devicetree/bindings/net/amd-xgbe.txt34
2 files changed, 51 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/amd-xgbe-phy.txt b/Documentation/devicetree/bindings/net/amd-xgbe-phy.txt
new file mode 100644
index 000000000000..d01ed63d3ebb
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/amd-xgbe-phy.txt
@@ -0,0 +1,17 @@
1* AMD 10GbE PHY driver (amd-xgbe-phy)
2
3Required properties:
4- compatible: Should be "amd,xgbe-phy-seattle-v1a" and
5 "ethernet-phy-ieee802.3-c45"
6- reg: Address and length of the register sets for the device
7 - SerDes Rx/Tx registers
8 - SerDes integration registers (1/2)
9 - SerDes integration registers (2/2)
10
11Example:
12 xgbe_phy@e1240800 {
13 compatible = "amd,xgbe-phy-seattle-v1a", "ethernet-phy-ieee802.3-c45";
14 reg = <0 0xe1240800 0 0x00400>,
15 <0 0xe1250000 0 0x00060>,
16 <0 0xe1250080 0 0x00004>;
17 };
diff --git a/Documentation/devicetree/bindings/net/amd-xgbe.txt b/Documentation/devicetree/bindings/net/amd-xgbe.txt
new file mode 100644
index 000000000000..ea0c7908a3b8
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/amd-xgbe.txt
@@ -0,0 +1,34 @@
1* AMD 10GbE driver (amd-xgbe)
2
3Required properties:
4- compatible: Should be "amd,xgbe-seattle-v1a"
5- reg: Address and length of the register sets for the device
6 - MAC registers
7 - PCS registers
8- interrupt-parent: Should be the phandle for the interrupt controller
9 that services interrupts for this device
10- interrupts: Should contain the amd-xgbe interrupt
11- clocks: Should be the DMA clock for the amd-xgbe device (used for
12 calculating the correct Rx interrupt watchdog timer value on a DMA
13 channel for coalescing)
14- clock-names: Should be the name of the DMA clock, "dma_clk"
15- phy-handle: See ethernet.txt file in the same directory
16- phy-mode: See ethernet.txt file in the same directory
17
18Optional properties:
19- mac-address: mac address to be assigned to the device. Can be overridden
20 by UEFI.
21
22Example:
23 xgbe@e0700000 {
24 compatible = "amd,xgbe-seattle-v1a";
25 reg = <0 0xe0700000 0 0x80000>,
26 <0 0xe0780000 0 0x80000>;
27 interrupt-parent = <&gic>;
28 interrupts = <0 325 4>;
29 clocks = <&xgbe_clk>;
30 clock-names = "dma_clk";
31 phy-handle = <&phy>;
32 phy-mode = "xgmii";
33 mac-address = [ 02 a1 a2 a3 a4 a5 ];
34 };