[PATCH 1/3] arm64: dts: qcom: x1e80100: Add missing #address-cells/#size-cells to firmware node

Abel Vesa posted 3 patches 2 weeks, 1 day ago
[PATCH 1/3] arm64: dts: qcom: x1e80100: Add missing #address-cells/#size-cells to firmware node
Posted by Abel Vesa 2 weeks, 1 day ago
The commit 4b28a0dec185 ("of: WARN on deprecated #address-cells/#size-cells
handling") now forces the parent nodes to specify #adddress-cells
and #size-cells, otherwise it will throw a warning.

So add the #address-cells and #size-cells properties to the firmware node
to get rid of those warnings.

Cc: <stable+noautosel@kernel.org> # Depends on commit 4b28a0dec185
Fixes: af16b00578a7 ("arm64: dts: qcom: Add base X1E80100 dtsi and the QCP dts")
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
---
 arch/arm64/boot/dts/qcom/x1e80100.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi
index 88805629ed2bf052ea6ec152794066217489cf52..c6b554bac616b9ea6a183e894d4e3d58516fbcd7 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi
+++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi
@@ -304,6 +304,9 @@ cluster_cl5: cluster-sleep-1 {
 	};
 
 	firmware {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
 		scm: scm {
 			compatible = "qcom,scm-x1e80100", "qcom,scm";
 			interconnects = <&aggre2_noc MASTER_CRYPTO QCOM_ICC_TAG_ALWAYS
@@ -5804,6 +5807,9 @@ apps_rsc: rsc@17500000 {
 			label = "apps_rsc";
 			power-domains = <&system_pd>;
 
+			#address-cells = <1>;
+			#size-cells = <0>;
+
 			apps_bcm_voter: bcm-voter {
 				compatible = "qcom,bcm-voter";
 			};

-- 
2.34.1