Skip to content

Commit 8e0f3f3

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

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
@@ -247,6 +247,37 @@
247247
apple,dma-range = <0x1f0 0x0 0x0 0xfc000000>;
248248
};
249249

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

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

1282+
sep_dart: iommu@2412c0000 {
1283+
compatible = "apple,t8103-dart";
1284+
reg = <0x2 0x412c0000 0x0 0x4000>;
1285+
#iommu-cells = <1>;
1286+
interrupt-parent = <&aic>;
1287+
interrupts = <AIC_IRQ 259 IRQ_TYPE_LEVEL_HIGH>;
1288+
};
1289+
1290+
sep: sep@242400000 {
1291+
compatible = "apple,sep";
1292+
reg = <0x2 0x42400000 0x0 0x6C000>;
1293+
mboxes = <&sep_mbox>;
1294+
mbox-names = "mbox";
1295+
iommus = <&sep_dart 0>;
1296+
status = "disabled";
1297+
};
1298+
1299+
sep_mbox: mbox@242408000 {
1300+
compatible = "apple,t8103-asc-mailbox", "apple,asc-mailbox-v4";
1301+
reg = <0x2 0x42408000 0x0 0x4000>;
1302+
interrupt-parent = <&aic>;
1303+
interrupts = <AIC_IRQ 253 IRQ_TYPE_LEVEL_HIGH>,
1304+
<AIC_IRQ 254 IRQ_TYPE_LEVEL_HIGH>,
1305+
<AIC_IRQ 255 IRQ_TYPE_LEVEL_HIGH>,
1306+
<AIC_IRQ 256 IRQ_TYPE_LEVEL_HIGH>;
1307+
interrupt-names = "send-empty", "send-not-empty",
1308+
"recv-empty", "recv-not-empty";
1309+
#mbox-cells = <0>;
1310+
};
1311+
12821312
pinctrl_aop: pinctrl@24a820000 {
12831313
compatible = "apple,t8103-pinctrl", "apple,pinctrl";
12841314
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
@@ -1550,6 +1550,36 @@
15501550

15511551
};
15521552

1553+
sep_dart: iommu@25d2c0000 {
1554+
compatible = "apple,t8112-dart", "apple,t8110-dart";
1555+
reg = <0x2 0x5d2c0000 0x0 0x4000>;
1556+
#iommu-cells = <1>;
1557+
interrupt-parent = <&aic>;
1558+
interrupts = <AIC_IRQ 282 IRQ_TYPE_LEVEL_HIGH>;
1559+
};
1560+
1561+
sep: sep@25e400000 {
1562+
compatible = "apple,sep";
1563+
reg = <0x2 0x5e400000 0x0 0x6C000>;
1564+
mboxes = <&sep_mbox>;
1565+
mbox-names = "mbox";
1566+
iommus = <&sep_dart 0>;
1567+
status = "disabled";
1568+
};
1569+
1570+
sep_mbox: mbox@25e408000 {
1571+
compatible = "apple,t8112-asc-mailbox", "apple,asc-mailbox-v4";
1572+
reg = <0x2 0x5e408000 0x0 0x4000>;
1573+
interrupt-parent = <&aic>;
1574+
interrupts = <AIC_IRQ 276 IRQ_TYPE_LEVEL_HIGH>,
1575+
<AIC_IRQ 277 IRQ_TYPE_LEVEL_HIGH>,
1576+
<AIC_IRQ 278 IRQ_TYPE_LEVEL_HIGH>,
1577+
<AIC_IRQ 279 IRQ_TYPE_LEVEL_HIGH>;
1578+
interrupt-names = "send-empty", "send-not-empty",
1579+
"recv-empty", "recv-not-empty";
1580+
#mbox-cells = <0>;
1581+
};
1582+
15531583
dispext0_dart: iommu@271304000 {
15541584
compatible = "apple,t8112-dart", "apple,t8110-dart";
15551585
reg = <0x2 0x71304000 0x0 0x4000>;

0 commit comments

Comments
 (0)