diff mbox series

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

Message ID 20230803230324.731268-2-rentao.bupt@gmail.com
State Accepted
Commit 285396979f8615ae12ffb6ddaa55d7d83952f586
Headers show
Series ARM: dts: aspeed: Fixup Wedge400 dts | expand

Commit Message

Tao Ren Aug. 3, 2023, 11:03 p.m. UTC
From: Tao Ren <rentao.bupt@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@gmail.com>
---
 arch/arm/boot/dts/aspeed/ast2500-facebook-netbmc-common.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

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@80000000 {
 		reg = <0x80000000 0x40000000>;
 	};