Skip to content

Commit af57113

Browse files
littleqypConchuOD
authored andcommitted
riscv: dts: starfive: add assigned-clock* to limit frquency
In JH7110 SoC, we need to go by-pass mode, so we need add the assigned-clock* properties to limit clock frquency. Signed-off-by: William Qiu <william.qiu@starfivetech.com> Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
1 parent be326be commit af57113

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,8 @@
250250

251251
&mmc0 {
252252
max-frequency = <100000000>;
253+
assigned-clocks = <&syscrg JH7110_SYSCLK_SDIO0_SDCARD>;
254+
assigned-clock-rates = <50000000>;
253255
bus-width = <8>;
254256
cap-mmc-highspeed;
255257
mmc-ddr-1_8v;
@@ -266,6 +268,8 @@
266268

267269
&mmc1 {
268270
max-frequency = <100000000>;
271+
assigned-clocks = <&syscrg JH7110_SYSCLK_SDIO1_SDCARD>;
272+
assigned-clock-rates = <50000000>;
269273
bus-width = <4>;
270274
no-sdio;
271275
no-mmc;

0 commit comments

Comments
 (0)