Skip to content

Commit 7b79398

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

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
@@ -250,6 +250,37 @@
250250
apple,dma-range = <0x1f0 0x0 0x0 0xfc000000>;
251251
};
252252

253+
sep_dart: iommu@3952c0000 {
254+
compatible = "apple,t6000-dart";
255+
reg = <0x3 0x952c0000 0x0 0x4000>;
256+
#iommu-cells = <1>;
257+
interrupt-parent = <&aic>;
258+
interrupts = <AIC_IRQ 0 551 IRQ_TYPE_LEVEL_HIGH>;
259+
};
260+
261+
sep: sep@396400000 {
262+
compatible = "apple,sep";
263+
reg = <0x3 0x96400000 0x0 0x6C000>;
264+
mboxes = <&sep_mbox>;
265+
mbox-names = "mbox";
266+
iommus = <&sep_dart 0>;
267+
power-domains = <&ps_sep>;
268+
status = "disabled";
269+
};
270+
271+
sep_mbox: mbox@396408000 {
272+
compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4";
273+
reg = <0x3 0x96408000 0x0 0x4000>;
274+
interrupt-parent = <&aic>;
275+
interrupts = <AIC_IRQ 0 545 IRQ_TYPE_LEVEL_HIGH>,
276+
<AIC_IRQ 0 546 IRQ_TYPE_LEVEL_HIGH>,
277+
<AIC_IRQ 0 547 IRQ_TYPE_LEVEL_HIGH>,
278+
<AIC_IRQ 0 548 IRQ_TYPE_LEVEL_HIGH>;
279+
interrupt-names = "send-empty", "send-not-empty",
280+
"recv-empty", "recv-not-empty";
281+
#mbox-cells = <0>;
282+
};
283+
253284
dpaudio0: audio-controller@39b500000 {
254285
compatible = "apple,t6000-dpaudio", "apple,dpaudio";
255286
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
@@ -438,6 +438,38 @@
438438
phandle = <&display>;
439439
};
440440

441+
sep_dart: iommu@394ac0000 {
442+
compatible = "apple,t6020-dart", "apple,t8110-dart";
443+
reg = <0x3 0x94ac0000 0x0 0x4000>;
444+
#iommu-cells = <1>;
445+
interrupt-parent = <&aic>;
446+
interrupts = <AIC_IRQ 0 582 IRQ_TYPE_LEVEL_HIGH>;
447+
status = "disabled";
448+
};
449+
450+
sep: sep@396400000 {
451+
compatible = "apple,sep";
452+
reg = <0x3 0x96400000 0x0 0x6C000>;
453+
mboxes = <&sep_mbox>;
454+
mbox-names = "mbox";
455+
iommus = <&sep_dart 0>;
456+
power-domains = <&ps_sep>;
457+
status = "disabled";
458+
};
459+
460+
sep_mbox: mbox@396408000 {
461+
compatible = "apple,t6020-asc-mailbox", "apple,asc-mailbox-v4";
462+
reg = <0x3 0x96408000 0x0 0x4000>;
463+
interrupt-parent = <&aic>;
464+
interrupts = <AIC_IRQ 0 576 IRQ_TYPE_LEVEL_HIGH>,
465+
<AIC_IRQ 0 577 IRQ_TYPE_LEVEL_HIGH>,
466+
<AIC_IRQ 0 578 IRQ_TYPE_LEVEL_HIGH>,
467+
<AIC_IRQ 0 579 IRQ_TYPE_LEVEL_HIGH>;
468+
interrupt-names = "send-empty", "send-not-empty",
469+
"recv-empty", "recv-not-empty";
470+
#mbox-cells = <0>;
471+
};
472+
441473
fpwm0: pwm@39b030000 {
442474
compatible = "apple,t6020-fpwm", "apple,s5l-fpwm";
443475
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
@@ -1289,6 +1289,36 @@
12891289
<AIC_IRQ 397 IRQ_TYPE_LEVEL_HIGH>;
12901290
};
12911291

1292+
sep_dart: iommu@2412c0000 {
1293+
compatible = "apple,t8103-dart";
1294+
reg = <0x2 0x412c0000 0x0 0x4000>;
1295+
#iommu-cells = <1>;
1296+
interrupt-parent = <&aic>;
1297+
interrupts = <AIC_IRQ 259 IRQ_TYPE_LEVEL_HIGH>;
1298+
};
1299+
1300+
sep: sep@242400000 {
1301+
compatible = "apple,sep";
1302+
reg = <0x2 0x42400000 0x0 0x6C000>;
1303+
mboxes = <&sep_mbox>;
1304+
mbox-names = "mbox";
1305+
iommus = <&sep_dart 0>;
1306+
status = "disabled";
1307+
};
1308+
1309+
sep_mbox: mbox@242408000 {
1310+
compatible = "apple,t8103-asc-mailbox", "apple,asc-mailbox-v4";
1311+
reg = <0x2 0x42408000 0x0 0x4000>;
1312+
interrupt-parent = <&aic>;
1313+
interrupts = <AIC_IRQ 253 IRQ_TYPE_LEVEL_HIGH>,
1314+
<AIC_IRQ 254 IRQ_TYPE_LEVEL_HIGH>,
1315+
<AIC_IRQ 255 IRQ_TYPE_LEVEL_HIGH>,
1316+
<AIC_IRQ 256 IRQ_TYPE_LEVEL_HIGH>;
1317+
interrupt-names = "send-empty", "send-not-empty",
1318+
"recv-empty", "recv-not-empty";
1319+
#mbox-cells = <0>;
1320+
};
1321+
12921322
pinctrl_aop: pinctrl@24a820000 {
12931323
compatible = "apple,t8103-pinctrl", "apple,pinctrl";
12941324
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
@@ -1559,6 +1559,36 @@
15591559

15601560
};
15611561

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

0 commit comments

Comments
 (0)