Skip to content

Commit 5de3b03

Browse files
committed
ARM: dts: aspeed: Enable the GFX IP
The GFX controller is the internal graphics device used by the SoC (opposed to the one connected via the PCIe device and used by the host). This configures it with a framebuffer region and adds it to the command line so kernel boot messages appear on the display. Enabled for Romulus, Witherspoon, and the ASPEED AST2500 EVB. Reviewed-by: Andrew Jeffery <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
1 parent e1920e7 commit 5de3b03

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

arch/arm/boot/dts/aspeed-ast2500-evb.dts

+19-1
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,25 @@
1313

1414
chosen {
1515
stdout-path = &uart5;
16-
bootargs = "console=ttyS4,115200 earlyprintk";
16+
bootargs = "console=tty0 console=ttyS4,115200 earlyprintk";
1717
};
1818

1919
memory@80000000 {
2020
reg = <0x80000000 0x20000000>;
2121
};
22+
23+
reserved-memory {
24+
#address-cells = <1>;
25+
#size-cells = <1>;
26+
ranges;
27+
28+
gfx_memory: framebuffer {
29+
size = <0x01000000>;
30+
alignment = <0x01000000>;
31+
compatible = "shared-dma-pool";
32+
reusable;
33+
};
34+
};
2235
};
2336

2437
&fmc {
@@ -98,3 +111,8 @@
98111
&uhci {
99112
status = "okay";
100113
};
114+
115+
&gfx {
116+
status = "okay";
117+
memory-region = <&gfx_memory>;
118+
};

arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts

+8
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@
3535
reg = <0x9ef00000 0x00100000>;
3636
no-map;
3737
};
38+
39+
gfx_memory: framebuffer {
40+
size = <0x01000000>;
41+
alignment = <0x01000000>;
42+
compatible = "shared-dma-pool";
43+
reusable;
44+
};
3845
};
3946

4047
leds {
@@ -238,6 +245,7 @@
238245

239246
&gfx {
240247
status = "okay";
248+
memory-region = <&gfx_memory>;
241249
};
242250

243251
&pinctrl {

arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts

+8
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@
2626
no-map;
2727
reg = <0x98000000 0x04000000>; /* 64M */
2828
};
29+
30+
gfx_memory: framebuffer {
31+
size = <0x01000000>;
32+
alignment = <0x01000000>;
33+
compatible = "shared-dma-pool";
34+
reusable;
35+
};
2936
};
3037

3138
gpio-keys {
@@ -565,6 +572,7 @@
565572

566573
&gfx {
567574
status = "okay";
575+
memory-region = <&gfx_memory>;
568576
};
569577

570578
&pinctrl {

0 commit comments

Comments
 (0)