[562] The seven factors of awakening (bojjhaṅga): the awakening factor of mindfulness (sati-sambojjhaṅga) … the awakening factor of equanimity (upekkhā-sambojjhaṅga).
Therein, which are the seven factors of awakening?
Here a bhikkhu, on the occasion when he develops supramundane jhāna (lokuttara jhāna) — leading out [of the round] (niyyānika), conducive to dismantling (apacayagāmī) — for the abandonment of wrong views (diṭṭhigata), for the attainment of the first stage (bhūmi): quite secluded from sensual pleasures … he enters and dwells in the first jhāna, of painful practice and slow direct knowledge (dukkhāpaṭipadā dandhābhiññā); on that occasion there is contact (phassa) … there is non-distraction (avikkhepa) — these phenomena (dhammā) are wholesome (kusala).
Because that same supramundane wholesome jhāna has been done, has been developed, [as its] result (vipāka): quite secluded from sensual pleasures … he enters and dwells in the first jhāna, of painful practice and slow direct knowledge, empty (suññata); on that occasion there are seven factors of awakening: the awakening factor of mindfulness … the awakening factor of equanimity.
Therein, which is the awakening factor of mindfulness? That which is mindfulness (sati), recollection (anussati) … right mindfulness (sammāsati), the awakening factor of mindfulness, a path factor (maggaṅga), included in the path (maggapariyāpanna) — this is called the awakening factor of mindfulness. …
Therein, which is the awakening factor of equanimity? That which is equanimity (upekkhā), being equanimous (upekkhanā), looking on with equanimity (ajjhupekkhanā), neutrality of mind (majjhattatā cittassa), the awakening factor of equanimity — this is called the awakening factor of equanimity.
These are called the seven factors of awakening. The remaining phenomena are associated (sampayutta) with the seven factors of awakening.
English translation from the Pali (Siam Raṭṭha edition) — under review, not for citation.