Skip to content

Commit b830d71

Browse files
WhatAmISupposedToPutHerejannau
authored andcommitted
arm64: dts: apple: Add SEP device tree nodes
Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
1 parent 3418bd4 commit b830d71

4 files changed

Lines changed: 123 additions & 0 deletions

File tree

arch/arm64/boot/dts/apple/t600x-die0.dtsi

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,37 @@
300300
apple,dma-range = <0x1f0 0x0 0x0 0xfc000000>;
301301
};
302302

303+
sep_dart: iommu@3952c0000 {
304+
compatible = "apple,t6000-dart";
305+
reg = <0x3 0x952c0000 0x0 0x4000>;
306+
#iommu-cells = <1>;
307+
interrupt-parent = <&aic>;
308+
interrupts = <AIC_IRQ 0 551 IRQ_TYPE_LEVEL_HIGH>;
309+
};
310+
311+
sep: sep@396400000 {
312+
compatible = "apple,sep";
313+
reg = <0x3 0x96400000 0x0 0x6C000>;
314+
mboxes = <&sep_mbox>;
315+
mbox-names = "mbox";
316+
iommus = <&sep_dart 0>;
317+
power-domains = <&ps_sep>;
318+
status = "disabled";
319+
};
320+
321+
sep_mbox: mbox@396408000 {
322+
compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4";
323+
reg = <0x3 0x96408000 0x0 0x4000>;
324+
interrupt-parent = <&aic>;
325+
interrupts = <AIC_IRQ 0 545 IRQ_TYPE_LEVEL_HIGH>,
326+
<AIC_IRQ 0 546 IRQ_TYPE_LEVEL_HIGH>,
327+
<AIC_IRQ 0 547 IRQ_TYPE_LEVEL_HIGH>,
328+
<AIC_IRQ 0 548 IRQ_TYPE_LEVEL_HIGH>;
329+
interrupt-names = "send-empty", "send-not-empty",
330+
"recv-empty", "recv-not-empty";
331+
#mbox-cells = <0>;
332+
};
333+
303334
dpaudio0: audio-controller@39b500000 {
304335
compatible = "apple,t6000-dpaudio", "apple,dpaudio";
305336
reg = <0x3 0x9b500000 0x0 0x4000>;

arch/arm64/boot/dts/apple/t602x-die0.dtsi

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,38 @@
488488
phandle = <&display>;
489489
};
490490

491+
sep_dart: iommu@394ac0000 {
492+
compatible = "apple,t6020-dart", "apple,t8110-dart";
493+
reg = <0x3 0x94ac0000 0x0 0x4000>;
494+
#iommu-cells = <1>;
495+
interrupt-parent = <&aic>;
496+
interrupts = <AIC_IRQ 0 582 IRQ_TYPE_LEVEL_HIGH>;
497+
status = "disabled";
498+
};
499+
500+
sep: sep@396400000 {
501+
compatible = "apple,sep";
502+
reg = <0x3 0x96400000 0x0 0x6C000>;
503+
mboxes = <&sep_mbox>;
504+
mbox-names = "mbox";
505+
iommus = <&sep_dart 0>;
506+
power-domains = <&ps_sep>;
507+
status = "disabled";
508+
};
509+
510+
sep_mbox: mbox@396408000 {
511+
compatible = "apple,t6020-asc-mailbox", "apple,asc-mailbox-v4";
512+
reg = <0x3 0x96408000 0x0 0x4000>;
513+
interrupt-parent = <&aic>;
514+
interrupts = <AIC_IRQ 0 576 IRQ_TYPE_LEVEL_HIGH>,
515+
<AIC_IRQ 0 577 IRQ_TYPE_LEVEL_HIGH>,
516+
<AIC_IRQ 0 578 IRQ_TYPE_LEVEL_HIGH>,
517+
<AIC_IRQ 0 579 IRQ_TYPE_LEVEL_HIGH>;
518+
interrupt-names = "send-empty", "send-not-empty",
519+
"recv-empty", "recv-not-empty";
520+
#mbox-cells = <0>;
521+
};
522+
491523
fpwm0: pwm@39b030000 {
492524
compatible = "apple,t6020-fpwm", "apple,s5l-fpwm";
493525
reg = <0x3 0x9b030000 0x0 0x4000>;

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,6 +1261,36 @@
12611261
<AIC_IRQ 397 IRQ_TYPE_LEVEL_HIGH>;
12621262
};
12631263

1264+
sep_dart: iommu@2412c0000 {
1265+
compatible = "apple,t8103-dart";
1266+
reg = <0x2 0x412c0000 0x0 0x4000>;
1267+
#iommu-cells = <1>;
1268+
interrupt-parent = <&aic>;
1269+
interrupts = <AIC_IRQ 259 IRQ_TYPE_LEVEL_HIGH>;
1270+
};
1271+
1272+
sep: sep@242400000 {
1273+
compatible = "apple,sep";
1274+
reg = <0x2 0x42400000 0x0 0x6C000>;
1275+
mboxes = <&sep_mbox>;
1276+
mbox-names = "mbox";
1277+
iommus = <&sep_dart 0>;
1278+
status = "disabled";
1279+
};
1280+
1281+
sep_mbox: mbox@242408000 {
1282+
compatible = "apple,t8103-asc-mailbox", "apple,asc-mailbox-v4";
1283+
reg = <0x2 0x42408000 0x0 0x4000>;
1284+
interrupt-parent = <&aic>;
1285+
interrupts = <AIC_IRQ 253 IRQ_TYPE_LEVEL_HIGH>,
1286+
<AIC_IRQ 254 IRQ_TYPE_LEVEL_HIGH>,
1287+
<AIC_IRQ 255 IRQ_TYPE_LEVEL_HIGH>,
1288+
<AIC_IRQ 256 IRQ_TYPE_LEVEL_HIGH>;
1289+
interrupt-names = "send-empty", "send-not-empty",
1290+
"recv-empty", "recv-not-empty";
1291+
#mbox-cells = <0>;
1292+
};
1293+
12641294
pinctrl_aop: pinctrl@24a820000 {
12651295
compatible = "apple,t8103-pinctrl", "apple,pinctrl";
12661296
reg = <0x2 0x4a820000 0x0 0x4000>;

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1568,6 +1568,36 @@
15681568

15691569
};
15701570

1571+
sep_dart: iommu@25d2c0000 {
1572+
compatible = "apple,t8112-dart", "apple,t8110-dart";
1573+
reg = <0x2 0x5d2c0000 0x0 0x4000>;
1574+
#iommu-cells = <1>;
1575+
interrupt-parent = <&aic>;
1576+
interrupts = <AIC_IRQ 282 IRQ_TYPE_LEVEL_HIGH>;
1577+
};
1578+
1579+
sep: sep@25e400000 {
1580+
compatible = "apple,sep";
1581+
reg = <0x2 0x5e400000 0x0 0x6C000>;
1582+
mboxes = <&sep_mbox>;
1583+
mbox-names = "mbox";
1584+
iommus = <&sep_dart 0>;
1585+
status = "disabled";
1586+
};
1587+
1588+
sep_mbox: mbox@25e408000 {
1589+
compatible = "apple,t8112-asc-mailbox", "apple,asc-mailbox-v4";
1590+
reg = <0x2 0x5e408000 0x0 0x4000>;
1591+
interrupt-parent = <&aic>;
1592+
interrupts = <AIC_IRQ 276 IRQ_TYPE_LEVEL_HIGH>,
1593+
<AIC_IRQ 277 IRQ_TYPE_LEVEL_HIGH>,
1594+
<AIC_IRQ 278 IRQ_TYPE_LEVEL_HIGH>,
1595+
<AIC_IRQ 279 IRQ_TYPE_LEVEL_HIGH>;
1596+
interrupt-names = "send-empty", "send-not-empty",
1597+
"recv-empty", "recv-not-empty";
1598+
#mbox-cells = <0>;
1599+
};
1600+
15711601
dispext0_dart: iommu@271304000 {
15721602
compatible = "apple,t8112-dart", "apple,t8110-dart";
15731603
reg = <0x2 0x71304000 0x0 0x4000>;

0 commit comments

Comments
 (0)