aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bmips/dts
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2021-03-08 17:47:10 +0100
committerÁlvaro Fernández Rojas <noltari@gmail.com>2021-03-08 17:48:45 +0100
commit76d5677c7587d274041ef68e65328655573d122f (patch)
tree5eb21e02d303f6dfca38eeb7d157f4b19251d02c /target/linux/bmips/dts
parenta1289047235e7e88d5b217a5233359f073291c15 (diff)
downloadupstream-76d5677c7587d274041ef68e65328655573d122f.tar.gz
upstream-76d5677c7587d274041ef68e65328655573d122f.tar.bz2
upstream-76d5677c7587d274041ef68e65328655573d122f.zip
bmips: automatically detect RAM size
Introduce new patch for automatically detecting RAM size. Some boards have a different amount of RAM depending on the HW revision. Therefore, automatically detecting the RAM size instead of hard-coding it will reduce the number of device definitions. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bmips/dts')
-rw-r--r--target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts5
-rw-r--r--target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts5
-rw-r--r--target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts5
-rw-r--r--target/linux/bmips/dts/bcm6358-huawei-hg556a-b.dts5
-rw-r--r--target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts5
-rw-r--r--target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts5
6 files changed, 0 insertions, 30 deletions
diff --git a/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts b/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts
index 565a04160d..ed7f51890c 100644
--- a/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts
+++ b/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts
@@ -15,11 +15,6 @@
led-usb = &led_usb_green;
};
- memory@0 {
- device_type = "memory";
- reg = <0x00000000 0x04000000>;
- };
-
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
diff --git a/target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts b/target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts
index be21e7f262..35c74fd3ac 100644
--- a/target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts
+++ b/target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts
@@ -13,11 +13,6 @@
led-upgrade = &led_power_green;
};
- memory@0 {
- device_type = "memory";
- reg = <0x00000000 0x04000000>;
- };
-
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
diff --git a/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts b/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts
index a099809396..a3192dffa4 100644
--- a/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts
+++ b/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts
@@ -13,11 +13,6 @@
led-upgrade = &led_power_green;
};
- memory@0 {
- device_type = "memory";
- reg = <0x00000000 0x04000000>;
- };
-
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
diff --git a/target/linux/bmips/dts/bcm6358-huawei-hg556a-b.dts b/target/linux/bmips/dts/bcm6358-huawei-hg556a-b.dts
index f62c79fccb..ba776caf78 100644
--- a/target/linux/bmips/dts/bcm6358-huawei-hg556a-b.dts
+++ b/target/linux/bmips/dts/bcm6358-huawei-hg556a-b.dts
@@ -17,11 +17,6 @@
led-usb = &hspa_red;
};
- memory@0 {
- device_type = "memory";
- reg = <0x00000000 0x04000000>;
- };
-
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
diff --git a/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts b/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts
index ba4bd33c35..4da673cafa 100644
--- a/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts
+++ b/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts
@@ -17,11 +17,6 @@
led-usb2 = &led_usb2_green;
};
- memory@0 {
- device_type = "memory";
- reg = <0x00000000 0x04000000>;
- };
-
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
diff --git a/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts b/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts
index 3a80dcda97..683b01875e 100644
--- a/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts
+++ b/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts
@@ -13,11 +13,6 @@
led-upgrade = &led_power_green;
};
- memory@0 {
- device_type = "memory";
- reg = <0x00000000 0x04000000>;
- };
-
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;