Commit 6ba5f9b4 authored by Dinh Nguyen's avatar Dinh Nguyen
Browse files

ARM: dts: socfpga: add #address-cells and #size-cells for sram node

Add #address-cells and #size-cells for sram node to fix below DTB_CHECK
warnings:

socfpga_arria5_socdk.dtb: sram@ffff0000 (mmio-sram): '#size-cells' is a
required property from schema $id: http://devicetree.org/schemas/sram/sram.yaml



Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent 42918d28
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -785,6 +785,9 @@ nand0: nand-controller@ff900000 {
		ocram: sram@ffff0000 {
			compatible = "mmio-sram";
			reg = <0xffff0000 0x10000>;
			#address-cells = <0x1>;
			#size-cells = <0x1>;
			ranges;
		};

		qspi: spi@ff705000 {
+3 −0
Original line number Diff line number Diff line
@@ -686,6 +686,9 @@ nand: nand-controller@ffb90000 {
		ocram: sram@ffe00000 {
			compatible = "mmio-sram";
			reg = <0xffe00000 0x40000>;
			#address-cells = <1>;
			#size-cells = <1>;
			ranges;
		};

		eccmgr: eccmgr {