From: Sven Peter <sven@kernel.org>
To: Yureka Lilian <yureka@cyberchaos.dev>
Cc: "Hector Martin" <marcan@marcan.st>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
linux-watchdog@vger.kernel.org,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Uwe Kleine-König" <ukleinek@kernel.org>,
"Neal Gompa" <neal@gompa.dev>, "Janne Grunau" <j@jannau.net>,
"Lorenzo Pieralisi" <lpieralisi@kernel.org>,
"Guenter Roeck" <linux@roeck-us.net>,
"Wim Van Sebroeck" <wim@linux-watchdog.org>,
"Linus Walleij" <linusw@kernel.org>,
"Sasha Finkelstein" <k@chaosmail.tech>,
linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org,
"Thomas Gleixner" <tglx@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
linux-pwm@vger.kernel.org, "Andi Shyti" <andi.shyti@kernel.org>,
"Mark Kettenis" <kettenis@openbsd.org>
Subject: Re: [PATCH 10/10] arm64: dts: apple: Add minimal t8132 (M4) device trees
Date: Tue, 14 Jul 2026 21:47:59 +0200 [thread overview]
Message-ID: <6c3a01f7-957d-4dc4-a892-3af2826928af@kernel.org> (raw)
In-Reply-To: <20260705-apple-m4-initial-devicetrees-v1-10-e5655ee56523@cyberchaos.dev>
On 7/5/26 15:17, Yureka Lilian wrote:
> Added device trees for the following devices:
> - apple,j604 - MacBook Pro (14-inch, M4, 2024)
> - apple,j623 - iMac (24-inch, 2x USB-C, M4, 2024)
> - apple,j624 - iMac (24-inch, 4x USB-C, M4, 2024)
> - apple,j713 - MacBook Air (13-inch, M4, 2025)
> - apple,j715 - MacBook Air (15-inch, M4, 2025)
> - apple,j773g - Mac mini (M4, 2024)
>
> The device trees have a minimal set of devices limited to CPU cores,
> interrupt controller, power states, watchdog, serial, pin controller,
> i2c and framebuffer.
> The device trees for the notebooks add a PWM controller for the keyboard
> LED illumination.
>
> Using the macOS 26.6b3 iBoot/firmware, the Mac mini reliably boots on a
> single core using the stock kernel.
> Booting with smp requires avoiding the wfi and wfit instructions
> in the idle loop and `delay()` respectively, since those instructions
> cause a loss of architectural state on the secondary cores, and even
> then boot is unreliable.
>
> Signed-off-by: Yureka Lilian <yureka@cyberchaos.dev>
> ---
> arch/arm64/boot/dts/apple/Makefile | 6 +
> arch/arm64/boot/dts/apple/t8132-j604.dts | 35 +
> arch/arm64/boot/dts/apple/t8132-j623.dts | 18 +
> arch/arm64/boot/dts/apple/t8132-j624.dts | 18 +
> arch/arm64/boot/dts/apple/t8132-j713.dts | 35 +
> arch/arm64/boot/dts/apple/t8132-j715.dts | 35 +
> arch/arm64/boot/dts/apple/t8132-j773g.dts | 25 +
> arch/arm64/boot/dts/apple/t8132-jxxx.dtsi | 48 ++
> arch/arm64/boot/dts/apple/t8132-pmgr.dtsi | 1125 +++++++++++++++++++++++++++++
> arch/arm64/boot/dts/apple/t8132.dtsi | 440 +++++++++++
> 10 files changed, 1785 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/apple/Makefile b/arch/arm64/boot/dts/apple/Makefile
> index 6fc3349a5842..181bd0e28965 100644
> --- a/arch/arm64/boot/dts/apple/Makefile
> +++ b/arch/arm64/boot/dts/apple/Makefile
> @@ -1,4 +1,10 @@
> # SPDX-License-Identifier: GPL-2.0
> +dtb-$(CONFIG_ARCH_APPLE) += t8132-j604.dtb
> +dtb-$(CONFIG_ARCH_APPLE) += t8132-j623.dtb
> +dtb-$(CONFIG_ARCH_APPLE) += t8132-j624.dtb
> +dtb-$(CONFIG_ARCH_APPLE) += t8132-j713.dtb
> +dtb-$(CONFIG_ARCH_APPLE) += t8132-j715.dtb
> +dtb-$(CONFIG_ARCH_APPLE) += t8132-j773g.dtb
Please put these at the correct position in the Makefile and not at the
very top.
> dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j71.dtb
> dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j73.dtb
> dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j85m.dtb
> diff --git a/arch/arm64/boot/dts/apple/t8132-j604.dts b/arch/arm64/boot/dts/apple/t8132-j604.dts
> new file mode 100644
> index 000000000000..c4be915cb33a
> --- /dev/null
> +++ b/arch/arm64/boot/dts/apple/t8132-j604.dts
> @@ -0,0 +1,35 @@
> +// SPDX-License-Identifier: GPL-2.0+ OR MIT
> +/*
> + * Apple MacBook Pro (14-inch, M4, 2024)
> + *
> + * target-type: J604
> + *
[...]
> +
> + pmgr: power-management@380700000 {
> + compatible = "apple,t8132-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd";
> + #address-cells = <1>;
> + #size-cells = <1>;
> + reg = <0x3 0x80700000 0 0x14000>;
> + /* child nodes are added in t8132-pmgr.dtsi */
> + };
> +
> + aic: interrupt-controller@381180000 {
> + compatible = "apple,t8132-aic3", "apple,t8122-aic3";
> + #interrupt-cells = <3>;
> + interrupt-controller;
> + reg = <0x00000003 0x81000000 0x00000000 0x1cc000>,
You have 381180000 in the node name but 381000000 here, I guess the node
name is a copy paste error. W=1 flags this fwiw.
Sven
prev parent reply other threads:[~2026-07-14 19:48 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-05 13:17 [PATCH 00/10] Initial Apple silicon M4 device trees and dt-bindings Yureka Lilian
2026-07-05 13:17 ` [PATCH 01/10] dt-bindings: arm: cpus: Add Apple M4 CPU core compatibles Yureka Lilian
2026-07-08 8:35 ` Krzysztof Kozlowski
2026-07-05 13:17 ` [PATCH 02/10] dt-bindings: interrupt-controller: apple,aic2: Add apple,t8132 compatible Yureka Lilian
2026-07-08 8:35 ` Krzysztof Kozlowski
2026-07-05 13:17 ` [PATCH 03/10] dt-bindings: watchdog: apple,wdt: Add t8132 compatible Yureka Lilian
2026-07-08 8:35 ` Krzysztof Kozlowski
2026-07-08 14:00 ` Guenter Roeck
2026-07-05 13:17 ` [PATCH 04/10] dt-bindings: arm: apple: apple,pmgr: " Yureka Lilian
2026-07-08 8:37 ` Krzysztof Kozlowski
2026-07-05 13:17 ` [PATCH 05/10] dt-bindings: power: apple,pmgr-pwrstate: " Yureka Lilian
2026-07-08 8:38 ` Krzysztof Kozlowski
2026-07-05 13:17 ` [PATCH 06/10] dt-bindings: pinctrl: apple,pinctrl: " Yureka Lilian
2026-07-05 13:17 ` [PATCH 07/10] dt-bindings: i2c: apple,i2c: " Yureka Lilian
2026-07-05 13:17 ` [PATCH 08/10] dt-bindings: pwm: apple,s5l-fpwm: " Yureka Lilian
2026-07-05 13:17 ` [PATCH 09/10] dt-bindings: arm: apple: Add M4 based devices Yureka Lilian
2026-07-14 19:50 ` Sven Peter
2026-07-14 20:17 ` Yureka Lilian
2026-07-05 13:17 ` [PATCH 10/10] arm64: dts: apple: Add minimal t8132 (M4) device trees Yureka Lilian
2026-07-14 19:47 ` Sven Peter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6c3a01f7-957d-4dc4-a892-3af2826928af@kernel.org \
--to=sven@kernel.org \
--cc=andi.shyti@kernel.org \
--cc=asahi@lists.linux.dev \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=j@jannau.net \
--cc=k@chaosmail.tech \
--cc=kettenis@openbsd.org \
--cc=krzk+dt@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=lpieralisi@kernel.org \
--cc=marcan@marcan.st \
--cc=neal@gompa.dev \
--cc=robh@kernel.org \
--cc=tglx@kernel.org \
--cc=ukleinek@kernel.org \
--cc=wim@linux-watchdog.org \
--cc=yureka@cyberchaos.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox