Skip to content

Commit c5c4a09

Browse files
committed
arm64: dts: apple: t8103: Add dcpext/dispext0 nodes
Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 010cbd4 commit c5c4a09

1 file changed

Lines changed: 73 additions & 0 deletions

File tree

arch/arm64/boot/dts/apple/t8103.dtsi

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,14 @@
416416
clock-output-names = "clk_disp0";
417417
};
418418

419+
/* Pixel clock? frequency in Hz (compare: 4K@60 VGA clock 533.250 MHz) */
420+
clk_dispext0: clock-dispext0 {
421+
compatible = "fixed-clock";
422+
#clock-cells = <0>;
423+
clock-frequency = <0>;
424+
clock-output-names = "clk_dispext0";
425+
};
426+
419427
/*
420428
* This is a fabulated representation of the input clock
421429
* to NCO since we don't know the true clock tree.
@@ -624,6 +632,7 @@
624632

625633
display: display-subsystem {
626634
compatible = "apple,display-subsystem";
635+
/* disp_dart0 must be 1st since it is locked */
627636
iommus = <&disp0_dart 0>;
628637
/* generate phandle explicitly for use in loader */
629638
phandle = <&display>;
@@ -1186,6 +1195,70 @@
11861195
<AIC_IRQ 274 IRQ_TYPE_LEVEL_HIGH>;
11871196
};
11881197

1198+
dispext0_dart: iommu@271304000 {
1199+
compatible = "apple,t8103-dart";
1200+
reg = <0x2 0x71304000 0x0 0x4000>;
1201+
#iommu-cells = <1>;
1202+
interrupt-parent = <&aic>;
1203+
interrupts = <AIC_IRQ 481 IRQ_TYPE_LEVEL_HIGH>;
1204+
power-domains = <&ps_dispext_cpu0>;
1205+
status = "disabled";
1206+
};
1207+
1208+
dcpext_dart: iommu@27130c000 {
1209+
compatible = "apple,t8103-dart";
1210+
reg = <0x2 0x7130c000 0x0 0x4000>;
1211+
#iommu-cells = <1>;
1212+
interrupt-parent = <&aic>;
1213+
interrupts = <AIC_IRQ 481 IRQ_TYPE_LEVEL_HIGH>;
1214+
power-domains = <&ps_dispext_cpu0>;
1215+
status = "disabled";
1216+
};
1217+
1218+
dcpext_mbox: mbox@271c08000 {
1219+
compatible = "apple,t8103-asc-mailbox", "apple,asc-mailbox-v4";
1220+
reg = <0x2 0x71c08000 0x0 0x4000>;
1221+
interrupt-parent = <&aic>;
1222+
interrupts = <AIC_IRQ 466 IRQ_TYPE_LEVEL_HIGH>,
1223+
<AIC_IRQ 467 IRQ_TYPE_LEVEL_HIGH>,
1224+
<AIC_IRQ 468 IRQ_TYPE_LEVEL_HIGH>,
1225+
<AIC_IRQ 469 IRQ_TYPE_LEVEL_HIGH>;
1226+
interrupt-names = "send-empty", "send-not-empty",
1227+
"recv-empty", "recv-not-empty";
1228+
#mbox-cells = <0>;
1229+
power-domains = <&ps_dispext_cpu0>;
1230+
resets = <&ps_dispext_cpu0>;
1231+
status = "disabled";
1232+
};
1233+
1234+
dcpext: dcp@271c00000 {
1235+
compatible = "apple,t8103-dcpext", "apple,dcpext";
1236+
mboxes = <&dcpext_mbox>;
1237+
mbox-names = "mbox";
1238+
iommus = <&dcpext_dart 0>;
1239+
phandle = <&dcpext>;
1240+
1241+
reg-names = "coproc", "disp-0", "disp-1", "disp-2",
1242+
"disp-3", "disp-4";
1243+
reg = <0x2 0x71c00000 0x0 0x4000>,
1244+
<0x2 0x70000000 0x0 0x118000>,
1245+
<0x2 0x71320000 0x0 0x4000>,
1246+
<0x2 0x71344000 0x0 0x4000>,
1247+
<0x2 0x71800000 0x0 0x800000>,
1248+
<0x2 0x3b3d0000 0x0 0x4000>;
1249+
apple,bw-scratch = <&pmgr_dcp 0 5 0x18>;
1250+
apple,bw-doorbell = <&pmgr_dcp 1 6>;
1251+
power-domains = <&ps_dispext_cpu0>;
1252+
resets = <&ps_dispext_cpu0>;
1253+
clocks = <&clk_dispext0>;
1254+
apple,asc-dram-mask = <0xf 0x00000000>;
1255+
status = "disabled";
1256+
1257+
piodma {
1258+
iommus = <&dispext0_dart 4>;
1259+
};
1260+
};
1261+
11891262
ans_mbox: mbox@277408000 {
11901263
compatible = "apple,t8103-asc-mailbox", "apple,asc-mailbox-v4";
11911264
reg = <0x2 0x77408000 0x0 0x4000>;

0 commit comments

Comments
 (0)