]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt7981b-openwrt-one: Remove useless cells from flash@0
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Fri, 9 Jan 2026 11:47:40 +0000 (12:47 +0100)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 12 Jan 2026 13:30:52 +0000 (14:30 +0100)
In spi2's flash@0 there is only one `partitions` subnode: this
alone makes specifying address and size cells useless, but then
this subnode has no address and no size, which even makes the
currently declared address/size cells wrong.

Fixes: 869b3bb5ada2 ("arm64: dts: mediatek: mt7981b-openwrt-one: Enable SPI NOR")
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts

index 3de368c73bc8126c177b6c3389ab52fa451a51c7..48b80af90438fc9de6bc03304a09a9e24f0e993a 100644 (file)
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <40000000>;
-               #address-cells = <1>;
-               #size-cells = <1>;
 
                partitions {
                        compatible = "fixed-partitions";