Skip to content

arm64: dts: apple: t6041-j614c: enable WLAN wake and describe the WAKE# lines - #1689

Merged
RyanTheTide merged 1 commit into
aurora-silicon:integration/aurorafrom
joske:pr/t6041-j614c-wlan-wake
Nov 12, 2026
Merged

RyanTheTide merged 1 commit into
aurora-silicon:integration/aurorafrom
joske:pr/t6041-j614c-wlan-wake

Conversation

@joske

@joske joske commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

#1672 marked the Wi-Fi a wakeup source on the J616c and J616s, and 765348d described their WAKE# lines. The 14" J614c got neither, so Wake-on-WLAN in s2idle (#1653) could not be enabled there.

Change

t6041-j614c.dts, as the J616c:

  • &wifi0: wakeup-source, so brcmfmac arms its PCIe MSI for Wake-on-WLAN in s2idle.
  • &wifi0 and &bluetooth0: wake-gpios on AP GPIO pins 39 (WLAN) and 40 (Bluetooth). The J614c ADT has the same wlan, bluetooth and GPIO nodes as the J616c. In those nodes, the macOS 26.6.2 ADTs of the two differ only in the wlan module-instance.

Testing

J614c (MacBook Pro 14" M4 Max), os-fw 26.6.2, BCM4388. The kernel was integration/aurora fa59399 plus this change and local test patches, with aura main.

  • Magic packet wakes the Mac from s2idle: pass. With iw phy phy0 wowlan enable magic-packet and systemctl suspend, a magic packet from another machine on the LAN woke it after 16 s of sleep. /sys/power/pm_wakeup_irq named IRQ 270, brcmf_pcie_intr.
  • The WAKE# lines register as dedicated wake IRQs (Apple-GPIO 39 Level 0000:01:00.0:wakeup, Apple-GPIO 40 Level 0000:01:00.1:wakeup), and both PCI functions report power/wakeup enabled. They did not fire in this test: in s2idle the PCIe link stays up and the wake comes through the MSI. They are described here as on the J616c, but not tested for a wake with the link down.
  • Not tested: Bluetooth wake, and WoWLAN with the lid closed for a longer time.

🤖 Generated with Claude Code

…E# lines

Mark the Wi-Fi node a wakeup source, as aurora-silicon#1672 did for the J616c: the
BCM4388 then arms its PCIe MSI for Wake-on-WLAN in s2idle. Describe the
Wi-Fi and Bluetooth PCIe WAKE# lines too, AP GPIO pins 39 and 40 as on
the J616c, whose ADT has the same wlan, bluetooth and GPIO nodes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jos Dehaes <[email protected]>

@RyanTheTide RyanTheTide left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Matches the J616c description line for line, and the magic-packet wake result covers it. Looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants