From 8659491e4054f37e9999ec1f6dac264b8434e6b0 Mon Sep 17 00:00:00 2001 From: Julian Arango <95070226+ja-818@users.noreply.github.com> Date: Mon, 23 Nov 2026 02:42:36 +0000 Subject: [PATCH 1/2] arm64: dts: apple: t6050-j716s: describe the GPU and the internal panel The J716s had no GPU or internal-panel nodes, so the loader's display and GPU handoff refused it (no dcp, disp0 or gpu alias) and Linux stayed on the boot framebuffer. Add t6050-j716s-gpu-panel.dtsi after t6050-j714s-gpu-panel.dtsi: the chip-level nodes (sgx, the GFX and GFX1 ASCs, the dart-dcp and dart-disp0 windows, clocks), each checked against the J716sAP 27.2 (26B123) ADT, where they match the J714s's, and the J716s's own 16-inch 3456x2234 mini-LED panel. Everything stays disabled until the loader enables it. Seen on one J716s (27.2 stub) with omarchy-m5's v272-17 kernel and a J716s GPU board entry in the driver: apple-dcp drives the panel at 3456x2234 with backlight control, the GPU driver registers, and the panel comes back after lid sleep. The GPU also needs the driver's J716s board support (#1173); this only describes the hardware. Signed-off-by: Julian Arango <95070226+ja-818@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 --- .../boot/dts/apple/t6050-j716s-gpu-panel.dtsi | 155 ++++++++++++++++++ arch/arm64/boot/dts/apple/t6050-j716s.dts | 3 + 2 files changed, 158 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/t6050-j716s-gpu-panel.dtsi diff --git a/arch/arm64/boot/dts/apple/t6050-j716s-gpu-panel.dtsi b/arch/arm64/boot/dts/apple/t6050-j716s-gpu-panel.dtsi new file mode 100644 index 0000000000000..7eb6e1fc41bff --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j716s-gpu-panel.dtsi @@ -0,0 +1,155 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * J716s internal panel and GPU (G17S), for the boot loader's display and GPU + * handoff, after t6050-j714s-gpu-panel.dtsi. Everything here stays disabled: the loader + * checks the ADT and the live DCP, DART and GPU firmware state, publishes the + * DCP's firmware properties and fills the GPU reservations, and only then + * enables the nodes, the GPU last. A loader without the handoff, or one whose + * checks fail, leaves the boot framebuffer to simpledrm and the GPU off. + * + * Chip-level values (sgx, gfx-asc, gfx1-asc, dart-dcp and dart-disp0 windows, + * clock-ids) checked against the J716sAP 27.2 (26B123) ADT: the same as the + * J714s's. The panel is the J716s's own (rolotrealanis98's J716s, booted with + * the DCP on 27.3). The external display engines are left out: their routes + * on this board are not described yet, so they stay as t6050 leaves them. + */ + +/ { + aliases { + /* The loader writes apple,notch-height into the "dcp" alias */ + dcp = &dcp; + disp0 = &display; + /* The loader finds the GPU through this alias */ + gpu = &sgx; + }; + + /* As on t6050-ultra.dtsi, with the internal display's DART (disp0, SID 0) */ + display: display-subsystem { + compatible = "apple,display-subsystem"; + iommus = <&disp0_dart 0>; + status = "disabled"; + }; + + reserved-memory { + /* Filled and enabled by the loader from the ADT */ + gpu_fw_text: gpu-fw-text { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + gpu_fw_data: gpu-fw-data { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + uat_ttbs: uat-ttbs { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + uat_pagetables: uat-pagetables { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + uat_l2_pagetables: uat-l2-pagetables { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + uat_handoff: uat-handoff { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + }; +}; + +/* ADT dart-dcp and dart-disp0: vm-base 1 TiB, vm-size 3 TiB */ +&dcp_dart { + apple,dma-range = <0x100 0x0 0x300 0x0>; +}; + +&disp0_dart { + apple,dma-range = <0x100 0x0 0x300 0x0>; +}; + +&dcp { + /* + * The 16.2-inch 3456x2234 mini-LED panel (254.6 ppi); adj-height-mm is + * the 2160 rows below the 74-row notch. + */ + panel { + compatible = "apple,panel-j716", "apple,panel-mini-led", "apple,panel"; + width-mm = <345>; + height-mm = <223>; + adj-height-mm = <216>; + apple,max-brightness = <600>; + }; +}; + +/* The inventory ASC nodes; the mailboxes below describe the same windows. */ +/delete-node/ &gfx_asc; +/delete-node/ &gfx1_asc; + +&{/soc} { + /* + * ADT gfx-asc and gfx1-asc at their physical windows: the wrapper, the + * 8-byte iop-vbar, and their second and third interrupts (send-empty, + * recv-not-empty), as T8140/T8142. + */ + gfx_mbox: mailbox@2302600000 { + compatible = "apple,t6050-j775d-ascwrap-v6"; + reg = <0x23 0x2600000 0x0 0x88000>, + <0x23 0x2050000 0x0 0x8>; + reg-names = "wrapper", "iop-vbar"; + interrupts = , + ; + interrupt-names = "send-empty", "recv-not-empty"; + apple,firmware-role = "GFX"; + power-domains = <&ps_gfx>; + #mbox-cells = <0>; + status = "disabled"; + }; + + gfx1_mbox: mailbox@2302e00000 { + compatible = "apple,t6050-j775d-ascwrap-v6"; + reg = <0x23 0x2e00000 0x0 0x88000>, + <0x23 0x2850000 0x0 0x8>; + reg-names = "wrapper", "iop-vbar"; + interrupts = , + ; + interrupt-names = "send-empty", "recv-not-empty"; + apple,firmware-role = "GFX1"; + power-domains = <&ps_gfx>; + #mbox-cells = <0>; + status = "disabled"; + }; +}; + +/* The ADT marks GPX and AFR, GFX's parents, critical. */ +&ps_gpx { + apple,always-on; +}; + +&ps_afr { + apple,always-on; +}; + +&sgx { + compatible = "apple,agx-g17s"; + /* ADT sgx reg[0]; the driver maps the first 16 MiB as "sgx" */ + reg = <0x23 0x0 0x0 0x3fdc000>; + reg-names = "sgx"; + /delete-property/ interrupts; + mboxes = <&gfx_mbox>, <&gfx1_mbox>; + memory-region = <&uat_ttbs>, <&uat_pagetables>, <&uat_handoff>, + <&gpu_fw_data>, <&uat_l2_pagetables>, <&gpu_fw_text>; + memory-region-names = "ttbs", "pagetables", "handoff", "fw-data", + "l2-pagetables", "fw-text"; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j716s.dts b/arch/arm64/boot/dts/apple/t6050-j716s.dts index 72ef21fce1bf4..587d26f1d7db0 100644 --- a/arch/arm64/boot/dts/apple/t6050-j716s.dts +++ b/arch/arm64/boot/dts/apple/t6050-j716s.dts @@ -585,3 +585,6 @@ #define T6050_J716S #include "t6050-peripherals.dtsi" + +/* The GPU and the internal panel, for the boot loader's handoff */ +#include "t6050-j716s-gpu-panel.dtsi" From 90b979684c1f58ccaa0504d98318ca210d9e113c Mon Sep 17 00:00:00 2001 From: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> Date: Sun, 29 Nov 2026 15:08:15 +1100 Subject: [PATCH 2/2] arm64: dts: apple: t6050-j716s: share the GPU nodes with the J714s The J716s file was the J714s file apart from the panel node. Move the chip-level display and GPU nodes into t6050-j714s-j716s-gpu.dtsi and keep only each board's panel in its gpu-panel file; the J714s DTB is unchanged. Drop the J716s panel's fixed apple,max-brightness: the loader's T6050 display handoff supplies the backlight ceiling from the ADT, as on the J714s. Say that the panel dimensions are computed from 254.6 ppi. The GPU mailboxes replace the gfx_asc and gfx1_asc inventory nodes, so point the J716s ADT coverage manifest at /soc/mailbox@2302600000 and /soc/mailbox@2302e00000; dt-checks failed on the absent /soc/gpu-coproc@2302e00000. Signed-off-by: Ryan Murray --- .../dts/apple/adt-coverage/t6050-j716s.txt | 6 +- .../boot/dts/apple/t6050-j714s-gpu-panel.dtsi | 138 +---------------- .../boot/dts/apple/t6050-j714s-j716s-gpu.dtsi | 141 +++++++++++++++++ .../boot/dts/apple/t6050-j716s-gpu-panel.dtsi | 146 +----------------- 4 files changed, 154 insertions(+), 277 deletions(-) create mode 100644 arch/arm64/boot/dts/apple/t6050-j714s-j716s-gpu.dtsi diff --git a/arch/arm64/boot/dts/apple/adt-coverage/t6050-j716s.txt b/arch/arm64/boot/dts/apple/adt-coverage/t6050-j716s.txt index b7d69b9fd04ad..99d1962290efc 100644 --- a/arch/arm64/boot/dts/apple/adt-coverage/t6050-j716s.txt +++ b/arch/arm64/boot/dts/apple/adt-coverage/t6050-j716s.txt @@ -1510,10 +1510,10 @@ /arm-io/sgx/:sotra_h17s_0 - -> MISSING /arm-io/sgx/:sotra_h17cr1_0 - -> MISSING /arm-io/sgx/:sotra_h17cr2_0 - -> MISSING -/arm-io/gfx-asc 0x2302600000 -> MISSING +/arm-io/gfx-asc 0x2302600000 -> /soc/mailbox@2302600000 /arm-io/gfx-asc/iop-gfx-nub - -> WAIVED: Firmware endpoint container; hosting coprocessor is inventoried separately. -/arm-io/gfx1-asc 0x2302e00000 -> /soc/gpu-coproc@2302e00000 -/arm-io/gfx1-asc/iop-gfx1-nub - -> /soc/gpu-coproc@2302e00000 +/arm-io/gfx1-asc 0x2302e00000 -> /soc/mailbox@2302e00000 +/arm-io/gfx1-asc/iop-gfx1-nub - -> /soc/mailbox@2302e00000 /arm-io/mapper-gfx-asc - -> WAIVED: GPU firmware IOMMU stream; represented by the GPU IOMMU relationship. /arm-io/sapt - -> WAIVED: Firmware audio performance policy, not an independent hardware block. /arm-io/sapt/:sotra_h17d_92 - -> MISSING diff --git a/arch/arm64/boot/dts/apple/t6050-j714s-gpu-panel.dtsi b/arch/arm64/boot/dts/apple/t6050-j714s-gpu-panel.dtsi index 5b8a5e3862ff0..2f8c6688b24b6 100644 --- a/arch/arm64/boot/dts/apple/t6050-j714s-gpu-panel.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-j714s-gpu-panel.dtsi @@ -1,81 +1,10 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT /* - * J714s internal panel, external display engines and GPU (G17S), for the boot - * loader's display and GPU handoff. Everything here stays disabled: the loader - * checks the ADT and the live DCP, DART and GPU firmware state, publishes the - * DCP's firmware properties and fills the GPU reservations, and only then - * enables the nodes, the GPU last. A loader without the handoff, or one whose - * checks fail, leaves the boot framebuffer to simpledrm and the GPU off. - * - * Values are from the J714sAP 27.0 ADT (dcp, dart-dcp, dart-disp0, dcpext*, - * dart-dcpext*, dart-dispext*, sgx, gfx-asc, gfx1-asc, pmgr) and the GPU - * firmware's own boot arguments (dArW, the two ASC wrappers). + * J714s internal panel and GPU (G17S), for the boot loader's display and GPU + * handoff: the chip-level nodes shared with the J716s, and this board's panel. */ -/ { - aliases { - /* The loader writes apple,notch-height into the "dcp" alias */ - dcp = &dcp; - disp0 = &display; - /* The loader finds the GPU through this alias */ - gpu = &sgx; - }; - - /* As on t6050-ultra.dtsi, with the internal display's DART (disp0, SID 0) */ - display: display-subsystem { - compatible = "apple,display-subsystem"; - iommus = <&disp0_dart 0>; - status = "disabled"; - }; - - reserved-memory { - /* Filled and enabled by the loader from the ADT */ - gpu_fw_text: gpu-fw-text { - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - - gpu_fw_data: gpu-fw-data { - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - - uat_ttbs: uat-ttbs { - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - - uat_pagetables: uat-pagetables { - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - - uat_l2_pagetables: uat-l2-pagetables { - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - - uat_handoff: uat-handoff { - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - }; -}; - -/* ADT dart-dcp and dart-disp0: vm-base 1 TiB, vm-size 3 TiB */ -&dcp_dart { - apple,dma-range = <0x100 0x0 0x300 0x0>; -}; - -&disp0_dart { - apple,dma-range = <0x100 0x0 0x300 0x0>; -}; +#include "t6050-j714s-j716s-gpu.dtsi" &dcp { /* @@ -89,64 +18,3 @@ adj-height-mm = <189>; }; }; - -/* The inventory ASC nodes; the mailboxes below describe the same windows. */ -/delete-node/ &gfx_asc; -/delete-node/ &gfx1_asc; - -&{/soc} { - /* - * ADT gfx-asc and gfx1-asc at their physical windows: the wrapper, the - * 8-byte iop-vbar, and their second and third interrupts (send-empty, - * recv-not-empty), as T8140/T8142. - */ - gfx_mbox: mailbox@2302600000 { - compatible = "apple,t6050-j775d-ascwrap-v6"; - reg = <0x23 0x2600000 0x0 0x88000>, - <0x23 0x2050000 0x0 0x8>; - reg-names = "wrapper", "iop-vbar"; - interrupts = , - ; - interrupt-names = "send-empty", "recv-not-empty"; - apple,firmware-role = "GFX"; - power-domains = <&ps_gfx>; - #mbox-cells = <0>; - status = "disabled"; - }; - - gfx1_mbox: mailbox@2302e00000 { - compatible = "apple,t6050-j775d-ascwrap-v6"; - reg = <0x23 0x2e00000 0x0 0x88000>, - <0x23 0x2850000 0x0 0x8>; - reg-names = "wrapper", "iop-vbar"; - interrupts = , - ; - interrupt-names = "send-empty", "recv-not-empty"; - apple,firmware-role = "GFX1"; - power-domains = <&ps_gfx>; - #mbox-cells = <0>; - status = "disabled"; - }; -}; - -/* The ADT marks GPX and AFR, GFX's parents, critical. */ -&ps_gpx { - apple,always-on; -}; - -&ps_afr { - apple,always-on; -}; - -&sgx { - compatible = "apple,agx-g17s"; - /* ADT sgx reg[0]; the driver maps the first 16 MiB as "sgx" */ - reg = <0x23 0x0 0x0 0x3fdc000>; - reg-names = "sgx"; - /delete-property/ interrupts; - mboxes = <&gfx_mbox>, <&gfx1_mbox>; - memory-region = <&uat_ttbs>, <&uat_pagetables>, <&uat_handoff>, - <&gpu_fw_data>, <&uat_l2_pagetables>, <&gpu_fw_text>; - memory-region-names = "ttbs", "pagetables", "handoff", "fw-data", - "l2-pagetables", "fw-text"; -}; diff --git a/arch/arm64/boot/dts/apple/t6050-j714s-j716s-gpu.dtsi b/arch/arm64/boot/dts/apple/t6050-j714s-j716s-gpu.dtsi new file mode 100644 index 0000000000000..7fd9fd3a25664 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j714s-j716s-gpu.dtsi @@ -0,0 +1,141 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * The chip-level internal display and GPU (G17S) nodes of the J714s and J716s, for the + * boot loader's display and GPU handoff. Each board's t6050--gpu-panel.dtsi + * includes this and adds its panel. Everything here stays disabled: the loader + * checks the ADT and the live DCP, DART and GPU firmware state, publishes the + * DCP's firmware properties and fills the GPU reservations, and only then + * enables the nodes, the GPU last. A loader without the handoff, or one whose + * checks fail, leaves the boot framebuffer to simpledrm and the GPU off. + * + * Values are from the J714sAP 27.0 ADT (dcp, dart-dcp, dart-disp0, sgx, gfx-asc, + * gfx1-asc, pmgr) and the GPU firmware's own boot arguments (dArW, the two ASC + * wrappers). The J716sAP 27.2 ADT has the same sgx, gfx-asc, gfx1-asc, dart-dcp + * and dart-disp0 values. + */ + +/ { + aliases { + /* The loader writes apple,notch-height into the "dcp" alias */ + dcp = &dcp; + disp0 = &display; + /* The loader finds the GPU through this alias */ + gpu = &sgx; + }; + + /* As on t6050-ultra.dtsi, with the internal display's DART (disp0, SID 0) */ + display: display-subsystem { + compatible = "apple,display-subsystem"; + iommus = <&disp0_dart 0>; + status = "disabled"; + }; + + reserved-memory { + /* Filled and enabled by the loader from the ADT */ + gpu_fw_text: gpu-fw-text { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + gpu_fw_data: gpu-fw-data { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + uat_ttbs: uat-ttbs { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + uat_pagetables: uat-pagetables { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + uat_l2_pagetables: uat-l2-pagetables { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + uat_handoff: uat-handoff { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + }; +}; + +/* ADT dart-dcp and dart-disp0: vm-base 1 TiB, vm-size 3 TiB */ +&dcp_dart { + apple,dma-range = <0x100 0x0 0x300 0x0>; +}; + +&disp0_dart { + apple,dma-range = <0x100 0x0 0x300 0x0>; +}; + +/* The inventory ASC nodes; the mailboxes below describe the same windows. */ +/delete-node/ &gfx_asc; +/delete-node/ &gfx1_asc; + +&{/soc} { + /* + * ADT gfx-asc and gfx1-asc at their physical windows: the wrapper, the + * 8-byte iop-vbar, and their second and third interrupts (send-empty, + * recv-not-empty), as T8140/T8142. + */ + gfx_mbox: mailbox@2302600000 { + compatible = "apple,t6050-j775d-ascwrap-v6"; + reg = <0x23 0x2600000 0x0 0x88000>, + <0x23 0x2050000 0x0 0x8>; + reg-names = "wrapper", "iop-vbar"; + interrupts = , + ; + interrupt-names = "send-empty", "recv-not-empty"; + apple,firmware-role = "GFX"; + power-domains = <&ps_gfx>; + #mbox-cells = <0>; + status = "disabled"; + }; + + gfx1_mbox: mailbox@2302e00000 { + compatible = "apple,t6050-j775d-ascwrap-v6"; + reg = <0x23 0x2e00000 0x0 0x88000>, + <0x23 0x2850000 0x0 0x8>; + reg-names = "wrapper", "iop-vbar"; + interrupts = , + ; + interrupt-names = "send-empty", "recv-not-empty"; + apple,firmware-role = "GFX1"; + power-domains = <&ps_gfx>; + #mbox-cells = <0>; + status = "disabled"; + }; +}; + +/* The ADT marks GPX and AFR, GFX's parents, critical. */ +&ps_gpx { + apple,always-on; +}; + +&ps_afr { + apple,always-on; +}; + +&sgx { + compatible = "apple,agx-g17s"; + /* ADT sgx reg[0]; the driver maps the first 16 MiB as "sgx" */ + reg = <0x23 0x0 0x0 0x3fdc000>; + reg-names = "sgx"; + /delete-property/ interrupts; + mboxes = <&gfx_mbox>, <&gfx1_mbox>; + memory-region = <&uat_ttbs>, <&uat_pagetables>, <&uat_handoff>, + <&gpu_fw_data>, <&uat_l2_pagetables>, <&gpu_fw_text>; + memory-region-names = "ttbs", "pagetables", "handoff", "fw-data", + "l2-pagetables", "fw-text"; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j716s-gpu-panel.dtsi b/arch/arm64/boot/dts/apple/t6050-j716s-gpu-panel.dtsi index 7eb6e1fc41bff..64448658daa06 100644 --- a/arch/arm64/boot/dts/apple/t6050-j716s-gpu-panel.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-j716s-gpu-panel.dtsi @@ -1,155 +1,23 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT /* * J716s internal panel and GPU (G17S), for the boot loader's display and GPU - * handoff, after t6050-j714s-gpu-panel.dtsi. Everything here stays disabled: the loader - * checks the ADT and the live DCP, DART and GPU firmware state, publishes the - * DCP's firmware properties and fills the GPU reservations, and only then - * enables the nodes, the GPU last. A loader without the handoff, or one whose - * checks fail, leaves the boot framebuffer to simpledrm and the GPU off. - * - * Chip-level values (sgx, gfx-asc, gfx1-asc, dart-dcp and dart-disp0 windows, - * clock-ids) checked against the J716sAP 27.2 (26B123) ADT: the same as the - * J714s's. The panel is the J716s's own (rolotrealanis98's J716s, booted with - * the DCP on 27.3). The external display engines are left out: their routes - * on this board are not described yet, so they stay as t6050 leaves them. + * handoff: the chip-level nodes shared with the J714s, and this board's panel. + * The external display engines are left out: their routes on this board are + * not described yet, so they stay as t6050 leaves them. */ -/ { - aliases { - /* The loader writes apple,notch-height into the "dcp" alias */ - dcp = &dcp; - disp0 = &display; - /* The loader finds the GPU through this alias */ - gpu = &sgx; - }; - - /* As on t6050-ultra.dtsi, with the internal display's DART (disp0, SID 0) */ - display: display-subsystem { - compatible = "apple,display-subsystem"; - iommus = <&disp0_dart 0>; - status = "disabled"; - }; - - reserved-memory { - /* Filled and enabled by the loader from the ADT */ - gpu_fw_text: gpu-fw-text { - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - - gpu_fw_data: gpu-fw-data { - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - - uat_ttbs: uat-ttbs { - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - - uat_pagetables: uat-pagetables { - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - - uat_l2_pagetables: uat-l2-pagetables { - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - - uat_handoff: uat-handoff { - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - }; -}; - -/* ADT dart-dcp and dart-disp0: vm-base 1 TiB, vm-size 3 TiB */ -&dcp_dart { - apple,dma-range = <0x100 0x0 0x300 0x0>; -}; - -&disp0_dart { - apple,dma-range = <0x100 0x0 0x300 0x0>; -}; +#include "t6050-j714s-j716s-gpu.dtsi" &dcp { /* - * The 16.2-inch 3456x2234 mini-LED panel (254.6 ppi); adj-height-mm is - * the 2160 rows below the 74-row notch. + * The 16.2-inch 3456x2234 mini-LED panel. width-mm and height-mm are + * computed from its 254.6 ppi; adj-height-mm is the 2160 rows below the + * 74-row notch. */ panel { compatible = "apple,panel-j716", "apple,panel-mini-led", "apple,panel"; width-mm = <345>; height-mm = <223>; adj-height-mm = <216>; - apple,max-brightness = <600>; }; }; - -/* The inventory ASC nodes; the mailboxes below describe the same windows. */ -/delete-node/ &gfx_asc; -/delete-node/ &gfx1_asc; - -&{/soc} { - /* - * ADT gfx-asc and gfx1-asc at their physical windows: the wrapper, the - * 8-byte iop-vbar, and their second and third interrupts (send-empty, - * recv-not-empty), as T8140/T8142. - */ - gfx_mbox: mailbox@2302600000 { - compatible = "apple,t6050-j775d-ascwrap-v6"; - reg = <0x23 0x2600000 0x0 0x88000>, - <0x23 0x2050000 0x0 0x8>; - reg-names = "wrapper", "iop-vbar"; - interrupts = , - ; - interrupt-names = "send-empty", "recv-not-empty"; - apple,firmware-role = "GFX"; - power-domains = <&ps_gfx>; - #mbox-cells = <0>; - status = "disabled"; - }; - - gfx1_mbox: mailbox@2302e00000 { - compatible = "apple,t6050-j775d-ascwrap-v6"; - reg = <0x23 0x2e00000 0x0 0x88000>, - <0x23 0x2850000 0x0 0x8>; - reg-names = "wrapper", "iop-vbar"; - interrupts = , - ; - interrupt-names = "send-empty", "recv-not-empty"; - apple,firmware-role = "GFX1"; - power-domains = <&ps_gfx>; - #mbox-cells = <0>; - status = "disabled"; - }; -}; - -/* The ADT marks GPX and AFR, GFX's parents, critical. */ -&ps_gpx { - apple,always-on; -}; - -&ps_afr { - apple,always-on; -}; - -&sgx { - compatible = "apple,agx-g17s"; - /* ADT sgx reg[0]; the driver maps the first 16 MiB as "sgx" */ - reg = <0x23 0x0 0x0 0x3fdc000>; - reg-names = "sgx"; - /delete-property/ interrupts; - mboxes = <&gfx_mbox>, <&gfx1_mbox>; - memory-region = <&uat_ttbs>, <&uat_pagetables>, <&uat_handoff>, - <&gpu_fw_data>, <&uat_l2_pagetables>, <&gpu_fw_text>; - memory-region-names = "ttbs", "pagetables", "handoff", "fw-data", - "l2-pagetables", "fw-text"; -};