Hello @_arthur_, sorry for the late reply, I hope you are doing well.
In order to add the MCLK output configuration, first you need to generate the required configuration of the MCLK clock and pin, I suggest to do this with "ConfigTools" which is a tool inside the MCUXpresso IDE that allows to configure your MCU's clock tree and pins and writes the API's to do so into the files "clock_config.c" and "pinmux.c" and "pinmux.h". Please notice that MCLK pin has to be configured as well with ConfigTools since it is an RW612-specific feature and it cannot be configured with the Zephyr gpio driver (as it is designed to be generic).
RomanVR_0-1761591179940.png
RomanVR_1-1761591214475.png
Once generated the required clock configuration, copy-paste it into the function "__weak__ramfunc void clock init(void)" which is located at the path: c:/My_Zephyr_Repo_path/zephyr/soc/nxp/rw.
Since this function is declared as "__weak__" you can copy-paste it on your main file (which will re-define the function) and add the clock configuration. Regarding the pin configuration, just copy-paste it into your main file.
Additionally, make sure to add the following includes to your main file (or the file where you add your custom configurations):
#include <fsl_power.h>
#include <fsl_clock.h>
#include <fsl_common.h>
#include <fsl_device_registers.h>
#include "soc.h"
#include "flexspi_clock_setup.h"
#include "fsl_ocotp.h"
#include "fsl_common.h"
#include "fsl_io_mux.h"
Please let me know if this information helps.
Best Regards!