Repository navigation
J873: enable the native N1 PCIe radio path - #1013
Merged
Merged
Conversation
Add the T8152 compatibles used by the J873 N1 path. Describe the interleaved port and PHY register resources of its PCIe host. Signed-off-by: Acelogic <miguelc4600@gmail.com>
Power the reference clock buffer and release the lane PIPE reset after PERST#. Adapt the public J873 host-controller change to the current aurora-wip hardware descriptors without changing other SoC sequences. Adapted from aurora-silicon/linux-aurora commit d85dcbe23a28aa6db3629140510a64b2b046c2df. Signed-off-by: Thomas Glanzmann <thomas@glanzmann.de> Signed-off-by: Acelogic <miguelc4600@gmail.com>
Describe APCIE port 0, its GPIO reset, MSI window and separate DART streams for the N1 control, Wi-Fi and Bluetooth functions. Retain the Aura RAM handoff and secondary CPU park contract. Resources follow the captured J873g ADT and Thomas Glanzmann’s public t8152-j873-pcie.dts. Ethernet remains outside this change. Signed-off-by: Acelogic <miguelc4600@gmail.com>
Acelogic
marked this pull request as ready for review
November 6, 2026 09:01
RyanTheTide
added a commit
that referenced
this pull request
Nov 6, 2026
Carries the work merged on aurora-wip since #1018 into the release branch: M5 T8142/J813 bring-up (#995 #996 #997 #998 #1001 #1002 #1003), T8152/J873 bring-up (#984 #1009 #1013 #1022), J813 AVD/ISP (#1026) and the selftest harness updates (#1014). The merge is clean; the 13 integration/aurora commits since #1018 are kept. Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> Assisted-by: LLM
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.
J873 boots from
aurora-wipwithout exposing its N1 radio. Add the T8152 PCIe reference-clock/PIPE-reset sequence and describe APCIE port 0, GPIO reset, MSI allocation and per-function DART streams in the existing J873 RAM-boot tree. The existing CPU park and RAM handoff remain in place.The PCIe sequence adapts Thomas Glanzmann’s public
linux-auroracommitd85dcbe23a28aa6db3629140510a64b2b046c2df, preserving authorship. Device-tree resources were checked against the physical J873g ADT. This depends on #998 for the native N1 Wi-Fi/Bluetooth drivers, including its AP-switching fix. It does not import the APIF driver from #828.The previous merge hold is resolved by the tested #998 disconnect-budget fix. The native firmware starts, all three PCI functions appear, and Control/Alpha each receive 16 MSI vectors. Prior targeted validation of the three binding schemas and board DT passed; this revision adds no further device-tree changes.
Validation of the combined public-base + #998 + #1013 source tree on physical J813 and J873, using fresh guarded RAM boots:
Earlier failed trials and packet captures are retained privately. Isolated packet loss also occurred without an AP change during control testing; this result qualifies the reproduced handoff stall, not loss-free RF operation. Bluetooth pairing/ACL/audio, suspend/resume and installed-rootfs stability remain outside this qualification. No firmware or internal-disk installation was performed.
Private firmware remains locally extracted and is not included. The full combined tree exactly matches the tree used for the hardware build; PMU guards, payload readback and CPU-park checks remain intact.
Attribution
8bbc3ed23fb4.efa93c24e38d,a03e01fbb531); J873 board, per-function DMA, firmware scan/join, and Bluetooth adaptations by Joshua Warren (@joshuaswarren); and the real-MSI data path and Alpha MSI allocation by @sithglan (68d0acaba211,eb01c70f9380). The AP-switch disconnect-budget fix is @Acelogic's commit298fee3294c6, developed and hardware-tested with Codex assistance.