diff mbox series

ARM: dts: imx28-lwe: Pass device_type to the memory node

Message ID 20231205131838.2013872-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: imx28-lwe: Pass device_type to the memory node | expand

Commit Message

Fabio Estevam Dec. 5, 2023, 1:18 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

Per memory.yaml, 'device_type' is a required property.

Pass it to fix the following dt-schema warning:

imx28-xea.dtb: /: memory@40000000: 'device_type' is a required property
	from schema $id: http://devicetree.org/schemas/memory.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/boot/dts/nxp/mxs/imx28-lwe.dtsi | 1 +
 1 file changed, 1 insertion(+)

Comments

Stefan Wahren Dec. 5, 2023, 6:22 p.m. UTC | #1
Am 05.12.23 um 14:18 schrieb Fabio Estevam:
> From: Fabio Estevam <festevam@denx.de>
>
> Per memory.yaml, 'device_type' is a required property.
>
> Pass it to fix the following dt-schema warning:
>
> imx28-xea.dtb: /: memory@40000000: 'device_type' is a required property
> 	from schema $id: http://devicetree.org/schemas/memory.yaml#
>
> Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Stefan Wahren <wahrenst@gmx.net>
Shawn Guo Dec. 6, 2023, 3:19 a.m. UTC | #2
On Tue, Dec 05, 2023 at 10:18:38AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> Per memory.yaml, 'device_type' is a required property.
> 
> Pass it to fix the following dt-schema warning:
> 
> imx28-xea.dtb: /: memory@40000000: 'device_type' is a required property
> 	from schema $id: http://devicetree.org/schemas/memory.yaml#
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/nxp/mxs/imx28-lwe.dtsi b/arch/arm/boot/dts/nxp/mxs/imx28-lwe.dtsi
index bb971e660db8..69fcb0dde940 100644
--- a/arch/arm/boot/dts/nxp/mxs/imx28-lwe.dtsi
+++ b/arch/arm/boot/dts/nxp/mxs/imx28-lwe.dtsi
@@ -18,6 +18,7 @@  chosen {
 
 	memory@40000000 {
 		reg = <0x40000000 0x08000000>;
+		device_type = "memory";
 	};
 
 	reg_3v3: regulator-reg-3v3 {