[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241022002444.843484-1-rosenp@gmail.com>
Date: Mon, 21 Oct 2024 17:24:44 -0700
From: Rosen Penev <rosenp@...il.com>
To: devicetree@...r.kernel.org
Cc: Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
linux-arm-msm@...r.kernel.org (open list:ARM/QUALCOMM MAILING LIST),
linux-kernel@...r.kernel.org (open list)
Subject: [PATCH] ARM: dts: qcom: ipq4019: use nvmem-layout
nvmem-layout is a more flexible replacement for nvmem-cells.
Signed-off-by: Rosen Penev <rosenp@...il.com>
---
.../boot/dts/qcom/qcom-ipq4018-ap120c-ac.dtsi | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac.dtsi b/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac.dtsi
index 0d23c03fae33..a6d4390efa7c 100644
--- a/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac.dtsi
+++ b/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac.dtsi
@@ -166,16 +166,19 @@ partition@...000 {
label = "ART";
reg = <0x00170000 0x00010000>;
read-only;
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
- precal_art_1000: precal@...0 {
- reg = <0x1000 0x2f20>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ precal_art_1000: precal@...0 {
+ reg = <0x1000 0x2f20>;
+ };
- precal_art_5000: precal@...0 {
- reg = <0x5000 0x2f20>;
+ precal_art_5000: precal@...0 {
+ reg = <0x5000 0x2f20>;
+ };
};
};
--
2.47.0
Powered by blists - more mailing lists