Skip to content

Commit 5316d73

Browse files
svenpeter42marcan
authored andcommitted
arm64: dts: apple: t8103: Add ANS2 NVMe nodes
This allows using the internal disk attached via NVMe. Signed-off-by: Sven Peter <[email protected]> Signed-off-by: Hector Martin <[email protected]>
1 parent c02b60c commit 5316d73

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

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

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,40 @@
378378
<AIC_IRQ 274 IRQ_TYPE_LEVEL_HIGH>;
379379
};
380380

381+
ans_mbox: mbox@277408000 {
382+
compatible = "apple,t8103-asc-mailbox", "apple,asc-mailbox-v4";
383+
reg = <0x2 0x77408000 0x0 0x4000>;
384+
interrupt-parent = <&aic>;
385+
interrupts = <AIC_IRQ 583 IRQ_TYPE_LEVEL_HIGH>,
386+
<AIC_IRQ 584 IRQ_TYPE_LEVEL_HIGH>,
387+
<AIC_IRQ 585 IRQ_TYPE_LEVEL_HIGH>,
388+
<AIC_IRQ 586 IRQ_TYPE_LEVEL_HIGH>;
389+
interrupt-names = "send-empty", "send-not-empty",
390+
"recv-empty", "recv-not-empty";
391+
#mbox-cells = <0>;
392+
power-domains = <&ps_ans2>;
393+
};
394+
395+
sart: iommu@27bc50000 {
396+
compatible = "apple,t8103-sart";
397+
reg = <0x2 0x7bc50000 0x0 0x10000>;
398+
power-domains = <&ps_ans2>;
399+
};
400+
401+
nvme@27bcc0000 {
402+
compatible = "apple,t8103-nvme-ans2", "apple,nvme-ans2";
403+
reg = <0x2 0x7bcc0000 0x0 0x40000>,
404+
<0x2 0x77400000 0x0 0x4000>;
405+
reg-names = "nvme", "ans";
406+
interrupt-parent = <&aic>;
407+
interrupts = <AIC_IRQ 590 IRQ_TYPE_LEVEL_HIGH>;
408+
mboxes = <&ans_mbox>;
409+
apple,sart = <&sart>;
410+
power-domains = <&ps_ans2>, <&ps_apcie_st>;
411+
power-domain-names = "ans", "apcie0";
412+
resets = <&ps_ans2>;
413+
};
414+
381415
pcie0_dart_0: dart@681008000 {
382416
compatible = "apple,t8103-dart";
383417
reg = <0x6 0x81008000 0x0 0x4000>;

0 commit comments

Comments
 (0)