]> www.infradead.org Git - users/hch/misc.git/commitdiff
arm64: dts: apple: t8015: Add NVMe nodes
authorNick Chan <towinchenmi@gmail.com>
Tue, 26 Aug 2025 12:09:15 +0000 (20:09 +0800)
committerSven Peter <sven@kernel.org>
Sat, 6 Sep 2025 08:05:39 +0000 (10:05 +0200)
Add nodes for NVMe and associated mailbox and sart for Apple A11 SoC.

Signed-off-by: Nick Chan <towinchenmi@gmail.com>
Link: https://lore.kernel.org/r/20250826-t8015-nvme-v5-4-caee6ab00144@gmail.com
Signed-off-by: Sven Peter <sven@kernel.org>
arch/arm64/boot/dts/apple/t8015.dtsi

index e002ecee339013194537910db2168c143ab3d00a..794140eb7650238bf4171acbfa874e60d9e61b15 100644 (file)
                         */
                        status = "disabled";
                };
+
+               ans_mbox: mbox@257008000 {
+                       compatible = "apple,t8015-asc-mailbox";
+                       reg = <0x2 0x57008000 0x0 0x4000>;
+                       interrupt-parent = <&aic>;
+                       interrupts = <AIC_IRQ 265 IRQ_TYPE_LEVEL_HIGH>,
+                               <AIC_IRQ 266 IRQ_TYPE_LEVEL_HIGH>,
+                               <AIC_IRQ 267 IRQ_TYPE_LEVEL_HIGH>,
+                               <AIC_IRQ 268 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "send-empty", "send-not-empty",
+                               "recv-empty", "recv-not-empty";
+                       #mbox-cells = <0>;
+                       power-domains = <&ps_ans2>;
+               };
+
+               sart: iommu@259c50000 {
+                       compatible = "apple,t8015-sart";
+                       reg = <0x2 0x59c50000 0x0 0x10000>;
+                       power-domains = <&ps_ans2>;
+               };
+
+               nvme@259cc0000 {
+                       compatible = "apple,t8015-nvme-ans2";
+                       reg = <0x2 0x59cc0000 0x0 0x40000>,
+                               <0x2 0x59d20000 0x0 0x2000>;
+                       reg-names = "nvme", "ans";
+                       interrupt-parent = <&aic>;
+                       interrupts = <AIC_IRQ 270 IRQ_TYPE_LEVEL_HIGH>;
+                       mboxes = <&ans_mbox>;
+                       apple,sart = <&sart>;
+                       power-domains = <&ps_ans2>, <&ps_pcie>;
+                       power-domain-names = "ans", "apcie0";
+                       resets = <&ps_ans2>;
+               };
        };
 
        timer {