boards: st: n6: use ic3 as xspi kernel clock
Configure and enable IC3 to 400MHz and use it as kernel clock for XSPI instances. Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This commit is contained in:
parent
eab11acead
commit
f3ea832835
2 changed files with 21 additions and 0 deletions
|
@ -97,6 +97,12 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&ic3 {
|
||||||
|
pll-src = <1>;
|
||||||
|
ic-div = <6>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&ic6 {
|
&ic6 {
|
||||||
pll-src = <3>;
|
pll-src = <3>;
|
||||||
ic-div = <2>;
|
ic-div = <2>;
|
||||||
|
@ -224,6 +230,9 @@ zephyr_udc0: &usbotg_hs1 {
|
||||||
&xspim_p2_io3_pn5 &xspim_p2_io4_pn8 &xspim_p2_io5_pn9
|
&xspim_p2_io3_pn5 &xspim_p2_io4_pn8 &xspim_p2_io5_pn9
|
||||||
&xspim_p2_io6_pn10 &xspim_p2_io7_pn11>;
|
&xspim_p2_io6_pn10 &xspim_p2_io7_pn11>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
clocks = <&rcc STM32_CLOCK(AHB5, 12)>,
|
||||||
|
<&rcc STM32_SRC_IC3 XSPI1_SEL(2)>,
|
||||||
|
<&rcc STM32_CLOCK(AHB5, 13)>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
mx25um51245g: ospi-nor-flash@70000000 {
|
mx25um51245g: ospi-nor-flash@70000000 {
|
||||||
|
|
|
@ -107,6 +107,12 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&ic3 {
|
||||||
|
pll-src = <1>;
|
||||||
|
ic-div = <6>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&ic4 {
|
&ic4 {
|
||||||
pll-src = <2>;
|
pll-src = <2>;
|
||||||
ic-div = <32>;
|
ic-div = <32>;
|
||||||
|
@ -238,6 +244,9 @@ zephyr_udc0: &usbotg_hs1 {
|
||||||
&xspim_p1_io12_pp12 &xspim_p1_io13_pp13 &xspim_p1_io14_pp14
|
&xspim_p1_io12_pp12 &xspim_p1_io13_pp13 &xspim_p1_io14_pp14
|
||||||
&xspim_p1_io15_pp15>;
|
&xspim_p1_io15_pp15>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
clocks = <&rcc STM32_CLOCK(AHB5, 5)>,
|
||||||
|
<&rcc STM32_SRC_IC3 XSPI1_SEL(2)>,
|
||||||
|
<&rcc STM32_CLOCK(AHB5, 13)>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
memc: aps256xxn_obr: memory@90000000 {
|
memc: aps256xxn_obr: memory@90000000 {
|
||||||
|
@ -258,6 +267,9 @@ zephyr_udc0: &usbotg_hs1 {
|
||||||
&xspim_p2_io3_pn5 &xspim_p2_io4_pn8 &xspim_p2_io5_pn9
|
&xspim_p2_io3_pn5 &xspim_p2_io4_pn8 &xspim_p2_io5_pn9
|
||||||
&xspim_p2_io6_pn10 &xspim_p2_io7_pn11>;
|
&xspim_p2_io6_pn10 &xspim_p2_io7_pn11>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
clocks = <&rcc STM32_CLOCK(AHB5, 12)>,
|
||||||
|
<&rcc STM32_SRC_IC3 XSPI1_SEL(2)>,
|
||||||
|
<&rcc STM32_CLOCK(AHB5, 13)>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
mx66uw1g45g: ospi-nor-flash@70000000 {
|
mx66uw1g45g: ospi-nor-flash@70000000 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue