Skip to content

Commit aa30498

Browse files
ikmdanicarlescufi
authored andcommitted
dts/arm: STM32: Adding flash clock settings in dtsi.
This patch adds flash clock settings in device tree for F0, F1 and F3 sub-families. Signed-off-by: Krishna Mohan Dani <[email protected]>
1 parent 3656f7f commit aa30498

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

dts/arm/st/f0/stm32f0.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
label = "FLASH_CTRL";
3838
reg = <0x40022000 0x400>;
3939
interrupts = <3 0>;
40+
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x00000010>;
4041

4142
#address-cells = <1>;
4243
#size-cells = <1>;

dts/arm/st/f1/stm32f1.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
label = "FLASH_CTRL";
4040
reg = <0x40022000 0x400>;
4141
interrupts = <3 0>;
42+
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x00000010>;
4243

4344
#address-cells = <1>;
4445
#size-cells = <1>;

dts/arm/st/f3/stm32f3.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
label = "FLASH_CTRL";
3838
reg = <0x40022000 0x400>;
3939
interrupts = <4 0>;
40+
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x00000010>;
4041

4142
#address-cells = <1>;
4243
#size-cells = <1>;

0 commit comments

Comments
 (0)