Commit ce1ac53c authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: sc7180: split TCSR halt regs out of mutex



The TCSR halt regs are next to TCSR mutex (in one address block called
TCSR_MUTEX), so before converting the TCSR mutex into device with
address space, we need to split the halt regs to its own syscon device.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220819083209.50844-8-krzysztof.kozlowski@linaro.org
parent b5cc3e52
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -1464,10 +1464,15 @@

		tcsr_mutex_regs: syscon@1f40000 {
			compatible = "syscon";
			reg = <0 0x01f40000 0 0x40000>;
			reg = <0 0x01f40000 0 0x20000>;
		};

		tcsr_regs: syscon@1fc0000 {
		tcsr_regs_1: sycon@1f60000 {
			compatible = "qcom,sc7180-tcsr", "syscon";
			reg = <0 0x01f60000 0 0x20000>;
		};

		tcsr_regs_2: syscon@1fc0000 {
			compatible = "qcom,sc7180-tcsr", "syscon";
			reg = <0 0x01fc0000 0 0x40000>;
		};
@@ -1932,8 +1937,8 @@
				 <&pdc_reset PDC_MODEM_SYNC_RESET>;
			reset-names = "mss_restart", "pdc_reset";

			qcom,halt-regs = <&tcsr_mutex_regs 0x23000 0x25000 0x24000>;
			qcom,spare-regs = <&tcsr_regs 0xb3e4>;
			qcom,halt-regs = <&tcsr_regs_1 0x3000 0x5000 0x4000>;
			qcom,spare-regs = <&tcsr_regs_2 0xb3e4>;

			status = "disabled";