Skip to content

Commit ddb3a57

Browse files
committed
arm64: dts: apple: Add SMC to M3 (t8122) device tree
Adds the System Management Contorller (SMC) to the Apple M3 SoC (t8122) device tree, including the SMC mailbox and the SMC itself, with GPIO and hwmon children. Signed-off-by: Michael Reeves <[email protected]>
1 parent ff49d90 commit ddb3a57

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

arch/arm64/boot/dts/apple/t8122.dtsi

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,37 @@
599599
interrupts = <AIC_IRQ 432 IRQ_TYPE_LEVEL_HIGH>;
600600
};
601601

602+
smc_mbox: mbox@2ec408000 {
603+
compatible = "apple,t8122-asc-mailbox", "apple,asc-mailbox-v4";
604+
reg = <0x2 0xec408000 0x0 0x4000>;
605+
interrupt-parent = <&aic>;
606+
interrupts = <AIC_IRQ 502 IRQ_TYPE_LEVEL_HIGH>,
607+
<AIC_IRQ 503 IRQ_TYPE_LEVEL_HIGH>,
608+
<AIC_IRQ 504 IRQ_TYPE_LEVEL_HIGH>,
609+
<AIC_IRQ 505 IRQ_TYPE_LEVEL_HIGH>;
610+
interrupt-names = "send-empty", "send-not-empty",
611+
"recv-empty", "recv-not-empty";
612+
#mbox-cells = <0>;
613+
};
614+
615+
smc: smc@2ec400000 {
616+
compatible = "apple,t8122-smc", "apple,smc";
617+
reg = <0x2 0xec400000 0x0 0x4000>,
618+
<0x2 0xede00000 0x0 0x100000>;
619+
reg-names = "smc", "sram";
620+
mboxes = <&smc_mbox>;
621+
622+
smc_gpio: gpio {
623+
compatible = "apple,smc-gpio";
624+
gpio-controller;
625+
#gpio-cells = <2>;
626+
};
627+
628+
smc_hwmon: hwmon {
629+
compatible = "apple,smc-hwmon";
630+
};
631+
};
632+
602633
pinctrl_smc: pinctrl@2ec820000 {
603634
compatible = "apple,t8122-pinctrl", "apple,t8103-pinctrl";
604635
reg = <0x2 0xec820000 0x0 0x4000>;

0 commit comments

Comments
 (0)