Skip to content
Draft
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/apple/t6040-j614s.dts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
brcm,board-type = "apple,mriya";
};

&smc {
apple,sleep-wake-type;
/* VDD_CIO: bit 8 set, bit 0 keeps port 0's CIO rail powered across sleep. */
apple,sleep-pmvc = <0x101>;
};

&panel {
compatible = "apple,panel-j614", "apple,panel-mini-led", "apple,panel";
width-mm = <302>;
Expand Down
36 changes: 0 additions & 36 deletions arch/arm64/boot/dts/apple/t6040-j616s.dts
Original file line number Diff line number Diff line change
Expand Up @@ -200,33 +200,6 @@
*/
#include "t6040-usb4-routers.dtsi"

/*
* The internal PCIe controller (Wi-Fi/Bluetooth, SD reader) needs APCIE_GP,
* APCIE_SYS_GP and APCIE_PHY_SW on top of the always-on ANS/APCIE_ST*
* states (ADT apcie0 clock-gates). iBoot leaves them on. The driver keeps
* internal links up through suspend-to-idle and cannot retrain them after
* a power cycle, so describe them as always-on: Linux now holds what it
* needs instead of relying on iBoot's state.
*/
&ps_apcie_gp {
apple,always-on;
status = "okay";
};

&ps_apcie_sys_gp {
apple,always-on;
status = "okay";
};

&ps_apcie_phy_sw {
apple,always-on;
status = "okay";
};

&pcie0 {
power-domains = <&ps_apcie_sys_gp>, <&ps_apcie_phy_sw>;
};

/* The debug UART on the DebugUSB port; it is not the console. */
&serial0 {
status = "okay";
Expand All @@ -235,12 +208,3 @@
&ps_uart0 {
status = "okay";
};

&t6040_sleep {
status = "okay";
};

&dcp {
apple,sleep-host-stop;
apple,display-power = <&dcp_power>;
};
33 changes: 33 additions & 0 deletions arch/arm64/boot/dts/apple/t604x-j614-j616.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -3483,6 +3483,39 @@

#include "t604x-usb4-typec.dtsi"

/*
* The internal PCIe controller (Wi-Fi/Bluetooth, SD reader) needs APCIE_GP,
* APCIE_SYS_GP and APCIE_PHY_SW on top of the always-on ANS/APCIE_ST*
* states (ADT apcie0 clock-gates). iBoot leaves them on. The driver keeps
* internal links up through suspend-to-idle and cannot retrain them after
* a power cycle, so describe them as always-on: Linux now holds what it
* needs instead of relying on iBoot's state.
*/
&ps_apcie_gp {
apple,always-on;
status = "okay";
};

&ps_apcie_sys_gp {
apple,always-on;
status = "okay";
};

&ps_apcie_phy_sw {
apple,always-on;
status = "okay";
};

&pcie0 {
power-domains = <&ps_apcie_sys_gp>, <&ps_apcie_phy_sw>;
};

&t6040_sleep {
apple,gp-pcie = <&pcie0>;
status = "okay";
};

&dcp {
apple,sleep-host-stop;
apple,display-power = <&dcp_power>;
};
Loading