diff options
| author | Mieczyslaw Nalewaj | 2026-02-15 10:50:05 +0000 |
|---|---|---|
| committer | Robert Marko | 2026-02-16 09:47:31 +0000 |
| commit | 313d56366448d8c2ca12daba7725fdd848057d98 (patch) | |
| tree | 8fc1219713203bb720912307ce88568c81308691 | |
| parent | 8b994ed3970ffd02ee77889304ca32bdbecdb1f3 (diff) | |
| download | openwrt-313d56366448d8c2ca12daba7725fdd848057d98.tar.gz | |
ramips: remove obsolete SPI flash nodes after kernel fix
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>
3 files changed, 0 insertions, 16 deletions
diff --git a/target/linux/ramips/dts/mt7620a_tplink_archer-c5-v4.dts b/target/linux/ramips/dts/mt7620a_tplink_archer-c5-v4.dts index 91b3a255c1..0b1012c486 100644 --- a/target/linux/ramips/dts/mt7620a_tplink_archer-c5-v4.dts +++ b/target/linux/ramips/dts/mt7620a_tplink_archer-c5-v4.dts @@ -80,13 +80,6 @@ }; }; -&spi0 { - flash@0 { - #address-cells = <1>; - #size-cells = <1>; - }; -}; - &state_default { gpio { groups = "i2c", "uartf", "ephy", "rgmii2"; diff --git a/target/linux/ramips/dts/mt7620a_tplink_ec220-g5-v2.dts b/target/linux/ramips/dts/mt7620a_tplink_ec220-g5-v2.dts index f20cbb4c8f..a320ececa9 100644 --- a/target/linux/ramips/dts/mt7620a_tplink_ec220-g5-v2.dts +++ b/target/linux/ramips/dts/mt7620a_tplink_ec220-g5-v2.dts @@ -88,13 +88,6 @@ }; }; -&spi0 { - flash@0 { - #address-cells = <1>; - #size-cells = <1>; - }; -}; - &state_default { gpio { groups = "i2c", "uartf", "ephy", "rgmii2"; diff --git a/target/linux/ramips/dts/mt7621_plasmacloud_pax1800-lite.dts b/target/linux/ramips/dts/mt7621_plasmacloud_pax1800-lite.dts index 441b5e6696..6805a2938a 100644 --- a/target/linux/ramips/dts/mt7621_plasmacloud_pax1800-lite.dts +++ b/target/linux/ramips/dts/mt7621_plasmacloud_pax1800-lite.dts @@ -94,8 +94,6 @@ num-cs = <2>; flash@0 { - #address-cells = <1>; - #size-cells = <1>; compatible = "jedec,spi-nor"; spi-max-frequency = <20000000>; reg = <0>; |