Repository navigation
arm64: dts: apple: t8142-j813: add the SMC RTC - #1538
Merged
RyanTheTide merged 1 commit intoNov 12, 2026
Merged
Conversation
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]>
This was referenced Nov 12, 2026
RyanTheTide
approved these changes
Nov 12, 2026
RyanTheTide
left a comment
Contributor
There was a problem hiding this comment.
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
merged commit Nov 12, 2026
e661192
into
aurora-silicon:integration/aurora
2 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 theapple,smc-rtcnode. 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_SYSTOHCoff). 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