Skip to content

Commit 8f90332

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

1 file changed

Lines changed: 77 additions & 0 deletions

File tree

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

Lines changed: 77 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.
@@ -667,6 +675,7 @@
667675

668676
display: display-subsystem {
669677
compatible = "apple,display-subsystem";
678+
/* disp_dart0 must be 1st since it is locked */
670679
iommus = <&disp0_dart 0>;
671680
/* generate phandle explicitly for use in loader */
672681
phandle = <&display>;
@@ -1222,6 +1231,74 @@
12221231
<AIC_IRQ 274 IRQ_TYPE_LEVEL_HIGH>;
12231232
};
12241233

1234+
dispext0_dart: iommu@271304000 {
1235+
compatible = "apple,t8103-dart";
1236+
reg = <0x2 0x71304000 0x0 0x4000>;
1237+
#iommu-cells = <1>;
1238+
interrupt-parent = <&aic>;
1239+
interrupts = <AIC_IRQ 481 IRQ_TYPE_LEVEL_HIGH>;
1240+
power-domains = <&ps_dispext_cpu0>;
1241+
apple,dma-range = <0x0 0x0 0x0 0xfc000000>;
1242+
status = "disabled";
1243+
};
1244+
1245+
dcpext_dart: iommu@27130c000 {
1246+
compatible = "apple,t8103-dart";
1247+
reg = <0x2 0x7130c000 0x0 0x4000>;
1248+
#iommu-cells = <1>;
1249+
interrupt-parent = <&aic>;
1250+
interrupts = <AIC_IRQ 481 IRQ_TYPE_LEVEL_HIGH>;
1251+
power-domains = <&ps_dispext_cpu0>;
1252+
apple,dma-range = <0xf 0x00000000 0x0 0xfc000000>;
1253+
status = "disabled";
1254+
};
1255+
1256+
dcpext_mbox: mbox@271c08000 {
1257+
compatible = "apple,t8103-asc-mailbox", "apple,asc-mailbox-v4";
1258+
reg = <0x2 0x71c08000 0x0 0x4000>;
1259+
interrupt-parent = <&aic>;
1260+
interrupts = <AIC_IRQ 466 IRQ_TYPE_LEVEL_HIGH>,
1261+
<AIC_IRQ 467 IRQ_TYPE_LEVEL_HIGH>,
1262+
<AIC_IRQ 468 IRQ_TYPE_LEVEL_HIGH>,
1263+
<AIC_IRQ 469 IRQ_TYPE_LEVEL_HIGH>;
1264+
interrupt-names = "send-empty", "send-not-empty",
1265+
"recv-empty", "recv-not-empty";
1266+
#mbox-cells = <0>;
1267+
power-domains = <&ps_dispext_cpu0>;
1268+
resets = <&ps_dispext_cpu0>;
1269+
status = "disabled";
1270+
};
1271+
1272+
dcpext: dcp@271c00000 {
1273+
compatible = "apple,t8103-dcpext", "apple,dcpext";
1274+
mboxes = <&dcpext_mbox>;
1275+
mbox-names = "mbox";
1276+
iommus = <&dcpext_dart 0>;
1277+
phandle = <&dcpext>;
1278+
1279+
reg-names = "coproc", "disp-0", "disp-1", "disp-2",
1280+
"disp-3", "disp-4";
1281+
reg = <0x2 0x71c00000 0x0 0x4000>,
1282+
<0x2 0x70000000 0x0 0x118000>,
1283+
<0x2 0x71320000 0x0 0x4000>,
1284+
<0x2 0x71344000 0x0 0x4000>,
1285+
<0x2 0x71800000 0x0 0x800000>,
1286+
<0x2 0x3b3d0000 0x0 0x4000>;
1287+
apple,bw-scratch = <&pmgr_dcp 0 5 0x18>;
1288+
apple,bw-doorbell = <&pmgr_dcp 1 6>;
1289+
power-domains = <&ps_dispext_cpu0>;
1290+
resets = <&ps_dispext_cpu0>;
1291+
clocks = <&clk_dispext0>;
1292+
status = "disabled";
1293+
// required bus properties for 'piodma' subdevice
1294+
#address-cells = <2>;
1295+
#size-cells = <2>;
1296+
1297+
piodma {
1298+
iommus = <&dispext0_dart 4>;
1299+
};
1300+
};
1301+
12251302
ans_mbox: mbox@277408000 {
12261303
compatible = "apple,t8103-asc-mailbox", "apple,asc-mailbox-v4";
12271304
reg = <0x2 0x77408000 0x0 0x4000>;

0 commit comments

Comments
 (0)