@@ -239,7 +239,7 @@ See documentation in [`keymgr.md`](./keymgr.md).
239239 MTD bus 0 is assigned to the SPI0 Host controller and MTD bus 1 is assigned to the SPI1 Host
240240 controller. See also Embedded Flash controller section.
241241
242- * ` -global ot-earlgrey-board.spiflash<bus>=<flash_type> ` should be used to instanciate a SPI
242+ * ` -global ot-earlgrey-board.spiflash<bus>=<flash_type> ` should be used to instantiate a SPI
243243 dataflash device of the specified type to the first device (/CS0) of the specified bus.
244244 Any SPI dataflash device supported by QEMU can be used. To list the supported devices, use
245245 ` grep -F 'INFO("' hw/block/m25p80.c | cut -d'"' -f2 `
@@ -258,6 +258,18 @@ See documentation in [`keymgr.md`](./keymgr.md).
258258 best SPI Host transfer performances, but decreases accuracy of the SPI Host clock settings. Time
259259 should be specified in ns, and defaults to 0 that indicates automatic SPI bus clock management.
260260
261+ ### SPI Device
262+
263+ * ` -global ot-earlgrey-board.spiflash_passthrough=<flash_type> ` should be used to instantiate a
264+ downstream SPI dataflash device of the specified type for use by OT SPI Device in Passthrough
265+ mode. The list of supported devices is the same as for SPI Host.
266+
267+ * ` -drive if=mtd,bus=3,file=<filename>,format=raw ` should be used to specify a PATH to a QEMU RAW
268+ image file used as the backing storage for the downstream flash.
269+
270+ MTD bus 3 is assigned to the downstream flash device accessible through OT SPI Device in
271+ Passthrough mode. See the SPI Host and Embedded Flash sections for other bus assignments.
272+
261273### UART
262274
263275See documentation in [ ` uart.md ` ] ( ./uart.md ) .
0 commit comments