Skip to content

Commit 5c52991

Browse files
FRASTMmmahadevan108
authored andcommitted
dts: arm: st: stm32h7 with dual core have flash clock enable bit
Define the "clocks" property, for the flash "st,stm32h7-flash-controller" node, only for the stm32H7 dual-core devices which have the RCC bit 8 present in their RCC AHB3 register. Signed-off-by: Francois Ramu <[email protected]>
1 parent ec18ab1 commit 5c52991

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

dts/arm/st/h7/stm32h7.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@
144144
compatible = "st,stm32-flash-controller", "st,stm32h7-flash-controller";
145145
reg = <0x52002000 0x400>;
146146
interrupts = <4 0>;
147-
clocks = <&rcc STM32_CLOCK(AHB3, 8U)>;
148147

149148
#address-cells = <1>;
150149
#size-cells = <1>;

dts/arm/st/h7/stm32h7_dualcore.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,7 @@
2525
};
2626
};
2727
};
28+
29+
&flash {
30+
clocks = <&rcc STM32_CLOCK(AHB3, 8U)>;
31+
};

0 commit comments

Comments
 (0)