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
66 changes: 3 additions & 63 deletions arch/arm64/boot/dts/apple/t6050-j714s.dts
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@
model = "Apple MacBook Pro (14-inch, M5 Pro, 2026)";
chassis-type = "laptop";

aliases {
/* the boot loader reserves the SEP firmware and adds its manifests through this alias */
sep = &sep;
};

chosen {
#address-cells = <2>;
#size-cells = <2>;
Expand Down Expand Up @@ -528,64 +523,9 @@
power-domains = <&pmp0_gfx>;
};

/*
* The SEP (ADT sep, dart-sep): its mailbox, and its power domain with the two
* fabric parents left to the firmware, which genpd votes on and never turns off.
* The boot loader enables the SEP itself through its alias.
*/
&sep_mbox {
status = "okay";
};

&ps_sep {
status = "okay";
};

&ps_fab8_soc {
apple,firmware-owned;
status = "okay";
};

&ps_fab0_piogw {
apple,firmware-owned;
status = "okay";
};

/*
* Touch ID (ADT spi2/mesa): J616s's Mesa sensor (sensor-id 0x3356) at 8 MHz on
* chip select 0, powered by NUB GPIO 21 (function-mesa_pwr), data ready on AP
* GPIO 138. The controller's clock (ADT clock-ids 451) is the 24 MHz reference.
*/
&ps_nub_gpio {
status = "okay";
};

&nub_gpio0 {
status = "okay";
};

&ps_spi2 {
status = "okay";
};

&spi2 {
clocks = <&clkref>;
status = "okay";

mesa: fingerprint@0 {
compatible = "apple,mesa-fingerprint";
reg = <0>;
spi-max-frequency = <8000000>;
spi-cpol;
spi-cs-setup-delay-ns = <20>;
spi-cs-hold-delay-ns = <20>;
enable-gpios = <&nub_gpio0 21 GPIO_ACTIVE_HIGH>;
interrupt-parent = <&pinctrl_ap>;
interrupts = <138 IRQ_TYPE_EDGE_RISING>;
/* Per-device factory data from this Mac's own iBoot system container */
firmware-name = "apple/mesacal-j714s.bin", "apple/msrk-j714s.bin";
};
};
/* Touch ID: the SEP and the Mesa sensor, with this Mac's own calibration and root key */
#define T6050_TOUCHID_FIRMWARE "apple/mesacal-j714s.bin", "apple/msrk-j714s.bin"
#include "t6050-touchid.dtsi"

/*
* The ProRes engine (apr0) and its DART, in the SCODEC power state. Its
Expand Down
29 changes: 0 additions & 29 deletions arch/arm64/boot/dts/apple/t6050-j716c-sep.dtsi

This file was deleted.

40 changes: 3 additions & 37 deletions arch/arm64/boot/dts/apple/t6050-j716c.dts
Original file line number Diff line number Diff line change
Expand Up @@ -284,49 +284,15 @@
63 2e 00 06 02 69 4f 53 00 00 00 00];
};

/*
* Touch ID (ADT spi2/mesa), wired as on the J714s: the Mesa sensor (sensor-id
* 0x3356) at 8 MHz on chip select 0, powered by NUB GPIO 21 (function-mesa_pwr),
* data ready on AP GPIO 138. The controller's clock (ADT clock-ids 451) is the
* 24 MHz reference.
*/
&ps_nub_gpio {
status = "okay";
};

&nub_gpio0 {
status = "okay";
};

&ps_spi2 {
status = "okay";
};

&spi2 {
clocks = <&clkref>;
status = "okay";

mesa: fingerprint@0 {
compatible = "apple,mesa-fingerprint";
reg = <0>;
spi-max-frequency = <8000000>;
spi-cpol;
spi-cs-setup-delay-ns = <20>;
spi-cs-hold-delay-ns = <20>;
enable-gpios = <&nub_gpio0 21 GPIO_ACTIVE_HIGH>;
interrupt-parent = <&pinctrl_ap>;
interrupts = <138 IRQ_TYPE_EDGE_RISING>;
/* Per-device factory data from this Mac's own iBoot system container */
firmware-name = "apple/mesacal-j716c.bin", "apple/msrk-j716c.bin";
};
};
/* Touch ID: the SEP and the Mesa sensor, with this Mac's own calibration and root key */
#define T6050_TOUCHID_FIRMWARE "apple/mesacal-j716c.bin", "apple/msrk-j716c.bin"
#include "t6050-touchid.dtsi"

#include "t6050-j716c-isp.dtsi"
#include "t6050-j716c-gpu-panel.dtsi"

#include "t6050-j716c-display.dtsi"
#include "t6050-j716c-left-usb4.dtsi"
#include "t6050-j716c-sep.dtsi"

#include "t6050-j716c-sleep.dtsi"
#include "t6050-j716c-sleep-full.dtsi"
Expand Down
8 changes: 4 additions & 4 deletions arch/arm64/boot/dts/apple/t6050-k114-k116.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@

/*
* As on J716c, where reading pin 112 takes an SError, only the pins a node
* names are exposed: 80 and 81, PCIe ports 0 and 1's PERST#, and 134 and 139,
* the jack codec's interrupt and reset. A board that names more pins replaces
* the list.
* names are exposed: 80 and 81, PCIe ports 0 and 1's PERST#; 134 and 139, the jack
* codec's interrupt and reset; 138, the Touch ID sensor's data-ready line
* (t6050-touchid.dtsi). A board that names more pins replaces the list.
*/
&pinctrl_ap {
gpio-reserved-ranges = <0 80>, <82 52>, <135 4>, <140 81>;
gpio-reserved-ranges = <0 80>, <82 52>, <135 3>, <140 81>;
};

/*
Expand Down
4 changes: 2 additions & 2 deletions arch/arm64/boot/dts/apple/t6050-k114.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
* exposed: 80 and 81 (PCIe ports 0 and 1's PERST#); 106 and 107, the speaker amps'
* interrupt and shutdown line (ADT audio-speaker, used only where a board describes
* the amps); 134 and 139, the jack codec's interrupt and reset; 136 and 137, the
* speaker ID.
* speaker ID; 138, the Touch ID sensor's data-ready line (t6050-touchid.dtsi).
*/
&pinctrl_ap {
gpio-reserved-ranges = <0 80>, <82 24>, <108 26>, <135 1>, <138 1>, <140 81>;
gpio-reserved-ranges = <0 80>, <82 24>, <108 26>, <135 1>, <140 81>;
};

/*
Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/apple/t6050-k114c.dts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@
height-mm = <199>;
};

/* Touch ID: the SEP and the Mesa sensor, with this Mac's own calibration and root key */
#define T6050_TOUCHID_FIRMWARE "apple/mesacal-k114c.bin", "apple/msrk-k114c.bin"
#include "t6050-touchid.dtsi"

/*
* The K114c keeps J714's card with its speakers, at the J714's safe level. The
* chassis' K114 entry (t6050-k114.dtsi) has the jack only.
Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/apple/t6050-k114s.dts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
height-mm = <199>;
};

/* Touch ID: the SEP and the Mesa sensor, with this Mac's own calibration and root key */
#define T6050_TOUCHID_FIRMWARE "apple/mesacal-k114s.bin", "apple/msrk-k114s.bin"
#include "t6050-touchid.dtsi"

/*
* The USB-C ports ATC1 and ATC2, as on the other K boards (t6050-k114-k116-usb.dtsi), then the
* 14-inch chassis' MagSafe 3 PD controller and the right port's USB4/Thunderbolt router
Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/apple/t6050-k116c.dts
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,9 @@
height-mm = <223>;
};

/* Touch ID: the SEP and the Mesa sensor, with this Mac's own calibration and root key */
#define T6050_TOUCHID_FIRMWARE "apple/mesacal-k116c.bin", "apple/msrk-k116c.bin"
#include "t6050-touchid.dtsi"

/* The USB-C ports ATC1 and ATC2, as on the other K boards */
#include "t6050-k114-k116-usb.dtsi"
68 changes: 3 additions & 65 deletions arch/arm64/boot/dts/apple/t6050-k116s.dts
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@
#define T6050_K116S
#include "t6050-peripherals.dtsi"

/ {
aliases {
/* the boot loader reserves the SEP firmware and adds its manifests through this alias */
sep = &sep;
};
};

&pinctrl_ap {
/*
* Pin 112 takes an SError when read, so only the pins a node names are
Expand Down Expand Up @@ -176,29 +169,6 @@

#include "t6050-k116s-pmp-tunables.dtsi"

/*
* The SEP (ADT sep, dart-sep), as on the J714s: its mailbox, and its power domain with the two
* fabric parents left to the firmware, which genpd votes on and never turns off. The boot
* loader enables the SEP itself through its alias.
*/
&sep_mbox {
status = "okay";
};

&ps_sep {
status = "okay";
};

&ps_fab8_soc {
apple,firmware-owned;
status = "okay";
};

&ps_fab0_piogw {
apple,firmware-owned;
status = "okay";
};

/* Sound: the J714s description, every value checked against the K116s ADT. */
/*
* The amps' shared shutdown line (SDZ): ADT audio-speaker function-reset, AP pin 107. One
Expand Down Expand Up @@ -544,41 +514,9 @@
status = "okay";
};

/*
* Touch ID (ADT spi2/mesa): the Mesa sensor on spi2 at 8 MHz, chip select 0,
* powered by NUB GPIO 21 (function-mesa_pwr), data ready on AP GPIO 138, as
* on the J714s. spi2 runs from the 24 MHz reference (ADT clock-ids 451).
*/
&ps_nub_gpio {
status = "okay";
};

&nub_gpio0 {
status = "okay";
};

&ps_spi2 {
status = "okay";
};

&spi2 {
clocks = <&clkref>;
status = "okay";

mesa: fingerprint@0 {
compatible = "apple,mesa-fingerprint";
reg = <0>;
spi-max-frequency = <8000000>;
spi-cpol;
spi-cs-setup-delay-ns = <20>;
spi-cs-hold-delay-ns = <20>;
enable-gpios = <&nub_gpio0 21 GPIO_ACTIVE_HIGH>;
interrupt-parent = <&pinctrl_ap>;
interrupts = <138 IRQ_TYPE_EDGE_RISING>;
/* Per-device factory data from this Mac's own iBoot system container */
firmware-name = "apple/mesacal-k116s.bin", "apple/msrk-k116s.bin";
};
};
/* Touch ID: the SEP and the Mesa sensor, with this Mac's own calibration and root key */
#define T6050_TOUCHID_FIRMWARE "apple/mesacal-k116s.bin", "apple/msrk-k116s.bin"
#include "t6050-touchid.dtsi"

/*
* The video encoder's power states, as on the J714s. iBoot leaves VENC0_SYS on, and the SoC does
Expand Down
34 changes: 34 additions & 0 deletions arch/arm64/boot/dts/apple/t6050-sep.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// SPDX-License-Identifier: GPL-2.0+ OR MIT
/*
* The SEP (ADT sep, dart-sep) on the T6050 laptops: its mailbox, and its power domain with the
* two fabric parents left to the firmware, which genpd votes on and never turns off. The SEP
* and its DART stay disabled here: apple_sep enables them after it selects its policy, and only
* where the mailbox is enabled.
*
* Included after t6050-peripherals.dtsi.
*/

/ {
aliases {
/* the boot loader reserves the SEP firmware and adds its manifests through this alias */
sep = &sep;
};
};

&sep_mbox {
status = "okay";
};

&ps_sep {
status = "okay";
};

&ps_fab8_soc {
apple,firmware-owned;
status = "okay";
};

&ps_fab0_piogw {
apple,firmware-owned;
status = "okay";
};
Loading
Loading