bmips: dts: nand: add missing address/size cells
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 21 Mar 2023 19:21:16 +0000 (20:21 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 21 Mar 2023 19:49:21 +0000 (20:49 +0100)
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>
target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts
target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts

index 95fda0843c48de3ae697e9d169ee5af16cd801b7..22a0ffe79213961d0ab37949a8dfb6b05fb4b74d 100644 (file)
                nand-on-flash-bbt;
                brcm,nand-oob-sector-size = <64>;
 
+               #address-cells = <1>;
+               #size-cells = <1>;
+
                partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
index d0befc2c34754cac2eabdeb8e6bc0d2975d395a4..6333c4e7d7773e58783f853503e3c8bd9fed362f 100644 (file)
                nand-ecc-strength = <15>;
                nand-on-flash-bbt;
 
+               #address-cells = <1>;
+               #size-cells = <1>;
+
                partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;