diff --git a/arch/arm64/boot/dts/apple/t6040-j614s.dts b/arch/arm64/boot/dts/apple/t6040-j614s.dts index 9e9a6eb1c543d..a3ec0c7fc6d28 100644 --- a/arch/arm64/boot/dts/apple/t6040-j614s.dts +++ b/arch/arm64/boot/dts/apple/t6040-j614s.dts @@ -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>; diff --git a/arch/arm64/boot/dts/apple/t6040-j616s.dts b/arch/arm64/boot/dts/apple/t6040-j616s.dts index fe2591c545be2..a7da6a1fe5764 100644 --- a/arch/arm64/boot/dts/apple/t6040-j616s.dts +++ b/arch/arm64/boot/dts/apple/t6040-j616s.dts @@ -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"; @@ -235,12 +208,3 @@ &ps_uart0 { status = "okay"; }; - -&t6040_sleep { - status = "okay"; -}; - -&dcp { - apple,sleep-host-stop; - apple,display-power = <&dcp_power>; -}; diff --git a/arch/arm64/boot/dts/apple/t604x-j614-j616.dtsi b/arch/arm64/boot/dts/apple/t604x-j614-j616.dtsi index 0f82cd917b866..3f459333e6adc 100644 --- a/arch/arm64/boot/dts/apple/t604x-j614-j616.dtsi +++ b/arch/arm64/boot/dts/apple/t604x-j614-j616.dtsi @@ -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>; };