Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ maintainers:

description: |
PMGR words whose top bit lets a CPU power down in WFI: one per cluster on
T8132 and T8140, one per core on T6050. A core that PMGR powers on comes up
allowed to, but the boot CPU was started by the boot ROM and only follows its
word, which the boot loader may leave clear. The words are set early in boot,
in the order listed.
T8132, T8140 and T8142, one per core on T6041 and T6050. A core that PMGR
powers on comes up allowed to, but the boot CPU was started by the boot ROM
and only follows its word, which the boot loader may leave clear. The words
are set early in boot, in the order listed.

properties:
compatible:
items:
- enum:
- apple,t6041-cluster-pwrgate
- apple,t6050-cluster-pwrgate
- apple,t8132-cluster-pwrgate
- apple,t8140-cluster-pwrgate
Expand Down
13 changes: 13 additions & 0 deletions arch/arm64/boot/dts/apple/t6041.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,19 @@
#size-cells = <1>;
};

/*
* The CPU power-gate enables, in /arm-io/pmgr at 0x50282c000, one word
* per core: E core 0 at +0x0 and P0 core 0 (the boot core) at +0x40,
* matching the two wake gates t6041-sleep restores on resume. iBoot
* leaves the boot core's word clear, so P0 never powers down in WFI
* unless set early in boot.
*/
cluster_pwrgate: power-gate@50282c000 {
compatible = "apple,t6041-cluster-pwrgate", "apple,cluster-pwrgate";
reg = <0x5 0x0282c000 0x0 0x4>,
<0x5 0x0282c040 0x0 0x4>;
};

/*
* Suspend-to-RAM at EL2 through aura's S2R mailbox; without the mailbox
* it stays out. Stays disabled at the SoC level so boards without
Expand Down
Loading