OSDN Git Service

MIPS: ingenic: Add support for GCW Zero prototype
authorPaul Cercueil <paul@crapouillou.net>
Mon, 25 May 2020 17:41:54 +0000 (19:41 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 27 May 2020 11:04:09 +0000 (13:04 +0200)
Add support for the GCW Zero prototype. The only (?) difference is that
it only has 256 MiB of RAM, compared to the 512 MiB of RAM of the retail
device.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/dts/ingenic/gcw0_proto.dts [new file with mode: 0644]

diff --git a/arch/mips/boot/dts/ingenic/gcw0_proto.dts b/arch/mips/boot/dts/ingenic/gcw0_proto.dts
new file mode 100644 (file)
index 0000000..02df22f
--- /dev/null
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0
+/dts-v1/;
+
+#include "gcw0.dts"
+
+/ {
+       model = "GCW Zero Prototype";
+};
+
+&memory {
+       /* Prototype has only 256 MiB of RAM */
+       reg = <0x0 0x10000000>;
+};