[PATCH 1/3] ARM: dts: aspeed: Update spi alias in Facebook AST2500 Common dtsi

rentao.bupt at gmail.com rentao.bupt at gmail.com
Fri Aug 4 09:03:22 AEST 2023


From: Tao Ren <rentao.bupt at gmail.com>

Set FMC controller to "spi0" in ast2500-facebook-netbmc-common.dtsi so
the spi bus is consistent with the flash labels defined in flash layout.

Signed-off-by: Tao Ren <rentao.bupt at gmail.com>
---
 arch/arm/boot/dts/aspeed/ast2500-facebook-netbmc-common.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed/ast2500-facebook-netbmc-common.dtsi b/arch/arm/boot/dts/aspeed/ast2500-facebook-netbmc-common.dtsi
index c0c43b8644ee..7f1ae3f4df9d 100644
--- a/arch/arm/boot/dts/aspeed/ast2500-facebook-netbmc-common.dtsi
+++ b/arch/arm/boot/dts/aspeed/ast2500-facebook-netbmc-common.dtsi
@@ -4,6 +4,10 @@
 #include "aspeed-g5.dtsi"
 
 / {
+	aliases {
+		spi0 = &fmc;
+	};
+
 	memory at 80000000 {
 		reg = <0x80000000 0x40000000>;
 	};
-- 
2.40.1



More information about the Linux-aspeed mailing list