Skip to content

Commit 5585a25

Browse files
committed
boards: stm32n6570_dk/nucleo_n657x0_q: Set NOR XSPI controller clk to HCLK5
Fix copy/paste issue on XSPI_SEL macro and use HCLK5 as kernel clk. This has no functional impact on NOR as HCLK5 is the default clk which was used due to the copy/paste error. Remove now useless ic3 nodes. Signed-off-by: Erwan Gouriou <[email protected]>
1 parent 9cc0180 commit 5585a25

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

boards/st/nucleo_n657x0_q/nucleo_n657x0_q_common.dtsi

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,6 @@
9797
status = "okay";
9898
};
9999

100-
&ic3 {
101-
pll-src = <1>;
102-
ic-div = <6>;
103-
status = "okay";
104-
};
105-
106100
&ic6 {
107101
pll-src = <3>;
108102
ic-div = <2>;
@@ -231,7 +225,7 @@ zephyr_udc0: &usbotg_hs1 {
231225
&xspim_p2_io6_pn10 &xspim_p2_io7_pn11>;
232226
pinctrl-names = "default";
233227
clocks = <&rcc STM32_CLOCK(AHB5, 12)>,
234-
<&rcc STM32_SRC_IC3 XSPI1_SEL(2)>,
228+
<&rcc STM32_SRC_HCLK5 XSPI2_SEL(0)>,
235229
<&rcc STM32_CLOCK(AHB5, 13)>;
236230
status = "okay";
237231

boards/st/stm32n6570_dk/stm32n6570_dk_common.dtsi

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,6 @@
144144
status = "okay";
145145
};
146146

147-
&ic3 {
148-
pll-src = <1>;
149-
ic-div = <6>;
150-
status = "okay";
151-
};
152-
153147
&ic4 {
154148
pll-src = <2>;
155149
ic-div = <32>;
@@ -342,7 +336,7 @@ zephyr_udc0: &usbotg_hs1 {
342336
&xspim_p2_io6_pn10 &xspim_p2_io7_pn11>;
343337
pinctrl-names = "default";
344338
clocks = <&rcc STM32_CLOCK(AHB5, 12)>,
345-
<&rcc STM32_SRC_IC3 XSPI1_SEL(2)>,
339+
<&rcc STM32_SRC_HCLK5 XSPI2_SEL(0)>,
346340
<&rcc STM32_CLOCK(AHB5, 13)>;
347341
status = "okay";
348342

0 commit comments

Comments
 (0)