[PATCH 13/15] arm64: dts: apple: t8140: Add NVMe nodes

Yureka Lilian yureka at cyberchaos.dev
Fri Nov 6 13:04:22 PST 2026


Add the device nodes for the internal NVMe SSD on the Apple A18 Pro
(t8140) SoC. Keep ps_apcie_phy_sw powered on matching t8122.

Signed-off-by: Yureka Lilian <yureka at cyberchaos.dev>
---
 arch/arm64/boot/dts/apple/t8140-pmgr.dtsi |  1 +
 arch/arm64/boot/dts/apple/t8140.dtsi      | 42 +++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/arch/arm64/boot/dts/apple/t8140-pmgr.dtsi b/arch/arm64/boot/dts/apple/t8140-pmgr.dtsi
index dd43520394ac..ac69e57cc140 100644
--- a/arch/arm64/boot/dts/apple/t8140-pmgr.dtsi
+++ b/arch/arm64/boot/dts/apple/t8140-pmgr.dtsi
@@ -556,6 +556,7 @@ ps_apcie_phy_sw: power-controller at 3c0 {
 		#power-domain-cells = <0>;
 		power-domains = <&ps_apcie_sys_st>, <&ps_apcie_sys_gp>;
 		#reset-cells = <0>;
+		apple,always-on;
 	};
 
 	ps_pmp: power-controller at 3d0 {
diff --git a/arch/arm64/boot/dts/apple/t8140.dtsi b/arch/arm64/boot/dts/apple/t8140.dtsi
index 3b4f7695552b..4230af506fca 100644
--- a/arch/arm64/boot/dts/apple/t8140.dtsi
+++ b/arch/arm64/boot/dts/apple/t8140.dtsi
@@ -351,6 +351,48 @@ serial0: serial at 385200000 {
 
 			status = "disabled";
 		};
+
+		ans_mbox: mbox at 389608000 {
+			compatible = "apple,t8140-asc-mailbox",
+				     "apple,asc-mailbox-v4";
+			reg = <0x3 0x89608000 0x0 0x4000>;
+
+			interrupt-parent = <&aic>;
+			interrupts = <AIC_IRQ 1007 IRQ_TYPE_LEVEL_HIGH>,
+				     <AIC_IRQ 1008 IRQ_TYPE_LEVEL_HIGH>,
+				     <AIC_IRQ 1009 IRQ_TYPE_LEVEL_HIGH>,
+				     <AIC_IRQ 1010 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "send-empty", "send-not-empty",
+					  "recv-empty", "recv-not-empty";
+
+			#mbox-cells = <0>;
+			power-domains = <&ps_ans>;
+		};
+
+		sart: sart at 38dc50000 {
+			compatible = "apple,t8140-sart", "apple,t6000-sart";
+			reg = <0x3 0x8dc50000 0x0 0x10000>;
+			power-domains = <&ps_ans>;
+		};
+
+		nvme: nvme at 3cdcc0000 {
+			compatible = "apple,t8140-nvme-ans2",
+				     "apple,t8132-nvme-ans2";
+			reg = <0x3 0xcdcc0000 0x0 0x60000>,
+			      <0x3 0x89600000 0x0 0x4000>;
+			reg-names = "nvme", "ans";
+
+			interrupt-parent = <&aic>;
+			interrupts = <AIC_IRQ 1039 IRQ_TYPE_LEVEL_HIGH>;
+
+			mboxes = <&ans_mbox>;
+
+			power-domains = <&ps_ans>, <&ps_apcie_sys_st>;
+			power-domain-names = "ans", "apcie0";
+			resets = <&ps_ans>;
+
+			apple,sart = <&sart>;
+		};
 	};
 
 	timer {

-- 
2.56.0




More information about the linux-arm-kernel mailing list