Remove incomplete SPI flash definitions from affected device tree files.
These fragments only defined address-cells and size-cells without any
actual flash configuration (partitions, compatible string, etc.).
After applying openwrt/openwrt#20942 ("kernel: of: fix bad cell count error
for SPI flash node"), the kernel properly handles SPI flash nodes without
requiring these incomplete definitions in device-specific DTS files.
This cleanup eliminates unnecessary code that was likely a workaround for
the previous kernel issue.
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/22036
Signed-off-by: Robert Marko <robimarko@gmail.com>
};
};
-&spi0 {
- flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
- };
-};
-
&state_default {
gpio {
groups = "i2c", "uartf", "ephy", "rgmii2";
};
};
-&spi0 {
- flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
- };
-};
-
&state_default {
gpio {
groups = "i2c", "uartf", "ephy", "rgmii2";
num-cs = <2>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
spi-max-frequency = <20000000>;
reg = <0>;