ARM: dts: aspeed: Update spi alias in Facebook AST2500 Common dtsi
authorTao Ren <rentao.bupt@gmail.com>
Thu, 3 Aug 2023 23:03:22 +0000 (16:03 -0700)
committerJoel Stanley <joel@jms.id.au>
Thu, 10 Aug 2023 12:03:53 +0000 (21:33 +0930)
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>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20230803230324.731268-2-rentao.bupt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed/ast2500-facebook-netbmc-common.dtsi

index c0c43b8644eee128cece3ade121c36d2854dae51..7f1ae3f4df9d1fccc88ea75b0946b01f17c50328 100644 (file)
@@ -4,6 +4,10 @@
 #include "aspeed-g5.dtsi"
 
 / {
+       aliases {
+               spi0 = &fmc;
+       };
+
        memory@80000000 {
                reg = <0x80000000 0x40000000>;
        };