diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2016-12-07 10:56:54 +0300 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2017-01-19 04:18:03 +0300 |
commit | a252ccd3d2327556c6331e926abd82f4bfe4ce52 (patch) | |
tree | c5760e7105793ed781d957cffa78f16e170ed81e /arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts | |
parent | 849af7f45862b7b059276c1d0333ac781861bd9c (diff) | |
download | linux-a252ccd3d2327556c6331e926abd82f4bfe4ce52.tar.xz |
ARM: dts: BCM5301X: Specify all RAM by including an extra block
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>
Diffstat (limited to 'arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts')
-rw-r--r-- | arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts b/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts index 71b98cfaf944..db8608be0ee7 100644 --- a/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts +++ b/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts @@ -21,7 +21,8 @@ }; memory { - reg = <0x00000000 0x08000000>; + reg = <0x00000000 0x08000000 + 0x88000000 0x08000000>; }; leds { |