Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 826e8fa4 authored by Fabio Estevam's avatar Fabio Estevam Committed by Greg Kroah-Hartman
Browse files

ARM: dts: imx1: Fix sram node

[ Upstream commit c248e535973088ba7071ff6f26ab7951143450af ]

Per sram.yaml, address-cells, size-cells and ranges are mandatory.

The node name should be sram.

Change the node name and pass the required properties to fix the
following dt-schema warnings:

imx1-apf9328.dtb: esram@300000: $nodename:0: 'esram@300000' does not match '^sram(@.*)?'
	from schema $id: http://devicetree.org/schemas/sram/sram.yaml#
imx1-apf9328.dtb: esram@300000: '#address-cells' is a required property
	from schema $id: http://devicetree.org/schemas/sram/sram.yaml#
imx1-apf9328.dtb: esram@300000: '#size-cells' is a required property
	from schema $id: http://devicetree.org/schemas/sram/sram.yaml#
imx1-apf9328.dtb: esram@300000: 'ranges' is a required property
	from schema $id: http://devicetree.org/schemas/sram/sram.yaml#



Signed-off-by: default avatarFabio Estevam <festevam@denx.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 05f309a3
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -268,9 +268,12 @@
			status = "disabled";
		};

		esram: esram@300000 {
		esram: sram@300000 {
			compatible = "mmio-sram";
			reg = <0x00300000 0x20000>;
			ranges = <0 0x00300000 0x20000>;
			#address-cells = <1>;
			#size-cells = <1>;
		};
	};
};