ARM: dts: aspeed: Reserve framebuffer memory
authorCyril Bur <cyrilbur@gmail.com>
Tue, 13 Dec 2016 04:14:15 +0000 (15:14 +1100)
committerJoel Stanley <joel@jms.id.au>
Tue, 10 Jan 2017 10:55:37 +0000 (21:55 +1100)
When used as a BMC, the host expects to be able to use 16MB of
framebuffer memory at the top of RAM.

Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts

index cc5fcf2..78f886c 100644 (file)
        memory {
                reg = <0x40000000 0x10000000>;
        };
+
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               vga_memory: framebuffer@5f000000 {
+                       no-map;
+                       reg = <0x5f000000 0x01000000>; /* 16M */
+               };
+       };
 };
 
 &uart5 {