drivers: clock_control: Add STM32L1X clock support
Add clock support for STM32L1X SoC series. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
This commit is contained in:
parent
92ac6d8fc6
commit
c8b0a8d41f
5 changed files with 60 additions and 3 deletions
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <arm/armv7-m.dtsi>
|
||||
#include <dt-bindings/clock/stm32_clock.h>
|
||||
|
||||
/ {
|
||||
cpus {
|
||||
|
@ -24,6 +25,14 @@
|
|||
};
|
||||
|
||||
soc {
|
||||
rcc: rcc@40023800 {
|
||||
compatible = "st,stm32-rcc";
|
||||
clocks-controller;
|
||||
#clock-cells = <2>;
|
||||
reg = <0x40023800 0x400>;
|
||||
label = "STM32_CLK_RCC";
|
||||
};
|
||||
|
||||
flash-controller@40023c00 {
|
||||
compatible = "st,stm32l1-flash-controller";
|
||||
label = "FLASH_CTRL";
|
||||
|
@ -40,7 +49,6 @@
|
|||
write-block-size = <4>;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue