diff options
author | Paul Cercueil <paul@crapouillou.net> | 2020-05-25 19:41:53 +0200 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-05-27 13:03:56 +0200 |
commit | 963287e48314d334d3c5b377dca8ea0dec4ac718 (patch) | |
tree | d9cc8dd9ea1e919873ba78e2fad4588db16589bd /arch/mips/boot | |
parent | MIPS: Loongson64: Switch to generic PCI driver (diff) | |
download | linux-963287e48314d334d3c5b377dca8ea0dec4ac718.tar.xz linux-963287e48314d334d3c5b377dca8ea0dec4ac718.zip |
MIPS: ingenic: DTS: Add memory info of GCW Zero
Add memory info of the GCW Zero in its devicetree. The bootloader
generally provides this information, but since it is fixed to 512 MiB,
it doesn't hurt to have it in devicetree. It allows the kernel to boot
without any parameter passed as argument.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/boot')
-rw-r--r-- | arch/mips/boot/dts/ingenic/gcw0.dts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/ingenic/gcw0.dts b/arch/mips/boot/dts/ingenic/gcw0.dts index c2396b5ca175..8d22828787d8 100644 --- a/arch/mips/boot/dts/ingenic/gcw0.dts +++ b/arch/mips/boot/dts/ingenic/gcw0.dts @@ -19,6 +19,12 @@ serial3 = &uart3; }; + memory: memory { + device_type = "memory"; + reg = <0x0 0x10000000>, + <0x30000000 0x10000000>; + }; + chosen { stdout-path = "serial2:57600n8"; }; |