dts: stm32: Add generic compatible for flash controller

Add "st,stm32-flash-controller" as stm32 generic flash controller.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2020-04-13 18:00:09 +02:00 committed by Kumar Gala
commit c2833af1af
14 changed files with 18 additions and 13 deletions

View file

@ -28,7 +28,7 @@
soc {
flash-controller@40022000 {
compatible = "st,stm32f0-flash-controller";
compatible = "st,stm32-flash-controller", "st,stm32f0-flash-controller";
label = "FLASH_CTRL";
reg = <0x40022000 0x400>;
interrupts = <3 0>;

View file

@ -30,7 +30,7 @@
soc {
flash-controller@40022000 {
compatible = "st,stm32f1-flash-controller";
compatible = "st,stm32-flash-controller", "st,stm32f1-flash-controller";
label = "FLASH_CTRL";
reg = <0x40022000 0x400>;
interrupts = <3 0>;

View file

@ -27,7 +27,7 @@
soc {
flash-controller@40023c00 {
compatible = "st,stm32f2-flash-controller";
compatible = "st,stm32-flash-controller", "st,stm32f2-flash-controller";
label = "FLASH_CTRL";
reg = <0x40023c00 0x400>;
interrupts = <4 0>;

View file

@ -28,7 +28,7 @@
soc {
flash-controller@40022000 {
compatible = "st,stm32f3-flash-controller";
compatible = "st,stm32-flash-controller", "st,stm32f3-flash-controller";
label = "FLASH_CTRL";
reg = <0x40022000 0x400>;
interrupts = <4 0>;

View file

@ -28,7 +28,7 @@
soc {
flash-controller@40023c00 {
compatible = "st,stm32f4-flash-controller";
compatible = "st,stm32-flash-controller", "st,stm32f4-flash-controller";
label = "FLASH_CTRL";
reg = <0x40023c00 0x400>;
interrupts = <4 0>;

View file

@ -36,7 +36,7 @@
soc {
flash-controller@40023c00 {
compatible = "st,stm32f7-flash-controller";
compatible = "st,stm32-flash-controller", "st,stm32f7-flash-controller";
label = "FLASH_CTRL";
reg = <0x40023c00 0x400>;
interrupts = <4 0>;

View file

@ -30,7 +30,7 @@
soc {
flash-controller@40022000 {
compatible = "st,stm32g0-flash-controller";
compatible = "st,stm32-flash-controller", "st,stm32g0-flash-controller";
label = "FLASH_CTRL";
reg = <0x40022000 0x400>;
interrupts = <3 0>;

View file

@ -55,7 +55,7 @@
};
flash-controller@40022000 {
compatible = "st,stm32g4-flash-controller";
compatible = "st,stm32-flash-controller", "st,stm32g4-flash-controller";
label = "FLASH_CTRL";
reg = <0x40022000 0x400>;
interrupts = <3 0>;

View file

@ -33,7 +33,7 @@
soc {
flash-controller@52002000 {
compatible = "st,stm32h7-flash-controller";
compatible = "st,stm32-flash-controller", "st,stm32h7-flash-controller";
label = "FLASH_CTRL";
reg = <0x52002000 0x400>;
interrupts = <4 0>;

View file

@ -39,7 +39,7 @@
/* Driver does not currently support the l0 flash controller */
flash-controller@40022000 {
compatible = "st,stm32l0-flash-controller";
compatible = "st,stm32-flash-controller", "st,stm32l0-flash-controller";
label = "FLASH_CTRL";
reg = <0x40022000 0x400>;
interrupts = <3 0>;

View file

@ -207,7 +207,7 @@
};
flash-controller@40023c00 {
compatible = "st,stm32l1-flash-controller";
compatible = "st,stm32-flash-controller", "st,stm32l1-flash-controller";
label = "FLASH_CTRL";
reg = <0x40023c00 0x400>;
interrupts = <4 0>;

View file

@ -33,7 +33,7 @@
soc {
flash-controller@40022000 {
compatible = "st,stm32l4-flash-controller";
compatible = "st,stm32-flash-controller", "st,stm32l4-flash-controller";
label = "FLASH_CTRL";
reg = <0x40022000 0x400>;
interrupts = <4 0>;

View file

@ -28,7 +28,7 @@
soc {
flash-controller@58004000 {
compatible = "st,stm32wb-flash-controller";
compatible = "st,stm32-flash-controller", "st,stm32wb-flash-controller";
label = "FLASH_CTRL";
reg = <0x58004000 0x400>;
interrupts = <4 0>;

View file

@ -0,0 +1,5 @@
description: STM32 Family flash controller
compatible: "st,stm32-flash-controller"
include: flash-controller.yaml