1 * Oxford Semiconductor OXNAS 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: For the OX820 SoC, it should be :
10 - "oxsemi,ox820-dwmac" to select glue
11 - "snps,dwmac-3.512" to select IP version.
12 For the OX810SE SoC, it should be :
13 - "oxsemi,ox810se-dwmac" to select glue
14 - "snps,dwmac-3.512" to select IP version.
16 - clocks: Should contain phandles to the following clocks
17 - clock-names: Should contain the following:
18 - "stmmaceth" for the host clock - see stmmac.txt
19 - "gmac" for the peripheral gate clock
21 - oxsemi,sys-ctrl: a phandle to the system controller syscon node
25 etha: ethernet@40400000 {
26 compatible = "oxsemi,ox820-dwmac", "snps,dwmac-3.512";
27 reg = <0x40400000 0x2000>;
28 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
29 <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
30 interrupt-names = "macirq", "eth_wake_irq";
31 mac-address = [000000000000]; /* Filled in by U-Boot */
34 clocks = <&stdclk CLK_820_ETHA>, <&gmacclk>;
35 clock-names = "gmac", "stmmaceth";
36 resets = <&reset RESET_MAC>;
38 /* Regmap for sys registers */
39 oxsemi,sys-ctrl = <&sys>;