Merge remote-tracking branches 'asoc/topic/max9878', 'asoc/topic/max98927', 'asoc...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / net / oxnas-dwmac.txt
1 * Oxford Semiconductor OXNAS DWMAC Ethernet controller
2
3 The device inherits all the properties of the dwmac/stmmac devices
4 described in the file stmmac.txt in the current directory with the
5 following changes.
6
7 Required properties on all platforms:
8
9 - compatible:   For the OX820 SoC, it should be :
10                 - "oxsemi,ox820-dwmac" to select glue
11                 - "snps,dwmac-3.512" to select IP version.
12
13 - clocks: Should contain phandles to the following clocks
14 - clock-names:  Should contain the following:
15                 - "stmmaceth" for the host clock - see stmmac.txt
16                 - "gmac" for the peripheral gate clock
17
18 - oxsemi,sys-ctrl: a phandle to the system controller syscon node
19
20 Example :
21
22 etha: ethernet@40400000 {
23         compatible = "oxsemi,ox820-dwmac", "snps,dwmac-3.512";
24         reg = <0x40400000 0x2000>;
25         interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
26                      <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
27         interrupt-names = "macirq", "eth_wake_irq";
28         mac-address = [000000000000]; /* Filled in by U-Boot */
29         phy-mode = "rgmii";
30
31         clocks = <&stdclk CLK_820_ETHA>, <&gmacclk>;
32         clock-names = "gmac", "stmmaceth";
33         resets = <&reset RESET_MAC>;
34
35         /* Regmap for sys registers */
36         oxsemi,sys-ctrl = <&sys>;
37
38         status = "disabled";
39 };