123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- From 94afd3b99c65072b76edd25f73bad89587b83261 Mon Sep 17 00:00:00 2001
- From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
- Date: Wed, 7 Dec 2016 08:56:54 +0100
- Subject: [PATCH 5/6] ARM: BCM5301X: Specify all RAM by including an extra
- block
- MIME-Version: 1.0
- Content-Type: text/plain; charset=UTF-8
- Content-Transfer-Encoding: 8bit
- 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>
- ---
- arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts | 3 ++-
- arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts | 3 ++-
- arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts | 3 ++-
- arch/arm/boot/dts/bcm4708-netgear-r6250.dts | 3 ++-
- arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts | 3 ++-
- arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts | 3 ++-
- arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts | 3 ++-
- arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 3 ++-
- arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts | 3 ++-
- arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts | 3 ++-
- arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts | 3 ++-
- arch/arm/boot/dts/bcm4709-netgear-r7000.dts | 3 ++-
- arch/arm/boot/dts/bcm4709-netgear-r8000.dts | 3 ++-
- arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts | 3 ++-
- arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts | 3 ++-
- arch/arm/boot/dts/bcm47094-netgear-r8500.dts | 3 ++-
- 16 files changed, 32 insertions(+), 16 deletions(-)
- --- a/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
- +++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
- @@ -21,7 +21,8 @@
- };
-
- memory {
- - reg = <0x00000000 0x08000000>;
- + reg = <0x00000000 0x08000000
- + 0x88000000 0x08000000>;
- };
-
- leds {
- --- a/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
- +++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
- @@ -21,7 +21,8 @@
- };
-
- memory {
- - reg = <0x00000000 0x08000000>;
- + reg = <0x00000000 0x08000000
- + 0x88000000 0x08000000>;
- };
-
- leds {
- --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
- +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
- @@ -21,7 +21,8 @@
- };
-
- memory {
- - reg = <0x00000000 0x08000000>;
- + reg = <0x00000000 0x08000000
- + 0x88000000 0x18000000>;
- };
-
- spi {
- --- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
- +++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
- @@ -21,7 +21,8 @@
- };
-
- memory {
- - reg = <0x00000000 0x08000000>;
- + reg = <0x00000000 0x08000000
- + 0x88000000 0x08000000>;
- };
-
- leds {
- --- a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
- +++ b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
- @@ -21,7 +21,8 @@
- };
-
- memory {
- - reg = <0x00000000 0x08000000>;
- + reg = <0x00000000 0x08000000
- + 0x88000000 0x08000000>;
- };
-
- leds {
- --- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
- +++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
- @@ -21,7 +21,8 @@
- };
-
- memory {
- - reg = <0x00000000 0x08000000>;
- + reg = <0x00000000 0x08000000
- + 0x88000000 0x08000000>;
- };
-
- leds {
- --- 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 {
- --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
- +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
- @@ -21,7 +21,8 @@
- };
-
- memory {
- - reg = <0x00000000 0x08000000>;
- + reg = <0x00000000 0x08000000
- + 0x88000000 0x08000000>;
- };
-
- spi {
- --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
- +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
- @@ -21,7 +21,8 @@
- };
-
- memory {
- - reg = <0x00000000 0x08000000>;
- + reg = <0x00000000 0x08000000
- + 0x88000000 0x08000000>;
- };
-
- gpio-keys {
- --- a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
- +++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
- @@ -21,7 +21,8 @@
- };
-
- memory {
- - reg = <0x00000000 0x08000000>;
- + reg = <0x00000000 0x08000000
- + 0x88000000 0x08000000>;
- };
-
- leds {
- --- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
- +++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
- @@ -21,7 +21,8 @@
- };
-
- memory {
- - reg = <0x00000000 0x08000000>;
- + reg = <0x00000000 0x08000000
- + 0x88000000 0x18000000>;
- };
-
- leds {
- --- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
- +++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
- @@ -21,7 +21,8 @@
- };
-
- memory {
- - reg = <0x00000000 0x08000000>;
- + reg = <0x00000000 0x08000000
- + 0x88000000 0x08000000>;
- };
-
- leds {
- --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
- +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
- @@ -21,7 +21,8 @@
- };
-
- memory {
- - reg = <0x00000000 0x08000000>;
- + reg = <0x00000000 0x08000000
- + 0x88000000 0x08000000>;
- };
-
- leds {
- --- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
- +++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
- @@ -21,7 +21,8 @@
- };
-
- memory {
- - reg = <0x00000000 0x08000000>;
- + reg = <0x00000000 0x08000000
- + 0x88000000 0x08000000>;
- };
-
- nand: nand@18028000 {
- --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
- +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
- @@ -18,7 +18,8 @@
- };
-
- memory {
- - reg = <0x00000000 0x08000000>;
- + reg = <0x00000000 0x08000000
- + 0x88000000 0x08000000>;
- };
-
- leds {
- --- a/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
- +++ b/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
- @@ -18,7 +18,8 @@
- };
-
- memory {
- - reg = <0x00000000 0x08000000>;
- + reg = <0x00000000 0x08000000
- + 0x88000000 0x18000000>;
- };
-
- leds {
|