Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions arch/arm64/boot/dts/apple/t8132-j604.dts
Original file line number Diff line number Diff line change
Expand Up @@ -293,12 +293,76 @@
&wifi0 {
/* ADT /arm-io/wlan module-instance */
brcm,board-type = "apple,guam";
wakeup-source;
};

&bluetooth0 {
brcm,board-type = "apple,guam";
};

/* Native radio sleep recovery needs CLKREQ# (ADT pci-bridge0 function-clkreq 0xa0). */
&port00 {
clkreq-gpios = <&pinctrl_ap 160 GPIO_ACTIVE_LOW>;
};

/*
* External DCP deep-sleep power-off: consumer-switched power states and
* ADT-verified clock-protection slices (5, 4, 30, 29), matching the J713.
*/
&ps_dispext0_sys {
apple,firmware-owned;
apple,consumer-switched;
apple,bridge-link = <&dcpext0 4 0x800104>;
};

&ps_dispext0_fe {
apple,firmware-owned;
apple,consumer-switched;
power-domains = <&ps_dispext0_sys>, <&pmc_dispext0>;
};

&ps_dispext0_cpu {
apple,firmware-owned;
apple,consumer-switched;
/* Power-gate retention workaround, as macOS sets it while off. */
apple,retention-workaround = <0x256cc 0x3 0x3>, <0x256f0 0x3 0x0>;
};

&ps_dispext1_sys {
apple,firmware-owned;
apple,consumer-switched;
apple,bridge-link = <&dcpext1 4 0x800104>;
};

&ps_dispext1_fe {
apple,firmware-owned;
apple,consumer-switched;
power-domains = <&ps_dispext1_sys>, <&pmc_dispext1>;
};

&ps_dispext1_cpu {
apple,firmware-owned;
apple,consumer-switched;
/* Power-gate retention workaround, as macOS sets it while off. */
apple,retention-workaround = <0x25b4c 0x3 0x3>, <0x25b70 0x3 0x0>;
};

&dcpext0_dart {
apple,clock-protection = <&ps_prot 5>;
};

&dispext0_dart {
apple,clock-protection = <&ps_prot 4>;
};

&dcpext1_dart {
apple,clock-protection = <&ps_prot 30>;
};

&dispext1_dart {
apple,clock-protection = <&ps_prot 29>;
};

/*
* The SD card reader, a GL9755 (ADT pci-bridge2/pcie-sdreader), powered by
* the SMC's gP19 (function-sd_pwr_en).
Expand Down