OSDN Git Service

MIPS: ingenic: DTS: Add memory info of GCW Zero
authorPaul Cercueil <paul@crapouillou.net>
Mon, 25 May 2020 17:41:53 +0000 (19:41 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 27 May 2020 11:03:56 +0000 (13:03 +0200)
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>
arch/mips/boot/dts/ingenic/gcw0.dts

index c2396b5..8d22828 100644 (file)
                serial3 = &uart3;
        };
 
+       memory: memory {
+               device_type = "memory";
+               reg = <0x0 0x10000000>,
+                     <0x30000000 0x10000000>;
+       };
+
        chosen {
                stdout-path = "serial2:57600n8";
        };