]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: aspeed-g4: fix AHB window size of the SMC controllers
authorCédric Le Goater <clg@kaod.org>
Wed, 19 Apr 2017 13:43:15 +0000 (15:43 +0200)
committerJoel Stanley <joel@jms.id.au>
Wed, 23 Aug 2017 06:36:02 +0000 (16:06 +0930)
The window of the Aspeed AST2400 SMC Controllers to map chips on the
AHB Bus has a 256MB size. The full window range is

    [ 0x20000000 - 0x2FFFFFFF ] for the FMC controller
    [ 0x30000000 - 0x3FFFFFFF ] for the SPI controller

This change requires CONFIG_VMSPLIT_2G to be set.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g4.dtsi

index 8a04c7e2d8185c9a72ea7824785ac93009672561..22b958537d31ada6dac768be3de7e2eddf31bfdb 100644 (file)
@@ -26,7 +26,7 @@ ahb {
 
                fmc: flash-controller@1e620000 {
                        reg = < 0x1e620000 0x94
-                               0x20000000 0x02000000 >;
+                               0x20000000 0x10000000 >;
                        #address-cells = <1>;
                        #size-cells = <0>;
                        compatible = "aspeed,ast2400-fmc";
@@ -41,7 +41,7 @@ flash@0 {
 
                spi: flash-controller@1e630000 {
                        reg = < 0x1e630000 0x18
-                               0x30000000 0x02000000 >;
+                               0x30000000 0x10000000 >;
                        #address-cells = <1>;
                        #size-cells = <0>;
                        compatible = "aspeed,ast2400-spi";