Note also that when using the config:
&gmac0 {
status = "okay";
mac-mode = "gmii";
phy-mode = "gmii";
fixed-link {
speed = <1000>;
full-duplex;
};
};
&gmac1 {
status = "okay";
mac-mode = "gmii";
phy-mode = "gmii";
fixed-link {
speed = <1000>;
full-duplex;
};
};
The dump is as followed;
root@localhost:~# dmesg | grep "socfpga-dwmac"
[ 1.462464] socfpga-dwmac 10810000.ethernet: Adding to iommu group 0
[ 1.469523] socfpga-dwmac 10810000.ethernet: IRQ eth_wake_irq not found
[ 1.476126] socfpga-dwmac 10810000.ethernet: IRQ eth_lpi not found
[ 1.482375] socfpga-dwmac 10810000.ethernet: RX VLAN HW Stripping
[ 1.488570] socfpga-dwmac 10810000.ethernet: SMTG Hub Cross Timestamp supported
[ 1.496179] socfpga-dwmac 10810000.ethernet: User ID: 0x76, Synopsys ID: 0x31
[ 1.503306] socfpga-dwmac 10810000.ethernet: XGMAC2
[ 1.508265] socfpga-dwmac 10810000.ethernet: DMA HW capability register supported
[ 1.515722] socfpga-dwmac 10810000.ethernet: RX Checksum Offload Engine supported
[ 1.523175] socfpga-dwmac 10810000.ethernet: COE Type 1
[ 1.528381] socfpga-dwmac 10810000.ethernet: TX Checksum insertion supported
[ 1.535400] socfpga-dwmac 10810000.ethernet: TSO supported
[ 1.540864] socfpga-dwmac 10810000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 1.548853] socfpga-dwmac 10810000.ethernet: device MAC address de:c4:c9:3e:39:39
[ 1.556319] socfpga-dwmac 10810000.ethernet: Enabled L3L4 Flow TC (entries=16)
[ 1.563515] socfpga-dwmac 10810000.ethernet: Enabled RFS Flow TC (entries=10)
[ 1.570624] socfpga-dwmac 10810000.ethernet: TSO feature enabled
[ 1.576607] socfpga-dwmac 10810000.ethernet: SPH feature enabled
[ 1.582590] socfpga-dwmac 10810000.ethernet: TX COE limited to 2 tx queues
[ 1.589441] socfpga-dwmac 10810000.ethernet: Using 40/40 bits DMA host/device width
[ 1.598267] socfpga-dwmac 10820000.ethernet: Adding to iommu group 1
[ 1.605275] socfpga-dwmac 10820000.ethernet: IRQ eth_wake_irq not found
[ 1.611882] socfpga-dwmac 10820000.ethernet: IRQ eth_lpi not found
[ 1.618112] socfpga-dwmac 10820000.ethernet: RX VLAN HW Stripping
[ 1.624296] socfpga-dwmac 10820000.ethernet: SMTG Hub Cross Timestamp supported
[ 1.631762] socfpga-dwmac 10820000.ethernet: User ID: 0x76, Synopsys ID: 0x31
[ 1.638884] socfpga-dwmac 10820000.ethernet: XGMAC2
[ 1.643838] socfpga-dwmac 10820000.ethernet: DMA HW capability register supported
[ 1.651292] socfpga-dwmac 10820000.ethernet: RX Checksum Offload Engine supported
[ 1.658748] socfpga-dwmac 10820000.ethernet: COE Type 1
[ 1.663955] socfpga-dwmac 10820000.ethernet: TX Checksum insertion supported
[ 1.670976] socfpga-dwmac 10820000.ethernet: TSO supported
[ 1.676442] socfpga-dwmac 10820000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 1.684423] socfpga-dwmac 10820000.ethernet: device MAC address 3e:48:9a:b2:60:c6
[ 1.691880] socfpga-dwmac 10820000.ethernet: Enabled L3L4 Flow TC (entries=16)
[ 1.699074] socfpga-dwmac 10820000.ethernet: Enabled RFS Flow TC (entries=10)
[ 1.706184] socfpga-dwmac 10820000.ethernet: TSO feature enabled
[ 1.712168] socfpga-dwmac 10820000.ethernet: SPH feature enabled
[ 1.718151] socfpga-dwmac 10820000.ethernet: TX COE limited to 2 tx queues
[ 1.725000] socfpga-dwmac 10820000.ethernet: Using 40/40 bits DMA host/device width
[ 1.733603] socfpga-dwmac 10830000.ethernet: Adding to iommu group 2
[ 1.740561] socfpga-dwmac 10830000.ethernet: IRQ eth_wake_irq not found
[ 1.747164] socfpga-dwmac 10830000.ethernet: IRQ eth_lpi not found
[ 1.753382] socfpga-dwmac 10830000.ethernet: RX VLAN HW Stripping
[ 1.759597] socfpga-dwmac 10830000.ethernet: SMTG Hub Cross Timestamp supported
[ 1.767082] socfpga-dwmac 10830000.ethernet: User ID: 0x76, Synopsys ID: 0x31
[ 1.774210] socfpga-dwmac 10830000.ethernet: XGMAC2
[ 1.779163] socfpga-dwmac 10830000.ethernet: DMA HW capability register supported
[ 1.786615] socfpga-dwmac 10830000.ethernet: RX Checksum Offload Engine supported
[ 1.794068] socfpga-dwmac 10830000.ethernet: COE Type 1
[ 1.799274] socfpga-dwmac 10830000.ethernet: TX Checksum insertion supported
[ 1.806294] socfpga-dwmac 10830000.ethernet: TSO supported
[ 1.811759] socfpga-dwmac 10830000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 1.819732] socfpga-dwmac 10830000.ethernet: Enabled L3L4 Flow TC (entries=16)
[ 1.826926] socfpga-dwmac 10830000.ethernet: Enabled RFS Flow TC (entries=10)
[ 1.834067] socfpga-dwmac 10830000.ethernet: TSO feature enabled
[ 1.840053] socfpga-dwmac 10830000.ethernet: SPH feature enabled
[ 1.846036] socfpga-dwmac 10830000.ethernet: TX COE limited to 2 tx queues
[ 1.852887] socfpga-dwmac 10830000.ethernet: Using 40/40 bits DMA host/device width
[ 2.213371] socfpga-dwmac 10810000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 2.223819] socfpga-dwmac 10810000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-1
[ 2.234195] socfpga-dwmac 10810000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-2
[ 2.244611] socfpga-dwmac 10810000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-3
[ 2.255079] socfpga-dwmac 10810000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-4
[ 2.265557] socfpga-dwmac 10810000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-5
[ 2.276090] socfpga-dwmac 10810000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-6
[ 2.286544] socfpga-dwmac 10810000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-7
[ 2.398706] socfpga-dwmac 10810000.ethernet: Failed to reset the dma
[ 2.405047] socfpga-dwmac 10810000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
[ 2.414059] socfpga-dwmac 10810000.ethernet eth0: __stmmac_open: Hw setup failed
[ 2.458913] socfpga-dwmac 10820000.ethernet eth1: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 2.469006] socfpga-dwmac 10820000.ethernet eth1: Register MEM_TYPE_PAGE_POOL RxQ-1
[ 2.479217] socfpga-dwmac 10820000.ethernet eth1: Register MEM_TYPE_PAGE_POOL RxQ-2
[ 2.489414] socfpga-dwmac 10820000.ethernet eth1: Register MEM_TYPE_PAGE_POOL RxQ-3
[ 2.499697] socfpga-dwmac 10820000.ethernet eth1: Register MEM_TYPE_PAGE_POOL RxQ-4
[ 2.510018] socfpga-dwmac 10820000.ethernet eth1: Register MEM_TYPE_PAGE_POOL RxQ-5
[ 2.520428] socfpga-dwmac 10820000.ethernet eth1: Register MEM_TYPE_PAGE_POOL RxQ-6
[ 2.530730] socfpga-dwmac 10820000.ethernet eth1: Register MEM_TYPE_PAGE_POOL RxQ-7
[ 2.642587] socfpga-dwmac 10820000.ethernet: Failed to reset the dma
[ 2.648934] socfpga-dwmac 10820000.ethernet eth1: stmmac_hw_setup: DMA engine initialization failed
[ 2.657945] socfpga-dwmac 10820000.ethernet eth1: __stmmac_open: Hw setup failed
[ 2.702120] socfpga-dwmac 10830000.ethernet eth2: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 2.712182] socfpga-dwmac 10830000.ethernet eth2: Register MEM_TYPE_PAGE_POOL RxQ-1
[ 2.722405] socfpga-dwmac 10830000.ethernet eth2: Register MEM_TYPE_PAGE_POOL RxQ-2
[ 2.732655] socfpga-dwmac 10830000.ethernet eth2: Register MEM_TYPE_PAGE_POOL RxQ-3
[ 2.742905] socfpga-dwmac 10830000.ethernet eth2: Register MEM_TYPE_PAGE_POOL RxQ-4
[ 2.753211] socfpga-dwmac 10830000.ethernet eth2: Register MEM_TYPE_PAGE_POOL RxQ-5
[ 2.763547] socfpga-dwmac 10830000.ethernet eth2: Register MEM_TYPE_PAGE_POOL RxQ-6
[ 2.773952] socfpga-dwmac 10830000.ethernet eth2: Register MEM_TYPE_PAGE_POOL RxQ-7
[ 2.853772] socfpga-dwmac 10830000.ethernet eth2: PHY [stmmac-2:01] driver [Micrel KSZ9031 Gigabit PHY] (irq=POLL)
[ 2.864173] socfpga-dwmac 10830000.ethernet eth2: No Safety Features support found
[ 2.871745] socfpga-dwmac 10830000.ethernet eth2: IEEE 1588-2008 Advanced Timestamp supported
[ 2.880564] socfpga-dwmac 10830000.ethernet eth2: registered PTP clock
[ 2.887436] socfpga-dwmac 10830000.ethernet eth2: FPE workqueue start
[ 2.893868] socfpga-dwmac 10830000.ethernet eth2: configuring for phy/rgmii-id link mode
[ 6.980275] socfpga-dwmac 10830000.ethernet eth2: Link is Up - 1Gbps/Full - flow control rx/tx