ot1200: move ccgr and gpr init to c functions