The sram_controller example shows how to use SRAMC driver to initialize the SRAMC module.
FRDM-IMXRT1186