octeon: ubnt-edgerouter-e300: fix missing MTD partition
authorCarsten Spieß <mail@carsten-spiess.de>
Wed, 12 Jul 2023 08:16:27 +0000 (10:16 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Wed, 19 Jul 2023 19:57:25 +0000 (21:57 +0200)
commit4959dcd698bb06e76560fad65265d7804643e18b
treec3b09ad6a93b7a994c56fc21d94e676b9231e243
parent3c895dde79ecd14e2712c5526d6c9f636acad096
octeon: ubnt-edgerouter-e300: fix missing MTD partition

The MAC addresses should be read from 3rd MTD partition,
but only two MTD partitions are populated.

To fix it, a partitions node has to surround the partition
nodes in device tree.

Tested with Edgerouter 6P

Signed-off-by: Carsten Spieß <mail@carsten-spiess.de>
(fixed checkpatch complains)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(cherry picked from commit 2b1d7965c7e74e1b31ff29a966eaf6334b0d7057)
target/linux/octeon/files/arch/mips/boot/dts/cavium-octeon/cn7130_ubnt_edgerouter-e300.dtsi