See the CDL file under packages/devs/flash/nfc_gpio as an example. The nfc_gpio package is a template implementation of a NAND Flash controller using GPIO pins.
nfc_gpio