diff mbox

[2/2] clk: imx: imx7d: Remove ARM_M0 clock

Message ID 1500363892-1173-3-git-send-email-adriana.reus@nxp.com (mailing list archive)
State Changes Requested
Delegated to: Stephen Boyd
Headers show

Commit Message

Adriana Reus July 18, 2017, 7:44 a.m. UTC
IMX7d does not have an M0 Core and this particular
clock doesn't seem connected to anything else.
Remove this entry from the CCM driver and fix index
for the remaining clocks.

Signed-off-by: Adriana Reus <adriana.reus@nxp.com>
---
 drivers/clk/imx/clk-imx7d.c             |   9 -
 include/dt-bindings/clock/imx7d-clock.h | 742 ++++++++++++++++----------------
 2 files changed, 369 insertions(+), 382 deletions(-)

Comments

Stephen Boyd July 18, 2017, 11:10 p.m. UTC | #1
On 07/18, Adriana Reus wrote:
> IMX7d does not have an M0 Core and this particular
> clock doesn't seem connected to anything else.
> Remove this entry from the CCM driver and fix index
> for the remaining clocks.
> 
> Signed-off-by: Adriana Reus <adriana.reus@nxp.com>
[...]
> +#define IMX7D_GPT2_ROOT_DIV		305
> +#define IMX7D_GPT3_ROOT_CLK		306
> +#define IMX7D_GPT3_ROOT_SRC		307
> +#define IMX7D_GPT3_ROOT_CG		308
> +#define IMX7D_GPT3_ROOT_DIV		309
> +#define IMX7D_GPT4_ROOT_CLK		310
> +#define IMX7D_GPT4_ROOT_SRC		311
> +#define IMX7D_GPT4_ROOT_CG		312
> +#define IMX7D_GPT4_ROOT_DIV		313
> +#define IMX7D_TRACE_ROOT_CLK		314
> +#define IMX7D_TRACE_ROOT_SRC		315
> +#define IMX7D_TRACE_ROOT_CG		316
> +#define IMX7D_TRACE_ROOT_DIV		317
> +#define IMX7D_WDOG1_ROOT_CLK		318
> +#define IMX7D_WDOG_ROOT_SRC		319
> +#define IMX7D_WDOG_ROOT_CG		320
> +#define IMX7D_WDOG_ROOT_DIV		321
> +#define IMX7D_CSI_MCLK_ROOT_CLK		322
> +#define IMX7D_CSI_MCLK_ROOT_SRC		323
> +#define IMX7D_CSI_MCLK_ROOT_CG		324
> +#define IMX7D_CSI_MCLK_ROOT_DIV		325
> +#define IMX7D_AUDIO_MCLK_ROOT_CLK	326
> +#define IMX7D_AUDIO_MCLK_ROOT_SRC	327
> +#define IMX7D_AUDIO_MCLK_ROOT_CG	328
> +#define IMX7D_AUDIO_MCLK_ROOT_DIV	329
> +#define IMX7D_WRCLK_ROOT_CLK		330
> +#define IMX7D_WRCLK_ROOT_SRC		331
> +#define IMX7D_WRCLK_ROOT_CG		332
> +#define IMX7D_WRCLK_ROOT_DIV		333
> +#define IMX7D_CLKO1_ROOT_SRC		334
> +#define IMX7D_CLKO1_ROOT_CG		335
> +#define IMX7D_CLKO1_ROOT_DIV		336
> +#define IMX7D_CLKO2_ROOT_SRC		337
> +#define IMX7D_CLKO2_ROOT_CG		338
> +#define IMX7D_CLKO2_ROOT_DIV		339
> +#define IMX7D_MAIN_AXI_ROOT_PRE_DIV	340
> +#define IMX7D_DISP_AXI_ROOT_PRE_DIV	341
> +#define IMX7D_ENET_AXI_ROOT_PRE_DIV	342
> +#define IMX7D_NAND_USDHC_BUS_ROOT_PRE_DIV 343
> +#define IMX7D_AHB_CHANNEL_ROOT_PRE_DIV	344
> +#define IMX7D_USB_HSIC_ROOT_PRE_DIV	345
> +#define IMX7D_PCIE_CTRL_ROOT_PRE_DIV	346
> +#define IMX7D_PCIE_PHY_ROOT_PRE_DIV	347
> +#define IMX7D_EPDC_PIXEL_ROOT_PRE_DIV	348
> +#define IMX7D_LCDIF_PIXEL_ROOT_PRE_DIV	349
> +#define IMX7D_MIPI_DSI_ROOT_PRE_DIV	350
> +#define IMX7D_MIPI_CSI_ROOT_PRE_DIV	351
> +#define IMX7D_MIPI_DPHY_ROOT_PRE_DIV	352
> +#define IMX7D_SAI1_ROOT_PRE_DIV		353
> +#define IMX7D_SAI2_ROOT_PRE_DIV		354
> +#define IMX7D_SAI3_ROOT_PRE_DIV		355
> +#define IMX7D_SPDIF_ROOT_PRE_DIV	356
> +#define IMX7D_ENET1_REF_ROOT_PRE_DIV	357
> +#define IMX7D_ENET1_TIME_ROOT_PRE_DIV	358
> +#define IMX7D_ENET2_REF_ROOT_PRE_DIV	359
> +#define IMX7D_ENET2_TIME_ROOT_PRE_DIV	360
> +#define IMX7D_ENET_PHY_REF_ROOT_PRE_DIV 361
> +#define IMX7D_EIM_ROOT_PRE_DIV		362
> +#define IMX7D_NAND_ROOT_PRE_DIV		363
> +#define IMX7D_QSPI_ROOT_PRE_DIV		364
> +#define IMX7D_USDHC1_ROOT_PRE_DIV	365
> +#define IMX7D_USDHC2_ROOT_PRE_DIV	366
> +#define IMX7D_USDHC3_ROOT_PRE_DIV	367
> +#define IMX7D_CAN1_ROOT_PRE_DIV		368
> +#define IMX7D_CAN2_ROOT_PRE_DIV		369
> +#define IMX7D_I2C1_ROOT_PRE_DIV		370
> +#define IMX7D_I2C2_ROOT_PRE_DIV		371
> +#define IMX7D_I2C3_ROOT_PRE_DIV		372
> +#define IMX7D_I2C4_ROOT_PRE_DIV		373
> +#define IMX7D_UART1_ROOT_PRE_DIV	374
> +#define IMX7D_UART2_ROOT_PRE_DIV	375
> +#define IMX7D_UART3_ROOT_PRE_DIV	376
> +#define IMX7D_UART4_ROOT_PRE_DIV	377
> +#define IMX7D_UART5_ROOT_PRE_DIV	378
> +#define IMX7D_UART6_ROOT_PRE_DIV	379
> +#define IMX7D_UART7_ROOT_PRE_DIV	380
> +#define IMX7D_ECSPI1_ROOT_PRE_DIV	381
> +#define IMX7D_ECSPI2_ROOT_PRE_DIV	382
> +#define IMX7D_ECSPI3_ROOT_PRE_DIV	383
> +#define IMX7D_ECSPI4_ROOT_PRE_DIV	384
> +#define IMX7D_PWM1_ROOT_PRE_DIV		385
> +#define IMX7D_PWM2_ROOT_PRE_DIV		386
> +#define IMX7D_PWM3_ROOT_PRE_DIV		387
> +#define IMX7D_PWM4_ROOT_PRE_DIV		388
> +#define IMX7D_FLEXTIMER1_ROOT_PRE_DIV	389
> +#define IMX7D_FLEXTIMER2_ROOT_PRE_DIV	390
> +#define IMX7D_SIM1_ROOT_PRE_DIV		391
> +#define IMX7D_SIM2_ROOT_PRE_DIV		392
> +#define IMX7D_GPT1_ROOT_PRE_DIV		393
> +#define IMX7D_GPT2_ROOT_PRE_DIV		394
> +#define IMX7D_GPT3_ROOT_PRE_DIV		395
> +#define IMX7D_GPT4_ROOT_PRE_DIV		396
> +#define IMX7D_TRACE_ROOT_PRE_DIV	397
> +#define IMX7D_WDOG_ROOT_PRE_DIV		398
> +#define IMX7D_CSI_MCLK_ROOT_PRE_DIV	399
> +#define IMX7D_AUDIO_MCLK_ROOT_PRE_DIV	400
> +#define IMX7D_WRCLK_ROOT_PRE_DIV	401
> +#define IMX7D_CLKO1_ROOT_PRE_DIV	402
> +#define IMX7D_CLKO2_ROOT_PRE_DIV	403
> +#define IMX7D_DRAM_PHYM_ALT_ROOT_PRE_DIV 404
> +#define IMX7D_DRAM_ALT_ROOT_PRE_DIV	405
> +#define IMX7D_LVDS1_IN_CLK		406
> +#define IMX7D_LVDS1_OUT_SEL		407
> +#define IMX7D_LVDS1_OUT_CLK		408
> +#define IMX7D_CLK_DUMMY			409
> +#define IMX7D_GPT_3M_CLK		410
> +#define IMX7D_OCRAM_CLK			411
> +#define IMX7D_OCRAM_S_CLK		412
> +#define IMX7D_WDOG2_ROOT_CLK		413
> +#define IMX7D_WDOG3_ROOT_CLK		414
> +#define IMX7D_WDOG4_ROOT_CLK		415
> +#define IMX7D_SDMA_CORE_CLK		416
> +#define IMX7D_USB1_MAIN_480M_CLK	417
> +#define IMX7D_USB_CTRL_CLK		418
> +#define IMX7D_USB_PHY1_CLK		419
> +#define IMX7D_USB_PHY2_CLK		420
> +#define IMX7D_IPG_ROOT_CLK		421
> +#define IMX7D_SAI1_IPG_CLK		422
> +#define IMX7D_SAI2_IPG_CLK		423
> +#define IMX7D_SAI3_IPG_CLK		424
> +#define IMX7D_PLL_AUDIO_TEST_DIV	425
> +#define IMX7D_PLL_AUDIO_POST_DIV	426
> +#define IMX7D_PLL_VIDEO_TEST_DIV	427
> +#define IMX7D_PLL_VIDEO_POST_DIV	428
> +#define IMX7D_MU_ROOT_CLK		429
> +#define IMX7D_SEMA4_HS_ROOT_CLK		430
> +#define IMX7D_PLL_DRAM_TEST_DIV		431
> +#define IMX7D_ADC_ROOT_CLK		432
> +#define IMX7D_CLK_ARM			433
> +#define IMX7D_CKIL			434
> +#define IMX7D_OCOTP_CLK			435
> +#define IMX7D_NAND_RAWNAND_CLK		436
> +#define IMX7D_NAND_USDHC_BUS_RAWNAND_CLK 437
> +#define IMX7D_CLK_END			438
>  #endif /* __DT_BINDINGS_CLOCK_IMX7D_H */

Are any of these defines being used already? Please just leave
the numbers intact and make the ones that don't exist go to
/dev/null in the driver. That way, we don't break some ABI where
people were expecting raw numbers to work still.
Adriana Reus July 19, 2017, 2:34 p.m. UTC | #2
T24gTWEsIDIwMTctMDctMTggYXQgMTY6MTAgLTA3MDAsIFN0ZXBoZW4gQm95ZCB3cm90ZToNCj4g
T24gMDcvMTgsIEFkcmlhbmEgUmV1cyB3cm90ZToNCj4gPiANCj4gPiBJTVg3ZCBkb2VzIG5vdCBo
YXZlIGFuIE0wIENvcmUgYW5kIHRoaXMgcGFydGljdWxhcg0KPiA+IGNsb2NrIGRvZXNuJ3Qgc2Vl
bSBjb25uZWN0ZWQgdG8gYW55dGhpbmcgZWxzZS4NCj4gPiBSZW1vdmUgdGhpcyBlbnRyeSBmcm9t
IHRoZSBDQ00gZHJpdmVyIGFuZCBmaXggaW5kZXgNCj4gPiBmb3IgdGhlIHJlbWFpbmluZyBjbG9j
a3MuDQo+ID4gDQo+ID4gU2lnbmVkLW9mZi1ieTogQWRyaWFuYSBSZXVzIDxhZHJpYW5hLnJldXNA
bnhwLmNvbT4NCj4gWy4uLl0NCj4gPiANCj4gPiArI2RlZmluZSBJTVg3RF9HUFQyX1JPT1RfRElW
CQkzMDUNCj4gPiArI2RlZmluZSBJTVg3RF9HUFQzX1JPT1RfQ0xLCQkzMDYNCj4gPiArI2RlZmlu
ZSBJ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RlZmluZSBJTVg3RF9OQU5EX1JBV05BTkRfQ0xLCQk0
MzYNCj4gPiArI2RlZmluZSBJTVg3RF9OQU5EX1VTREhDX0JVU19SQVdOQU5EX0NMSyA0MzcNCj4g
PiArI2RlZmluZSBJTVg3RF9DTEtfRU5ECQkJNDM4DQo+ID4gwqAjZW5kaWYgLyogX19EVF9CSU5E
SU5HU19DTE9DS19JTVg3RF9IICovDQo+IA0KPiBBcmUgYW55IG9mIHRoZXNlIGRlZmluZXMgYmVp
bmcgdXNlZCBhbHJlYWR5PyBQbGVhc2UganVzdCBsZWF2ZQ0KPiB0aGUgbnVtYmVycyBpbnRhY3Qg
YW5kIG1ha2UgdGhlIG9uZXMgdGhhdCBkb24ndCBleGlzdCBnbyB0bw0KPiAvZGV2L251bGwgaW4g
dGhlIGRyaXZlci4gVGhhdCB3YXksIHdlIGRvbid0IGJyZWFrIHNvbWUgQUJJIHdoZXJlDQo+IHBl
b3BsZSB3ZXJlIGV4cGVjdGluZyByYXcgbnVtYmVycyB0byB3b3JrIHN0aWxsLg0KPiANClRoZXkn
cmUgdXNlZCBpbiB0aGUgZHRzIGZpbGUgZm9yIGlteDcgYnV0IGFzIGRlZmluZXMgbm90IGFzIHJh
dw0KdmFsdWVzLiBJdCdzIGJlc3QgdG8gYmUgb24gdGhlIHNhZmUgc2lkZSB0aG91Z2ggc28gSSds
bCBsZWF2ZSB0aGVtDQphbG9uZSBhbmQgc2VuZCB2Mi4NCg0KVGhhbmsgeW91
--
To unsubscribe from this list: send the line "unsubscribe linux-clk" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c
index 10f6a10..6fc2e3f 100644
--- a/drivers/clk/imx/clk-imx7d.c
+++ b/drivers/clk/imx/clk-imx7d.c
@@ -54,11 +54,6 @@  static const char *arm_m4_sel[] = { "osc", "pll_sys_main_240m_clk",
 	"pll_dram_533m_clk", "pll_audio_post_div", "pll_video_main_clk",
 	"pll_usb_main_clk", };
 
-static const char *arm_m0_sel[] = { "osc", "pll_sys_main_120m_clk",
-	"pll_enet_125m_clk", "pll_sys_pfd2_135m_clk",
-	"pll_dram_533m_clk", "pll_audio_post_div", "pll_video_main_clk",
-	"pll_usb_main_clk", };
-
 static const char *axi_sel[] = { "osc", "pll_sys_pfd1_332m_clk",
 	"pll_dram_533m_clk", "pll_enet_250m_clk", "pll_sys_pfd5_clk",
 	"pll_audio_post_div", "pll_video_main_clk", "pll_sys_pfd7_clk", };
@@ -510,7 +505,6 @@  static void __init imx7d_clocks_init(struct device_node *ccm_node)
 
 	clks[IMX7D_ARM_A7_ROOT_SRC] = imx_clk_mux2("arm_a7_src", base + 0x8000, 24, 3, arm_a7_sel, ARRAY_SIZE(arm_a7_sel));
 	clks[IMX7D_ARM_M4_ROOT_SRC] = imx_clk_mux2("arm_m4_src", base + 0x8080, 24, 3, arm_m4_sel, ARRAY_SIZE(arm_m4_sel));
-	clks[IMX7D_ARM_M0_ROOT_SRC] = imx_clk_mux2("arm_m0_src", base + 0x8100, 24, 3, arm_m0_sel, ARRAY_SIZE(arm_m0_sel));
 	clks[IMX7D_MAIN_AXI_ROOT_SRC] = imx_clk_mux2("axi_src", base + 0x8800, 24, 3, axi_sel, ARRAY_SIZE(axi_sel));
 	clks[IMX7D_DISP_AXI_ROOT_SRC] = imx_clk_mux2("disp_axi_src", base + 0x8880, 24, 3, disp_axi_sel, ARRAY_SIZE(disp_axi_sel));
 	clks[IMX7D_ENET_AXI_ROOT_SRC] = imx_clk_mux2("enet_axi_src", base + 0x8900, 24, 3, enet_axi_sel, ARRAY_SIZE(enet_axi_sel));
@@ -582,7 +576,6 @@  static void __init imx7d_clocks_init(struct device_node *ccm_node)
 
 	clks[IMX7D_ARM_A7_ROOT_CG] = imx_clk_gate3("arm_a7_cg", "arm_a7_src", base + 0x8000, 28);
 	clks[IMX7D_ARM_M4_ROOT_CG] = imx_clk_gate3("arm_m4_cg", "arm_m4_src", base + 0x8080, 28);
-	clks[IMX7D_ARM_M0_ROOT_CG] = imx_clk_gate3("arm_m0_cg", "arm_m0_src", base + 0x8100, 28);
 	clks[IMX7D_MAIN_AXI_ROOT_CG] = imx_clk_gate3("axi_cg", "axi_src", base + 0x8800, 28);
 	clks[IMX7D_DISP_AXI_ROOT_CG] = imx_clk_gate3("disp_axi_cg", "disp_axi_src", base + 0x8880, 28);
 	clks[IMX7D_ENET_AXI_ROOT_CG] = imx_clk_gate3("enet_axi_cg", "enet_axi_src", base + 0x8900, 28);
@@ -721,7 +714,6 @@  static void __init imx7d_clocks_init(struct device_node *ccm_node)
 
 	clks[IMX7D_ARM_A7_ROOT_DIV] = imx_clk_divider2("arm_a7_div", "arm_a7_cg", base + 0x8000, 0, 3);
 	clks[IMX7D_ARM_M4_ROOT_DIV] = imx_clk_divider2("arm_m4_div", "arm_m4_cg", base + 0x8080, 0, 3);
-	clks[IMX7D_ARM_M0_ROOT_DIV] = imx_clk_divider2("arm_m0_div", "arm_m0_cg", base + 0x8100, 0, 3);
 	clks[IMX7D_MAIN_AXI_ROOT_DIV] = imx_clk_divider2("axi_post_div", "axi_pre_div", base + 0x8800, 0, 6);
 	clks[IMX7D_DISP_AXI_ROOT_DIV] = imx_clk_divider2("disp_axi_post_div", "disp_axi_pre_div", base + 0x8880, 0, 6);
 	clks[IMX7D_ENET_AXI_ROOT_DIV] = imx_clk_divider2("enet_axi_post_div", "enet_axi_pre_div", base + 0x8900, 0, 6);
@@ -793,7 +785,6 @@  static void __init imx7d_clocks_init(struct device_node *ccm_node)
 
 	clks[IMX7D_ARM_A7_ROOT_CLK] = imx_clk_gate4("arm_a7_root_clk", "arm_a7_div", base + 0x4000, 0);
 	clks[IMX7D_ARM_M4_ROOT_CLK] = imx_clk_gate4("arm_m4_root_clk", "arm_m4_div", base + 0x4010, 0);
-	clks[IMX7D_ARM_M0_ROOT_CLK] = imx_clk_gate4("arm_m0_root_clk", "arm_m0_div", base + 0x4020, 0);
 	clks[IMX7D_MAIN_AXI_ROOT_CLK] = imx_clk_gate4("main_axi_root_clk", "axi_post_div", base + 0x4040, 0);
 	clks[IMX7D_DISP_AXI_ROOT_CLK] = imx_clk_gate4("disp_axi_root_clk", "disp_axi_post_div", base + 0x4050, 0);
 	clks[IMX7D_ENET_AXI_ROOT_CLK] = imx_clk_gate4("enet_axi_root_clk", "enet_axi_post_div", base + 0x4060, 0);
diff --git a/include/dt-bindings/clock/imx7d-clock.h b/include/dt-bindings/clock/imx7d-clock.h
index de62a83..bf03b88 100644
--- a/include/dt-bindings/clock/imx7d-clock.h
+++ b/include/dt-bindings/clock/imx7d-clock.h
@@ -80,377 +80,373 @@ 
 #define IMX7D_ARM_M4_ROOT_SRC		67
 #define IMX7D_ARM_M4_ROOT_CG		68
 #define IMX7D_ARM_M4_ROOT_DIV		69
-#define IMX7D_ARM_M0_ROOT_CLK		70
-#define IMX7D_ARM_M0_ROOT_SRC		71
-#define IMX7D_ARM_M0_ROOT_CG		72
-#define IMX7D_ARM_M0_ROOT_DIV		73
-#define IMX7D_MAIN_AXI_ROOT_CLK		74
-#define IMX7D_MAIN_AXI_ROOT_SRC		75
-#define IMX7D_MAIN_AXI_ROOT_CG		76
-#define IMX7D_MAIN_AXI_ROOT_DIV		77
-#define IMX7D_DISP_AXI_ROOT_CLK		78
-#define IMX7D_DISP_AXI_ROOT_SRC		79
-#define IMX7D_DISP_AXI_ROOT_CG		80
-#define IMX7D_DISP_AXI_ROOT_DIV		81
-#define IMX7D_ENET_AXI_ROOT_CLK		82
-#define IMX7D_ENET_AXI_ROOT_SRC		83
-#define IMX7D_ENET_AXI_ROOT_CG		84
-#define IMX7D_ENET_AXI_ROOT_DIV		85
-#define IMX7D_NAND_USDHC_BUS_ROOT_CLK	86
-#define IMX7D_NAND_USDHC_BUS_ROOT_SRC	87
-#define IMX7D_NAND_USDHC_BUS_ROOT_CG	88
-#define IMX7D_NAND_USDHC_BUS_ROOT_DIV	89
-#define IMX7D_AHB_CHANNEL_ROOT_CLK	90
-#define IMX7D_AHB_CHANNEL_ROOT_SRC	91
-#define IMX7D_AHB_CHANNEL_ROOT_CG	92
-#define IMX7D_AHB_CHANNEL_ROOT_DIV	93
-#define IMX7D_DRAM_PHYM_ROOT_CLK	94
-#define IMX7D_DRAM_PHYM_ROOT_SRC	95
-#define IMX7D_DRAM_PHYM_ROOT_CG		96
-#define IMX7D_DRAM_PHYM_ROOT_DIV	97
-#define IMX7D_DRAM_ROOT_CLK		98
-#define IMX7D_DRAM_ROOT_SRC		99
-#define IMX7D_DRAM_ROOT_CG		100
-#define IMX7D_DRAM_ROOT_DIV		101
-#define IMX7D_DRAM_PHYM_ALT_ROOT_CLK	102
-#define IMX7D_DRAM_PHYM_ALT_ROOT_SRC	103
-#define IMX7D_DRAM_PHYM_ALT_ROOT_CG	104
-#define IMX7D_DRAM_PHYM_ALT_ROOT_DIV	105
-#define IMX7D_DRAM_ALT_ROOT_CLK		106
-#define IMX7D_DRAM_ALT_ROOT_SRC		107
-#define IMX7D_DRAM_ALT_ROOT_CG		108
-#define IMX7D_DRAM_ALT_ROOT_DIV		109
-#define IMX7D_USB_HSIC_ROOT_CLK		110
-#define IMX7D_USB_HSIC_ROOT_SRC		111
-#define IMX7D_USB_HSIC_ROOT_CG		112
-#define IMX7D_USB_HSIC_ROOT_DIV		113
-#define IMX7D_PCIE_CTRL_ROOT_CLK	114
-#define IMX7D_PCIE_CTRL_ROOT_SRC	115
-#define IMX7D_PCIE_CTRL_ROOT_CG		116
-#define IMX7D_PCIE_CTRL_ROOT_DIV	117
-#define IMX7D_PCIE_PHY_ROOT_CLK		118
-#define IMX7D_PCIE_PHY_ROOT_SRC		119
-#define IMX7D_PCIE_PHY_ROOT_CG		120
-#define IMX7D_PCIE_PHY_ROOT_DIV		121
-#define IMX7D_EPDC_PIXEL_ROOT_CLK	122
-#define IMX7D_EPDC_PIXEL_ROOT_SRC	123
-#define IMX7D_EPDC_PIXEL_ROOT_CG	124
-#define IMX7D_EPDC_PIXEL_ROOT_DIV	125
-#define IMX7D_LCDIF_PIXEL_ROOT_CLK	126
-#define IMX7D_LCDIF_PIXEL_ROOT_SRC	127
-#define IMX7D_LCDIF_PIXEL_ROOT_CG	128
-#define IMX7D_LCDIF_PIXEL_ROOT_DIV	129
-#define IMX7D_MIPI_DSI_ROOT_CLK		130
-#define IMX7D_MIPI_DSI_ROOT_SRC		131
-#define IMX7D_MIPI_DSI_ROOT_CG		132
-#define IMX7D_MIPI_DSI_ROOT_DIV		133
-#define IMX7D_MIPI_CSI_ROOT_CLK		134
-#define IMX7D_MIPI_CSI_ROOT_SRC		135
-#define IMX7D_MIPI_CSI_ROOT_CG		136
-#define IMX7D_MIPI_CSI_ROOT_DIV		137
-#define IMX7D_MIPI_DPHY_ROOT_CLK	138
-#define IMX7D_MIPI_DPHY_ROOT_SRC	139
-#define IMX7D_MIPI_DPHY_ROOT_CG		140
-#define IMX7D_MIPI_DPHY_ROOT_DIV	141
-#define IMX7D_SAI1_ROOT_CLK		142
-#define IMX7D_SAI1_ROOT_SRC		143
-#define IMX7D_SAI1_ROOT_CG		144
-#define IMX7D_SAI1_ROOT_DIV		145
-#define IMX7D_SAI2_ROOT_CLK		146
-#define IMX7D_SAI2_ROOT_SRC		147
-#define IMX7D_SAI2_ROOT_CG		148
-#define IMX7D_SAI2_ROOT_DIV		149
-#define IMX7D_SAI3_ROOT_CLK		150
-#define IMX7D_SAI3_ROOT_SRC		151
-#define IMX7D_SAI3_ROOT_CG		152
-#define IMX7D_SAI3_ROOT_DIV		153
-#define IMX7D_SPDIF_ROOT_CLK		154
-#define IMX7D_SPDIF_ROOT_SRC		155
-#define IMX7D_SPDIF_ROOT_CG		156
-#define IMX7D_SPDIF_ROOT_DIV		157
-#define IMX7D_ENET1_REF_ROOT_CLK	158
-#define IMX7D_ENET1_REF_ROOT_SRC	159
-#define IMX7D_ENET1_REF_ROOT_CG		160
-#define IMX7D_ENET1_REF_ROOT_DIV	161
-#define IMX7D_ENET1_TIME_ROOT_CLK	162
-#define IMX7D_ENET1_TIME_ROOT_SRC	163
-#define IMX7D_ENET1_TIME_ROOT_CG	164
-#define IMX7D_ENET1_TIME_ROOT_DIV	165
-#define IMX7D_ENET2_REF_ROOT_CLK	166
-#define IMX7D_ENET2_REF_ROOT_SRC	167
-#define IMX7D_ENET2_REF_ROOT_CG		168
-#define IMX7D_ENET2_REF_ROOT_DIV	169
-#define IMX7D_ENET2_TIME_ROOT_CLK	170
-#define IMX7D_ENET2_TIME_ROOT_SRC	171
-#define IMX7D_ENET2_TIME_ROOT_CG	172
-#define IMX7D_ENET2_TIME_ROOT_DIV	173
-#define IMX7D_ENET_PHY_REF_ROOT_CLK	174
-#define IMX7D_ENET_PHY_REF_ROOT_SRC	175
-#define IMX7D_ENET_PHY_REF_ROOT_CG	176
-#define IMX7D_ENET_PHY_REF_ROOT_DIV	177
-#define IMX7D_EIM_ROOT_CLK		178
-#define IMX7D_EIM_ROOT_SRC		179
-#define IMX7D_EIM_ROOT_CG		180
-#define IMX7D_EIM_ROOT_DIV		181
-#define IMX7D_NAND_ROOT_CLK		182
-#define IMX7D_NAND_ROOT_SRC		183
-#define IMX7D_NAND_ROOT_CG		184
-#define IMX7D_NAND_ROOT_DIV		185
-#define IMX7D_QSPI_ROOT_CLK		186
-#define IMX7D_QSPI_ROOT_SRC		187
-#define IMX7D_QSPI_ROOT_CG		188
-#define IMX7D_QSPI_ROOT_DIV		189
-#define IMX7D_USDHC1_ROOT_CLK		190
-#define IMX7D_USDHC1_ROOT_SRC		191
-#define IMX7D_USDHC1_ROOT_CG		192
-#define IMX7D_USDHC1_ROOT_DIV		193
-#define IMX7D_USDHC2_ROOT_CLK		194
-#define IMX7D_USDHC2_ROOT_SRC		195
-#define IMX7D_USDHC2_ROOT_CG		196
-#define IMX7D_USDHC2_ROOT_DIV		197
-#define IMX7D_USDHC3_ROOT_CLK		198
-#define IMX7D_USDHC3_ROOT_SRC		199
-#define IMX7D_USDHC3_ROOT_CG		200
-#define IMX7D_USDHC3_ROOT_DIV		201
-#define IMX7D_CAN1_ROOT_CLK		202
-#define IMX7D_CAN1_ROOT_SRC		203
-#define IMX7D_CAN1_ROOT_CG		204
-#define IMX7D_CAN1_ROOT_DIV		205
-#define IMX7D_CAN2_ROOT_CLK		206
-#define IMX7D_CAN2_ROOT_SRC		207
-#define IMX7D_CAN2_ROOT_CG		208
-#define IMX7D_CAN2_ROOT_DIV		209
-#define IMX7D_I2C1_ROOT_CLK		210
-#define IMX7D_I2C1_ROOT_SRC		211
-#define IMX7D_I2C1_ROOT_CG		212
-#define IMX7D_I2C1_ROOT_DIV		213
-#define IMX7D_I2C2_ROOT_CLK		214
-#define IMX7D_I2C2_ROOT_SRC		215
-#define IMX7D_I2C2_ROOT_CG		216
-#define IMX7D_I2C2_ROOT_DIV		217
-#define IMX7D_I2C3_ROOT_CLK		218
-#define IMX7D_I2C3_ROOT_SRC		219
-#define IMX7D_I2C3_ROOT_CG		220
-#define IMX7D_I2C3_ROOT_DIV		221
-#define IMX7D_I2C4_ROOT_CLK		222
-#define IMX7D_I2C4_ROOT_SRC		223
-#define IMX7D_I2C4_ROOT_CG		224
-#define IMX7D_I2C4_ROOT_DIV		225
-#define IMX7D_UART1_ROOT_CLK		226
-#define IMX7D_UART1_ROOT_SRC		227
-#define IMX7D_UART1_ROOT_CG		228
-#define IMX7D_UART1_ROOT_DIV		229
-#define IMX7D_UART2_ROOT_CLK		230
-#define IMX7D_UART2_ROOT_SRC		231
-#define IMX7D_UART2_ROOT_CG		232
-#define IMX7D_UART2_ROOT_DIV		233
-#define IMX7D_UART3_ROOT_CLK		234
-#define IMX7D_UART3_ROOT_SRC		235
-#define IMX7D_UART3_ROOT_CG		236
-#define IMX7D_UART3_ROOT_DIV		237
-#define IMX7D_UART4_ROOT_CLK		238
-#define IMX7D_UART4_ROOT_SRC		239
-#define IMX7D_UART4_ROOT_CG		240
-#define IMX7D_UART4_ROOT_DIV		241
-#define IMX7D_UART5_ROOT_CLK		242
-#define IMX7D_UART5_ROOT_SRC		243
-#define IMX7D_UART5_ROOT_CG		244
-#define IMX7D_UART5_ROOT_DIV		245
-#define IMX7D_UART6_ROOT_CLK		246
-#define IMX7D_UART6_ROOT_SRC		247
-#define IMX7D_UART6_ROOT_CG		248
-#define IMX7D_UART6_ROOT_DIV		249
-#define IMX7D_UART7_ROOT_CLK		250
-#define IMX7D_UART7_ROOT_SRC		251
-#define IMX7D_UART7_ROOT_CG		252
-#define IMX7D_UART7_ROOT_DIV		253
-#define IMX7D_ECSPI1_ROOT_CLK		254
-#define IMX7D_ECSPI1_ROOT_SRC		255
-#define IMX7D_ECSPI1_ROOT_CG		256
-#define IMX7D_ECSPI1_ROOT_DIV		257
-#define IMX7D_ECSPI2_ROOT_CLK		258
-#define IMX7D_ECSPI2_ROOT_SRC		259
-#define IMX7D_ECSPI2_ROOT_CG		260
-#define IMX7D_ECSPI2_ROOT_DIV		261
-#define IMX7D_ECSPI3_ROOT_CLK		262
-#define IMX7D_ECSPI3_ROOT_SRC		263
-#define IMX7D_ECSPI3_ROOT_CG		264
-#define IMX7D_ECSPI3_ROOT_DIV		265
-#define IMX7D_ECSPI4_ROOT_CLK		266
-#define IMX7D_ECSPI4_ROOT_SRC		267
-#define IMX7D_ECSPI4_ROOT_CG		268
-#define IMX7D_ECSPI4_ROOT_DIV		269
-#define IMX7D_PWM1_ROOT_CLK		270
-#define IMX7D_PWM1_ROOT_SRC		271
-#define IMX7D_PWM1_ROOT_CG		272
-#define IMX7D_PWM1_ROOT_DIV		273
-#define IMX7D_PWM2_ROOT_CLK		274
-#define IMX7D_PWM2_ROOT_SRC		275
-#define IMX7D_PWM2_ROOT_CG		276
-#define IMX7D_PWM2_ROOT_DIV		277
-#define IMX7D_PWM3_ROOT_CLK		278
-#define IMX7D_PWM3_ROOT_SRC		279
-#define IMX7D_PWM3_ROOT_CG		280
-#define IMX7D_PWM3_ROOT_DIV		281
-#define IMX7D_PWM4_ROOT_CLK		282
-#define IMX7D_PWM4_ROOT_SRC		283
-#define IMX7D_PWM4_ROOT_CG		284
-#define IMX7D_PWM4_ROOT_DIV		285
-#define IMX7D_FLEXTIMER1_ROOT_CLK	286
-#define IMX7D_FLEXTIMER1_ROOT_SRC	287
-#define IMX7D_FLEXTIMER1_ROOT_CG	288
-#define IMX7D_FLEXTIMER1_ROOT_DIV	289
-#define IMX7D_FLEXTIMER2_ROOT_CLK	290
-#define IMX7D_FLEXTIMER2_ROOT_SRC	291
-#define IMX7D_FLEXTIMER2_ROOT_CG	292
-#define IMX7D_FLEXTIMER2_ROOT_DIV	293
-#define IMX7D_SIM1_ROOT_CLK		294
-#define IMX7D_SIM1_ROOT_SRC		295
-#define IMX7D_SIM1_ROOT_CG		296
-#define IMX7D_SIM1_ROOT_DIV		297
-#define IMX7D_SIM2_ROOT_CLK		298
-#define IMX7D_SIM2_ROOT_SRC		299
-#define IMX7D_SIM2_ROOT_CG		300
-#define IMX7D_SIM2_ROOT_DIV		301
-#define IMX7D_GPT1_ROOT_CLK		302
-#define IMX7D_GPT1_ROOT_SRC		303
-#define IMX7D_GPT1_ROOT_CG		304
-#define IMX7D_GPT1_ROOT_DIV		305
-#define IMX7D_GPT2_ROOT_CLK		306
-#define IMX7D_GPT2_ROOT_SRC		307
-#define IMX7D_GPT2_ROOT_CG		308
-#define IMX7D_GPT2_ROOT_DIV		309
-#define IMX7D_GPT3_ROOT_CLK		310
-#define IMX7D_GPT3_ROOT_SRC		311
-#define IMX7D_GPT3_ROOT_CG		312
-#define IMX7D_GPT3_ROOT_DIV		313
-#define IMX7D_GPT4_ROOT_CLK		314
-#define IMX7D_GPT4_ROOT_SRC		315
-#define IMX7D_GPT4_ROOT_CG		316
-#define IMX7D_GPT4_ROOT_DIV		317
-#define IMX7D_TRACE_ROOT_CLK		318
-#define IMX7D_TRACE_ROOT_SRC		319
-#define IMX7D_TRACE_ROOT_CG		320
-#define IMX7D_TRACE_ROOT_DIV		321
-#define IMX7D_WDOG1_ROOT_CLK		322
-#define IMX7D_WDOG_ROOT_SRC		323
-#define IMX7D_WDOG_ROOT_CG		324
-#define IMX7D_WDOG_ROOT_DIV		325
-#define IMX7D_CSI_MCLK_ROOT_CLK		326
-#define IMX7D_CSI_MCLK_ROOT_SRC		327
-#define IMX7D_CSI_MCLK_ROOT_CG		328
-#define IMX7D_CSI_MCLK_ROOT_DIV		329
-#define IMX7D_AUDIO_MCLK_ROOT_CLK	330
-#define IMX7D_AUDIO_MCLK_ROOT_SRC	331
-#define IMX7D_AUDIO_MCLK_ROOT_CG	332
-#define IMX7D_AUDIO_MCLK_ROOT_DIV	333
-#define IMX7D_WRCLK_ROOT_CLK		334
-#define IMX7D_WRCLK_ROOT_SRC		335
-#define IMX7D_WRCLK_ROOT_CG		336
-#define IMX7D_WRCLK_ROOT_DIV		337
-#define IMX7D_CLKO1_ROOT_SRC		338
-#define IMX7D_CLKO1_ROOT_CG		339
-#define IMX7D_CLKO1_ROOT_DIV		340
-#define IMX7D_CLKO2_ROOT_SRC		341
-#define IMX7D_CLKO2_ROOT_CG		342
-#define IMX7D_CLKO2_ROOT_DIV		343
-#define IMX7D_MAIN_AXI_ROOT_PRE_DIV	344
-#define IMX7D_DISP_AXI_ROOT_PRE_DIV	345
-#define IMX7D_ENET_AXI_ROOT_PRE_DIV	346
-#define IMX7D_NAND_USDHC_BUS_ROOT_PRE_DIV 347
-#define IMX7D_AHB_CHANNEL_ROOT_PRE_DIV	348
-#define IMX7D_USB_HSIC_ROOT_PRE_DIV	349
-#define IMX7D_PCIE_CTRL_ROOT_PRE_DIV	350
-#define IMX7D_PCIE_PHY_ROOT_PRE_DIV	351
-#define IMX7D_EPDC_PIXEL_ROOT_PRE_DIV	352
-#define IMX7D_LCDIF_PIXEL_ROOT_PRE_DIV	353
-#define IMX7D_MIPI_DSI_ROOT_PRE_DIV	354
-#define IMX7D_MIPI_CSI_ROOT_PRE_DIV	355
-#define IMX7D_MIPI_DPHY_ROOT_PRE_DIV	356
-#define IMX7D_SAI1_ROOT_PRE_DIV		357
-#define IMX7D_SAI2_ROOT_PRE_DIV		358
-#define IMX7D_SAI3_ROOT_PRE_DIV		359
-#define IMX7D_SPDIF_ROOT_PRE_DIV	360
-#define IMX7D_ENET1_REF_ROOT_PRE_DIV	361
-#define IMX7D_ENET1_TIME_ROOT_PRE_DIV	362
-#define IMX7D_ENET2_REF_ROOT_PRE_DIV	363
-#define IMX7D_ENET2_TIME_ROOT_PRE_DIV	364
-#define IMX7D_ENET_PHY_REF_ROOT_PRE_DIV 365
-#define IMX7D_EIM_ROOT_PRE_DIV		366
-#define IMX7D_NAND_ROOT_PRE_DIV		367
-#define IMX7D_QSPI_ROOT_PRE_DIV		368
-#define IMX7D_USDHC1_ROOT_PRE_DIV	369
-#define IMX7D_USDHC2_ROOT_PRE_DIV	370
-#define IMX7D_USDHC3_ROOT_PRE_DIV	371
-#define IMX7D_CAN1_ROOT_PRE_DIV		372
-#define IMX7D_CAN2_ROOT_PRE_DIV		373
-#define IMX7D_I2C1_ROOT_PRE_DIV		374
-#define IMX7D_I2C2_ROOT_PRE_DIV		375
-#define IMX7D_I2C3_ROOT_PRE_DIV		376
-#define IMX7D_I2C4_ROOT_PRE_DIV		377
-#define IMX7D_UART1_ROOT_PRE_DIV	378
-#define IMX7D_UART2_ROOT_PRE_DIV	379
-#define IMX7D_UART3_ROOT_PRE_DIV	380
-#define IMX7D_UART4_ROOT_PRE_DIV	381
-#define IMX7D_UART5_ROOT_PRE_DIV	382
-#define IMX7D_UART6_ROOT_PRE_DIV	383
-#define IMX7D_UART7_ROOT_PRE_DIV	384
-#define IMX7D_ECSPI1_ROOT_PRE_DIV	385
-#define IMX7D_ECSPI2_ROOT_PRE_DIV	386
-#define IMX7D_ECSPI3_ROOT_PRE_DIV	387
-#define IMX7D_ECSPI4_ROOT_PRE_DIV	388
-#define IMX7D_PWM1_ROOT_PRE_DIV		389
-#define IMX7D_PWM2_ROOT_PRE_DIV		390
-#define IMX7D_PWM3_ROOT_PRE_DIV		391
-#define IMX7D_PWM4_ROOT_PRE_DIV		392
-#define IMX7D_FLEXTIMER1_ROOT_PRE_DIV	393
-#define IMX7D_FLEXTIMER2_ROOT_PRE_DIV	394
-#define IMX7D_SIM1_ROOT_PRE_DIV		395
-#define IMX7D_SIM2_ROOT_PRE_DIV		396
-#define IMX7D_GPT1_ROOT_PRE_DIV		397
-#define IMX7D_GPT2_ROOT_PRE_DIV		398
-#define IMX7D_GPT3_ROOT_PRE_DIV		399
-#define IMX7D_GPT4_ROOT_PRE_DIV		400
-#define IMX7D_TRACE_ROOT_PRE_DIV	401
-#define IMX7D_WDOG_ROOT_PRE_DIV		402
-#define IMX7D_CSI_MCLK_ROOT_PRE_DIV	403
-#define IMX7D_AUDIO_MCLK_ROOT_PRE_DIV	404
-#define IMX7D_WRCLK_ROOT_PRE_DIV	405
-#define IMX7D_CLKO1_ROOT_PRE_DIV	406
-#define IMX7D_CLKO2_ROOT_PRE_DIV	407
-#define IMX7D_DRAM_PHYM_ALT_ROOT_PRE_DIV 408
-#define IMX7D_DRAM_ALT_ROOT_PRE_DIV	409
-#define IMX7D_LVDS1_IN_CLK		410
-#define IMX7D_LVDS1_OUT_SEL		411
-#define IMX7D_LVDS1_OUT_CLK		412
-#define IMX7D_CLK_DUMMY			413
-#define IMX7D_GPT_3M_CLK		414
-#define IMX7D_OCRAM_CLK			415
-#define IMX7D_OCRAM_S_CLK		416
-#define IMX7D_WDOG2_ROOT_CLK		417
-#define IMX7D_WDOG3_ROOT_CLK		418
-#define IMX7D_WDOG4_ROOT_CLK		419
-#define IMX7D_SDMA_CORE_CLK		420
-#define IMX7D_USB1_MAIN_480M_CLK	421
-#define IMX7D_USB_CTRL_CLK		422
-#define IMX7D_USB_PHY1_CLK		423
-#define IMX7D_USB_PHY2_CLK		424
-#define IMX7D_IPG_ROOT_CLK		425
-#define IMX7D_SAI1_IPG_CLK		426
-#define IMX7D_SAI2_IPG_CLK		427
-#define IMX7D_SAI3_IPG_CLK		428
-#define IMX7D_PLL_AUDIO_TEST_DIV	429
-#define IMX7D_PLL_AUDIO_POST_DIV	430
-#define IMX7D_PLL_VIDEO_TEST_DIV	431
-#define IMX7D_PLL_VIDEO_POST_DIV	432
-#define IMX7D_MU_ROOT_CLK		433
-#define IMX7D_SEMA4_HS_ROOT_CLK		434
-#define IMX7D_PLL_DRAM_TEST_DIV		435
-#define IMX7D_ADC_ROOT_CLK		436
-#define IMX7D_CLK_ARM			437
-#define IMX7D_CKIL			438
-#define IMX7D_OCOTP_CLK			439
-#define IMX7D_NAND_RAWNAND_CLK		440
-#define IMX7D_NAND_USDHC_BUS_RAWNAND_CLK 441
-#define IMX7D_CLK_END			442
+#define IMX7D_MAIN_AXI_ROOT_CLK		70
+#define IMX7D_MAIN_AXI_ROOT_SRC		71
+#define IMX7D_MAIN_AXI_ROOT_CG		72
+#define IMX7D_MAIN_AXI_ROOT_DIV		73
+#define IMX7D_DISP_AXI_ROOT_CLK		74
+#define IMX7D_DISP_AXI_ROOT_SRC		75
+#define IMX7D_DISP_AXI_ROOT_CG		76
+#define IMX7D_DISP_AXI_ROOT_DIV		77
+#define IMX7D_ENET_AXI_ROOT_CLK		78
+#define IMX7D_ENET_AXI_ROOT_SRC		79
+#define IMX7D_ENET_AXI_ROOT_CG		80
+#define IMX7D_ENET_AXI_ROOT_DIV		81
+#define IMX7D_NAND_USDHC_BUS_ROOT_CLK	82
+#define IMX7D_NAND_USDHC_BUS_ROOT_SRC	83
+#define IMX7D_NAND_USDHC_BUS_ROOT_CG	84
+#define IMX7D_NAND_USDHC_BUS_ROOT_DIV	85
+#define IMX7D_AHB_CHANNEL_ROOT_CLK	86
+#define IMX7D_AHB_CHANNEL_ROOT_SRC	87
+#define IMX7D_AHB_CHANNEL_ROOT_CG	88
+#define IMX7D_AHB_CHANNEL_ROOT_DIV	89
+#define IMX7D_DRAM_PHYM_ROOT_CLK	90
+#define IMX7D_DRAM_PHYM_ROOT_SRC	91
+#define IMX7D_DRAM_PHYM_ROOT_CG		92
+#define IMX7D_DRAM_PHYM_ROOT_DIV	93
+#define IMX7D_DRAM_ROOT_CLK		94
+#define IMX7D_DRAM_ROOT_SRC		95
+#define IMX7D_DRAM_ROOT_CG		96
+#define IMX7D_DRAM_ROOT_DIV		97
+#define IMX7D_DRAM_PHYM_ALT_ROOT_CLK	98
+#define IMX7D_DRAM_PHYM_ALT_ROOT_SRC	99
+#define IMX7D_DRAM_PHYM_ALT_ROOT_CG	100
+#define IMX7D_DRAM_PHYM_ALT_ROOT_DIV	101
+#define IMX7D_DRAM_ALT_ROOT_CLK		102
+#define IMX7D_DRAM_ALT_ROOT_SRC		103
+#define IMX7D_DRAM_ALT_ROOT_CG		104
+#define IMX7D_DRAM_ALT_ROOT_DIV		105
+#define IMX7D_USB_HSIC_ROOT_CLK		106
+#define IMX7D_USB_HSIC_ROOT_SRC		107
+#define IMX7D_USB_HSIC_ROOT_CG		108
+#define IMX7D_USB_HSIC_ROOT_DIV		109
+#define IMX7D_PCIE_CTRL_ROOT_CLK	110
+#define IMX7D_PCIE_CTRL_ROOT_SRC	111
+#define IMX7D_PCIE_CTRL_ROOT_CG		112
+#define IMX7D_PCIE_CTRL_ROOT_DIV	113
+#define IMX7D_PCIE_PHY_ROOT_CLK		114
+#define IMX7D_PCIE_PHY_ROOT_SRC		115
+#define IMX7D_PCIE_PHY_ROOT_CG		116
+#define IMX7D_PCIE_PHY_ROOT_DIV		117
+#define IMX7D_EPDC_PIXEL_ROOT_CLK	118
+#define IMX7D_EPDC_PIXEL_ROOT_SRC	119
+#define IMX7D_EPDC_PIXEL_ROOT_CG	120
+#define IMX7D_EPDC_PIXEL_ROOT_DIV	121
+#define IMX7D_LCDIF_PIXEL_ROOT_CLK	122
+#define IMX7D_LCDIF_PIXEL_ROOT_SRC	123
+#define IMX7D_LCDIF_PIXEL_ROOT_CG	124
+#define IMX7D_LCDIF_PIXEL_ROOT_DIV	125
+#define IMX7D_MIPI_DSI_ROOT_CLK		126
+#define IMX7D_MIPI_DSI_ROOT_SRC		127
+#define IMX7D_MIPI_DSI_ROOT_CG		128
+#define IMX7D_MIPI_DSI_ROOT_DIV		129
+#define IMX7D_MIPI_CSI_ROOT_CLK		130
+#define IMX7D_MIPI_CSI_ROOT_SRC		131
+#define IMX7D_MIPI_CSI_ROOT_CG		132
+#define IMX7D_MIPI_CSI_ROOT_DIV		133
+#define IMX7D_MIPI_DPHY_ROOT_CLK	134
+#define IMX7D_MIPI_DPHY_ROOT_SRC	135
+#define IMX7D_MIPI_DPHY_ROOT_CG		136
+#define IMX7D_MIPI_DPHY_ROOT_DIV	137
+#define IMX7D_SAI1_ROOT_CLK		138
+#define IMX7D_SAI1_ROOT_SRC		139
+#define IMX7D_SAI1_ROOT_CG		140
+#define IMX7D_SAI1_ROOT_DIV		141
+#define IMX7D_SAI2_ROOT_CLK		142
+#define IMX7D_SAI2_ROOT_SRC		143
+#define IMX7D_SAI2_ROOT_CG		144
+#define IMX7D_SAI2_ROOT_DIV		145
+#define IMX7D_SAI3_ROOT_CLK		146
+#define IMX7D_SAI3_ROOT_SRC		147
+#define IMX7D_SAI3_ROOT_CG		148
+#define IMX7D_SAI3_ROOT_DIV		149
+#define IMX7D_SPDIF_ROOT_CLK		150
+#define IMX7D_SPDIF_ROOT_SRC		151
+#define IMX7D_SPDIF_ROOT_CG		152
+#define IMX7D_SPDIF_ROOT_DIV		153
+#define IMX7D_ENET1_REF_ROOT_CLK	154
+#define IMX7D_ENET1_REF_ROOT_SRC	155
+#define IMX7D_ENET1_REF_ROOT_CG		156
+#define IMX7D_ENET1_REF_ROOT_DIV	157
+#define IMX7D_ENET1_TIME_ROOT_CLK	158
+#define IMX7D_ENET1_TIME_ROOT_SRC	159
+#define IMX7D_ENET1_TIME_ROOT_CG	160
+#define IMX7D_ENET1_TIME_ROOT_DIV	161
+#define IMX7D_ENET2_REF_ROOT_CLK	162
+#define IMX7D_ENET2_REF_ROOT_SRC	163
+#define IMX7D_ENET2_REF_ROOT_CG		164
+#define IMX7D_ENET2_REF_ROOT_DIV	165
+#define IMX7D_ENET2_TIME_ROOT_CLK	166
+#define IMX7D_ENET2_TIME_ROOT_SRC	167
+#define IMX7D_ENET2_TIME_ROOT_CG	168
+#define IMX7D_ENET2_TIME_ROOT_DIV	169
+#define IMX7D_ENET_PHY_REF_ROOT_CLK	170
+#define IMX7D_ENET_PHY_REF_ROOT_SRC	171
+#define IMX7D_ENET_PHY_REF_ROOT_CG	172
+#define IMX7D_ENET_PHY_REF_ROOT_DIV	173
+#define IMX7D_EIM_ROOT_CLK		174
+#define IMX7D_EIM_ROOT_SRC		175
+#define IMX7D_EIM_ROOT_CG		176
+#define IMX7D_EIM_ROOT_DIV		177
+#define IMX7D_NAND_ROOT_CLK		178
+#define IMX7D_NAND_ROOT_SRC		179
+#define IMX7D_NAND_ROOT_CG		180
+#define IMX7D_NAND_ROOT_DIV		181
+#define IMX7D_QSPI_ROOT_CLK		182
+#define IMX7D_QSPI_ROOT_SRC		183
+#define IMX7D_QSPI_ROOT_CG		184
+#define IMX7D_QSPI_ROOT_DIV		185
+#define IMX7D_USDHC1_ROOT_CLK		186
+#define IMX7D_USDHC1_ROOT_SRC		187
+#define IMX7D_USDHC1_ROOT_CG		188
+#define IMX7D_USDHC1_ROOT_DIV		189
+#define IMX7D_USDHC2_ROOT_CLK		190
+#define IMX7D_USDHC2_ROOT_SRC		191
+#define IMX7D_USDHC2_ROOT_CG		192
+#define IMX7D_USDHC2_ROOT_DIV		193
+#define IMX7D_USDHC3_ROOT_CLK		194
+#define IMX7D_USDHC3_ROOT_SRC		195
+#define IMX7D_USDHC3_ROOT_CG		196
+#define IMX7D_USDHC3_ROOT_DIV		197
+#define IMX7D_CAN1_ROOT_CLK		198
+#define IMX7D_CAN1_ROOT_SRC		199
+#define IMX7D_CAN1_ROOT_CG		200
+#define IMX7D_CAN1_ROOT_DIV		201
+#define IMX7D_CAN2_ROOT_CLK		202
+#define IMX7D_CAN2_ROOT_SRC		203
+#define IMX7D_CAN2_ROOT_CG		204
+#define IMX7D_CAN2_ROOT_DIV		205
+#define IMX7D_I2C1_ROOT_CLK		206
+#define IMX7D_I2C1_ROOT_SRC		207
+#define IMX7D_I2C1_ROOT_CG		208
+#define IMX7D_I2C1_ROOT_DIV		209
+#define IMX7D_I2C2_ROOT_CLK		210
+#define IMX7D_I2C2_ROOT_SRC		211
+#define IMX7D_I2C2_ROOT_CG		212
+#define IMX7D_I2C2_ROOT_DIV		213
+#define IMX7D_I2C3_ROOT_CLK		214
+#define IMX7D_I2C3_ROOT_SRC		215
+#define IMX7D_I2C3_ROOT_CG		216
+#define IMX7D_I2C3_ROOT_DIV		217
+#define IMX7D_I2C4_ROOT_CLK		218
+#define IMX7D_I2C4_ROOT_SRC		219
+#define IMX7D_I2C4_ROOT_CG		220
+#define IMX7D_I2C4_ROOT_DIV		221
+#define IMX7D_UART1_ROOT_CLK		222
+#define IMX7D_UART1_ROOT_SRC		223
+#define IMX7D_UART1_ROOT_CG		224
+#define IMX7D_UART1_ROOT_DIV		225
+#define IMX7D_UART2_ROOT_CLK		226
+#define IMX7D_UART2_ROOT_SRC		227
+#define IMX7D_UART2_ROOT_CG		228
+#define IMX7D_UART2_ROOT_DIV		229
+#define IMX7D_UART3_ROOT_CLK		230
+#define IMX7D_UART3_ROOT_SRC		231
+#define IMX7D_UART3_ROOT_CG		232
+#define IMX7D_UART3_ROOT_DIV		233
+#define IMX7D_UART4_ROOT_CLK		234
+#define IMX7D_UART4_ROOT_SRC		235
+#define IMX7D_UART4_ROOT_CG		236
+#define IMX7D_UART4_ROOT_DIV		237
+#define IMX7D_UART5_ROOT_CLK		238
+#define IMX7D_UART5_ROOT_SRC		239
+#define IMX7D_UART5_ROOT_CG		240
+#define IMX7D_UART5_ROOT_DIV		241
+#define IMX7D_UART6_ROOT_CLK		242
+#define IMX7D_UART6_ROOT_SRC		243
+#define IMX7D_UART6_ROOT_CG		244
+#define IMX7D_UART6_ROOT_DIV		245
+#define IMX7D_UART7_ROOT_CLK		246
+#define IMX7D_UART7_ROOT_SRC		247
+#define IMX7D_UART7_ROOT_CG		248
+#define IMX7D_UART7_ROOT_DIV		249
+#define IMX7D_ECSPI1_ROOT_CLK		250
+#define IMX7D_ECSPI1_ROOT_SRC		251
+#define IMX7D_ECSPI1_ROOT_CG		252
+#define IMX7D_ECSPI1_ROOT_DIV		253
+#define IMX7D_ECSPI2_ROOT_CLK		254
+#define IMX7D_ECSPI2_ROOT_SRC		255
+#define IMX7D_ECSPI2_ROOT_CG		256
+#define IMX7D_ECSPI2_ROOT_DIV		257
+#define IMX7D_ECSPI3_ROOT_CLK		258
+#define IMX7D_ECSPI3_ROOT_SRC		259
+#define IMX7D_ECSPI3_ROOT_CG		260
+#define IMX7D_ECSPI3_ROOT_DIV		261
+#define IMX7D_ECSPI4_ROOT_CLK		262
+#define IMX7D_ECSPI4_ROOT_SRC		263
+#define IMX7D_ECSPI4_ROOT_CG		264
+#define IMX7D_ECSPI4_ROOT_DIV		265
+#define IMX7D_PWM1_ROOT_CLK		266
+#define IMX7D_PWM1_ROOT_SRC		267
+#define IMX7D_PWM1_ROOT_CG		268
+#define IMX7D_PWM1_ROOT_DIV		269
+#define IMX7D_PWM2_ROOT_CLK		270
+#define IMX7D_PWM2_ROOT_SRC		271
+#define IMX7D_PWM2_ROOT_CG		272
+#define IMX7D_PWM2_ROOT_DIV		273
+#define IMX7D_PWM3_ROOT_CLK		274
+#define IMX7D_PWM3_ROOT_SRC		275
+#define IMX7D_PWM3_ROOT_CG		276
+#define IMX7D_PWM3_ROOT_DIV		277
+#define IMX7D_PWM4_ROOT_CLK		278
+#define IMX7D_PWM4_ROOT_SRC		279
+#define IMX7D_PWM4_ROOT_CG		280
+#define IMX7D_PWM4_ROOT_DIV		281
+#define IMX7D_FLEXTIMER1_ROOT_CLK	282
+#define IMX7D_FLEXTIMER1_ROOT_SRC	283
+#define IMX7D_FLEXTIMER1_ROOT_CG	284
+#define IMX7D_FLEXTIMER1_ROOT_DIV	285
+#define IMX7D_FLEXTIMER2_ROOT_CLK	286
+#define IMX7D_FLEXTIMER2_ROOT_SRC	287
+#define IMX7D_FLEXTIMER2_ROOT_CG	288
+#define IMX7D_FLEXTIMER2_ROOT_DIV	289
+#define IMX7D_SIM1_ROOT_CLK		290
+#define IMX7D_SIM1_ROOT_SRC		291
+#define IMX7D_SIM1_ROOT_CG		292
+#define IMX7D_SIM1_ROOT_DIV		293
+#define IMX7D_SIM2_ROOT_CLK		294
+#define IMX7D_SIM2_ROOT_SRC		295
+#define IMX7D_SIM2_ROOT_CG		296
+#define IMX7D_SIM2_ROOT_DIV		297
+#define IMX7D_GPT1_ROOT_CLK		298
+#define IMX7D_GPT1_ROOT_SRC		299
+#define IMX7D_GPT1_ROOT_CG		300
+#define IMX7D_GPT1_ROOT_DIV		301
+#define IMX7D_GPT2_ROOT_CLK		302
+#define IMX7D_GPT2_ROOT_SRC		303
+#define IMX7D_GPT2_ROOT_CG		304
+#define IMX7D_GPT2_ROOT_DIV		305
+#define IMX7D_GPT3_ROOT_CLK		306
+#define IMX7D_GPT3_ROOT_SRC		307
+#define IMX7D_GPT3_ROOT_CG		308
+#define IMX7D_GPT3_ROOT_DIV		309
+#define IMX7D_GPT4_ROOT_CLK		310
+#define IMX7D_GPT4_ROOT_SRC		311
+#define IMX7D_GPT4_ROOT_CG		312
+#define IMX7D_GPT4_ROOT_DIV		313
+#define IMX7D_TRACE_ROOT_CLK		314
+#define IMX7D_TRACE_ROOT_SRC		315
+#define IMX7D_TRACE_ROOT_CG		316
+#define IMX7D_TRACE_ROOT_DIV		317
+#define IMX7D_WDOG1_ROOT_CLK		318
+#define IMX7D_WDOG_ROOT_SRC		319
+#define IMX7D_WDOG_ROOT_CG		320
+#define IMX7D_WDOG_ROOT_DIV		321
+#define IMX7D_CSI_MCLK_ROOT_CLK		322
+#define IMX7D_CSI_MCLK_ROOT_SRC		323
+#define IMX7D_CSI_MCLK_ROOT_CG		324
+#define IMX7D_CSI_MCLK_ROOT_DIV		325
+#define IMX7D_AUDIO_MCLK_ROOT_CLK	326
+#define IMX7D_AUDIO_MCLK_ROOT_SRC	327
+#define IMX7D_AUDIO_MCLK_ROOT_CG	328
+#define IMX7D_AUDIO_MCLK_ROOT_DIV	329
+#define IMX7D_WRCLK_ROOT_CLK		330
+#define IMX7D_WRCLK_ROOT_SRC		331
+#define IMX7D_WRCLK_ROOT_CG		332
+#define IMX7D_WRCLK_ROOT_DIV		333
+#define IMX7D_CLKO1_ROOT_SRC		334
+#define IMX7D_CLKO1_ROOT_CG		335
+#define IMX7D_CLKO1_ROOT_DIV		336
+#define IMX7D_CLKO2_ROOT_SRC		337
+#define IMX7D_CLKO2_ROOT_CG		338
+#define IMX7D_CLKO2_ROOT_DIV		339
+#define IMX7D_MAIN_AXI_ROOT_PRE_DIV	340
+#define IMX7D_DISP_AXI_ROOT_PRE_DIV	341
+#define IMX7D_ENET_AXI_ROOT_PRE_DIV	342
+#define IMX7D_NAND_USDHC_BUS_ROOT_PRE_DIV 343
+#define IMX7D_AHB_CHANNEL_ROOT_PRE_DIV	344
+#define IMX7D_USB_HSIC_ROOT_PRE_DIV	345
+#define IMX7D_PCIE_CTRL_ROOT_PRE_DIV	346
+#define IMX7D_PCIE_PHY_ROOT_PRE_DIV	347
+#define IMX7D_EPDC_PIXEL_ROOT_PRE_DIV	348
+#define IMX7D_LCDIF_PIXEL_ROOT_PRE_DIV	349
+#define IMX7D_MIPI_DSI_ROOT_PRE_DIV	350
+#define IMX7D_MIPI_CSI_ROOT_PRE_DIV	351
+#define IMX7D_MIPI_DPHY_ROOT_PRE_DIV	352
+#define IMX7D_SAI1_ROOT_PRE_DIV		353
+#define IMX7D_SAI2_ROOT_PRE_DIV		354
+#define IMX7D_SAI3_ROOT_PRE_DIV		355
+#define IMX7D_SPDIF_ROOT_PRE_DIV	356
+#define IMX7D_ENET1_REF_ROOT_PRE_DIV	357
+#define IMX7D_ENET1_TIME_ROOT_PRE_DIV	358
+#define IMX7D_ENET2_REF_ROOT_PRE_DIV	359
+#define IMX7D_ENET2_TIME_ROOT_PRE_DIV	360
+#define IMX7D_ENET_PHY_REF_ROOT_PRE_DIV 361
+#define IMX7D_EIM_ROOT_PRE_DIV		362
+#define IMX7D_NAND_ROOT_PRE_DIV		363
+#define IMX7D_QSPI_ROOT_PRE_DIV		364
+#define IMX7D_USDHC1_ROOT_PRE_DIV	365
+#define IMX7D_USDHC2_ROOT_PRE_DIV	366
+#define IMX7D_USDHC3_ROOT_PRE_DIV	367
+#define IMX7D_CAN1_ROOT_PRE_DIV		368
+#define IMX7D_CAN2_ROOT_PRE_DIV		369
+#define IMX7D_I2C1_ROOT_PRE_DIV		370
+#define IMX7D_I2C2_ROOT_PRE_DIV		371
+#define IMX7D_I2C3_ROOT_PRE_DIV		372
+#define IMX7D_I2C4_ROOT_PRE_DIV		373
+#define IMX7D_UART1_ROOT_PRE_DIV	374
+#define IMX7D_UART2_ROOT_PRE_DIV	375
+#define IMX7D_UART3_ROOT_PRE_DIV	376
+#define IMX7D_UART4_ROOT_PRE_DIV	377
+#define IMX7D_UART5_ROOT_PRE_DIV	378
+#define IMX7D_UART6_ROOT_PRE_DIV	379
+#define IMX7D_UART7_ROOT_PRE_DIV	380
+#define IMX7D_ECSPI1_ROOT_PRE_DIV	381
+#define IMX7D_ECSPI2_ROOT_PRE_DIV	382
+#define IMX7D_ECSPI3_ROOT_PRE_DIV	383
+#define IMX7D_ECSPI4_ROOT_PRE_DIV	384
+#define IMX7D_PWM1_ROOT_PRE_DIV		385
+#define IMX7D_PWM2_ROOT_PRE_DIV		386
+#define IMX7D_PWM3_ROOT_PRE_DIV		387
+#define IMX7D_PWM4_ROOT_PRE_DIV		388
+#define IMX7D_FLEXTIMER1_ROOT_PRE_DIV	389
+#define IMX7D_FLEXTIMER2_ROOT_PRE_DIV	390
+#define IMX7D_SIM1_ROOT_PRE_DIV		391
+#define IMX7D_SIM2_ROOT_PRE_DIV		392
+#define IMX7D_GPT1_ROOT_PRE_DIV		393
+#define IMX7D_GPT2_ROOT_PRE_DIV		394
+#define IMX7D_GPT3_ROOT_PRE_DIV		395
+#define IMX7D_GPT4_ROOT_PRE_DIV		396
+#define IMX7D_TRACE_ROOT_PRE_DIV	397
+#define IMX7D_WDOG_ROOT_PRE_DIV		398
+#define IMX7D_CSI_MCLK_ROOT_PRE_DIV	399
+#define IMX7D_AUDIO_MCLK_ROOT_PRE_DIV	400
+#define IMX7D_WRCLK_ROOT_PRE_DIV	401
+#define IMX7D_CLKO1_ROOT_PRE_DIV	402
+#define IMX7D_CLKO2_ROOT_PRE_DIV	403
+#define IMX7D_DRAM_PHYM_ALT_ROOT_PRE_DIV 404
+#define IMX7D_DRAM_ALT_ROOT_PRE_DIV	405
+#define IMX7D_LVDS1_IN_CLK		406
+#define IMX7D_LVDS1_OUT_SEL		407
+#define IMX7D_LVDS1_OUT_CLK		408
+#define IMX7D_CLK_DUMMY			409
+#define IMX7D_GPT_3M_CLK		410
+#define IMX7D_OCRAM_CLK			411
+#define IMX7D_OCRAM_S_CLK		412
+#define IMX7D_WDOG2_ROOT_CLK		413
+#define IMX7D_WDOG3_ROOT_CLK		414
+#define IMX7D_WDOG4_ROOT_CLK		415
+#define IMX7D_SDMA_CORE_CLK		416
+#define IMX7D_USB1_MAIN_480M_CLK	417
+#define IMX7D_USB_CTRL_CLK		418
+#define IMX7D_USB_PHY1_CLK		419
+#define IMX7D_USB_PHY2_CLK		420
+#define IMX7D_IPG_ROOT_CLK		421
+#define IMX7D_SAI1_IPG_CLK		422
+#define IMX7D_SAI2_IPG_CLK		423
+#define IMX7D_SAI3_IPG_CLK		424
+#define IMX7D_PLL_AUDIO_TEST_DIV	425
+#define IMX7D_PLL_AUDIO_POST_DIV	426
+#define IMX7D_PLL_VIDEO_TEST_DIV	427
+#define IMX7D_PLL_VIDEO_POST_DIV	428
+#define IMX7D_MU_ROOT_CLK		429
+#define IMX7D_SEMA4_HS_ROOT_CLK		430
+#define IMX7D_PLL_DRAM_TEST_DIV		431
+#define IMX7D_ADC_ROOT_CLK		432
+#define IMX7D_CLK_ARM			433
+#define IMX7D_CKIL			434
+#define IMX7D_OCOTP_CLK			435
+#define IMX7D_NAND_RAWNAND_CLK		436
+#define IMX7D_NAND_USDHC_BUS_RAWNAND_CLK 437
+#define IMX7D_CLK_END			438
 #endif /* __DT_BINDINGS_CLOCK_IMX7D_H */