Skip to content

Commit c2f95bb

Browse files
committed
arm64: dts: apple: t8112: Add dcpext/dispext0 nodes
Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 8f90332 commit c2f95bb

1 file changed

Lines changed: 75 additions & 0 deletions

File tree

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

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,14 @@
454454
clock-output-names = "clk_disp0";
455455
};
456456

457+
/* Pixel clock? frequency in Hz (compare: 4K@60 VGA clock 533.250 MHz) */
458+
clk_dispext0: clock-dispext0 {
459+
compatible = "fixed-clock";
460+
#clock-cells = <0>;
461+
clock-frequency = <0>;
462+
clock-output-names = "clk_dispext0";
463+
};
464+
457465
reserved-memory {
458466
#address-cells = <2>;
459467
#size-cells = <2>;
@@ -1399,6 +1407,73 @@
13991407

14001408
};
14011409

1410+
dispext0_dart: iommu@271304000 {
1411+
compatible = "apple,t8112-dart", "apple,t8110-dart";
1412+
reg = <0x2 0x71304000 0x0 0x4000>;
1413+
#iommu-cells = <1>;
1414+
apple,dma-range = <0x0 0x0 0xf 0xffff0000>;
1415+
interrupt-parent = <&aic>;
1416+
interrupts = <AIC_IRQ 593 IRQ_TYPE_LEVEL_HIGH>;
1417+
power-domains = <&ps_dispext_cpu0>;
1418+
status = "disabled";
1419+
};
1420+
1421+
dcpext_dart: iommu@27130c000 {
1422+
compatible = "apple,t8112-dart", "apple,t8110-dart";
1423+
reg = <0x2 0x7130c000 0x0 0x4000>;
1424+
#iommu-cells = <1>;
1425+
apple,dma-range = <0x8 0x0 0x7 0xffff0000>;
1426+
interrupt-parent = <&aic>;
1427+
interrupts = <AIC_IRQ 593 IRQ_TYPE_LEVEL_HIGH>;
1428+
power-domains = <&ps_dispext_cpu0>;
1429+
status = "disabled";
1430+
};
1431+
1432+
dcpext_mbox: mbox@271c08000 {
1433+
compatible = "apple,t8112-asc-mailbox", "apple,asc-mailbox-v4";
1434+
reg = <0x2 0x71c08000 0x0 0x4000>;
1435+
interrupt-parent = <&aic>;
1436+
interrupts = <AIC_IRQ 578 IRQ_TYPE_LEVEL_HIGH>,
1437+
<AIC_IRQ 579 IRQ_TYPE_LEVEL_HIGH>,
1438+
<AIC_IRQ 580 IRQ_TYPE_LEVEL_HIGH>,
1439+
<AIC_IRQ 581 IRQ_TYPE_LEVEL_HIGH>;
1440+
interrupt-names = "send-empty", "send-not-empty",
1441+
"recv-empty", "recv-not-empty";
1442+
#mbox-cells = <0>;
1443+
power-domains = <&ps_dispext_cpu0>;
1444+
resets = <&ps_dispext_cpu0>;
1445+
status = "disabled";
1446+
};
1447+
1448+
dcpext: dcp@271c00000 {
1449+
compatible = "apple,t8112-dcpext", "apple,dcpext";
1450+
mboxes = <&dcpext_mbox>;
1451+
mbox-names = "mbox";
1452+
iommus = <&dcpext_dart 5>;
1453+
phandle = <&dcpext>;
1454+
1455+
/* the ADT has 2 additional regs which seems to be unused */
1456+
reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3";
1457+
reg = <0x2 0x71c00000 0x0 0x4000>,
1458+
<0x2 0x70000000 0x0 0x61C000>,
1459+
<0x2 0x71320000 0x0 0x4000>,
1460+
<0x2 0x71344000 0x0 0x4000>,
1461+
<0x2 0x71800000 0x0 0x800000>;
1462+
apple,bw-scratch = <&pmgr_dcp 0 4 0x5e0>;
1463+
power-domains = <&ps_dispext_cpu0>;
1464+
resets = <&ps_dispext_cpu0>;
1465+
clocks = <&clk_dispext0>;
1466+
apple,dcp-index = <1>;
1467+
status = "disabled";
1468+
// required bus properties for 'piodma' subdevice
1469+
#address-cells = <2>;
1470+
#size-cells = <2>;
1471+
1472+
piodma {
1473+
iommus = <&dispext0_dart 4>;
1474+
};
1475+
};
1476+
14021477
ans_mbox: mbox@277408000 {
14031478
compatible = "apple,t8112-asc-mailbox", "apple,asc-mailbox-v4";
14041479
reg = <0x2 0x77408000 0x0 0x4000>;

0 commit comments

Comments
 (0)