Skip to content

Commit c91e8de

Browse files
WhatAmISupposedToPutHerejannau
authored andcommitted
arm64: dts: apple: Add SEP device tree nodes
Signed-off-by: Sasha Finkelstein <[email protected]>
1 parent 30b025d commit c91e8de

4 files changed

Lines changed: 122 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
@@ -297,6 +297,37 @@
297297
apple,dma-range = <0x1f0 0x0 0x0 0xfc000000>;
298298
};
299299

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

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

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,37 @@
485485
phandle = <&display>;
486486
};
487487

488+
sep_dart: iommu@388ac0000 {
489+
compatible = "apple,t6020-dart", "apple,t8110-dart";
490+
reg = <0x3 0x88ac0000 0x0 0x4000>;
491+
#iommu-cells = <1>;
492+
interrupt-parent = <&aic>;
493+
interrupts = <AIC_IRQ 0 579 IRQ_TYPE_LEVEL_HIGH>;
494+
};
495+
496+
sep: sep@38a400000 {
497+
compatible = "apple,sep";
498+
reg = <0x3 0x8a400000 0x0 0x6C000>;
499+
mboxes = <&sep_mbox>;
500+
mbox-names = "mbox";
501+
iommus = <&sep_dart 0>;
502+
power-domains = <&ps_sep>;
503+
status = "disabled";
504+
};
505+
506+
sep_mbox: mbox@38a408000 {
507+
compatible = "apple,t6020-asc-mailbox", "apple,asc-mailbox-v4";
508+
reg = <0x3 0x8a408000 0x0 0x4000>;
509+
interrupt-parent = <&aic>;
510+
interrupts = <AIC_IRQ 0 573 IRQ_TYPE_LEVEL_HIGH>,
511+
<AIC_IRQ 0 574 IRQ_TYPE_LEVEL_HIGH>,
512+
<AIC_IRQ 0 575 IRQ_TYPE_LEVEL_HIGH>,
513+
<AIC_IRQ 0 576 IRQ_TYPE_LEVEL_HIGH>;
514+
interrupt-names = "send-empty", "send-not-empty",
515+
"recv-empty", "recv-not-empty";
516+
#mbox-cells = <0>;
517+
};
518+
488519
fpwm0: pwm@39b030000 {
489520
compatible = "apple,t6020-fpwm", "apple,s5l-fpwm";
490521
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
@@ -1565,6 +1565,36 @@
15651565

15661566
};
15671567

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

0 commit comments

Comments
 (0)