ARM: dts: align all applicable memory nodes with spec and convention
The spec[1] says that top level memory nodes `shall have device_type =
"memory"'. Since 8226f7f9 ("of: base: parse all available memory nodes"),
we parse only nodes with device_type = "memory", so we should add the
device_type property where ever it's missing. When the nodes were first
added, this wasn't an issue because the skeleton.dtsi defined a memory
skeleton with correct device_type, but this was removed upstream and
imported into barebox along with 1dc748b3 ("dts: update to v5.1-rc1").

Upstream device trees with a memory node were adapted to have
device_type = "memory" in-line. This wasn't the case for nodes defined
only within barebox. Rectify this now and rename the nodes to feature a
unit name as well to be aligned with the upstream trend.

[1]: https://github.com/devicetree-org/devicetree-specification/releases/download/v0.3/devicetree-specification-v0.3.pdf

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 2b62fd9 commit 395e7ce8d3276ca0db45f0727fad655dfb5bc9b2
@Ahmad Fatoum Ahmad Fatoum authored on 18 Jun 2020
Sascha Hauer committed on 23 Jun 2020
Showing 15 changed files
View
arch/arm/dts/am335x-afi-gf.dts
View
arch/arm/dts/am35xx-pfc-750_820x.dts
View
arch/arm/dts/imx51-genesi-efika-sb.dts
View
arch/arm/dts/imx6dl-eltec-hipercam.dts
View
arch/arm/dts/imx6dl-mba6x.dts
View
arch/arm/dts/imx6q-guf-santaro.dts
View
arch/arm/dts/imx6q-mba6x.dts
View
arch/arm/dts/imx6q-var-som.dtsi
View
arch/arm/dts/imx6qdl-udoo.dtsi
View
arch/arm/dts/imx7d-phyboard-zeta.dts
View
arch/arm/dts/imx7d-phycore-som.dtsi
View
arch/arm/dts/imx7d-sdb.dts
View
arch/arm/dts/module-mb7707.dts
View
arch/arm/dts/rk3288-phycore-som.dts
View
arch/arm/dts/virt2real.dts