tests: spi: convert nucleo_g474re to define prescaler in dt

As the nucleo_g474re was converted to define clock properties
in devicetree, this commit makes the ncecessary changes such that
the ncecessary test properties are still applied.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
This commit is contained in:
Thomas Stranger 2021-05-03 10:29:03 +02:00 committed by Kumar Gala
commit 8b156dfc85

View file

@ -30,3 +30,11 @@
&dmamux1 {
status = "okay";
};
&rcc {
/*
* Reduce bus clock speed to be able to reach
* SPI_LOOPBACK_SLOW_FREQ = 500000 with max prescaler 256
*/
apb2-prescaler = <2>;
};