diff --git a/tools/codegen.py b/tools/dm_gen/codegen.py similarity index 100% rename from tools/codegen.py rename to tools/dm_gen/codegen.py diff --git a/tools/command_config.c b/tools/dm_gen/command_config.c similarity index 100% rename from tools/command_config.c rename to tools/dm_gen/command_config.c diff --git a/tools/event_config.c b/tools/dm_gen/event_config.c similarity index 100% rename from tools/event_config.c rename to tools/dm_gen/event_config.c diff --git a/tools/property_config.c b/tools/dm_gen/property_config.c similarity index 100% rename from tools/property_config.c rename to tools/dm_gen/property_config.c diff --git a/tools/template.json b/tools/dm_gen/template.json similarity index 100% rename from tools/template.json rename to tools/dm_gen/template.json