ARM: dts: aspeed: yamp: Set 32MB FMC flash layout
authorTao Ren <rentao.bupt@gmail.com>
Mon, 24 Aug 2020 21:19:46 +0000 (14:19 -0700)
committerJoel Stanley <joel@jms.id.au>
Tue, 25 Aug 2020 04:20:17 +0000 (13:50 +0930)
Set 32MB FMC flash layout in Yamp device tree explicitly because flash
layout settings were removed from "ast2500-facebook-netbmc-common.dtsi".

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Link: https://lore.kernel.org/r/20200824211948.12852-4-rentao.bupt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts

index fe2e11c..5e61058 100644 (file)
 &i2c13 {
        status = "okay";
 };
+
+&fmc_flash0 {
+#include "facebook-bmc-flash-layout.dtsi"
+};
+
+&fmc_flash1 {
+       partitions {
+               compatible = "fixed-partitions";
+               #address-cells = <1>;
+               #size-cells = <1>;
+
+               flash1@0 {
+                       reg = <0x0 0x2000000>;
+                       label = "flash1";
+               };
+       };
+};