]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: mt8173: elm: Fix nor_flash node property
authorHsin-Yi Wang <hsinyi@chromium.org>
Mon, 27 Jul 2020 07:41:24 +0000 (15:41 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Oct 2020 09:08:14 +0000 (10:08 +0100)
[ Upstream commit 1276be23fd53e1c4e752966d0eab42aa54a343da ]

bus-width and non-removable is not used by the driver.
max-frequency should be spi-max-frequency for flash node.

Fixes: 689b937bedde ("arm64: dts: mediatek: add mt8173 elm and hana board")
Reported-by: Nicolas Boichat <drinkcat@chromium.org>
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20200727074124.3779237-1-hsinyi@chromium.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi

index a5a12b2599a4a0467c7a1a24815910ef33e674f7..01522dd10603e227f35de685946e2b8b1fa4d9f7 100644 (file)
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&nor_gpio1_pins>;
-       bus-width = <8>;
-       max-frequency = <50000000>;
-       non-removable;
+
        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
+               spi-max-frequency = <50000000>;
        };
 };