aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bmips
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2023-03-21 20:21:16 +0100
committerÁlvaro Fernández Rojas <noltari@gmail.com>2023-03-21 20:49:21 +0100
commit68883278ab2973f6df226e023cabd3ab8353289b (patch)
treef40103434094b8ae0bd9df2376f7a45eda50345f /target/linux/bmips
parent80a3ecc894897f7fa42ab0b98c61ae7533ea7703 (diff)
downloadupstream-68883278ab2973f6df226e023cabd3ab8353289b.tar.gz
upstream-68883278ab2973f6df226e023cabd3ab8353289b.tar.bz2
upstream-68883278ab2973f6df226e023cabd3ab8353289b.zip
bmips: dts: nand: add missing address/size cells
Fixes the following warnings for Netgear DGND3700v2 and Comtrend VR-3032u: [ 1.059540] 7 fixed-partitions partitions found on MTD device brcmnand.0 [ 1.066570] OF: Bad cell count for /ubus/nand@10000200/nandcs@0/partitions [ 1.073766] OF: Bad cell count for /ubus/nand@10000200/nandcs@0/partitions [ 1.081927] OF: Bad cell count for /ubus/nand@10000200/nandcs@0/partitions [ 1.089128] OF: Bad cell count for /ubus/nand@10000200/nandcs@0/partitions Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bmips')
-rw-r--r--target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts3
-rw-r--r--target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts3
2 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts b/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts
index 95fda0843c..22a0ffe792 100644
--- a/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts
+++ b/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts
@@ -162,6 +162,9 @@
nand-on-flash-bbt;
brcm,nand-oob-sector-size = <64>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
diff --git a/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts b/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts
index d0befc2c34..6333c4e7d7 100644
--- a/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts
+++ b/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts
@@ -210,6 +210,9 @@
nand-ecc-strength = <15>;
nand-on-flash-bbt;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;