Wake on LAN Mode/Low-Power
BCM5718 Programmer’s Guide
Broadcom
®
January 29, 2016 • 5718-PG108-R
Page 221
WOL Data Flow Diagram
The Ethernet controller and PHY are both configured for WOL mode. The process is as follows:
1.
Clear the PME_Status bit in the Power Management Control/Status Register (offset: 0x4C) (see
Management Control/Status Register (offset: 0x4C)” on page 279
). This bit must be cleared, so the PME
interrupt is not immediately generated once the NIC is moved to the D3 state. The bit could be asserted from
a previous D3–D0 transition.
2.
Set the Mask_PCI_Interrupt_Output bit in the Miscellaneous_Host_Control register (see
Host Control Register (offset: 0x68)” on page 282
). This bit should be set, so the Ethernet controller does
not generate interrupts during the WOL configuration of the PHY. The device driver’s ISR may attempt to
reset and reconfigure the PHY as part of an error recovery code path.
3.
If host software must place the NIC into D3 cold state, the following step is necessary. Set the
10_Base_TX_Half_Duplex and 10_BASE_TX_Full_Duplex Capability bits, in the Auto-Negotiation
Advertisement Register. Clear the 100_BASE_TX_Full_Half_Duplex and 100_BASE_TX_Full_Duplex
Capability bits, in the Auto-Negotiation Advertisement Register. Clear the 1000_BASE_TX_Half_Duplex and
1000_BASE_TX_Full_Duplex Capability bits, in the 1000BASE-T Control Register. The link partner will now
only be able to auto-negotiate for 10 Mbps speed full/half-duplex.
4.
Set the Restart_Auto_Negotiation bit in the MII Control Register. The integrated PHY and link partner will
now reconfigure for 10 Mbps wire speed. Essentially, 10 Mbps link must be auto-negotiated or forced.
5.
Disable the FHDE, RDE, TDE bits of the
“EMAC Mode Register (offset: 0x400)” on page 310
”, and on-chip
RISCs.
6.
Host software must write the signature 0x4B657654 to internal memory address 0x0B50. Check for one’s
complement of 0x4B657654.
PCI Clock_Control
RX
RISC_Clock_Disable
Disable the clock to the receive
CPU.
Clock Control Register as
per PCI specifications.
Alternate_Clock_Sour
ce
Use an alternate clock as a
reference, rather than the PLL 133.
PLL133
Disable the 133 MHz phase-locked
loop.
Misc Local Control
Misc_Pin_0_Output
GPIO pin 0.
.
Misc_Pin_0_Output_
Enable
When asserted, MAC drives pin
output.
Misc_Pin_1_Output
GPIO pin 1.
Misc_Pin_1_Output_
Enable
When asserted, MAC drives pin
output.
Misc_Pin_2_Output
GPIO pin 2.
Misc_Pin_2_Output_
Enable
When asserted, MAC drives pin
output.
Power Management
Control/Status
PME_Enable
Enable the Ethernet controller to
assert PME on PCI bus.
Power_State
Set the ACPI power state: D0, D3.
Table 82: Integrated MAC WOL Mode Control Registers (Cont.)
Register
Bit(s) Name
Description
Cross Reference