mirror of https://github.com/hak5/openwrt.git
bcm53xx: support all RAM on devices with more than 128 MiB (HIGHMEM)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43972lede-17.01
parent
a570ccd7e2
commit
4ae1e883e8
|
@ -0,0 +1,90 @@
|
||||||
|
From 36b2fbb3badf0e32b371e1f7579a95d4fe25c0e1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
|
||||||
|
Date: Wed, 14 Jan 2015 09:13:58 +0100
|
||||||
|
Subject: [PATCH] ARM: BCM5301X: Specify RAM on devices by including HIGHMEM
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|
||||||
|
---
|
||||||
|
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/bcm47081-asus-rt-n18u.dts | 3 ++-
|
||||||
|
arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 3 ++-
|
||||||
|
5 files changed, 10 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
||||||
|
index 52f1752..d772f54 100644
|
||||||
|
--- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
||||||
|
+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
||||||
|
@@ -20,7 +20,8 @@
|
||||||
|
};
|
||||||
|
|
||||||
|
memory {
|
||||||
|
- reg = <0x00000000 0x08000000>;
|
||||||
|
+ reg = <0x00000000 0x08000000
|
||||||
|
+ 0x88000000 0x18000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
chipcommonA {
|
||||||
|
diff --git a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
|
||||||
|
index 70a1093..aaafa4a 100644
|
||||||
|
--- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
|
||||||
|
+++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
|
||||||
|
@@ -20,7 +20,8 @@
|
||||||
|
};
|
||||||
|
|
||||||
|
memory {
|
||||||
|
- reg = <0x00000000 0x08000000>;
|
||||||
|
+ reg = <0x00000000 0x08000000
|
||||||
|
+ 0x88000000 0x08000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
chipcommonA {
|
||||||
|
diff --git a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
|
||||||
|
index 257d6da..d52dce9 100644
|
||||||
|
--- a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
|
||||||
|
+++ b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
|
||||||
|
@@ -20,7 +20,8 @@
|
||||||
|
};
|
||||||
|
|
||||||
|
memory {
|
||||||
|
- reg = <0x00000000 0x08000000>;
|
||||||
|
+ reg = <0x00000000 0x08000000
|
||||||
|
+ 0x88000000 0x08000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
chipcommonA {
|
||||||
|
diff --git a/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts b/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
|
||||||
|
index a010fec..819e2c4 100644
|
||||||
|
--- a/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
|
||||||
|
+++ b/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
|
||||||
|
@@ -20,7 +20,8 @@
|
||||||
|
};
|
||||||
|
|
||||||
|
memory {
|
||||||
|
- reg = <0x00000000 0x08000000>;
|
||||||
|
+ reg = <0x00000000 0x08000000
|
||||||
|
+ 0x88000000 0x08000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
chipcommonA {
|
||||||
|
diff --git a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
||||||
|
index 0b4bf00..aa2a5e9 100644
|
||||||
|
--- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
||||||
|
+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
||||||
|
@@ -20,7 +20,8 @@
|
||||||
|
};
|
||||||
|
|
||||||
|
memory {
|
||||||
|
- reg = <0x00000000 0x08000000>;
|
||||||
|
+ reg = <0x00000000 0x08000000
|
||||||
|
+ 0x88000000 0x08000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
chipcommonA {
|
||||||
|
--
|
||||||
|
1.8.4.5
|
||||||
|
|
|
@ -27,7 +27,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|
||||||
berlin2cd-google-chromecast.dtb
|
berlin2cd-google-chromecast.dtb
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
|
+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
|
||||||
@@ -0,0 +1,35 @@
|
@@ -0,0 +1,36 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Broadcom BCM470X / BCM5301X ARM platform code.
|
+ * Broadcom BCM470X / BCM5301X ARM platform code.
|
||||||
+ * DTS for Buffalo WZR-900DHP
|
+ * DTS for Buffalo WZR-900DHP
|
||||||
|
@ -46,11 +46,12 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|
||||||
+ model = "Buffalo WZR-900DHP (BCM47081)";
|
+ model = "Buffalo WZR-900DHP (BCM47081)";
|
||||||
+
|
+
|
||||||
+ chosen {
|
+ chosen {
|
||||||
+ bootargs = "console=ttyS0,115200";
|
+ bootargs = "console=ttyS0,115200 earlyprintk";
|
||||||
+ };
|
+ };
|
||||||
+
|
+
|
||||||
+ memory {
|
+ memory {
|
||||||
+ reg = <0x00000000 0x08000000>;
|
+ reg = <0x00000000 0x08000000
|
||||||
|
+ 0x88000000 0x08000000>;
|
||||||
+ };
|
+ };
|
||||||
+
|
+
|
||||||
+ chipcommonA {
|
+ chipcommonA {
|
||||||
|
|
|
@ -12,11 +12,9 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|
||||||
arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 67 ++++++++++++++++++++++
|
arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 67 ++++++++++++++++++++++
|
||||||
2 files changed, 134 insertions(+)
|
2 files changed, 134 insertions(+)
|
||||||
|
|
||||||
diff --git a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
|
||||||
index d472c36..6e6bdf5 100644
|
|
||||||
--- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
--- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
||||||
+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
||||||
@@ -33,6 +33,73 @@
|
@@ -34,6 +34,73 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -90,11 +88,9 @@ index d472c36..6e6bdf5 100644
|
||||||
gpio-keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
diff --git a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
|
||||||
index f3a0326..a31273a 100644
|
|
||||||
--- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
--- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
||||||
+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
||||||
@@ -33,6 +33,73 @@
|
@@ -34,6 +34,73 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -168,6 +164,3 @@ index f3a0326..a31273a 100644
|
||||||
gpio-keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
--
|
|
||||||
1.8.4.5
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,90 @@
|
||||||
|
From 36b2fbb3badf0e32b371e1f7579a95d4fe25c0e1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
|
||||||
|
Date: Wed, 14 Jan 2015 09:13:58 +0100
|
||||||
|
Subject: [PATCH] ARM: BCM5301X: Specify RAM on devices by including HIGHMEM
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|
||||||
|
---
|
||||||
|
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/bcm47081-asus-rt-n18u.dts | 3 ++-
|
||||||
|
arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 3 ++-
|
||||||
|
5 files changed, 10 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
||||||
|
index 52f1752..d772f54 100644
|
||||||
|
--- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
||||||
|
+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
||||||
|
@@ -20,7 +20,8 @@
|
||||||
|
};
|
||||||
|
|
||||||
|
memory {
|
||||||
|
- reg = <0x00000000 0x08000000>;
|
||||||
|
+ reg = <0x00000000 0x08000000
|
||||||
|
+ 0x88000000 0x18000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
chipcommonA {
|
||||||
|
diff --git a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
|
||||||
|
index 70a1093..aaafa4a 100644
|
||||||
|
--- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
|
||||||
|
+++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
|
||||||
|
@@ -20,7 +20,8 @@
|
||||||
|
};
|
||||||
|
|
||||||
|
memory {
|
||||||
|
- reg = <0x00000000 0x08000000>;
|
||||||
|
+ reg = <0x00000000 0x08000000
|
||||||
|
+ 0x88000000 0x08000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
chipcommonA {
|
||||||
|
diff --git a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
|
||||||
|
index 257d6da..d52dce9 100644
|
||||||
|
--- a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
|
||||||
|
+++ b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
|
||||||
|
@@ -20,7 +20,8 @@
|
||||||
|
};
|
||||||
|
|
||||||
|
memory {
|
||||||
|
- reg = <0x00000000 0x08000000>;
|
||||||
|
+ reg = <0x00000000 0x08000000
|
||||||
|
+ 0x88000000 0x08000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
chipcommonA {
|
||||||
|
diff --git a/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts b/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
|
||||||
|
index a010fec..819e2c4 100644
|
||||||
|
--- a/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
|
||||||
|
+++ b/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
|
||||||
|
@@ -20,7 +20,8 @@
|
||||||
|
};
|
||||||
|
|
||||||
|
memory {
|
||||||
|
- reg = <0x00000000 0x08000000>;
|
||||||
|
+ reg = <0x00000000 0x08000000
|
||||||
|
+ 0x88000000 0x08000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
chipcommonA {
|
||||||
|
diff --git a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
||||||
|
index 0b4bf00..aa2a5e9 100644
|
||||||
|
--- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
||||||
|
+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
||||||
|
@@ -20,7 +20,8 @@
|
||||||
|
};
|
||||||
|
|
||||||
|
memory {
|
||||||
|
- reg = <0x00000000 0x08000000>;
|
||||||
|
+ reg = <0x00000000 0x08000000
|
||||||
|
+ 0x88000000 0x08000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
chipcommonA {
|
||||||
|
--
|
||||||
|
1.8.4.5
|
||||||
|
|
|
@ -27,7 +27,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|
||||||
bcm21664-garnet.dtb
|
bcm21664-garnet.dtb
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
|
+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
|
||||||
@@ -0,0 +1,35 @@
|
@@ -0,0 +1,36 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Broadcom BCM470X / BCM5301X ARM platform code.
|
+ * Broadcom BCM470X / BCM5301X ARM platform code.
|
||||||
+ * DTS for Buffalo WZR-900DHP
|
+ * DTS for Buffalo WZR-900DHP
|
||||||
|
@ -46,11 +46,12 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|
||||||
+ model = "Buffalo WZR-900DHP (BCM47081)";
|
+ model = "Buffalo WZR-900DHP (BCM47081)";
|
||||||
+
|
+
|
||||||
+ chosen {
|
+ chosen {
|
||||||
+ bootargs = "console=ttyS0,115200";
|
+ bootargs = "console=ttyS0,115200 earlyprintk";
|
||||||
+ };
|
+ };
|
||||||
+
|
+
|
||||||
+ memory {
|
+ memory {
|
||||||
+ reg = <0x00000000 0x08000000>;
|
+ reg = <0x00000000 0x08000000
|
||||||
|
+ 0x88000000 0x08000000>;
|
||||||
+ };
|
+ };
|
||||||
+
|
+
|
||||||
+ chipcommonA {
|
+ chipcommonA {
|
||||||
|
|
|
@ -12,11 +12,9 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|
||||||
arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 67 ++++++++++++++++++++++
|
arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 67 ++++++++++++++++++++++
|
||||||
2 files changed, 134 insertions(+)
|
2 files changed, 134 insertions(+)
|
||||||
|
|
||||||
diff --git a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
|
||||||
index d472c36..6e6bdf5 100644
|
|
||||||
--- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
--- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
||||||
+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
||||||
@@ -33,6 +33,73 @@
|
@@ -34,6 +34,73 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -90,11 +88,9 @@ index d472c36..6e6bdf5 100644
|
||||||
gpio-keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
diff --git a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
|
||||||
index f3a0326..a31273a 100644
|
|
||||||
--- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
--- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
||||||
+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
||||||
@@ -33,6 +33,73 @@
|
@@ -34,6 +34,73 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -168,6 +164,3 @@ index f3a0326..a31273a 100644
|
||||||
gpio-keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
--
|
|
||||||
1.8.4.5
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue