Commit a252ccd3 authored by Rafał Miłecki's avatar Rafał Miłecki Committed by Florian Fainelli

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: default avatarRafał Miłecki <rafal@milecki.pl>
Acked-by: default avatarJon Mason <jon.mason@broadcom.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent 849af7f4
...@@ -21,7 +21,8 @@ chosen { ...@@ -21,7 +21,8 @@ chosen {
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
......
...@@ -21,7 +21,8 @@ chosen { ...@@ -21,7 +21,8 @@ chosen {
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
......
...@@ -21,7 +21,8 @@ chosen { ...@@ -21,7 +21,8 @@ chosen {
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x18000000>;
}; };
spi { spi {
......
...@@ -21,7 +21,8 @@ chosen { ...@@ -21,7 +21,8 @@ chosen {
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
......
...@@ -21,7 +21,8 @@ chosen { ...@@ -21,7 +21,8 @@ chosen {
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
......
...@@ -21,7 +21,8 @@ chosen { ...@@ -21,7 +21,8 @@ chosen {
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
......
...@@ -21,7 +21,8 @@ chosen { ...@@ -21,7 +21,8 @@ chosen {
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
......
...@@ -21,7 +21,8 @@ chosen { ...@@ -21,7 +21,8 @@ chosen {
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
spi { spi {
......
...@@ -21,7 +21,8 @@ chosen { ...@@ -21,7 +21,8 @@ chosen {
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
gpio-keys { gpio-keys {
......
...@@ -21,7 +21,8 @@ chosen { ...@@ -21,7 +21,8 @@ chosen {
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
......
...@@ -21,7 +21,8 @@ chosen { ...@@ -21,7 +21,8 @@ chosen {
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x18000000>;
}; };
leds { leds {
......
...@@ -21,7 +21,8 @@ chosen { ...@@ -21,7 +21,8 @@ chosen {
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
......
...@@ -21,7 +21,8 @@ chosen { ...@@ -21,7 +21,8 @@ chosen {
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
......
...@@ -21,7 +21,8 @@ chosen { ...@@ -21,7 +21,8 @@ chosen {
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
nand: nand@18028000 { nand: nand@18028000 {
......
...@@ -18,7 +18,8 @@ chosen { ...@@ -18,7 +18,8 @@ chosen {
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
......
...@@ -18,7 +18,8 @@ chosen { ...@@ -18,7 +18,8 @@ chosen {
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x18000000>;
}; };
leds { leds {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment