arm64: dts: qcom: sm8350: fix the node unit addresses
authorVinod Koul <vkoul@kernel.org>
Thu, 13 May 2021 06:07:33 +0000 (11:37 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 31 May 2021 17:12:10 +0000 (12:12 -0500)
Some node unit addresses were put wrongly in the dts, resulting in
below warning when run with W=1

arch/arm64/boot/dts/qcom/sm8350.dtsi:693.34-702.5: Warning (simple_bus_reg): /soc@0/thermal-sensor@c222000: simple-bus unit address format error, expected "c263000"
arch/arm64/boot/dts/qcom/sm8350.dtsi:704.34-713.5: Warning (simple_bus_reg): /soc@0/thermal-sensor@c223000: simple-bus unit address format error, expected "c265000"
arch/arm64/boot/dts/qcom/sm8350.dtsi:1180.32-1185.5: Warning (simple_bus_reg): /soc@0/interconnect@90e0000: simple-bus unit address format error, expected "90c0000"

Fix by correcting to the correct address as given in reg node

Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20210513060733.382420-1-vkoul@kernel.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sm8350.dtsi

index b9c43c2fc2263b4e68a1306a32af28d48cf141aa..0d16392bb9767bf717fe6bcffc8ab261e0107b01 100644 (file)
                        interrupt-controller;
                };
 
-               tsens0: thermal-sensor@c222000 {
+               tsens0: thermal-sensor@c263000 {
                        compatible = "qcom,sm8350-tsens", "qcom,tsens-v2";
                        reg = <0 0x0c263000 0 0x1ff>, /* TM */
                              <0 0x0c222000 0 0x8>; /* SROT */
                        #thermal-sensor-cells = <1>;
                };
 
-               tsens1: thermal-sensor@c223000 {
+               tsens1: thermal-sensor@c265000 {
                        compatible = "qcom,sm8350-tsens", "qcom,tsens-v2";
                        reg = <0 0x0c265000 0 0x1ff>, /* TM */
                              <0 0x0c223000 0 0x8>; /* SROT */
                        };
                };
 
-               dc_noc: interconnect@90e0000 {
+               dc_noc: interconnect@90c0000 {
                        compatible = "qcom,sm8350-dc-noc";
                        reg = <0 0x090c0000 0 0x4200>;
                        #interconnect-cells = <1>;