[PATCH 4/4] arm64: dts: apple: t8122: Add SMC and its mailbox
From: Michael Reeves via B4 Relay
Date: Sat Nov 21 2026 - 03:34:53 EST
From: Michael Reeves <michael.reeves077@xxxxxxxxx>
Add the System Management Controller node, its ASC mailbox, and GPIO,
hwmon, reboot, and RTC child nodes for the Apple M3 (T8122) SoC.
Co-developed-by: Sasha Finkelstein <k@xxxxxxxxxxxxxx>
Signed-off-by: Sasha Finkelstein <k@xxxxxxxxxxxxxx>
Co-developed-by: Janne Grunau <j@xxxxxxxxxx>
Signed-off-by: Janne Grunau <j@xxxxxxxxxx>
Signed-off-by: Michael Reeves <michael.reeves077@xxxxxxxxx>
---
arch/arm64/boot/dts/apple/t8122.dtsi | 45 ++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/arch/arm64/boot/dts/apple/t8122.dtsi b/arch/arm64/boot/dts/apple/t8122.dtsi
index 3766da3c7b18..c585634250fc 100644
--- a/arch/arm64/boot/dts/apple/t8122.dtsi
+++ b/arch/arm64/boot/dts/apple/t8122.dtsi
@@ -468,6 +468,51 @@ rtc_offset: rtc-offset@f900 {
};
};
+ smc: smc@2ec400000 {
+ compatible = "apple,t8122-smc", "apple,t8103-smc";
+ reg = <0x2 0xec400000 0x0 0x4000>,
+ <0x2 0xede00000 0x0 0x100000>;
+ reg-names = "smc", "sram";
+ mboxes = <&smc_mbox>;
+
+ smc_gpio: gpio {
+ compatible = "apple,smc-gpio";
+ gpio-controller;
+ #gpio-cells = <2>;
+ };
+
+ smc_hwmon: hwmon {
+ compatible = "apple,smc-hwmon";
+ };
+
+ smc_reboot: reboot {
+ compatible = "apple,smc-reboot";
+ nvmem-cells = <&shutdown_flag>, <&boot_stage>,
+ <&boot_error_count>, <&panic_count>;
+ nvmem-cell-names = "shutdown_flag", "boot_stage",
+ "boot_error_count", "panic_count";
+ };
+
+ rtc {
+ compatible = "apple,smc-rtc";
+ nvmem-cells = <&rtc_offset>;
+ nvmem-cell-names = "rtc_offset";
+ };
+ };
+
+ smc_mbox: mbox@2ec408000 {
+ compatible = "apple,t8122-asc-mailbox", "apple,asc-mailbox-v4";
+ reg = <0x2 0xec408000 0x0 0x4000>;
+ interrupt-parent = <&aic>;
+ interrupts = <AIC_IRQ 502 IRQ_TYPE_LEVEL_HIGH>,
+ <AIC_IRQ 503 IRQ_TYPE_LEVEL_HIGH>,
+ <AIC_IRQ 504 IRQ_TYPE_LEVEL_HIGH>,
+ <AIC_IRQ 505 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "send-empty", "send-not-empty",
+ "recv-empty", "recv-not-empty";
+ #mbox-cells = <0>;
+ };
+
pinctrl_smc: pinctrl@2ec820000 {
compatible = "apple,t8122-pinctrl", "apple,t8103-pinctrl";
reg = <0x2 0xec820000 0x0 0x4000>;
--
2.56.0