sh_eth: fix EESIPR values for SH77{34|63}
[linux/fpc-iii.git] / Documentation / devicetree / bindings / net / meson-dwmac.txt
blob89e62ddc69caddeff18cef8a1a4447226c3755f5
1 * Amlogic Meson DWMAC Ethernet controller
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.
7 Required properties on all platforms:
9 - compatible:   Depending on the platform this should be one of:
10                         - "amlogic,meson6-dwmac"
11                         - "amlogic,meson8b-dwmac"
12                         - "amlogic,meson-gxbb-dwmac"
13                 Additionally "snps,dwmac" and any applicable more
14                 detailed version number described in net/stmmac.txt
15                 should be used.
17 - reg:  The first register range should be the one of the DWMAC
18         controller. The second range is is for the Amlogic specific
19         configuration (for example the PRG_ETHERNET register range
20         on Meson8b and newer)
22 Required properties on Meson8b and newer:
23 - clock-names:  Should contain the following:
24                 - "stmmaceth" - see stmmac.txt
25                 - "clkin0" - first parent clock of the internal mux
26                 - "clkin1" - second parent clock of the internal mux
29 Example for Meson6:
31         ethmac: ethernet@c9410000 {
32                 compatible = "amlogic,meson6-dwmac", "snps,dwmac";
33                 reg = <0xc9410000 0x10000
34                        0xc1108108 0x4>;
35                 interrupts = <0 8 1>;
36                 interrupt-names = "macirq";
37                 clocks = <&clk81>;
38                 clock-names = "stmmaceth";
39         }
41 Example for GXBB:
42         ethmac: ethernet@c9410000 {
43                 compatible = "amlogic,meson-gxbb-dwmac", "snps,dwmac";
44                 reg = <0x0 0xc9410000 0x0 0x10000>,
45                         <0x0 0xc8834540 0x0 0x8>;
46                 interrupts = <0 8 1>;
47                 interrupt-names = "macirq";
48                 clocks = <&clkc CLKID_ETH>,
49                                 <&clkc CLKID_FCLK_DIV2>,
50                                 <&clkc CLKID_MPLL2>;
51                 clock-names = "stmmaceth", "clkin0", "clkin1";
52                 phy-mode = "rgmii";
53                 status = "disabled";
54         };