boards: stm32: Enable USB domain clock when required
For boards configuring USB device, enable or configure matching domain clock when not done already. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
ed28c26b8a
commit
93ff35f69f
2 changed files with 11 additions and 0 deletions
|
@ -25,6 +25,11 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&clk_hsi48 {
|
||||||
|
/* HSI48 required for USB */
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&rcc {
|
&rcc {
|
||||||
d1cpre = <1>;
|
d1cpre = <1>;
|
||||||
hpre = <1>;
|
hpre = <1>;
|
||||||
|
|
|
@ -90,6 +90,12 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&clk_msi {
|
||||||
|
status = "okay";
|
||||||
|
msi-pll-mode;
|
||||||
|
msi-range = <11>; /* 48MHz USB bus clk */
|
||||||
|
};
|
||||||
|
|
||||||
&pll {
|
&pll {
|
||||||
div-m = <1>;
|
div-m = <1>;
|
||||||
mul-n = <20>;
|
mul-n = <20>;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue