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
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 - "amlogic,meson-axg-dwmac"
14 Additionally "snps,dwmac" and any applicable more
15 detailed version number described in net/stmmac.txt
18 - reg: The first register range should be the one of the DWMAC
19 controller. The second range is is for the Amlogic specific
20 configuration (for example the PRG_ETHERNET register range
23 Required properties on Meson8b and newer:
24 - clock-names: Should contain the following:
25 - "stmmaceth" - see stmmac.txt
26 - "clkin0" - first parent clock of the internal mux
27 - "clkin1" - second parent clock of the internal mux
32 ethmac: ethernet@c9410000 {
33 compatible = "amlogic,meson6-dwmac", "snps,dwmac";
34 reg = <0xc9410000 0x10000
37 interrupt-names = "macirq";
39 clock-names = "stmmaceth";
43 ethmac: ethernet@c9410000 {
44 compatible = "amlogic,meson-gxbb-dwmac", "snps,dwmac";
45 reg = <0x0 0xc9410000 0x0 0x10000>,
46 <0x0 0xc8834540 0x0 0x8>;
48 interrupt-names = "macirq";
49 clocks = <&clkc CLKID_ETH>,
50 <&clkc CLKID_FCLK_DIV2>,
52 clock-names = "stmmaceth", "clkin0", "clkin1";