From 04ce44a770432ca5e522a1ffa23b4270d6783b55 Mon Sep 17 00:00:00 2001 From: Roberto Dantas <7robertodantas@gmail.com> Date: Wed, 25 Nov 2026 07:11:22 -0300 Subject: [PATCH] arm64: dts: apple: t6041-j575c: enable both MSR scalers The J575c includes t6041-j614-j616-j575-scaler.dtsi but leaves both scalers, their DARTs and their power domains disabled. The J616c enables them. The J575c's ADT (macOS 27.2.1) has scaler0 and scaler1 (hardware-version 0x15, MSR21) and dart-scaler0/1 at the dtsi's addresses and interrupts (1547/1549, 1553/1555; DARTs 1548, 1554, streams 0 and 1), and its PMGR has MSR0 and MSR0_ASE_CORE at 0x470/0x478 and MSR1 and MSR1_ASE_CORE at 0x3b0/0x3b8 in group 1, as the dtsi has them. Enable them, with ps_fab5_soc, as the J616c does. Signed-off-by: Roberto Dantas <7robertodantas@gmail.com> --- arch/arm64/boot/dts/apple/t6041-j575c.dts | 41 +++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/arch/arm64/boot/dts/apple/t6041-j575c.dts b/arch/arm64/boot/dts/apple/t6041-j575c.dts index 06ee0da56448f..61f312e2e3a9a 100644 --- a/arch/arm64/boot/dts/apple/t6041-j575c.dts +++ b/arch/arm64/boot/dts/apple/t6041-j575c.dts @@ -2101,3 +2101,44 @@ &ps_qspi { status = "okay"; }; + +/* + * Both MSR scalers (scaler0, scaler1) and their DARTs, as on the J616c. The + * J575c's ADT has them at the addresses, interrupts and PMGR offsets of + * t6041-j614-j616-j575-scaler.dtsi. + */ +&ps_fab5_soc { + status = "okay"; +}; + +&ps_msr0 { + status = "okay"; +}; + +&ps_msr0_ase_core { + status = "okay"; +}; + +&scaler0_dart { + status = "okay"; +}; + +&scaler0 { + status = "okay"; +}; + +&ps_msr1 { + status = "okay"; +}; + +&ps_msr1_ase_core { + status = "okay"; +}; + +&scaler1_dart { + status = "okay"; +}; + +&scaler1 { + status = "okay"; +};