arm64: dts: qcom: sc7180-trogdor: Update flash freq to match reality
authorStephen Boyd <swboyd@chromium.org>
Wed, 19 May 2021 05:40:30 +0000 (22:40 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 10 Jun 2021 14:18:38 +0000 (09:18 -0500)
This spi flash part is actually being clocked at 37.5MHz, not 25MHz,
because of the way the clk driver is rounding up the rate that is
requested to the nearest supported frequency. Let's update the frequency
here, and remove the TODO because this is the fastest frequency we're
going to be able to use here.

Reviewed-by: Douglas Anderson <dianders@chromium.org>
Cc: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20210519054030.3217704-1-swboyd@chromium.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi

index 797c4cb060256cf9ba7bc5893cf1915dee43555c..77ae7561d436e335fe989874e3fbd344e3b70c00 100644 (file)
                compatible = "jedec,spi-nor";
                reg = <0>;
 
-               /* TODO: Increase frequency after testing */
-               spi-max-frequency = <25000000>;
+               spi-max-frequency = <37500000>;
                spi-tx-bus-width = <2>;
                spi-rx-bus-width = <2>;
        };