From: Hsin-Yi Wang Date: Mon, 27 Jul 2020 07:41:24 +0000 (+0800) Subject: arm64: dts: mt8173: elm: Fix nor_flash node property X-Git-Tag: v5.15~2574^2~21^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1276be23fd53e1c4e752966d0eab42aa54a343da;p=platform%2Fkernel%2Flinux-starfive.git arm64: dts: mt8173: elm: Fix nor_flash node property 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 Signed-off-by: Hsin-Yi Wang Reviewed-by: Enric Balletbo i Serra Link: https://lore.kernel.org/r/20200727074124.3779237-1-hsinyi@chromium.org Signed-off-by: Matthias Brugger --- diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi index bdec719..44a0346 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi @@ -433,12 +433,11 @@ 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>; }; };