Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1473284
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 02/23] ARM: omap3: Add missing memory node in overo and torpedo boards |
| Date | 2016-08-31 12:50 +0200 |
| Message-ID | <scbfH-1kx-1@gated-at.bofh.it> (permalink) |
| References | <scb61-1h3-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
The skeleton.dtsi file was removed in ARM64 for different reasons as
explained in commit ("3ebee5a2e141 arm64: dts: kill skeleton.dtsi").
These also applies to ARM and it will also allow to get rid of the
following DTC warnings in the future:
"Node /memory has a reg or ranges property, but no unit name"
But these boards don't have a memory node defined, so removing the
skeleton.dtsi inclusion from omap3.dtsi will cause a change in the
compiled DTB. Add a dummy memory node so the compiled DTB doesn't
change if the skeleton.dtsi is removed from omap3.dtsi.
Eventually the correct starting addresses and sizes should be used
but I didn't find that information.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
arch/arm/boot/dts/logicpd-torpedo-som.dtsi | 5 +++++
arch/arm/boot/dts/omap3-overo-base.dtsi | 6 ++++++
2 files changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
index 1c2c74655416..5a63a8d8e177 100644
--- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
+++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
@@ -13,6 +13,11 @@
};
};
+ memory {
+ device_type = "memory";
+ reg = <0 0>;
+ };
+
leds {
compatible = "gpio-leds";
user0 {
diff --git a/arch/arm/boot/dts/omap3-overo-base.dtsi b/arch/arm/boot/dts/omap3-overo-base.dtsi
index 3e946cac55f3..91b2e423c7c0 100644
--- a/arch/arm/boot/dts/omap3-overo-base.dtsi
+++ b/arch/arm/boot/dts/omap3-overo-base.dtsi
@@ -11,6 +11,12 @@
*/
/ {
+
+ memory {
+ device_type = "memory";
+ reg = <0 0>;
+ };
+
pwmleds {
compatible = "pwm-leds";
--
2.7.4
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 00/23] ARM: dts: omap: Remove skeleton.dtsi usage and fix memory node DTC warning" Javier Martinez Canillas <javier@osg.samsung.com> - 2016-08-31 12:40 +0200
[PATCH 06/23] ARM: dts: omap5: Remove skeleton.dtsi usage Javier Martinez Canillas <javier@osg.samsung.com> - 2016-08-31 12:40 +0200
[PATCH 14/23] ARM: dts: omap4: Add missing unit name to memory nodes Javier Martinez Canillas <javier@osg.samsung.com> - 2016-08-31 12:40 +0200
[PATCH 13/23] ARM: dts: omap3: Add missing unit name to memory nodes Javier Martinez Canillas <javier@osg.samsung.com> - 2016-08-31 12:40 +0200
[PATCH 01/23] ARM: am335x: Add missing memory node in sl50 board Javier Martinez Canillas <javier@osg.samsung.com> - 2016-08-31 12:40 +0200
Re: [PATCH 01/23] ARM: am335x: Add missing memory node in sl50 board Enric Balletbo Serra <eballetbo@gmail.com> - 2016-08-31 15:10 +0200
[PATCH 02/23] ARM: omap3: Add missing memory node in overo and torpedo boards Javier Martinez Canillas <javier@osg.samsung.com> - 2016-08-31 12:50 +0200
[PATCH 03/23] ARM: dts: omap2: Remove skeleton.dtsi usage Javier Martinez Canillas <javier@osg.samsung.com> - 2016-08-31 12:50 +0200
[PATCH 04/23] ARM: dts: omap3: Remove skeleton.dtsi usage Javier Martinez Canillas <javier@osg.samsung.com> - 2016-08-31 12:50 +0200
Re: [PATCH 00/23] ARM: dts: omap: Remove skeleton.dtsi usage and fix memory node DTC warning" Tony Lindgren <tony@atomide.com> - 2016-08-31 16:30 +0200
Re: [PATCH 00/23] ARM: dts: omap: Remove skeleton.dtsi usage and fix memory node DTC warning" Tony Lindgren <tony@atomide.com> - 2016-08-31 20:00 +0200
Re: [PATCH 00/23] ARM: dts: omap: Remove skeleton.dtsi usage and fix memory node DTC warning" Javier Martinez Canillas <javier@osg.samsung.com> - 2016-09-01 10:50 +0200
csiph-web