-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dts: arm: st: Remove use of CONFIG_SOC_* from STM32 F1 dts files
To move forward and remove use of Kconfig in dts files lets just create SoC specific dtsi files that the boards can include. We also seperate out the F1 dtsi files into their own dir. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
- Loading branch information
Showing
12 changed files
with
90 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
* Copyright (c) 2018 Linaro Limited | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#include <mem.h> | ||
#include <st/f1/stm32f1.dtsi> | ||
|
||
/ { | ||
flash0: flash@8000000 { | ||
reg = <0x08000000 DT_SIZE_K(64)>; | ||
}; | ||
|
||
sram0: memory@20000000 { | ||
reg = <0x20000000 DT_SIZE_K(20)>; | ||
}; | ||
|
||
soc { | ||
/* spi2 is present on all STM32F103x8 SoCs except | ||
* STM32F103T8. Delete node in stm32f103t8.dtsi. | ||
*/ | ||
spi2: spi@40003800 { | ||
compatible = "st,stm32-spi"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
reg = <0x40003800 0x400>; | ||
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00004000>; | ||
interrupts = <36 5>; | ||
status = "disabled"; | ||
label = "SPI_2"; | ||
}; | ||
|
||
usb: usb@40005c00 { | ||
compatible = "st,stm32-usb"; | ||
reg = <0x40005c00 0x400>; | ||
interrupts = <20 0>; | ||
interrupt-names = "usb"; | ||
num-bidir-endpoints = <8>; | ||
ram-size = <512>; | ||
status = "disabled"; | ||
label= "USB"; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Copyright (c) 2018 Linaro Limited | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#include <mem.h> | ||
#include <st/f1/stm32f107.dtsi> | ||
|
||
/ { | ||
flash0: flash@8000000 { | ||
reg = <0x08000000 DT_SIZE_K(256)>; | ||
}; | ||
|
||
sram0: memory@20000000 { | ||
reg = <0x20000000 DT_SIZE_K(64)>; | ||
}; | ||
}; |