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>
Sat, 15 Jul 2023 20:24:50 +0000 (22:24 +0200)
commitabe659efba3e28b5657143ef604c5bc42d1edb91
treeeb237e41f25ec57630c9c0725965e535dfdb4467
parent00d4a3190bd7e1465cc377481647dabfcedd88d3
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