]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: apple: t8012: Add SPMI node
authorNick Chan <towinchenmi@gmail.com>
Mon, 15 Sep 2025 01:52:25 +0000 (09:52 +0800)
committerSven Peter <sven@kernel.org>
Thu, 18 Sep 2025 19:13:45 +0000 (21:13 +0200)
Add SPMI node for Apple T2 SoC.

Signed-off-by: Nick Chan <towinchenmi@gmail.com>
Signed-off-by: Sven Peter <sven@kernel.org>
arch/arm64/boot/dts/apple/t8012.dtsi

index a259e5735d938cfa5b29cee6c754c7a3c0aaae08..e7923814169bd4060706945561910ed1d5c2e0c8 100644 (file)
@@ -11,6 +11,7 @@
 #include <dt-bindings/interrupt-controller/apple-aic.h>
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/pinctrl/apple.h>
+#include <dt-bindings/spmi/spmi.h>
 
 / {
        interrupt-parent = <&aic>;
                                     <AIC_IRQ 137 IRQ_TYPE_LEVEL_HIGH>;
                };
 
+               spmi: spmi@211180700 {
+                       compatible = "apple,t8012-spmi", "apple,t8103-spmi";
+                       reg = <0x2 0x11180700 0x0 0x100>;
+                       #address-cells = <2>;
+                       #size-cells = <0>;
+               };
+
                pinctrl_nub: pinctrl@2111f0000 {
                        compatible = "apple,t8010-pinctrl", "apple,pinctrl";
                        reg = <0x2 0x111f0000 0x0 0x1000>;