Skip to content

Commit 87df0ce

Browse files
committed
Merge tag 'asahi-soc-dt-5.20' of https://github.com/AsahiLinux/linux into arm/late
Apple SoC DT updates for 5.20. This round just adds the NVMe controller nodes, since that driver is finally upstream. Includes one related power domain fixup. * tag 'asahi-soc-dt-5.20' of https://github.com/AsahiLinux/linux: arm64: dts: apple: t8103: Add ANS2 NVMe nodes arm64: dts: apple: Re-parent ANS2 power domains Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents d2fd1dd + 5316d73 commit 87df0ce

File tree

2 files changed

+35
-6
lines changed

2 files changed

+35
-6
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -725,11 +725,6 @@
725725
#power-domain-cells = <0>;
726726
#reset-cells = <0>;
727727
label = "ans2";
728-
/*
729-
* The ADT makes ps_apcie_st depend on ps_ans2 instead, but this
730-
* doesn't make much sense since ANS2 uses APCIE_ST.
731-
*/
732-
power-domains = <&ps_apcie_st>;
733728
};
734729

735730
ps_gfx: power-controller@3f8 {
@@ -836,7 +831,7 @@
836831
#power-domain-cells = <0>;
837832
#reset-cells = <0>;
838833
label = "apcie_st";
839-
power-domains = <&ps_apcie>;
834+
power-domains = <&ps_apcie>, <&ps_ans2>;
840835
};
841836

842837
ps_ane_sys: power-controller@470 {

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)