]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: BCM5301X: Specify all RAM by including an extra block
authorRafał Miłecki <rafal@milecki.pl>
Wed, 7 Dec 2016 07:56:54 +0000 (08:56 +0100)
committerFlorian Fainelli <f.fainelli@gmail.com>
Thu, 19 Jan 2017 01:18:03 +0000 (17:18 -0800)
The first 128 MiB of RAM can be accessed using an alias at address 0x0.

In theory we could access whole RAM using 0x80000000 - 0xbfffffff range
(up to 1 GiB) but it doesn't seem to work on Northstar. For some reason
(hardware setup left by the bootloader maybe?) 0x80000000 - 0x87ffffff
range can't be used. I reproduced this problem on:
1) Buffalo WZR-600DHP2 (BCM47081)
2) Netgear R6250 (BCM4708)
3) D-Link DIR-885L (BCM47094)

So it seems we're forced to access first 128 MiB using alias at 0x0 and
the rest using real base address + 128 MiB offset which is 0x88000000.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Jon Mason <jon.mason@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
16 files changed:
arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
arch/arm/boot/dts/bcm4708-netgear-r6250.dts
arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
arch/arm/boot/dts/bcm4709-netgear-r7000.dts
arch/arm/boot/dts/bcm4709-netgear-r8000.dts
arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
arch/arm/boot/dts/bcm47094-netgear-r8500.dts

index 112a5a834ddc995171d84f964304d9d3d730d7c5..d241cee4bfcca92451721a1217fe4c446ef69aba 100644 (file)
@@ -21,7 +21,8 @@
        };
 
        memory {
-               reg = <0x00000000 0x08000000>;
+               reg = <0x00000000 0x08000000
+                      0x88000000 0x08000000>;
        };
 
        leds {
index 3600f56f46f463a5d20d6d1d8c47a0099d98612c..b0e62042f62fe2427729866fe52825cc2099e84c 100644 (file)
@@ -21,7 +21,8 @@
        };
 
        memory {
-               reg = <0x00000000 0x08000000>;
+               reg = <0x00000000 0x08000000
+                      0x88000000 0x08000000>;
        };
 
        leds {
index d49afec0d06221268c2887f2fa3f35fa4dbb18a9..c9ba6b964b3853941961ca6f22c1cd207fb366fa 100644 (file)
@@ -21,7 +21,8 @@
        };
 
        memory {
-               reg = <0x00000000 0x08000000>;
+               reg = <0x00000000 0x08000000
+                      0x88000000 0x18000000>;
        };
 
        spi {
index 8519548584f10435919a817f15e506015d74239c..b9f66c0fae27246229543b63cc8081a1f34d8e32 100644 (file)
@@ -21,7 +21,8 @@
        };
 
        memory {
-               reg = <0x00000000 0x08000000>;
+               reg = <0x00000000 0x08000000
+                      0x88000000 0x08000000>;
        };
 
        leds {
index 6229ef283c414dc00d8fa2ab5027556b26a66e28..ae0199f6c7a231cef44891234f3c2446b9325ad4 100644 (file)
@@ -21,7 +21,8 @@
        };
 
        memory {
-               reg = <0x00000000 0x08000000>;
+               reg = <0x00000000 0x08000000
+                      0x88000000 0x08000000>;
        };
 
        leds {
index 74cfcd3e40e9a33616a00517b0e0462efc9462f4..36b628b190d7d098e7d1c1ca97242d62a61ad1cf 100644 (file)
@@ -21,7 +21,8 @@
        };
 
        memory {
-               reg = <0x00000000 0x08000000>;
+               reg = <0x00000000 0x08000000
+                      0x88000000 0x08000000>;
        };
 
        leds {
index 71b98cfaf94427c62fd8ce967c22f2cb508079bf..db8608be0ee7ebac7ec951900163cfd4f1213ff2 100644 (file)
@@ -21,7 +21,8 @@
        };
 
        memory {
-               reg = <0x00000000 0x08000000>;
+               reg = <0x00000000 0x08000000
+                      0x88000000 0x08000000>;
        };
 
        leds {
index 2922536b72fc4cfec36058c5b45db5a819aedb7e..d51586d95b9a0cb1dba7745793a8ba01dd17cc6f 100644 (file)
@@ -21,7 +21,8 @@
        };
 
        memory {
-               reg = <0x00000000 0x08000000>;
+               reg = <0x00000000 0x08000000
+                      0x88000000 0x08000000>;
        };
 
        spi {
index 184fd9214110c6d39a58f32467e4a8b82aaaae24..de041b8c3342d4aec5f11cfb2c34e2545dcb04ae 100644 (file)
@@ -21,7 +21,8 @@
        };
 
        memory {
-               reg = <0x00000000 0x08000000>;
+               reg = <0x00000000 0x08000000
+                      0x88000000 0x08000000>;
        };
 
        gpio-keys {
index eac0f52e5ebd0cd724432843349b2f1380222b9a..eaca6876db0f22395bfde65c2527d05bce6747f9 100644 (file)
@@ -21,7 +21,8 @@
        };
 
        memory {
-               reg = <0x00000000 0x08000000>;
+               reg = <0x00000000 0x08000000
+                      0x88000000 0x08000000>;
        };
 
        leds {
index aab39c9864da7c6a690583cf07803044b4673d2a..b32957ca9443f250ee1e868ebb1cebc96f9a2dcd 100644 (file)
@@ -21,7 +21,8 @@
        };
 
        memory {
-               reg = <0x00000000 0x08000000>;
+               reg = <0x00000000 0x08000000
+                      0x88000000 0x18000000>;
        };
 
        leds {
index 7ab11761eca51eecd22d83d37fde2f3f6d58bb0c..f459a98a72c671a0729cab3a061357940bff7167 100644 (file)
@@ -21,7 +21,8 @@
        };
 
        memory {
-               reg = <0x00000000 0x08000000>;
+               reg = <0x00000000 0x08000000
+                      0x88000000 0x08000000>;
        };
 
        leds {
index 56d38a3549439573a46707640c6ab3d580f258c0..cd13534708f3d6e41817c447ec789695c1e15609 100644 (file)
@@ -21,7 +21,8 @@
        };
 
        memory {
-               reg = <0x00000000 0x08000000>;
+               reg = <0x00000000 0x08000000
+                      0x88000000 0x08000000>;
        };
 
        leds {
index 7fb9270b3a7818c215d062707c47d3fe6b28bc51..64ded7643e9f3fcf41d49870947357a097769fa0 100644 (file)
@@ -21,7 +21,8 @@
        };
 
        memory {
-               reg = <0x00000000 0x08000000>;
+               reg = <0x00000000 0x08000000
+                      0x88000000 0x08000000>;
        };
 
        nand: nand@18028000 {
index 93cc91dac958ef07f6f285da30d4804cea3e7be5..5cf4ab1ebe851e19c9e8133bd7a891415cdf4ea0 100644 (file)
@@ -18,7 +18,8 @@
        };
 
        memory {
-               reg = <0x00000000 0x08000000>;
+               reg = <0x00000000 0x08000000
+                      0x88000000 0x08000000>;
        };
 
        leds {
index 7ecd57cca61013b4ca5974a893e273bef1ddeef2..600795ee1aed3a3da9c6b01590183ba004ea4068 100644 (file)
@@ -18,7 +18,8 @@
        };
 
        memory {
-               reg = <0x00000000 0x08000000>;
+               reg = <0x00000000 0x08000000
+                      0x88000000 0x18000000>;
        };
 
        leds {