ipq806x: add missing enclosing partitions block for TP-Link C2600
authorFilip Matijević <filip.matijevic.pz@gmail.com>
Sat, 28 Aug 2021 08:47:09 +0000 (10:47 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 29 Aug 2021 22:37:35 +0000 (00:37 +0200)
commite2b03c16eb44a10fa64f0a58325bc494ee1b8bcb
treec0f404d6093cec372e9cf4bfcf18983b99d93cf5
parentd37125b3f3909c26c1e4648411a5fa5d956df6d0
ipq806x: add missing enclosing partitions block for TP-Link C2600

The partitions that have compatible property set are skipped by mtd if
they are not contained inside a partitions node and this breaks
fetching MAC address from "default-mac" partition.

Fix this by defining all the partitions inside partitions node with
compatible = "fixed-partitions" as nvmem requires the standard
partitions scheme to work correctly.

Fixes: FS#3945
Fixes: cd36d71655ee ("ipq806x/dts: Add Archer C2600 DTS")
Fixes: 0458a8993ca1 ("ipq806x: convert mtd-mac-address to nvmem
implementation")

Signed-off-by: Filip Matijević <filip.matijevic.pz@gmail.com>
Reviewed-by: Ansuel Smith <ansuelsmth@gmail.com>
[adjust commit title/message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ad7200-c2600.dtsi