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.
13 - clocks: Should contain phandles to the following clocks
14 - clock-names: Should contain the following:
15 - "stmmaceth" for the host clock - see stmmac.txt
16 - "gmac" for the peripheral gate clock
18 - oxsemi,sys-ctrl: a phandle to the system controller syscon node
22 etha: ethernet@40400000 {
23 compatible = "oxsemi,ox820-dwmac", "snps,dwmac-3.512";
24 reg = <0x40400000 0x2000>;
25 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
26 <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
27 interrupt-names = "macirq", "eth_wake_irq";
28 mac-address = [000000000000]; /* Filled in by U-Boot */
31 clocks = <&stdclk CLK_820_ETHA>, <&gmacclk>;
32 clock-names = "gmac", "stmmaceth";
33 resets = <&reset RESET_MAC>;
35 /* Regmap for sys registers */
36 oxsemi,sys-ctrl = <&sys>;