Skip to content

Commit 645a603

Browse files
Christophe KerelloAlexandre Torgue
authored andcommitted
ARM: dts: stm32: add FMC support on STM32MP13x SoC family
Add FMC support on STM32MP13x SoC family. Signed-off-by: Christophe Kerello <christophe.kerello@foss.st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
1 parent fc8d2b2 commit 645a603

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

arch/arm/boot/dts/stm32mp131.dtsi

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,6 +1232,39 @@
12321232
dma-requests = <48>;
12331233
};
12341234

1235+
fmc: memory-controller@58002000 {
1236+
compatible = "st,stm32mp1-fmc2-ebi";
1237+
reg = <0x58002000 0x1000>;
1238+
ranges = <0 0 0x60000000 0x04000000>, /* EBI CS 1 */
1239+
<1 0 0x64000000 0x04000000>, /* EBI CS 2 */
1240+
<2 0 0x68000000 0x04000000>, /* EBI CS 3 */
1241+
<3 0 0x6c000000 0x04000000>, /* EBI CS 4 */
1242+
<4 0 0x80000000 0x10000000>; /* NAND */
1243+
#address-cells = <2>;
1244+
#size-cells = <1>;
1245+
clocks = <&rcc FMC_K>;
1246+
resets = <&rcc FMC_R>;
1247+
status = "disabled";
1248+
1249+
nand-controller@4,0 {
1250+
compatible = "st,stm32mp1-fmc2-nfc";
1251+
reg = <4 0x00000000 0x1000>,
1252+
<4 0x08010000 0x1000>,
1253+
<4 0x08020000 0x1000>,
1254+
<4 0x01000000 0x1000>,
1255+
<4 0x09010000 0x1000>,
1256+
<4 0x09020000 0x1000>;
1257+
#address-cells = <1>;
1258+
#size-cells = <0>;
1259+
interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
1260+
dmas = <&mdma 24 0x2 0x12000a02 0x0 0x0>,
1261+
<&mdma 24 0x2 0x12000a08 0x0 0x0>,
1262+
<&mdma 25 0x2 0x12000a0a 0x0 0x0>;
1263+
dma-names = "tx", "rx", "ecc";
1264+
status = "disabled";
1265+
};
1266+
};
1267+
12351268
sdmmc1: mmc@58005000 {
12361269
compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell";
12371270
arm,primecell-periphid = <0x20253180>;

0 commit comments

Comments
 (0)