File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
arch/arm64/boot/dts/apple Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 99 * Copyright The Asahi Linux Contributors
1010 */
1111
12+ #define ENABLE_DCPEXT_TYPEC
13+
1214#include <dt-bindings/leds/common.h>
1315
1416/ {
2224 bluetooth0 = &bluetooth0;
2325 dcp = &dcp;
2426 dcpext0 = &dcpext0;
27+ #ifdef ENABLE_DCPEXT_TYPEC
28+ dcpext1 = &dcpext1;
29+ #endif
2530 disp0 = &display;
2631 disp0_piodma = &disp0_piodma;
2732 serial0 = &serial0;
186191 power-role = "dual";
187192 data-role = "dual";
188193
194+ #ifdef ENABLE_DCPEXT_TYPEC
195+ /* hacks */
196+ displayport = <&dcpext1>;
197+ #endif
198+
189199 ports {
190200 #address-cells = <1>;
191201 #size-cells = <0>;
247257 };
248258};
249259
260+ #ifdef ENABLE_DCPEXT_TYPEC
261+
262+ &display {
263+ iommus = <&disp0_dart 0>, <&dispext0_dart 0>, <&dispext1_dart 0>;
264+ };
265+
266+ &dispext1_dart {
267+ status = "okay";
268+ };
269+
270+ &dcpext1_dart {
271+ status = "okay";
272+ };
273+
274+ &dcpext1_mbox {
275+ status = "okay";
276+ };
277+
278+ &dcpext1 {
279+ status = "okay";
280+ apple,connector-type = "DP";
281+
282+ /* hacks */
283+ apple,dptx-phy = <1>;
284+ phys = <&atcphy1 PHY_TYPE_DP>;
285+ phy-names = "dp-phy";
286+ mux-controls = <&atcphy1_xbar 0>;
287+ mux-control-names = "dp-xbar";
288+ mux-index = <2>;
289+ };
290+
291+ &dpaudio2 {
292+ status = "okay";
293+ };
294+
295+ &atcphy1_xbar {
296+ status = "okay";
297+ };
298+ #endif
299+
250300/* Virtual regulator representing the shared shutdown GPIO */
251301/ {
252302 speaker_sdz: fixed-regulator-sn012776-sdz {
You can’t perform that action at this time.
0 commit comments