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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@0' was unexpected)

Align the node with the specified dt-binding.

Signed-off-by: Michael Tretter <m.tretter@xxxxxxxxxxxxxx>
---
 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@0 {
-					reg = <0x0 0x4>;
+				nvmem-layout {
+					compatible = "fixed-layout";
+					#address-cells = <1>;
+					#size-cells = <1>;
+
+					soc_revision: soc-revision@0 {
+						reg = <0x0 0x4>;
+					};
 				};
 			};
 

-- 
2.39.2





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux