[PATCH 1/2] arm64: zynqmp: Align nvmem-firmware with dt-binding

Michael Tretter m.tretter at pengutronix.de
Tue May 28 07:22:53 PDT 2024


The xlnx,zynqmp-firmware.yaml binding defines the soc-nvmem property
instead of firmware-nvmem:

	zynqmp-firmware: 'nvmem-firmware' does not match any of the regexes: 'pinctrl-[0-9]+'

Furthermore, the xlnx,zynqmp-nvmem.yaml uses an nvmem-layout subnode for
the layout definition:

	nvmem-firmware: Unevaluated properties are not allowed ('soc-revision at 0' was unexpected)

Align the node with the specified dt-binding.

Signed-off-by: Michael Tretter <m.tretter at pengutronix.de>
---
 arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index d99830c9b85f..511a786c4b8b 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -207,13 +207,16 @@ zynqmp_power: power-management {
 				mbox-names = "tx", "rx";
 			};
 
-			nvmem-firmware {
+			soc-nvmem {
 				compatible = "xlnx,zynqmp-nvmem-fw";
-				#address-cells = <1>;
-				#size-cells = <1>;
-
-				soc_revision: soc-revision at 0 {
-					reg = <0x0 0x4>;
+				nvmem-layout {
+					compatible = "fixed-layout";
+					#address-cells = <1>;
+					#size-cells = <1>;
+
+					soc_revision: soc-revision at 0 {
+						reg = <0x0 0x4>;
+					};
 				};
 			};
 

-- 
2.39.2




More information about the linux-arm-kernel mailing list