diff options
author | Joachim Eastwood <manabian@gmail.com> | 2016-08-29 23:58:29 +0200 |
---|---|---|
committer | Joachim Eastwood <manabian@gmail.com> | 2016-09-06 21:53:16 +0200 |
commit | 836407462244cc4d8b1172f1f835035801692a77 (patch) | |
tree | dbb043e661849a8172c9cb51ab0edcbfc6e25222 /arch | |
parent | 0555a6be0691f14b48371d5359bab4ccc73023ef (diff) | |
download | talos-obmc-linux-836407462244cc4d8b1172f1f835035801692a77.tar.gz talos-obmc-linux-836407462244cc4d8b1172f1f835035801692a77.zip |
ARM: dts: efm32: remove skeleton.dtsi include and fix unit address warnings
Removale of skeleton.dtsi allows us also to fix the following
warning from the dts compiler:
Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
by adding proper unit addresses to the memory nodes. Also add missing
device_type to the memory node while at it.
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/efm32gg-dk3750.dts | 5 | ||||
-rw-r--r-- | arch/arm/boot/dts/efm32gg.dtsi | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/efm32gg-dk3750.dts b/arch/arm/boot/dts/efm32gg-dk3750.dts index 504cf45d3cb8..98fc667d22c7 100644 --- a/arch/arm/boot/dts/efm32gg-dk3750.dts +++ b/arch/arm/boot/dts/efm32gg-dk3750.dts @@ -16,7 +16,8 @@ bootargs = "console=ttyefm4,115200 init=/linuxrc ignore_loglevel ihash_entries=64 dhash_entries=64 earlyprintk uclinux.physaddr=0x8c400000 root=/dev/mtdblock0"; }; - memory { + memory@88000000 { + device_type = "memory"; reg = <0x88000000 0x400000>; }; @@ -74,7 +75,7 @@ status = "ok"; }; - boardfpga: boardfpga { + boardfpga: boardfpga@80000000 { compatible = "efm32board"; reg = <0x80000000 0x400>; irq-gpios = <&gpio 64 1>; diff --git a/arch/arm/boot/dts/efm32gg.dtsi b/arch/arm/boot/dts/efm32gg.dtsi index d9dbf7f2090c..b78c57e51ed5 100644 --- a/arch/arm/boot/dts/efm32gg.dtsi +++ b/arch/arm/boot/dts/efm32gg.dtsi @@ -5,11 +5,13 @@ * http://www.silabs.com/Support%20Documents/TechnicalDocs/EFM32GG-RM.pdf */ -#include "skeleton.dtsi" #include "armv7-m.dtsi" #include "dt-bindings/clock/efm32-cmu.h" / { + #address-cells = <1>; + #size-cells = <1>; + aliases { i2c0 = &i2c0; i2c1 = &i2c1; |