Skip to content

arm64: dts: apple: t8142-j813: add the SMC RTC - #1538

Merged
RyanTheTide merged 1 commit into
aurora-silicon:integration/aurorafrom
m0d16l14n1:j815/t8142-smc-rtc
Nov 12, 2026
Merged

RyanTheTide merged 1 commit into
aurora-silicon:integration/aurorafrom
m0d16l14n1:j815/t8142-smc-rtc

Conversation

@m0d16l14n1

Copy link
Copy Markdown
Contributor

Describe the RTC offset cell in the main PMU's legacy scratchpad (info-rtc_scrpad = 0x2100, a 48-bit count of 32768 Hz ticks, same as J704; identical in the J813 and J815 ADTs) and the apple,smc-rtc node. Without it macsmc-rtc logs "Failed to locate of_node" and Linux has no hardware clock.

Tested on J815: rtc0 registers, the clock is set from it at boot and agrees with NTP within ~1 s, fine across s2idle. Linux never writes it here (RTC_SYSTOHC off). J813 was not tested.

Part of the J815 (MacBook Air 15-inch, M5, T8142) bring-up: board results are summarised in discussion #135. Tested on a J815 with a macOS 27.0 stub (firmware 27.0) through aura Stage 2.

Assisted-by: Claude Opus 5.5

Describe the RTC offset cell in the main PMU's legacy scratchpad
(ADT info-rtc_scrpad = 0x2100, a 48-bit count of 32768 Hz ticks, the same
as J704) and the apple,smc-rtc node that uses it.

Tested on the MacBook Air 15-inch (M5, J815): rtc0 registers, the system
clock is set from it at boot and agrees with NTP within about a second,
and it survives s2idle.

Assisted-by: Claude Opus 5.5
Signed-off-by: Nick <[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 J704 layout (rtc-offset at 0x2100 in the PMU scratchpad, apple,smc-rtc under the SMC). Tested on J815 per the description. Looks good.

@RyanTheTide
RyanTheTide merged commit e661192 into aurora-silicon:integration/aurora Nov 12, 2026
2 checks passed
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