Skip to content

Commit

Permalink
arm64: dts: apple: Add SEP device tree nodes.
Browse files Browse the repository at this point in the history
Signed-off-by: Sasha Finkelstein <[email protected]>
  • Loading branch information
WhatAmISupposedToPutHere committed Nov 23, 2024
1 parent cee4325 commit 34a5c14
Show file tree
Hide file tree
Showing 9 changed files with 123 additions and 0 deletions.
30 changes: 30 additions & 0 deletions arch/arm64/boot/dts/apple/t600x-die0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,36 @@
apple,dma-range = <0x1f0 0x0 0x0 0xfc000000>;
};

sep_dart: iommu@3952c0000 {
compatible = "apple,t6000-dart";
reg = <0x3 0x952c0000 0x0 0x4000>;
#iommu-cells = <1>;
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 0 551 IRQ_TYPE_LEVEL_HIGH>;
};

sep_mbox: mbox@396400000 {
compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4";
reg = <0x3 0x96408000 0x0 0x4000>;
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 0 545 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 0 546 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 0 547 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 0 548 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "send-empty", "send-not-empty",
"recv-empty", "recv-not-empty";
#mbox-cells = <0>;
};

sep: sep@396400000 {
compatible = "apple,sep";
reg = <0x3 0x96400000 0x0 0x6C000>;
mboxes = <&sep_mbox>;
mbox-names = "mbox";
iommus = <&sep_dart 0>;
power-domains = <&ps_sep>;
};

dpaudio0: audio-controller@39b500000 {
compatible = "apple,t6000-dpaudio", "apple,dpaudio";
reg = <0x3 0x9b500000 0x0 0x4000>;
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
serial0 = &serial0;
sio = &sio;
wifi0 = &wifi0;
sep = &sep;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/apple/t600x-j375.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
serial0 = &serial0;
sio = &sio;
wifi0 = &wifi0;
sep = &sep;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/apple/t602x-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

aliases {
gpu = &gpu;
sep = &sep;
};

cpus {
Expand Down
30 changes: 30 additions & 0 deletions arch/arm64/boot/dts/apple/t602x-die0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,36 @@
phandle = <&display>;
};

sep_dart: iommu@388ac0000 {
compatible = "apple,t6020-dart", "apple,t8110-dart";
reg = <0x3 0x88ac0000 0x0 0x4000>;
#iommu-cells = <1>;
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 0 579 IRQ_TYPE_LEVEL_HIGH>;
};

sep_mbox: mbox@38a400000 {
compatible = "apple,t6020-asc-mailbox", "apple,asc-mailbox-v4";
reg = <0x3 0x8a408000 0x0 0x4000>;
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 0 573 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 0 574 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 0 575 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 0 576 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "send-empty", "send-not-empty",
"recv-empty", "recv-not-empty";
#mbox-cells = <0>;
};

sep: sep@396400000 {
compatible = "apple,sep";
reg = <0x3 0x8a400000 0x0 0x6C000>;
mboxes = <&sep_mbox>;
mbox-names = "mbox";
iommus = <&sep_dart 0>;
power-domains = <&ps_sep>;
};

fpwm0: pwm@39b030000 {
compatible = "apple,t6020-fpwm", "apple,s5l-fpwm";
reg = <0x3 0x9b030000 0x0 0x4000>;
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/apple/t8103-jxxx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
wifi0 = &wifi0;
atcphy0 = &atcphy0;
atcphy1 = &atcphy1;
sep = &sep;
};

chosen {
Expand Down
29 changes: 29 additions & 0 deletions arch/arm64/boot/dts/apple/t8103.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1253,6 +1253,35 @@
<AIC_IRQ 397 IRQ_TYPE_LEVEL_HIGH>;
};

sep_dart: iommu@2412c0000 {
compatible = "apple,t8103-dart";
reg = <0x2 0x412c0000 0x0 0x4000>;
#iommu-cells = <1>;
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 259 IRQ_TYPE_LEVEL_HIGH>;
};

sep_mbox: mbox@242400000 {
compatible = "apple,t8103-asc-mailbox", "apple,asc-mailbox-v4";
reg = <0x2 0x42408000 0x0 0x4000>;
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 253 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 254 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 255 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 256 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "send-empty", "send-not-empty",
"recv-empty", "recv-not-empty";
#mbox-cells = <0>;
};

sep: sep@242400000 {
compatible = "apple,sep";
reg = <0x2 0x42400000 0x0 0x6C000>;
mboxes = <&sep_mbox>;
mbox-names = "mbox";
iommus = <&sep_dart 0>;
};

pinctrl_aop: pinctrl@24a820000 {
compatible = "apple,t8103-pinctrl", "apple,pinctrl";
reg = <0x2 0x4a820000 0x0 0x4000>;
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/apple/t8112-jxxx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
nvram = &nvram;
serial0 = &serial0;
serial2 = &serial2;
sep = &sep;
};

chosen {
Expand Down
29 changes: 29 additions & 0 deletions arch/arm64/boot/dts/apple/t8112.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1557,6 +1557,35 @@

};

sep_dart: iommu@25d2c0000 {
compatible = "apple,t8112-dart", "apple,t8110-dart";
reg = <0x2 0x5d2c0000 0x0 0x4000>;
#iommu-cells = <1>;
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 282 IRQ_TYPE_LEVEL_HIGH>;
};

sep_mbox: mbox@25e400000 {
compatible = "apple,t8112-asc-mailbox", "apple,asc-mailbox-v4";
reg = <0x2 0x5e408000 0x0 0x4000>;
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 276 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 277 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 278 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 279 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "send-empty", "send-not-empty",
"recv-empty", "recv-not-empty";
#mbox-cells = <0>;
};

sep: sep@25e400000 {
compatible = "apple,sep";
reg = <0x2 0x5e400000 0x0 0x6C000>;
mboxes = <&sep_mbox>;
mbox-names = "mbox";
iommus = <&sep_dart 0>;
};

dispext0_dart: iommu@271304000 {
compatible = "apple,t8112-dart", "apple,t8110-dart";
reg = <0x2 0x71304000 0x0 0x4000>;
Expand Down

0 comments on commit 34a5c14

Please sign in to comment.