hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/arch/arm/boot/dts/aspeed-ast2500-evb.dts
....@@ -5,7 +5,7 @@
55
66 / {
77 model = "AST2500 EVB";
8
- compatible = "aspeed,ast2500";
8
+ compatible = "aspeed,ast2500-evb", "aspeed,ast2500";
99
1010 aliases {
1111 serial4 = &uart5;
....@@ -13,11 +13,24 @@
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>;
21
+ };
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
+ };
2134 };
2235 };
2336
....@@ -27,6 +40,8 @@
2740 status = "okay";
2841 m25p,fast-read;
2942 label = "bmc";
43
+ spi-max-frequency = <50000000>;
44
+#include "openbmc-flash-layout.dtsi"
3045 };
3146 };
3247
....@@ -36,6 +51,7 @@
3651 status = "okay";
3752 m25p,fast-read;
3853 label = "pnor";
54
+ spi-max-frequency = <100000000>;
3955 };
4056 };
4157
....@@ -80,6 +96,17 @@
8096 };
8197 };
8298
99
+&sdmmc {
100
+ status = "okay";
101
+};
102
+
103
+&sdhci0 {
104
+ status = "okay";
105
+
106
+ pinctrl-names = "default";
107
+ pinctrl-0 = <&pinctrl_sd1_default>;
108
+};
109
+
83110 /*
84111 * Enable port A as device (via the virtual hub) and port B as
85112 * host by default on the eval board. This can be easily changed
....@@ -97,3 +124,8 @@
97124 &uhci {
98125 status = "okay";
99126 };
127
+
128
+&gfx {
129
+ status = "okay";
130
+ memory-region = <&gfx_memory>;
131
+};