Skip to content

Commit c1e04ab

Browse files
Christophe Kerellomiquelraynal
authored andcommitted
dt-bindings: mtd: st,stm32: add MP25 support
Add a compatible string to support MP25 SoC. FMC2 IP supports up to 4 chip select. On MP1 SoC, only 2 of them are available when on MP25 SoC, the 4 chip select are available. Signed-off-by: Christophe Kerello <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
1 parent 347b828 commit c1e04ab

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ properties:
1414
enum:
1515
- st,stm32mp15-fmc2
1616
- st,stm32mp1-fmc2-nfc
17+
- st,stm32mp25-fmc2-nfc
1718

1819
reg:
1920
minItems: 6
20-
maxItems: 7
21+
maxItems: 12
2122

2223
interrupts:
2324
maxItems: 1
@@ -92,6 +93,28 @@ allOf:
9293
- description: Chip select 1 command
9394
- description: Chip select 1 address space
9495

96+
- if:
97+
properties:
98+
compatible:
99+
contains:
100+
const: st,stm32mp25-fmc2-nfc
101+
then:
102+
properties:
103+
reg:
104+
items:
105+
- description: Chip select 0 data
106+
- description: Chip select 0 command
107+
- description: Chip select 0 address space
108+
- description: Chip select 1 data
109+
- description: Chip select 1 command
110+
- description: Chip select 1 address space
111+
- description: Chip select 2 data
112+
- description: Chip select 2 command
113+
- description: Chip select 2 address space
114+
- description: Chip select 3 data
115+
- description: Chip select 3 command
116+
- description: Chip select 3 address space
117+
95118
required:
96119
- compatible
97120
- reg

0 commit comments

Comments
 (0)