Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <christophe.kerello@foss.st.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240219140505.85794-2-christophe.kerello@foss.st.com

authored by

Christophe Kerello and committed by
Miquel Raynal
c1e04ab4 347b8288

+24 -1
+24 -1
Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml
··· 14 14 enum: 15 15 - st,stm32mp15-fmc2 16 16 - st,stm32mp1-fmc2-nfc 17 + - st,stm32mp25-fmc2-nfc 17 18 18 19 reg: 19 20 minItems: 6 20 - maxItems: 7 21 + maxItems: 12 21 22 22 23 interrupts: 23 24 maxItems: 1 ··· 92 91 - description: Chip select 1 data 93 92 - description: Chip select 1 command 94 93 - description: Chip select 1 address space 94 + 95 + - if: 96 + properties: 97 + compatible: 98 + contains: 99 + const: st,stm32mp25-fmc2-nfc 100 + then: 101 + properties: 102 + reg: 103 + items: 104 + - description: Chip select 0 data 105 + - description: Chip select 0 command 106 + - description: Chip select 0 address space 107 + - description: Chip select 1 data 108 + - description: Chip select 1 command 109 + - description: Chip select 1 address space 110 + - description: Chip select 2 data 111 + - description: Chip select 2 command 112 + - description: Chip select 2 address space 113 + - description: Chip select 3 data 114 + - description: Chip select 3 command 115 + - description: Chip select 3 address space 95 116 96 117 required: 97 118 - compatible