Skip to content

Commit 4863bec

Browse files
jannaumarcan
authored andcommitted
arm64: dts: apple: t6022-{j180,j475}: Enable dcpext0/dptx-phy/dp2hdmi
After all parts are in place enable dcpext on M2 Ultra Mac Pro and Studio. On the Mac Pro only the HDMI output connected to die1 is enabled. Signed-off-by: Janne Grunau <[email protected]>
1 parent fdca4e6 commit 4863bec

2 files changed

Lines changed: 45 additions & 3 deletions

File tree

arch/arm64/boot/dts/apple/t6022-j475d.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
power-domains = <&ps_dispext0_cpu0_die1>, <&ps_dptx_phy_ps_die1>;
2929
};
3030

31+
&dcpext0_die1 {
32+
// J180 misses "function-dp2hdmi_pwr_en"
33+
dp2hdmi-pwren-gpios = <&smc_gpio 25 GPIO_ACTIVE_HIGH>;
34+
};
35+
3136
&typec4 {
3237
label = "USB-C Front Right";
3338
};

arch/arm64/boot/dts/apple/t6022-jxxxd.dtsi

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,48 @@
99
* Copyright The Asahi Linux Contributors
1010
*/
1111

12-
/* disable unused display node */
12+
/ {
13+
aliases {
14+
dcpext4 = &dcpext0_die1;
15+
disp0 = &display;
16+
};
17+
};
18+
19+
&lpdptxphy_die1 {
20+
status = "okay";
21+
};
1322

1423
&display {
15-
status = "disabled";
16-
iommus = <>; /* <&dispext0_dart_die1 0>; */
24+
iommus = <&dispext0_dart_die1 0>;
25+
};
26+
27+
&dispext0_dart_die1 {
28+
status = "okay";
29+
};
30+
31+
&dcpext0_dart_die1 {
32+
status = "okay";
33+
};
34+
35+
&dcpext0_mbox_die1 {
36+
status = "okay";
37+
};
38+
39+
&dcpext0_die1 {
40+
status = "okay";
41+
apple,connector-type = "HDMI-A";
42+
43+
/* HDMI HPD gpio, used as interrupt*/
44+
hdmi-hpd-gpios = <&pinctrl_aop 41 GPIO_ACTIVE_HIGH>;
45+
46+
hdmi-pwren-gpios = <&smc_gpio 23 GPIO_ACTIVE_HIGH>;
47+
// J180 misses "function-dp2hdmi_pwr_en"
48+
// dp2hdmi-pwren-gpios = <&smc_gpio 25 GPIO_ACTIVE_HIGH>;
49+
50+
phys = <&lpdptxphy_die1>;
51+
phy-names = "dp-phy";
52+
apple,dptx-phy = <4>;
53+
apple,dptx-die = <1>;
1754
};
1855

1956
/* delete missing dcp0/disp0 */

0 commit comments

Comments
 (0)