Skip to content

Commit 1ef1bc2

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

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
@@ -266,6 +266,37 @@
266266
apple,dma-range = <0x1f0 0x0 0x0 0xfc000000>;
267267
};
268268

269+
sep_dart: iommu@3952c0000 {
270+
compatible = "apple,t6000-dart";
271+
reg = <0x3 0x952c0000 0x0 0x4000>;
272+
#iommu-cells = <1>;
273+
interrupt-parent = <&aic>;
274+
interrupts = <AIC_IRQ 0 551 IRQ_TYPE_LEVEL_HIGH>;
275+
};
276+
277+
sep: sep@396400000 {
278+
compatible = "apple,sep";
279+
reg = <0x3 0x96400000 0x0 0x6C000>;
280+
mboxes = <&sep_mbox>;
281+
mbox-names = "mbox";
282+
iommus = <&sep_dart 0>;
283+
power-domains = <&ps_sep>;
284+
status = "disabled";
285+
};
286+
287+
sep_mbox: mbox@396408000 {
288+
compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4";
289+
reg = <0x3 0x96408000 0x0 0x4000>;
290+
interrupt-parent = <&aic>;
291+
interrupts = <AIC_IRQ 0 545 IRQ_TYPE_LEVEL_HIGH>,
292+
<AIC_IRQ 0 546 IRQ_TYPE_LEVEL_HIGH>,
293+
<AIC_IRQ 0 547 IRQ_TYPE_LEVEL_HIGH>,
294+
<AIC_IRQ 0 548 IRQ_TYPE_LEVEL_HIGH>;
295+
interrupt-names = "send-empty", "send-not-empty",
296+
"recv-empty", "recv-not-empty";
297+
#mbox-cells = <0>;
298+
};
299+
269300
dpaudio0: audio-controller@39b500000 {
270301
compatible = "apple,t6000-dpaudio", "apple,dpaudio";
271302
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
@@ -458,6 +458,38 @@
458458
phandle = <&display>;
459459
};
460460

461+
sep_dart: iommu@394ac0000 {
462+
compatible = "apple,t6020-dart", "apple,t8110-dart";
463+
reg = <0x3 0x94ac0000 0x0 0x4000>;
464+
#iommu-cells = <1>;
465+
interrupt-parent = <&aic>;
466+
interrupts = <AIC_IRQ 0 582 IRQ_TYPE_LEVEL_HIGH>;
467+
status = "disabled";
468+
};
469+
470+
sep: sep@396400000 {
471+
compatible = "apple,sep";
472+
reg = <0x3 0x96400000 0x0 0x6C000>;
473+
mboxes = <&sep_mbox>;
474+
mbox-names = "mbox";
475+
iommus = <&sep_dart 0>;
476+
power-domains = <&ps_sep>;
477+
status = "disabled";
478+
};
479+
480+
sep_mbox: mbox@396408000 {
481+
compatible = "apple,t6020-asc-mailbox", "apple,asc-mailbox-v4";
482+
reg = <0x3 0x96408000 0x0 0x4000>;
483+
interrupt-parent = <&aic>;
484+
interrupts = <AIC_IRQ 0 576 IRQ_TYPE_LEVEL_HIGH>,
485+
<AIC_IRQ 0 577 IRQ_TYPE_LEVEL_HIGH>,
486+
<AIC_IRQ 0 578 IRQ_TYPE_LEVEL_HIGH>,
487+
<AIC_IRQ 0 579 IRQ_TYPE_LEVEL_HIGH>;
488+
interrupt-names = "send-empty", "send-not-empty",
489+
"recv-empty", "recv-not-empty";
490+
#mbox-cells = <0>;
491+
};
492+
461493
fpwm0: pwm@39b030000 {
462494
compatible = "apple,t6020-fpwm", "apple,s5l-fpwm";
463495
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
@@ -1299,6 +1299,36 @@
12991299
<AIC_IRQ 397 IRQ_TYPE_LEVEL_HIGH>;
13001300
};
13011301

1302+
sep_dart: iommu@2412c0000 {
1303+
compatible = "apple,t8103-dart";
1304+
reg = <0x2 0x412c0000 0x0 0x4000>;
1305+
#iommu-cells = <1>;
1306+
interrupt-parent = <&aic>;
1307+
interrupts = <AIC_IRQ 259 IRQ_TYPE_LEVEL_HIGH>;
1308+
};
1309+
1310+
sep: sep@242400000 {
1311+
compatible = "apple,sep";
1312+
reg = <0x2 0x42400000 0x0 0x6C000>;
1313+
mboxes = <&sep_mbox>;
1314+
mbox-names = "mbox";
1315+
iommus = <&sep_dart 0>;
1316+
status = "disabled";
1317+
};
1318+
1319+
sep_mbox: mbox@242408000 {
1320+
compatible = "apple,t8103-asc-mailbox", "apple,asc-mailbox-v4";
1321+
reg = <0x2 0x42408000 0x0 0x4000>;
1322+
interrupt-parent = <&aic>;
1323+
interrupts = <AIC_IRQ 253 IRQ_TYPE_LEVEL_HIGH>,
1324+
<AIC_IRQ 254 IRQ_TYPE_LEVEL_HIGH>,
1325+
<AIC_IRQ 255 IRQ_TYPE_LEVEL_HIGH>,
1326+
<AIC_IRQ 256 IRQ_TYPE_LEVEL_HIGH>;
1327+
interrupt-names = "send-empty", "send-not-empty",
1328+
"recv-empty", "recv-not-empty";
1329+
#mbox-cells = <0>;
1330+
};
1331+
13021332
pinctrl_aop: pinctrl@24a820000 {
13031333
compatible = "apple,t8103-pinctrl", "apple,pinctrl";
13041334
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
@@ -1573,6 +1573,36 @@
15731573

15741574
};
15751575

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

0 commit comments

Comments
 (0)