Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: aspeed-g4: Set spi-max-frequency for all flashes

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>

authored by

Tao Ren and committed by
Joel Stanley
f3e59962 4a92d02f

+4
+4
arch/arm/boot/dts/aspeed-g4.dtsi
··· 72 72 reg = < 1 >; 73 73 compatible = "jedec,spi-nor"; 74 74 spi-rx-bus-width = <2>; 75 + spi-max-frequency = <50000000>; 75 76 status = "disabled"; 76 77 }; 77 78 flash@2 { 78 79 reg = < 2 >; 79 80 compatible = "jedec,spi-nor"; 80 81 spi-rx-bus-width = <2>; 82 + spi-max-frequency = <50000000>; 81 83 status = "disabled"; 82 84 }; 83 85 flash@3 { 84 86 reg = < 3 >; 85 87 compatible = "jedec,spi-nor"; 86 88 spi-rx-bus-width = <2>; 89 + spi-max-frequency = <50000000>; 87 90 status = "disabled"; 88 91 }; 89 92 flash@4 { 90 93 reg = < 4 >; 91 94 compatible = "jedec,spi-nor"; 92 95 spi-rx-bus-width = <2>; 96 + spi-max-frequency = <50000000>; 93 97 status = "disabled"; 94 98 }; 95 99 };