lantiq: fritz7362sl: add partition subnode for SPI flash

Without a partition subnode ofpart_core still parses direct subnodes as
partitions, but it ignores nodes with a compatible property. Due to
this, the switch to nvmem-cells made the urlader partition inaccessible.
As a result, the wireless network was broken, as the calibration data
is read from that partition by a script.

Fixes: #8983
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
This commit is contained in:
Jan Hoffmann 2022-03-16 18:24:23 +01:00 committed by Christian Lamparter
parent dadedd5580
commit a622273876

View File

@ -25,6 +25,11 @@
reg = <4>;
spi-max-frequency = <1000000>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
urlader: partition@0 {
reg = <0x0 0x40000>;
label = "urlader";
@ -44,6 +49,7 @@
};
};
};
};
&localbus {
flash1: flash@1 {