The following article describes how to configure code generation for the clock gates and how to perform a full initialization with the Pins Tool:
https://mcuoneclipse.com/2016/07/19/nxp-pins-tool-clock-gates-and-controlling-the-bits/