ARM: dts: aspeed-g4: Set spi-max-frequency for all flashes
authorTao Ren <rentao.bupt@gmail.com>
Mon, 9 May 2022 17:56:15 +0000 (19:56 +0200)
committerJoel Stanley <joel@jms.id.au>
Thu, 19 May 2022 03:39:49 +0000 (13:09 +0930)
Set "spi-max-frequency" to 50 MHz for all the flashes under the FMC
controller to ensure the clock frequency is calculated correctly.

Suggested-by: Cédric Le Goater <clg@kaod.org>
Tested-by: Jae Hyun Yoo <quic_jaehyoo@quicinc.com>
Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Link: https://lore.kernel.org/r/20220509175616.1089346-11-clg@kaod.org
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g4.dtsi

index 1c6354cec9f29b3faa4a1d66a19dbbcd620b22e5..530491ae5eb26060f68802cf3318914f7fb2d361 100644 (file)
                                reg = < 1 >;
                                compatible = "jedec,spi-nor";
                                spi-rx-bus-width = <2>;
+                               spi-max-frequency = <50000000>;
                                status = "disabled";
                        };
                        flash@2 {
                                reg = < 2 >;
                                compatible = "jedec,spi-nor";
                                spi-rx-bus-width = <2>;
+                               spi-max-frequency = <50000000>;
                                status = "disabled";
                        };
                        flash@3 {
                                reg = < 3 >;
                                compatible = "jedec,spi-nor";
                                spi-rx-bus-width = <2>;
+                               spi-max-frequency = <50000000>;
                                status = "disabled";
                        };
                        flash@4 {
                                reg = < 4 >;
                                compatible = "jedec,spi-nor";
                                spi-rx-bus-width = <2>;
+                               spi-max-frequency = <50000000>;
                                status = "disabled";
                        };
                };