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 Additionally "snps,dwmac" and any applicable more
14 detailed version number described in net/stmmac.txt
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
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
31 ethmac: ethernet@c9410000 {
32 compatible = "amlogic,meson6-dwmac", "snps,dwmac";
33 reg = <0xc9410000 0x10000
36 interrupt-names = "macirq";
38 clock-names = "stmmaceth";
42 ethmac: ethernet@c9410000 {
43 compatible = "amlogic,meson-gxbb-dwmac", "snps,dwmac";
44 reg = <0x0 0xc9410000 0x0 0x10000>,
45 <0x0 0xc8834540 0x0 0x8>;
47 interrupt-names = "macirq";
48 clocks = <&clkc CLKID_ETH>,
49 <&clkc CLKID_FCLK_DIV2>,
51 clock-names = "stmmaceth", "clkin0", "clkin1";