Merge tag 'trace-v4.14-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rosted...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / net / stm32-dwmac.txt
1 STMicroelectronics STM32 / MCU DWMAC glue layer controller
2
3 This file documents platform glue layer for stmmac.
4 Please see stmmac.txt for the other unchanged properties.
5
6 The device node has following properties.
7
8 Required properties:
9 - compatible:  Should be "st,stm32-dwmac" to select glue, and
10                "snps,dwmac-3.50a" to select IP version.
11 - clocks: Must contain a phandle for each entry in clock-names.
12 - clock-names: Should be "stmmaceth" for the host clock.
13                Should be "mac-clk-tx" for the MAC TX clock.
14                Should be "mac-clk-rx" for the MAC RX clock.
15 - st,syscon : Should be phandle/offset pair. The phandle to the syscon node which
16               encompases the glue register, and the offset of the control register.
17 Example:
18
19         ethernet@40028000 {
20                 compatible = "st,stm32-dwmac", "snps,dwmac-3.50a";
21                 reg = <0x40028000 0x8000>;
22                 reg-names = "stmmaceth";
23                 interrupts = <0 61 0>, <0 62 0>;
24                 interrupt-names = "macirq", "eth_wake_irq";
25                 clock-names = "stmmaceth", "mac-clk-tx", "mac-clk-rx";
26                 clocks = <&rcc 0 25>, <&rcc 0 26>, <&rcc 0 27>;
27                 st,syscon = <&syscfg 0x4>;
28                 snps,pbl = <8>;
29                 snps,mixed-burst;
30                 dma-ranges;
31         };