18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * DRA7 Clock init
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (C) 2013 Texas Instruments, Inc.
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci * Tero Kristo (t-kristo@ti.com)
88c2ecf20Sopenharmony_ci */
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#include <linux/kernel.h>
118c2ecf20Sopenharmony_ci#include <linux/list.h>
128c2ecf20Sopenharmony_ci#include <linux/clk.h>
138c2ecf20Sopenharmony_ci#include <linux/clkdev.h>
148c2ecf20Sopenharmony_ci#include <linux/clk/ti.h>
158c2ecf20Sopenharmony_ci#include <dt-bindings/clock/dra7.h>
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci#include "clock.h"
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci#define DRA7_DPLL_GMAC_DEFFREQ				1000000000
208c2ecf20Sopenharmony_ci#define DRA7_DPLL_USB_DEFFREQ				960000000
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_reg_data dra7_mpu_clkctrl_regs[] __initconst = {
238c2ecf20Sopenharmony_ci	{ DRA7_MPU_CLKCTRL, NULL, 0, "dpll_mpu_m2_ck" },
248c2ecf20Sopenharmony_ci	{ 0 },
258c2ecf20Sopenharmony_ci};
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_cistatic const char * const dra7_mcasp1_aux_gfclk_mux_parents[] __initconst = {
288c2ecf20Sopenharmony_ci	"per_abe_x1_gfclk2_div",
298c2ecf20Sopenharmony_ci	"video1_clk2_div",
308c2ecf20Sopenharmony_ci	"video2_clk2_div",
318c2ecf20Sopenharmony_ci	"hdmi_clk2_div",
328c2ecf20Sopenharmony_ci	NULL,
338c2ecf20Sopenharmony_ci};
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_cistatic const char * const dra7_mcasp1_ahclkx_mux_parents[] __initconst = {
368c2ecf20Sopenharmony_ci	"abe_24m_fclk",
378c2ecf20Sopenharmony_ci	"abe_sys_clk_div",
388c2ecf20Sopenharmony_ci	"func_24m_clk",
398c2ecf20Sopenharmony_ci	"atl_clkin3_ck",
408c2ecf20Sopenharmony_ci	"atl_clkin2_ck",
418c2ecf20Sopenharmony_ci	"atl_clkin1_ck",
428c2ecf20Sopenharmony_ci	"atl_clkin0_ck",
438c2ecf20Sopenharmony_ci	"sys_clkin2",
448c2ecf20Sopenharmony_ci	"ref_clkin0_ck",
458c2ecf20Sopenharmony_ci	"ref_clkin1_ck",
468c2ecf20Sopenharmony_ci	"ref_clkin2_ck",
478c2ecf20Sopenharmony_ci	"ref_clkin3_ck",
488c2ecf20Sopenharmony_ci	"mlb_clk",
498c2ecf20Sopenharmony_ci	"mlbp_clk",
508c2ecf20Sopenharmony_ci	NULL,
518c2ecf20Sopenharmony_ci};
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_mcasp1_bit_data[] __initconst = {
548c2ecf20Sopenharmony_ci	{ 22, TI_CLK_MUX, dra7_mcasp1_aux_gfclk_mux_parents, NULL },
558c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_mcasp1_ahclkx_mux_parents, NULL },
568c2ecf20Sopenharmony_ci	{ 28, TI_CLK_MUX, dra7_mcasp1_ahclkx_mux_parents, NULL },
578c2ecf20Sopenharmony_ci	{ 0 },
588c2ecf20Sopenharmony_ci};
598c2ecf20Sopenharmony_ci
608c2ecf20Sopenharmony_cistatic const char * const dra7_timer5_gfclk_mux_parents[] __initconst = {
618c2ecf20Sopenharmony_ci	"timer_sys_clk_div",
628c2ecf20Sopenharmony_ci	"sys_32k_ck",
638c2ecf20Sopenharmony_ci	"sys_clkin2",
648c2ecf20Sopenharmony_ci	"ref_clkin0_ck",
658c2ecf20Sopenharmony_ci	"ref_clkin1_ck",
668c2ecf20Sopenharmony_ci	"ref_clkin2_ck",
678c2ecf20Sopenharmony_ci	"ref_clkin3_ck",
688c2ecf20Sopenharmony_ci	"abe_giclk_div",
698c2ecf20Sopenharmony_ci	"video1_div_clk",
708c2ecf20Sopenharmony_ci	"video2_div_clk",
718c2ecf20Sopenharmony_ci	"hdmi_div_clk",
728c2ecf20Sopenharmony_ci	"clkoutmux0_clk_mux",
738c2ecf20Sopenharmony_ci	NULL,
748c2ecf20Sopenharmony_ci};
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_timer5_bit_data[] __initconst = {
778c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_timer5_gfclk_mux_parents, NULL },
788c2ecf20Sopenharmony_ci	{ 0 },
798c2ecf20Sopenharmony_ci};
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_timer6_bit_data[] __initconst = {
828c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_timer5_gfclk_mux_parents, NULL },
838c2ecf20Sopenharmony_ci	{ 0 },
848c2ecf20Sopenharmony_ci};
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_timer7_bit_data[] __initconst = {
878c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_timer5_gfclk_mux_parents, NULL },
888c2ecf20Sopenharmony_ci	{ 0 },
898c2ecf20Sopenharmony_ci};
908c2ecf20Sopenharmony_ci
918c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_timer8_bit_data[] __initconst = {
928c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_timer5_gfclk_mux_parents, NULL },
938c2ecf20Sopenharmony_ci	{ 0 },
948c2ecf20Sopenharmony_ci};
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_cistatic const char * const dra7_uart6_gfclk_mux_parents[] __initconst = {
978c2ecf20Sopenharmony_ci	"func_48m_fclk",
988c2ecf20Sopenharmony_ci	"dpll_per_m2x2_ck",
998c2ecf20Sopenharmony_ci	NULL,
1008c2ecf20Sopenharmony_ci};
1018c2ecf20Sopenharmony_ci
1028c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_uart6_bit_data[] __initconst = {
1038c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_uart6_gfclk_mux_parents, NULL },
1048c2ecf20Sopenharmony_ci	{ 0 },
1058c2ecf20Sopenharmony_ci};
1068c2ecf20Sopenharmony_ci
1078c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_reg_data dra7_ipu_clkctrl_regs[] __initconst = {
1088c2ecf20Sopenharmony_ci	{ DRA7_MCASP1_CLKCTRL, dra7_mcasp1_bit_data, CLKF_SW_SUP, "ipu_cm:clk:0010:22" },
1098c2ecf20Sopenharmony_ci	{ DRA7_TIMER5_CLKCTRL, dra7_timer5_bit_data, CLKF_SW_SUP, "ipu_cm:clk:0018:24" },
1108c2ecf20Sopenharmony_ci	{ DRA7_TIMER6_CLKCTRL, dra7_timer6_bit_data, CLKF_SW_SUP, "ipu_cm:clk:0020:24" },
1118c2ecf20Sopenharmony_ci	{ DRA7_TIMER7_CLKCTRL, dra7_timer7_bit_data, CLKF_SW_SUP, "ipu_cm:clk:0028:24" },
1128c2ecf20Sopenharmony_ci	{ DRA7_TIMER8_CLKCTRL, dra7_timer8_bit_data, CLKF_SW_SUP, "ipu_cm:clk:0030:24" },
1138c2ecf20Sopenharmony_ci	{ DRA7_I2C5_CLKCTRL, NULL, CLKF_SW_SUP, "func_96m_fclk" },
1148c2ecf20Sopenharmony_ci	{ DRA7_UART6_CLKCTRL, dra7_uart6_bit_data, CLKF_SW_SUP, "ipu_cm:clk:0040:24" },
1158c2ecf20Sopenharmony_ci	{ 0 },
1168c2ecf20Sopenharmony_ci};
1178c2ecf20Sopenharmony_ci
1188c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_reg_data dra7_rtc_clkctrl_regs[] __initconst = {
1198c2ecf20Sopenharmony_ci	{ DRA7_RTCSS_CLKCTRL, NULL, CLKF_SW_SUP, "sys_32k_ck" },
1208c2ecf20Sopenharmony_ci	{ 0 },
1218c2ecf20Sopenharmony_ci};
1228c2ecf20Sopenharmony_ci
1238c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_reg_data dra7_coreaon_clkctrl_regs[] __initconst = {
1248c2ecf20Sopenharmony_ci	{ DRA7_SMARTREFLEX_MPU_CLKCTRL, NULL, CLKF_SW_SUP, "wkupaon_iclk_mux" },
1258c2ecf20Sopenharmony_ci	{ DRA7_SMARTREFLEX_CORE_CLKCTRL, NULL, CLKF_SW_SUP, "wkupaon_iclk_mux" },
1268c2ecf20Sopenharmony_ci	{ 0 },
1278c2ecf20Sopenharmony_ci};
1288c2ecf20Sopenharmony_ci
1298c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_reg_data dra7_l3main1_clkctrl_regs[] __initconst = {
1308c2ecf20Sopenharmony_ci	{ DRA7_L3_MAIN_1_CLKCTRL, NULL, 0, "l3_iclk_div" },
1318c2ecf20Sopenharmony_ci	{ DRA7_GPMC_CLKCTRL, NULL, CLKF_HW_SUP, "l3_iclk_div" },
1328c2ecf20Sopenharmony_ci	{ DRA7_TPCC_CLKCTRL, NULL, 0, "l3_iclk_div" },
1338c2ecf20Sopenharmony_ci	{ DRA7_TPTC0_CLKCTRL, NULL, CLKF_HW_SUP, "l3_iclk_div" },
1348c2ecf20Sopenharmony_ci	{ DRA7_TPTC1_CLKCTRL, NULL, CLKF_HW_SUP, "l3_iclk_div" },
1358c2ecf20Sopenharmony_ci	{ DRA7_VCP1_CLKCTRL, NULL, 0, "l3_iclk_div" },
1368c2ecf20Sopenharmony_ci	{ DRA7_VCP2_CLKCTRL, NULL, 0, "l3_iclk_div" },
1378c2ecf20Sopenharmony_ci	{ 0 },
1388c2ecf20Sopenharmony_ci};
1398c2ecf20Sopenharmony_ci
1408c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_reg_data dra7_dma_clkctrl_regs[] __initconst = {
1418c2ecf20Sopenharmony_ci	{ DRA7_DMA_SYSTEM_CLKCTRL, NULL, 0, "l3_iclk_div" },
1428c2ecf20Sopenharmony_ci	{ 0 },
1438c2ecf20Sopenharmony_ci};
1448c2ecf20Sopenharmony_ci
1458c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_reg_data dra7_emif_clkctrl_regs[] __initconst = {
1468c2ecf20Sopenharmony_ci	{ DRA7_DMM_CLKCTRL, NULL, 0, "l3_iclk_div" },
1478c2ecf20Sopenharmony_ci	{ 0 },
1488c2ecf20Sopenharmony_ci};
1498c2ecf20Sopenharmony_ci
1508c2ecf20Sopenharmony_cistatic const char * const dra7_atl_dpll_clk_mux_parents[] __initconst = {
1518c2ecf20Sopenharmony_ci	"sys_32k_ck",
1528c2ecf20Sopenharmony_ci	"video1_clkin_ck",
1538c2ecf20Sopenharmony_ci	"video2_clkin_ck",
1548c2ecf20Sopenharmony_ci	"hdmi_clkin_ck",
1558c2ecf20Sopenharmony_ci	NULL,
1568c2ecf20Sopenharmony_ci};
1578c2ecf20Sopenharmony_ci
1588c2ecf20Sopenharmony_cistatic const char * const dra7_atl_gfclk_mux_parents[] __initconst = {
1598c2ecf20Sopenharmony_ci	"l3_iclk_div",
1608c2ecf20Sopenharmony_ci	"dpll_abe_m2_ck",
1618c2ecf20Sopenharmony_ci	"atl_cm:clk:0000:24",
1628c2ecf20Sopenharmony_ci	NULL,
1638c2ecf20Sopenharmony_ci};
1648c2ecf20Sopenharmony_ci
1658c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_atl_bit_data[] __initconst = {
1668c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_atl_dpll_clk_mux_parents, NULL },
1678c2ecf20Sopenharmony_ci	{ 26, TI_CLK_MUX, dra7_atl_gfclk_mux_parents, NULL },
1688c2ecf20Sopenharmony_ci	{ 0 },
1698c2ecf20Sopenharmony_ci};
1708c2ecf20Sopenharmony_ci
1718c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_reg_data dra7_atl_clkctrl_regs[] __initconst = {
1728c2ecf20Sopenharmony_ci	{ DRA7_ATL_CLKCTRL, dra7_atl_bit_data, CLKF_SW_SUP, "atl_cm:clk:0000:26" },
1738c2ecf20Sopenharmony_ci	{ 0 },
1748c2ecf20Sopenharmony_ci};
1758c2ecf20Sopenharmony_ci
1768c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_reg_data dra7_l4cfg_clkctrl_regs[] __initconst = {
1778c2ecf20Sopenharmony_ci	{ DRA7_L4_CFG_CLKCTRL, NULL, 0, "l3_iclk_div" },
1788c2ecf20Sopenharmony_ci	{ DRA7_SPINLOCK_CLKCTRL, NULL, 0, "l3_iclk_div" },
1798c2ecf20Sopenharmony_ci	{ DRA7_MAILBOX1_CLKCTRL, NULL, 0, "l3_iclk_div" },
1808c2ecf20Sopenharmony_ci	{ DRA7_MAILBOX2_CLKCTRL, NULL, 0, "l3_iclk_div" },
1818c2ecf20Sopenharmony_ci	{ DRA7_MAILBOX3_CLKCTRL, NULL, 0, "l3_iclk_div" },
1828c2ecf20Sopenharmony_ci	{ DRA7_MAILBOX4_CLKCTRL, NULL, 0, "l3_iclk_div" },
1838c2ecf20Sopenharmony_ci	{ DRA7_MAILBOX5_CLKCTRL, NULL, 0, "l3_iclk_div" },
1848c2ecf20Sopenharmony_ci	{ DRA7_MAILBOX6_CLKCTRL, NULL, 0, "l3_iclk_div" },
1858c2ecf20Sopenharmony_ci	{ DRA7_MAILBOX7_CLKCTRL, NULL, 0, "l3_iclk_div" },
1868c2ecf20Sopenharmony_ci	{ DRA7_MAILBOX8_CLKCTRL, NULL, 0, "l3_iclk_div" },
1878c2ecf20Sopenharmony_ci	{ DRA7_MAILBOX9_CLKCTRL, NULL, 0, "l3_iclk_div" },
1888c2ecf20Sopenharmony_ci	{ DRA7_MAILBOX10_CLKCTRL, NULL, 0, "l3_iclk_div" },
1898c2ecf20Sopenharmony_ci	{ DRA7_MAILBOX11_CLKCTRL, NULL, 0, "l3_iclk_div" },
1908c2ecf20Sopenharmony_ci	{ DRA7_MAILBOX12_CLKCTRL, NULL, 0, "l3_iclk_div" },
1918c2ecf20Sopenharmony_ci	{ DRA7_MAILBOX13_CLKCTRL, NULL, 0, "l3_iclk_div" },
1928c2ecf20Sopenharmony_ci	{ 0 },
1938c2ecf20Sopenharmony_ci};
1948c2ecf20Sopenharmony_ci
1958c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_reg_data dra7_l3instr_clkctrl_regs[] __initconst = {
1968c2ecf20Sopenharmony_ci	{ DRA7_L3_MAIN_2_CLKCTRL, NULL, CLKF_HW_SUP, "l3_iclk_div" },
1978c2ecf20Sopenharmony_ci	{ DRA7_L3_INSTR_CLKCTRL, NULL, CLKF_HW_SUP, "l3_iclk_div" },
1988c2ecf20Sopenharmony_ci	{ 0 },
1998c2ecf20Sopenharmony_ci};
2008c2ecf20Sopenharmony_ci
2018c2ecf20Sopenharmony_cistatic const char * const dra7_dss_dss_clk_parents[] __initconst = {
2028c2ecf20Sopenharmony_ci	"dpll_per_h12x2_ck",
2038c2ecf20Sopenharmony_ci	NULL,
2048c2ecf20Sopenharmony_ci};
2058c2ecf20Sopenharmony_ci
2068c2ecf20Sopenharmony_cistatic const char * const dra7_dss_48mhz_clk_parents[] __initconst = {
2078c2ecf20Sopenharmony_ci	"func_48m_fclk",
2088c2ecf20Sopenharmony_ci	NULL,
2098c2ecf20Sopenharmony_ci};
2108c2ecf20Sopenharmony_ci
2118c2ecf20Sopenharmony_cistatic const char * const dra7_dss_hdmi_clk_parents[] __initconst = {
2128c2ecf20Sopenharmony_ci	"hdmi_dpll_clk_mux",
2138c2ecf20Sopenharmony_ci	NULL,
2148c2ecf20Sopenharmony_ci};
2158c2ecf20Sopenharmony_ci
2168c2ecf20Sopenharmony_cistatic const char * const dra7_dss_32khz_clk_parents[] __initconst = {
2178c2ecf20Sopenharmony_ci	"sys_32k_ck",
2188c2ecf20Sopenharmony_ci	NULL,
2198c2ecf20Sopenharmony_ci};
2208c2ecf20Sopenharmony_ci
2218c2ecf20Sopenharmony_cistatic const char * const dra7_dss_video1_clk_parents[] __initconst = {
2228c2ecf20Sopenharmony_ci	"video1_dpll_clk_mux",
2238c2ecf20Sopenharmony_ci	NULL,
2248c2ecf20Sopenharmony_ci};
2258c2ecf20Sopenharmony_ci
2268c2ecf20Sopenharmony_cistatic const char * const dra7_dss_video2_clk_parents[] __initconst = {
2278c2ecf20Sopenharmony_ci	"video2_dpll_clk_mux",
2288c2ecf20Sopenharmony_ci	NULL,
2298c2ecf20Sopenharmony_ci};
2308c2ecf20Sopenharmony_ci
2318c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_dss_core_bit_data[] __initconst = {
2328c2ecf20Sopenharmony_ci	{ 8, TI_CLK_GATE, dra7_dss_dss_clk_parents, NULL },
2338c2ecf20Sopenharmony_ci	{ 9, TI_CLK_GATE, dra7_dss_48mhz_clk_parents, NULL },
2348c2ecf20Sopenharmony_ci	{ 10, TI_CLK_GATE, dra7_dss_hdmi_clk_parents, NULL },
2358c2ecf20Sopenharmony_ci	{ 11, TI_CLK_GATE, dra7_dss_32khz_clk_parents, NULL },
2368c2ecf20Sopenharmony_ci	{ 12, TI_CLK_GATE, dra7_dss_video1_clk_parents, NULL },
2378c2ecf20Sopenharmony_ci	{ 13, TI_CLK_GATE, dra7_dss_video2_clk_parents, NULL },
2388c2ecf20Sopenharmony_ci	{ 0 },
2398c2ecf20Sopenharmony_ci};
2408c2ecf20Sopenharmony_ci
2418c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_reg_data dra7_dss_clkctrl_regs[] __initconst = {
2428c2ecf20Sopenharmony_ci	{ DRA7_DSS_CORE_CLKCTRL, dra7_dss_core_bit_data, CLKF_SW_SUP, "dss_cm:clk:0000:8" },
2438c2ecf20Sopenharmony_ci	{ DRA7_BB2D_CLKCTRL, NULL, CLKF_SW_SUP, "dpll_core_h24x2_ck" },
2448c2ecf20Sopenharmony_ci	{ 0 },
2458c2ecf20Sopenharmony_ci};
2468c2ecf20Sopenharmony_ci
2478c2ecf20Sopenharmony_cistatic const char * const dra7_mmc1_fclk_mux_parents[] __initconst = {
2488c2ecf20Sopenharmony_ci	"func_128m_clk",
2498c2ecf20Sopenharmony_ci	"dpll_per_m2x2_ck",
2508c2ecf20Sopenharmony_ci	NULL,
2518c2ecf20Sopenharmony_ci};
2528c2ecf20Sopenharmony_ci
2538c2ecf20Sopenharmony_cistatic const char * const dra7_mmc1_fclk_div_parents[] __initconst = {
2548c2ecf20Sopenharmony_ci	"l3init_cm:clk:0008:24",
2558c2ecf20Sopenharmony_ci	NULL,
2568c2ecf20Sopenharmony_ci};
2578c2ecf20Sopenharmony_ci
2588c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_div_data dra7_mmc1_fclk_div_data __initconst = {
2598c2ecf20Sopenharmony_ci	.max_div = 4,
2608c2ecf20Sopenharmony_ci	.flags = CLK_DIVIDER_POWER_OF_TWO,
2618c2ecf20Sopenharmony_ci};
2628c2ecf20Sopenharmony_ci
2638c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_mmc1_bit_data[] __initconst = {
2648c2ecf20Sopenharmony_ci	{ 8, TI_CLK_GATE, dra7_dss_32khz_clk_parents, NULL },
2658c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_mmc1_fclk_mux_parents, NULL },
2668c2ecf20Sopenharmony_ci	{ 25, TI_CLK_DIVIDER, dra7_mmc1_fclk_div_parents, &dra7_mmc1_fclk_div_data },
2678c2ecf20Sopenharmony_ci	{ 0 },
2688c2ecf20Sopenharmony_ci};
2698c2ecf20Sopenharmony_ci
2708c2ecf20Sopenharmony_cistatic const char * const dra7_mmc2_fclk_div_parents[] __initconst = {
2718c2ecf20Sopenharmony_ci	"l3init_cm:clk:0010:24",
2728c2ecf20Sopenharmony_ci	NULL,
2738c2ecf20Sopenharmony_ci};
2748c2ecf20Sopenharmony_ci
2758c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_div_data dra7_mmc2_fclk_div_data __initconst = {
2768c2ecf20Sopenharmony_ci	.max_div = 4,
2778c2ecf20Sopenharmony_ci	.flags = CLK_DIVIDER_POWER_OF_TWO,
2788c2ecf20Sopenharmony_ci};
2798c2ecf20Sopenharmony_ci
2808c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_mmc2_bit_data[] __initconst = {
2818c2ecf20Sopenharmony_ci	{ 8, TI_CLK_GATE, dra7_dss_32khz_clk_parents, NULL },
2828c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_mmc1_fclk_mux_parents, NULL },
2838c2ecf20Sopenharmony_ci	{ 25, TI_CLK_DIVIDER, dra7_mmc2_fclk_div_parents, &dra7_mmc2_fclk_div_data },
2848c2ecf20Sopenharmony_ci	{ 0 },
2858c2ecf20Sopenharmony_ci};
2868c2ecf20Sopenharmony_ci
2878c2ecf20Sopenharmony_cistatic const char * const dra7_usb_otg_ss2_refclk960m_parents[] __initconst = {
2888c2ecf20Sopenharmony_ci	"l3init_960m_gfclk",
2898c2ecf20Sopenharmony_ci	NULL,
2908c2ecf20Sopenharmony_ci};
2918c2ecf20Sopenharmony_ci
2928c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_usb_otg_ss2_bit_data[] __initconst = {
2938c2ecf20Sopenharmony_ci	{ 8, TI_CLK_GATE, dra7_usb_otg_ss2_refclk960m_parents, NULL },
2948c2ecf20Sopenharmony_ci	{ 0 },
2958c2ecf20Sopenharmony_ci};
2968c2ecf20Sopenharmony_ci
2978c2ecf20Sopenharmony_cistatic const char * const dra7_sata_ref_clk_parents[] __initconst = {
2988c2ecf20Sopenharmony_ci	"sys_clkin1",
2998c2ecf20Sopenharmony_ci	NULL,
3008c2ecf20Sopenharmony_ci};
3018c2ecf20Sopenharmony_ci
3028c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_sata_bit_data[] __initconst = {
3038c2ecf20Sopenharmony_ci	{ 8, TI_CLK_GATE, dra7_sata_ref_clk_parents, NULL },
3048c2ecf20Sopenharmony_ci	{ 0 },
3058c2ecf20Sopenharmony_ci};
3068c2ecf20Sopenharmony_ci
3078c2ecf20Sopenharmony_cistatic const char * const dra7_optfclk_pciephy1_clk_parents[] __initconst = {
3088c2ecf20Sopenharmony_ci	"apll_pcie_ck",
3098c2ecf20Sopenharmony_ci	NULL,
3108c2ecf20Sopenharmony_ci};
3118c2ecf20Sopenharmony_ci
3128c2ecf20Sopenharmony_cistatic const char * const dra7_optfclk_pciephy1_div_clk_parents[] __initconst = {
3138c2ecf20Sopenharmony_ci	"optfclk_pciephy_div",
3148c2ecf20Sopenharmony_ci	NULL,
3158c2ecf20Sopenharmony_ci};
3168c2ecf20Sopenharmony_ci
3178c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_pcie1_bit_data[] __initconst = {
3188c2ecf20Sopenharmony_ci	{ 8, TI_CLK_GATE, dra7_dss_32khz_clk_parents, NULL },
3198c2ecf20Sopenharmony_ci	{ 9, TI_CLK_GATE, dra7_optfclk_pciephy1_clk_parents, NULL },
3208c2ecf20Sopenharmony_ci	{ 10, TI_CLK_GATE, dra7_optfclk_pciephy1_div_clk_parents, NULL },
3218c2ecf20Sopenharmony_ci	{ 0 },
3228c2ecf20Sopenharmony_ci};
3238c2ecf20Sopenharmony_ci
3248c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_pcie2_bit_data[] __initconst = {
3258c2ecf20Sopenharmony_ci	{ 8, TI_CLK_GATE, dra7_dss_32khz_clk_parents, NULL },
3268c2ecf20Sopenharmony_ci	{ 9, TI_CLK_GATE, dra7_optfclk_pciephy1_clk_parents, NULL },
3278c2ecf20Sopenharmony_ci	{ 10, TI_CLK_GATE, dra7_optfclk_pciephy1_div_clk_parents, NULL },
3288c2ecf20Sopenharmony_ci	{ 0 },
3298c2ecf20Sopenharmony_ci};
3308c2ecf20Sopenharmony_ci
3318c2ecf20Sopenharmony_cistatic const char * const dra7_rmii_50mhz_clk_mux_parents[] __initconst = {
3328c2ecf20Sopenharmony_ci	"dpll_gmac_h11x2_ck",
3338c2ecf20Sopenharmony_ci	"rmii_clk_ck",
3348c2ecf20Sopenharmony_ci	NULL,
3358c2ecf20Sopenharmony_ci};
3368c2ecf20Sopenharmony_ci
3378c2ecf20Sopenharmony_cistatic const char * const dra7_gmac_rft_clk_mux_parents[] __initconst = {
3388c2ecf20Sopenharmony_ci	"video1_clkin_ck",
3398c2ecf20Sopenharmony_ci	"video2_clkin_ck",
3408c2ecf20Sopenharmony_ci	"dpll_abe_m2_ck",
3418c2ecf20Sopenharmony_ci	"hdmi_clkin_ck",
3428c2ecf20Sopenharmony_ci	"l3_iclk_div",
3438c2ecf20Sopenharmony_ci	NULL,
3448c2ecf20Sopenharmony_ci};
3458c2ecf20Sopenharmony_ci
3468c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_gmac_bit_data[] __initconst = {
3478c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_rmii_50mhz_clk_mux_parents, NULL },
3488c2ecf20Sopenharmony_ci	{ 25, TI_CLK_MUX, dra7_gmac_rft_clk_mux_parents, NULL },
3498c2ecf20Sopenharmony_ci	{ 0 },
3508c2ecf20Sopenharmony_ci};
3518c2ecf20Sopenharmony_ci
3528c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_usb_otg_ss1_bit_data[] __initconst = {
3538c2ecf20Sopenharmony_ci	{ 8, TI_CLK_GATE, dra7_usb_otg_ss2_refclk960m_parents, NULL },
3548c2ecf20Sopenharmony_ci	{ 0 },
3558c2ecf20Sopenharmony_ci};
3568c2ecf20Sopenharmony_ci
3578c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_reg_data dra7_l3init_clkctrl_regs[] __initconst = {
3588c2ecf20Sopenharmony_ci	{ DRA7_MMC1_CLKCTRL, dra7_mmc1_bit_data, CLKF_SW_SUP, "l3init_cm:clk:0008:25" },
3598c2ecf20Sopenharmony_ci	{ DRA7_MMC2_CLKCTRL, dra7_mmc2_bit_data, CLKF_SW_SUP, "l3init_cm:clk:0010:25" },
3608c2ecf20Sopenharmony_ci	{ DRA7_USB_OTG_SS2_CLKCTRL, dra7_usb_otg_ss2_bit_data, CLKF_HW_SUP, "dpll_core_h13x2_ck" },
3618c2ecf20Sopenharmony_ci	{ DRA7_USB_OTG_SS3_CLKCTRL, NULL, CLKF_HW_SUP, "dpll_core_h13x2_ck" },
3628c2ecf20Sopenharmony_ci	{ DRA7_USB_OTG_SS4_CLKCTRL, NULL, CLKF_HW_SUP | CLKF_SOC_DRA74 | CLKF_SOC_DRA76, "dpll_core_h13x2_ck" },
3638c2ecf20Sopenharmony_ci	{ DRA7_SATA_CLKCTRL, dra7_sata_bit_data, CLKF_SW_SUP, "func_48m_fclk" },
3648c2ecf20Sopenharmony_ci	{ DRA7_PCIE1_CLKCTRL, dra7_pcie1_bit_data, CLKF_SW_SUP, "l4_root_clk_div", "pcie_clkdm" },
3658c2ecf20Sopenharmony_ci	{ DRA7_PCIE2_CLKCTRL, dra7_pcie2_bit_data, CLKF_SW_SUP, "l4_root_clk_div", "pcie_clkdm" },
3668c2ecf20Sopenharmony_ci	{ DRA7_GMAC_CLKCTRL, dra7_gmac_bit_data, CLKF_SW_SUP, "dpll_gmac_ck", "gmac_clkdm" },
3678c2ecf20Sopenharmony_ci	{ DRA7_OCP2SCP1_CLKCTRL, NULL, CLKF_HW_SUP, "l4_root_clk_div" },
3688c2ecf20Sopenharmony_ci	{ DRA7_OCP2SCP3_CLKCTRL, NULL, CLKF_HW_SUP, "l4_root_clk_div" },
3698c2ecf20Sopenharmony_ci	{ DRA7_USB_OTG_SS1_CLKCTRL, dra7_usb_otg_ss1_bit_data, CLKF_HW_SUP, "dpll_core_h13x2_ck" },
3708c2ecf20Sopenharmony_ci	{ 0 },
3718c2ecf20Sopenharmony_ci};
3728c2ecf20Sopenharmony_ci
3738c2ecf20Sopenharmony_cistatic const char * const dra7_timer10_gfclk_mux_parents[] __initconst = {
3748c2ecf20Sopenharmony_ci	"timer_sys_clk_div",
3758c2ecf20Sopenharmony_ci	"sys_32k_ck",
3768c2ecf20Sopenharmony_ci	"sys_clkin2",
3778c2ecf20Sopenharmony_ci	"ref_clkin0_ck",
3788c2ecf20Sopenharmony_ci	"ref_clkin1_ck",
3798c2ecf20Sopenharmony_ci	"ref_clkin2_ck",
3808c2ecf20Sopenharmony_ci	"ref_clkin3_ck",
3818c2ecf20Sopenharmony_ci	"abe_giclk_div",
3828c2ecf20Sopenharmony_ci	"video1_div_clk",
3838c2ecf20Sopenharmony_ci	"video2_div_clk",
3848c2ecf20Sopenharmony_ci	"hdmi_div_clk",
3858c2ecf20Sopenharmony_ci	NULL,
3868c2ecf20Sopenharmony_ci};
3878c2ecf20Sopenharmony_ci
3888c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_timer10_bit_data[] __initconst = {
3898c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_timer10_gfclk_mux_parents, NULL },
3908c2ecf20Sopenharmony_ci	{ 0 },
3918c2ecf20Sopenharmony_ci};
3928c2ecf20Sopenharmony_ci
3938c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_timer11_bit_data[] __initconst = {
3948c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_timer10_gfclk_mux_parents, NULL },
3958c2ecf20Sopenharmony_ci	{ 0 },
3968c2ecf20Sopenharmony_ci};
3978c2ecf20Sopenharmony_ci
3988c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_timer2_bit_data[] __initconst = {
3998c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_timer10_gfclk_mux_parents, NULL },
4008c2ecf20Sopenharmony_ci	{ 0 },
4018c2ecf20Sopenharmony_ci};
4028c2ecf20Sopenharmony_ci
4038c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_timer3_bit_data[] __initconst = {
4048c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_timer10_gfclk_mux_parents, NULL },
4058c2ecf20Sopenharmony_ci	{ 0 },
4068c2ecf20Sopenharmony_ci};
4078c2ecf20Sopenharmony_ci
4088c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_timer4_bit_data[] __initconst = {
4098c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_timer10_gfclk_mux_parents, NULL },
4108c2ecf20Sopenharmony_ci	{ 0 },
4118c2ecf20Sopenharmony_ci};
4128c2ecf20Sopenharmony_ci
4138c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_timer9_bit_data[] __initconst = {
4148c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_timer10_gfclk_mux_parents, NULL },
4158c2ecf20Sopenharmony_ci	{ 0 },
4168c2ecf20Sopenharmony_ci};
4178c2ecf20Sopenharmony_ci
4188c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_gpio2_bit_data[] __initconst = {
4198c2ecf20Sopenharmony_ci	{ 8, TI_CLK_GATE, dra7_dss_32khz_clk_parents, NULL },
4208c2ecf20Sopenharmony_ci	{ 0 },
4218c2ecf20Sopenharmony_ci};
4228c2ecf20Sopenharmony_ci
4238c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_gpio3_bit_data[] __initconst = {
4248c2ecf20Sopenharmony_ci	{ 8, TI_CLK_GATE, dra7_dss_32khz_clk_parents, NULL },
4258c2ecf20Sopenharmony_ci	{ 0 },
4268c2ecf20Sopenharmony_ci};
4278c2ecf20Sopenharmony_ci
4288c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_gpio4_bit_data[] __initconst = {
4298c2ecf20Sopenharmony_ci	{ 8, TI_CLK_GATE, dra7_dss_32khz_clk_parents, NULL },
4308c2ecf20Sopenharmony_ci	{ 0 },
4318c2ecf20Sopenharmony_ci};
4328c2ecf20Sopenharmony_ci
4338c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_gpio5_bit_data[] __initconst = {
4348c2ecf20Sopenharmony_ci	{ 8, TI_CLK_GATE, dra7_dss_32khz_clk_parents, NULL },
4358c2ecf20Sopenharmony_ci	{ 0 },
4368c2ecf20Sopenharmony_ci};
4378c2ecf20Sopenharmony_ci
4388c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_gpio6_bit_data[] __initconst = {
4398c2ecf20Sopenharmony_ci	{ 8, TI_CLK_GATE, dra7_dss_32khz_clk_parents, NULL },
4408c2ecf20Sopenharmony_ci	{ 0 },
4418c2ecf20Sopenharmony_ci};
4428c2ecf20Sopenharmony_ci
4438c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_timer13_bit_data[] __initconst = {
4448c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_timer10_gfclk_mux_parents, NULL },
4458c2ecf20Sopenharmony_ci	{ 0 },
4468c2ecf20Sopenharmony_ci};
4478c2ecf20Sopenharmony_ci
4488c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_timer14_bit_data[] __initconst = {
4498c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_timer10_gfclk_mux_parents, NULL },
4508c2ecf20Sopenharmony_ci	{ 0 },
4518c2ecf20Sopenharmony_ci};
4528c2ecf20Sopenharmony_ci
4538c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_timer15_bit_data[] __initconst = {
4548c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_timer10_gfclk_mux_parents, NULL },
4558c2ecf20Sopenharmony_ci	{ 0 },
4568c2ecf20Sopenharmony_ci};
4578c2ecf20Sopenharmony_ci
4588c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_gpio7_bit_data[] __initconst = {
4598c2ecf20Sopenharmony_ci	{ 8, TI_CLK_GATE, dra7_dss_32khz_clk_parents, NULL },
4608c2ecf20Sopenharmony_ci	{ 0 },
4618c2ecf20Sopenharmony_ci};
4628c2ecf20Sopenharmony_ci
4638c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_gpio8_bit_data[] __initconst = {
4648c2ecf20Sopenharmony_ci	{ 8, TI_CLK_GATE, dra7_dss_32khz_clk_parents, NULL },
4658c2ecf20Sopenharmony_ci	{ 0 },
4668c2ecf20Sopenharmony_ci};
4678c2ecf20Sopenharmony_ci
4688c2ecf20Sopenharmony_cistatic const char * const dra7_mmc3_gfclk_div_parents[] __initconst = {
4698c2ecf20Sopenharmony_ci	"l4per_cm:clk:0120:24",
4708c2ecf20Sopenharmony_ci	NULL,
4718c2ecf20Sopenharmony_ci};
4728c2ecf20Sopenharmony_ci
4738c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_div_data dra7_mmc3_gfclk_div_data __initconst = {
4748c2ecf20Sopenharmony_ci	.max_div = 4,
4758c2ecf20Sopenharmony_ci	.flags = CLK_DIVIDER_POWER_OF_TWO,
4768c2ecf20Sopenharmony_ci};
4778c2ecf20Sopenharmony_ci
4788c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_mmc3_bit_data[] __initconst = {
4798c2ecf20Sopenharmony_ci	{ 8, TI_CLK_GATE, dra7_dss_32khz_clk_parents, NULL },
4808c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_uart6_gfclk_mux_parents, NULL },
4818c2ecf20Sopenharmony_ci	{ 25, TI_CLK_DIVIDER, dra7_mmc3_gfclk_div_parents, &dra7_mmc3_gfclk_div_data },
4828c2ecf20Sopenharmony_ci	{ 0 },
4838c2ecf20Sopenharmony_ci};
4848c2ecf20Sopenharmony_ci
4858c2ecf20Sopenharmony_cistatic const char * const dra7_mmc4_gfclk_div_parents[] __initconst = {
4868c2ecf20Sopenharmony_ci	"l4per_cm:clk:0128:24",
4878c2ecf20Sopenharmony_ci	NULL,
4888c2ecf20Sopenharmony_ci};
4898c2ecf20Sopenharmony_ci
4908c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_div_data dra7_mmc4_gfclk_div_data __initconst = {
4918c2ecf20Sopenharmony_ci	.max_div = 4,
4928c2ecf20Sopenharmony_ci	.flags = CLK_DIVIDER_POWER_OF_TWO,
4938c2ecf20Sopenharmony_ci};
4948c2ecf20Sopenharmony_ci
4958c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_mmc4_bit_data[] __initconst = {
4968c2ecf20Sopenharmony_ci	{ 8, TI_CLK_GATE, dra7_dss_32khz_clk_parents, NULL },
4978c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_uart6_gfclk_mux_parents, NULL },
4988c2ecf20Sopenharmony_ci	{ 25, TI_CLK_DIVIDER, dra7_mmc4_gfclk_div_parents, &dra7_mmc4_gfclk_div_data },
4998c2ecf20Sopenharmony_ci	{ 0 },
5008c2ecf20Sopenharmony_ci};
5018c2ecf20Sopenharmony_ci
5028c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_timer16_bit_data[] __initconst = {
5038c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_timer10_gfclk_mux_parents, NULL },
5048c2ecf20Sopenharmony_ci	{ 0 },
5058c2ecf20Sopenharmony_ci};
5068c2ecf20Sopenharmony_ci
5078c2ecf20Sopenharmony_cistatic const char * const dra7_qspi_gfclk_mux_parents[] __initconst = {
5088c2ecf20Sopenharmony_ci	"func_128m_clk",
5098c2ecf20Sopenharmony_ci	"dpll_per_h13x2_ck",
5108c2ecf20Sopenharmony_ci	NULL,
5118c2ecf20Sopenharmony_ci};
5128c2ecf20Sopenharmony_ci
5138c2ecf20Sopenharmony_cistatic const char * const dra7_qspi_gfclk_div_parents[] __initconst = {
5148c2ecf20Sopenharmony_ci	"l4per_cm:clk:0138:24",
5158c2ecf20Sopenharmony_ci	NULL,
5168c2ecf20Sopenharmony_ci};
5178c2ecf20Sopenharmony_ci
5188c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_div_data dra7_qspi_gfclk_div_data __initconst = {
5198c2ecf20Sopenharmony_ci	.max_div = 4,
5208c2ecf20Sopenharmony_ci	.flags = CLK_DIVIDER_POWER_OF_TWO,
5218c2ecf20Sopenharmony_ci};
5228c2ecf20Sopenharmony_ci
5238c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_qspi_bit_data[] __initconst = {
5248c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_qspi_gfclk_mux_parents, NULL },
5258c2ecf20Sopenharmony_ci	{ 25, TI_CLK_DIVIDER, dra7_qspi_gfclk_div_parents, &dra7_qspi_gfclk_div_data },
5268c2ecf20Sopenharmony_ci	{ 0 },
5278c2ecf20Sopenharmony_ci};
5288c2ecf20Sopenharmony_ci
5298c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_uart1_bit_data[] __initconst = {
5308c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_uart6_gfclk_mux_parents, NULL },
5318c2ecf20Sopenharmony_ci	{ 0 },
5328c2ecf20Sopenharmony_ci};
5338c2ecf20Sopenharmony_ci
5348c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_uart2_bit_data[] __initconst = {
5358c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_uart6_gfclk_mux_parents, NULL },
5368c2ecf20Sopenharmony_ci	{ 0 },
5378c2ecf20Sopenharmony_ci};
5388c2ecf20Sopenharmony_ci
5398c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_uart3_bit_data[] __initconst = {
5408c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_uart6_gfclk_mux_parents, NULL },
5418c2ecf20Sopenharmony_ci	{ 0 },
5428c2ecf20Sopenharmony_ci};
5438c2ecf20Sopenharmony_ci
5448c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_uart4_bit_data[] __initconst = {
5458c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_uart6_gfclk_mux_parents, NULL },
5468c2ecf20Sopenharmony_ci	{ 0 },
5478c2ecf20Sopenharmony_ci};
5488c2ecf20Sopenharmony_ci
5498c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_mcasp2_bit_data[] __initconst = {
5508c2ecf20Sopenharmony_ci	{ 22, TI_CLK_MUX, dra7_mcasp1_aux_gfclk_mux_parents, NULL },
5518c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_mcasp1_ahclkx_mux_parents, NULL },
5528c2ecf20Sopenharmony_ci	{ 28, TI_CLK_MUX, dra7_mcasp1_ahclkx_mux_parents, NULL },
5538c2ecf20Sopenharmony_ci	{ 0 },
5548c2ecf20Sopenharmony_ci};
5558c2ecf20Sopenharmony_ci
5568c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_mcasp3_bit_data[] __initconst = {
5578c2ecf20Sopenharmony_ci	{ 22, TI_CLK_MUX, dra7_mcasp1_aux_gfclk_mux_parents, NULL },
5588c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_mcasp1_ahclkx_mux_parents, NULL },
5598c2ecf20Sopenharmony_ci	{ 0 },
5608c2ecf20Sopenharmony_ci};
5618c2ecf20Sopenharmony_ci
5628c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_uart5_bit_data[] __initconst = {
5638c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_uart6_gfclk_mux_parents, NULL },
5648c2ecf20Sopenharmony_ci	{ 0 },
5658c2ecf20Sopenharmony_ci};
5668c2ecf20Sopenharmony_ci
5678c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_mcasp5_bit_data[] __initconst = {
5688c2ecf20Sopenharmony_ci	{ 22, TI_CLK_MUX, dra7_mcasp1_aux_gfclk_mux_parents, NULL },
5698c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_mcasp1_ahclkx_mux_parents, NULL },
5708c2ecf20Sopenharmony_ci	{ 0 },
5718c2ecf20Sopenharmony_ci};
5728c2ecf20Sopenharmony_ci
5738c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_mcasp8_bit_data[] __initconst = {
5748c2ecf20Sopenharmony_ci	{ 22, TI_CLK_MUX, dra7_mcasp1_aux_gfclk_mux_parents, NULL },
5758c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_mcasp1_ahclkx_mux_parents, NULL },
5768c2ecf20Sopenharmony_ci	{ 0 },
5778c2ecf20Sopenharmony_ci};
5788c2ecf20Sopenharmony_ci
5798c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_mcasp4_bit_data[] __initconst = {
5808c2ecf20Sopenharmony_ci	{ 22, TI_CLK_MUX, dra7_mcasp1_aux_gfclk_mux_parents, NULL },
5818c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_mcasp1_ahclkx_mux_parents, NULL },
5828c2ecf20Sopenharmony_ci	{ 0 },
5838c2ecf20Sopenharmony_ci};
5848c2ecf20Sopenharmony_ci
5858c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_uart7_bit_data[] __initconst = {
5868c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_uart6_gfclk_mux_parents, NULL },
5878c2ecf20Sopenharmony_ci	{ 0 },
5888c2ecf20Sopenharmony_ci};
5898c2ecf20Sopenharmony_ci
5908c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_uart8_bit_data[] __initconst = {
5918c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_uart6_gfclk_mux_parents, NULL },
5928c2ecf20Sopenharmony_ci	{ 0 },
5938c2ecf20Sopenharmony_ci};
5948c2ecf20Sopenharmony_ci
5958c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_uart9_bit_data[] __initconst = {
5968c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_uart6_gfclk_mux_parents, NULL },
5978c2ecf20Sopenharmony_ci	{ 0 },
5988c2ecf20Sopenharmony_ci};
5998c2ecf20Sopenharmony_ci
6008c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_mcasp6_bit_data[] __initconst = {
6018c2ecf20Sopenharmony_ci	{ 22, TI_CLK_MUX, dra7_mcasp1_aux_gfclk_mux_parents, NULL },
6028c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_mcasp1_ahclkx_mux_parents, NULL },
6038c2ecf20Sopenharmony_ci	{ 0 },
6048c2ecf20Sopenharmony_ci};
6058c2ecf20Sopenharmony_ci
6068c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_mcasp7_bit_data[] __initconst = {
6078c2ecf20Sopenharmony_ci	{ 22, TI_CLK_MUX, dra7_mcasp1_aux_gfclk_mux_parents, NULL },
6088c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_mcasp1_ahclkx_mux_parents, NULL },
6098c2ecf20Sopenharmony_ci	{ 0 },
6108c2ecf20Sopenharmony_ci};
6118c2ecf20Sopenharmony_ci
6128c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_reg_data dra7_l4per_clkctrl_regs[] __initconst = {
6138c2ecf20Sopenharmony_ci	{ DRA7_L4_PER2_CLKCTRL, NULL, 0, "l3_iclk_div", "l4per2_clkdm" },
6148c2ecf20Sopenharmony_ci	{ DRA7_L4_PER3_CLKCTRL, NULL, 0, "l3_iclk_div", "l4per3_clkdm" },
6158c2ecf20Sopenharmony_ci	{ DRA7_TIMER10_CLKCTRL, dra7_timer10_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0028:24" },
6168c2ecf20Sopenharmony_ci	{ DRA7_TIMER11_CLKCTRL, dra7_timer11_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0030:24" },
6178c2ecf20Sopenharmony_ci	{ DRA7_TIMER2_CLKCTRL, dra7_timer2_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0038:24" },
6188c2ecf20Sopenharmony_ci	{ DRA7_TIMER3_CLKCTRL, dra7_timer3_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0040:24" },
6198c2ecf20Sopenharmony_ci	{ DRA7_TIMER4_CLKCTRL, dra7_timer4_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0048:24" },
6208c2ecf20Sopenharmony_ci	{ DRA7_TIMER9_CLKCTRL, dra7_timer9_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0050:24" },
6218c2ecf20Sopenharmony_ci	{ DRA7_ELM_CLKCTRL, NULL, 0, "l3_iclk_div" },
6228c2ecf20Sopenharmony_ci	{ DRA7_GPIO2_CLKCTRL, dra7_gpio2_bit_data, CLKF_HW_SUP, "l3_iclk_div" },
6238c2ecf20Sopenharmony_ci	{ DRA7_GPIO3_CLKCTRL, dra7_gpio3_bit_data, CLKF_HW_SUP, "l3_iclk_div" },
6248c2ecf20Sopenharmony_ci	{ DRA7_GPIO4_CLKCTRL, dra7_gpio4_bit_data, CLKF_HW_SUP, "l3_iclk_div" },
6258c2ecf20Sopenharmony_ci	{ DRA7_GPIO5_CLKCTRL, dra7_gpio5_bit_data, CLKF_HW_SUP, "l3_iclk_div" },
6268c2ecf20Sopenharmony_ci	{ DRA7_GPIO6_CLKCTRL, dra7_gpio6_bit_data, CLKF_HW_SUP, "l3_iclk_div" },
6278c2ecf20Sopenharmony_ci	{ DRA7_HDQ1W_CLKCTRL, NULL, CLKF_SW_SUP, "func_12m_fclk" },
6288c2ecf20Sopenharmony_ci	{ DRA7_EPWMSS1_CLKCTRL, NULL, CLKF_SW_SUP, "l4_root_clk_div", "l4per2_clkdm" },
6298c2ecf20Sopenharmony_ci	{ DRA7_EPWMSS2_CLKCTRL, NULL, CLKF_SW_SUP, "l4_root_clk_div", "l4per2_clkdm" },
6308c2ecf20Sopenharmony_ci	{ DRA7_I2C1_CLKCTRL, NULL, CLKF_SW_SUP, "func_96m_fclk" },
6318c2ecf20Sopenharmony_ci	{ DRA7_I2C2_CLKCTRL, NULL, CLKF_SW_SUP, "func_96m_fclk" },
6328c2ecf20Sopenharmony_ci	{ DRA7_I2C3_CLKCTRL, NULL, CLKF_SW_SUP, "func_96m_fclk" },
6338c2ecf20Sopenharmony_ci	{ DRA7_I2C4_CLKCTRL, NULL, CLKF_SW_SUP, "func_96m_fclk" },
6348c2ecf20Sopenharmony_ci	{ DRA7_L4_PER1_CLKCTRL, NULL, 0, "l3_iclk_div" },
6358c2ecf20Sopenharmony_ci	{ DRA7_EPWMSS0_CLKCTRL, NULL, CLKF_SW_SUP, "l4_root_clk_div", "l4per2_clkdm" },
6368c2ecf20Sopenharmony_ci	{ DRA7_TIMER13_CLKCTRL, dra7_timer13_bit_data, CLKF_SW_SUP, "l4per_cm:clk:00c8:24", "l4per3_clkdm" },
6378c2ecf20Sopenharmony_ci	{ DRA7_TIMER14_CLKCTRL, dra7_timer14_bit_data, CLKF_SW_SUP, "l4per_cm:clk:00d0:24", "l4per3_clkdm" },
6388c2ecf20Sopenharmony_ci	{ DRA7_TIMER15_CLKCTRL, dra7_timer15_bit_data, CLKF_SW_SUP, "l4per_cm:clk:00d8:24", "l4per3_clkdm" },
6398c2ecf20Sopenharmony_ci	{ DRA7_MCSPI1_CLKCTRL, NULL, CLKF_SW_SUP, "func_48m_fclk" },
6408c2ecf20Sopenharmony_ci	{ DRA7_MCSPI2_CLKCTRL, NULL, CLKF_SW_SUP, "func_48m_fclk" },
6418c2ecf20Sopenharmony_ci	{ DRA7_MCSPI3_CLKCTRL, NULL, CLKF_SW_SUP, "func_48m_fclk" },
6428c2ecf20Sopenharmony_ci	{ DRA7_MCSPI4_CLKCTRL, NULL, CLKF_SW_SUP, "func_48m_fclk" },
6438c2ecf20Sopenharmony_ci	{ DRA7_GPIO7_CLKCTRL, dra7_gpio7_bit_data, CLKF_HW_SUP, "l3_iclk_div" },
6448c2ecf20Sopenharmony_ci	{ DRA7_GPIO8_CLKCTRL, dra7_gpio8_bit_data, CLKF_HW_SUP, "l3_iclk_div" },
6458c2ecf20Sopenharmony_ci	{ DRA7_MMC3_CLKCTRL, dra7_mmc3_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0120:25" },
6468c2ecf20Sopenharmony_ci	{ DRA7_MMC4_CLKCTRL, dra7_mmc4_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0128:25" },
6478c2ecf20Sopenharmony_ci	{ DRA7_TIMER16_CLKCTRL, dra7_timer16_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0130:24", "l4per3_clkdm" },
6488c2ecf20Sopenharmony_ci	{ DRA7_QSPI_CLKCTRL, dra7_qspi_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0138:25", "l4per2_clkdm" },
6498c2ecf20Sopenharmony_ci	{ DRA7_UART1_CLKCTRL, dra7_uart1_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0140:24" },
6508c2ecf20Sopenharmony_ci	{ DRA7_UART2_CLKCTRL, dra7_uart2_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0148:24" },
6518c2ecf20Sopenharmony_ci	{ DRA7_UART3_CLKCTRL, dra7_uart3_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0150:24" },
6528c2ecf20Sopenharmony_ci	{ DRA7_UART4_CLKCTRL, dra7_uart4_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0158:24" },
6538c2ecf20Sopenharmony_ci	{ DRA7_MCASP2_CLKCTRL, dra7_mcasp2_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0160:22", "l4per2_clkdm" },
6548c2ecf20Sopenharmony_ci	{ DRA7_MCASP3_CLKCTRL, dra7_mcasp3_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0168:22", "l4per2_clkdm" },
6558c2ecf20Sopenharmony_ci	{ DRA7_UART5_CLKCTRL, dra7_uart5_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0170:24" },
6568c2ecf20Sopenharmony_ci	{ DRA7_MCASP5_CLKCTRL, dra7_mcasp5_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0178:22", "l4per2_clkdm" },
6578c2ecf20Sopenharmony_ci	{ DRA7_MCASP8_CLKCTRL, dra7_mcasp8_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0190:24", "l4per2_clkdm" },
6588c2ecf20Sopenharmony_ci	{ DRA7_MCASP4_CLKCTRL, dra7_mcasp4_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0198:22", "l4per2_clkdm" },
6598c2ecf20Sopenharmony_ci	{ DRA7_AES1_CLKCTRL, NULL, CLKF_HW_SUP, "l3_iclk_div", "l4sec_clkdm" },
6608c2ecf20Sopenharmony_ci	{ DRA7_AES2_CLKCTRL, NULL, CLKF_HW_SUP, "l3_iclk_div", "l4sec_clkdm" },
6618c2ecf20Sopenharmony_ci	{ DRA7_DES_CLKCTRL, NULL, CLKF_HW_SUP, "l3_iclk_div", "l4sec_clkdm" },
6628c2ecf20Sopenharmony_ci	{ DRA7_RNG_CLKCTRL, NULL, CLKF_HW_SUP | CLKF_SOC_NONSEC, "l3_iclk_div", "l4sec_clkdm" },
6638c2ecf20Sopenharmony_ci	{ DRA7_SHAM_CLKCTRL, NULL, CLKF_HW_SUP, "l3_iclk_div", "l4sec_clkdm" },
6648c2ecf20Sopenharmony_ci	{ DRA7_UART7_CLKCTRL, dra7_uart7_bit_data, CLKF_SW_SUP, "l4per_cm:clk:01d0:24", "l4per2_clkdm" },
6658c2ecf20Sopenharmony_ci	{ DRA7_UART8_CLKCTRL, dra7_uart8_bit_data, CLKF_SW_SUP, "l4per_cm:clk:01e0:24", "l4per2_clkdm" },
6668c2ecf20Sopenharmony_ci	{ DRA7_UART9_CLKCTRL, dra7_uart9_bit_data, CLKF_SW_SUP, "l4per_cm:clk:01e8:24", "l4per2_clkdm" },
6678c2ecf20Sopenharmony_ci	{ DRA7_DCAN2_CLKCTRL, NULL, CLKF_SW_SUP, "sys_clkin1", "l4per2_clkdm" },
6688c2ecf20Sopenharmony_ci	{ DRA7_MCASP6_CLKCTRL, dra7_mcasp6_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0204:22", "l4per2_clkdm" },
6698c2ecf20Sopenharmony_ci	{ DRA7_MCASP7_CLKCTRL, dra7_mcasp7_bit_data, CLKF_SW_SUP, "l4per_cm:clk:0208:22", "l4per2_clkdm" },
6708c2ecf20Sopenharmony_ci	{ 0 },
6718c2ecf20Sopenharmony_ci};
6728c2ecf20Sopenharmony_ci
6738c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_gpio1_bit_data[] __initconst = {
6748c2ecf20Sopenharmony_ci	{ 8, TI_CLK_GATE, dra7_dss_32khz_clk_parents, NULL },
6758c2ecf20Sopenharmony_ci	{ 0 },
6768c2ecf20Sopenharmony_ci};
6778c2ecf20Sopenharmony_ci
6788c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_timer1_bit_data[] __initconst = {
6798c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_timer10_gfclk_mux_parents, NULL },
6808c2ecf20Sopenharmony_ci	{ 0 },
6818c2ecf20Sopenharmony_ci};
6828c2ecf20Sopenharmony_ci
6838c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_uart10_bit_data[] __initconst = {
6848c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_uart6_gfclk_mux_parents, NULL },
6858c2ecf20Sopenharmony_ci	{ 0 },
6868c2ecf20Sopenharmony_ci};
6878c2ecf20Sopenharmony_ci
6888c2ecf20Sopenharmony_cistatic const char * const dra7_dcan1_sys_clk_mux_parents[] __initconst = {
6898c2ecf20Sopenharmony_ci	"sys_clkin1",
6908c2ecf20Sopenharmony_ci	"sys_clkin2",
6918c2ecf20Sopenharmony_ci	NULL,
6928c2ecf20Sopenharmony_ci};
6938c2ecf20Sopenharmony_ci
6948c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_bit_data dra7_dcan1_bit_data[] __initconst = {
6958c2ecf20Sopenharmony_ci	{ 24, TI_CLK_MUX, dra7_dcan1_sys_clk_mux_parents, NULL },
6968c2ecf20Sopenharmony_ci	{ 0 },
6978c2ecf20Sopenharmony_ci};
6988c2ecf20Sopenharmony_ci
6998c2ecf20Sopenharmony_cistatic const struct omap_clkctrl_reg_data dra7_wkupaon_clkctrl_regs[] __initconst = {
7008c2ecf20Sopenharmony_ci	{ DRA7_L4_WKUP_CLKCTRL, NULL, 0, "wkupaon_iclk_mux" },
7018c2ecf20Sopenharmony_ci	{ DRA7_WD_TIMER2_CLKCTRL, NULL, CLKF_SW_SUP, "sys_32k_ck" },
7028c2ecf20Sopenharmony_ci	{ DRA7_GPIO1_CLKCTRL, dra7_gpio1_bit_data, CLKF_HW_SUP, "wkupaon_iclk_mux" },
7038c2ecf20Sopenharmony_ci	{ DRA7_TIMER1_CLKCTRL, dra7_timer1_bit_data, CLKF_SW_SUP, "wkupaon_cm:clk:0020:24" },
7048c2ecf20Sopenharmony_ci	{ DRA7_TIMER12_CLKCTRL, NULL, CLKF_SOC_NONSEC, "secure_32k_clk_src_ck" },
7058c2ecf20Sopenharmony_ci	{ DRA7_COUNTER_32K_CLKCTRL, NULL, 0, "wkupaon_iclk_mux" },
7068c2ecf20Sopenharmony_ci	{ DRA7_UART10_CLKCTRL, dra7_uart10_bit_data, CLKF_SW_SUP, "wkupaon_cm:clk:0060:24" },
7078c2ecf20Sopenharmony_ci	{ DRA7_DCAN1_CLKCTRL, dra7_dcan1_bit_data, CLKF_SW_SUP, "wkupaon_cm:clk:0068:24" },
7088c2ecf20Sopenharmony_ci	{ DRA7_ADC_CLKCTRL, NULL, CLKF_SW_SUP, "mcan_clk"},
7098c2ecf20Sopenharmony_ci	{ 0 },
7108c2ecf20Sopenharmony_ci};
7118c2ecf20Sopenharmony_ci
7128c2ecf20Sopenharmony_ciconst struct omap_clkctrl_data dra7_clkctrl_compat_data[] __initconst = {
7138c2ecf20Sopenharmony_ci	{ 0x4a005320, dra7_mpu_clkctrl_regs },
7148c2ecf20Sopenharmony_ci	{ 0x4a005540, dra7_ipu_clkctrl_regs },
7158c2ecf20Sopenharmony_ci	{ 0x4a005740, dra7_rtc_clkctrl_regs },
7168c2ecf20Sopenharmony_ci	{ 0x4a008620, dra7_coreaon_clkctrl_regs },
7178c2ecf20Sopenharmony_ci	{ 0x4a008720, dra7_l3main1_clkctrl_regs },
7188c2ecf20Sopenharmony_ci	{ 0x4a008a20, dra7_dma_clkctrl_regs },
7198c2ecf20Sopenharmony_ci	{ 0x4a008b20, dra7_emif_clkctrl_regs },
7208c2ecf20Sopenharmony_ci	{ 0x4a008c00, dra7_atl_clkctrl_regs },
7218c2ecf20Sopenharmony_ci	{ 0x4a008d20, dra7_l4cfg_clkctrl_regs },
7228c2ecf20Sopenharmony_ci	{ 0x4a008e20, dra7_l3instr_clkctrl_regs },
7238c2ecf20Sopenharmony_ci	{ 0x4a009120, dra7_dss_clkctrl_regs },
7248c2ecf20Sopenharmony_ci	{ 0x4a009320, dra7_l3init_clkctrl_regs },
7258c2ecf20Sopenharmony_ci	{ 0x4a009700, dra7_l4per_clkctrl_regs },
7268c2ecf20Sopenharmony_ci	{ 0x4ae07820, dra7_wkupaon_clkctrl_regs },
7278c2ecf20Sopenharmony_ci	{ 0 },
7288c2ecf20Sopenharmony_ci};
7298c2ecf20Sopenharmony_ci
7308c2ecf20Sopenharmony_cistruct ti_dt_clk dra7xx_compat_clks[] = {
7318c2ecf20Sopenharmony_ci	DT_CLK(NULL, "timer_32k_ck", "sys_32k_ck"),
7328c2ecf20Sopenharmony_ci	DT_CLK(NULL, "sys_clkin_ck", "timer_sys_clk_div"),
7338c2ecf20Sopenharmony_ci	DT_CLK(NULL, "sys_clkin", "sys_clkin1"),
7348c2ecf20Sopenharmony_ci	DT_CLK(NULL, "atl_dpll_clk_mux", "atl_cm:0000:24"),
7358c2ecf20Sopenharmony_ci	DT_CLK(NULL, "atl_gfclk_mux", "atl_cm:0000:26"),
7368c2ecf20Sopenharmony_ci	DT_CLK(NULL, "dcan1_sys_clk_mux", "wkupaon_cm:0068:24"),
7378c2ecf20Sopenharmony_ci	DT_CLK(NULL, "dss_32khz_clk", "dss_cm:0000:11"),
7388c2ecf20Sopenharmony_ci	DT_CLK(NULL, "dss_48mhz_clk", "dss_cm:0000:9"),
7398c2ecf20Sopenharmony_ci	DT_CLK(NULL, "dss_dss_clk", "dss_cm:0000:8"),
7408c2ecf20Sopenharmony_ci	DT_CLK(NULL, "dss_hdmi_clk", "dss_cm:0000:10"),
7418c2ecf20Sopenharmony_ci	DT_CLK(NULL, "dss_video1_clk", "dss_cm:0000:12"),
7428c2ecf20Sopenharmony_ci	DT_CLK(NULL, "dss_video2_clk", "dss_cm:0000:13"),
7438c2ecf20Sopenharmony_ci	DT_CLK(NULL, "gmac_rft_clk_mux", "l3init_cm:00b0:25"),
7448c2ecf20Sopenharmony_ci	DT_CLK(NULL, "gpio1_dbclk", "wkupaon_cm:0018:8"),
7458c2ecf20Sopenharmony_ci	DT_CLK(NULL, "gpio2_dbclk", "l4per_cm:0060:8"),
7468c2ecf20Sopenharmony_ci	DT_CLK(NULL, "gpio3_dbclk", "l4per_cm:0068:8"),
7478c2ecf20Sopenharmony_ci	DT_CLK(NULL, "gpio4_dbclk", "l4per_cm:0070:8"),
7488c2ecf20Sopenharmony_ci	DT_CLK(NULL, "gpio5_dbclk", "l4per_cm:0078:8"),
7498c2ecf20Sopenharmony_ci	DT_CLK(NULL, "gpio6_dbclk", "l4per_cm:0080:8"),
7508c2ecf20Sopenharmony_ci	DT_CLK(NULL, "gpio7_dbclk", "l4per_cm:0110:8"),
7518c2ecf20Sopenharmony_ci	DT_CLK(NULL, "gpio8_dbclk", "l4per_cm:0118:8"),
7528c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mcasp1_ahclkr_mux", "ipu_cm:0010:28"),
7538c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mcasp1_ahclkx_mux", "ipu_cm:0010:24"),
7548c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mcasp1_aux_gfclk_mux", "ipu_cm:0010:22"),
7558c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mcasp2_ahclkr_mux", "l4per_cm:0160:28"),
7568c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mcasp2_ahclkx_mux", "l4per_cm:0160:24"),
7578c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mcasp2_aux_gfclk_mux", "l4per_cm:0160:22"),
7588c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mcasp3_ahclkx_mux", "l4per_cm:0168:24"),
7598c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mcasp3_aux_gfclk_mux", "l4per_cm:0168:22"),
7608c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mcasp4_ahclkx_mux", "l4per_cm:0198:24"),
7618c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mcasp4_aux_gfclk_mux", "l4per_cm:0198:22"),
7628c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mcasp5_ahclkx_mux", "l4per_cm:0178:24"),
7638c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mcasp5_aux_gfclk_mux", "l4per_cm:0178:22"),
7648c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mcasp6_ahclkx_mux", "l4per_cm:0204:24"),
7658c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mcasp6_aux_gfclk_mux", "l4per_cm:0204:22"),
7668c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mcasp7_ahclkx_mux", "l4per_cm:0208:24"),
7678c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mcasp7_aux_gfclk_mux", "l4per_cm:0208:22"),
7688c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mcasp8_ahclkx_mux", "l4per_cm:0190:22"),
7698c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mcasp8_aux_gfclk_mux", "l4per_cm:0190:24"),
7708c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mmc1_clk32k", "l3init_cm:0008:8"),
7718c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mmc1_fclk_div", "l3init_cm:0008:25"),
7728c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mmc1_fclk_mux", "l3init_cm:0008:24"),
7738c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mmc2_clk32k", "l3init_cm:0010:8"),
7748c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mmc2_fclk_div", "l3init_cm:0010:25"),
7758c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mmc2_fclk_mux", "l3init_cm:0010:24"),
7768c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mmc3_clk32k", "l4per_cm:0120:8"),
7778c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mmc3_gfclk_div", "l4per_cm:0120:25"),
7788c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mmc3_gfclk_mux", "l4per_cm:0120:24"),
7798c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mmc4_clk32k", "l4per_cm:0128:8"),
7808c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mmc4_gfclk_div", "l4per_cm:0128:25"),
7818c2ecf20Sopenharmony_ci	DT_CLK(NULL, "mmc4_gfclk_mux", "l4per_cm:0128:24"),
7828c2ecf20Sopenharmony_ci	DT_CLK(NULL, "optfclk_pciephy1_32khz", "l3init_cm:0090:8"),
7838c2ecf20Sopenharmony_ci	DT_CLK(NULL, "optfclk_pciephy1_clk", "l3init_cm:0090:9"),
7848c2ecf20Sopenharmony_ci	DT_CLK(NULL, "optfclk_pciephy1_div_clk", "l3init_cm:0090:10"),
7858c2ecf20Sopenharmony_ci	DT_CLK(NULL, "optfclk_pciephy2_32khz", "l3init_cm:0098:8"),
7868c2ecf20Sopenharmony_ci	DT_CLK(NULL, "optfclk_pciephy2_clk", "l3init_cm:0098:9"),
7878c2ecf20Sopenharmony_ci	DT_CLK(NULL, "optfclk_pciephy2_div_clk", "l3init_cm:0098:10"),
7888c2ecf20Sopenharmony_ci	DT_CLK(NULL, "qspi_gfclk_div", "l4per_cm:0138:25"),
7898c2ecf20Sopenharmony_ci	DT_CLK(NULL, "qspi_gfclk_mux", "l4per_cm:0138:24"),
7908c2ecf20Sopenharmony_ci	DT_CLK(NULL, "rmii_50mhz_clk_mux", "l3init_cm:00b0:24"),
7918c2ecf20Sopenharmony_ci	DT_CLK(NULL, "sata_ref_clk", "l3init_cm:0068:8"),
7928c2ecf20Sopenharmony_ci	DT_CLK(NULL, "timer10_gfclk_mux", "l4per_cm:0028:24"),
7938c2ecf20Sopenharmony_ci	DT_CLK(NULL, "timer11_gfclk_mux", "l4per_cm:0030:24"),
7948c2ecf20Sopenharmony_ci	DT_CLK(NULL, "timer13_gfclk_mux", "l4per_cm:00c8:24"),
7958c2ecf20Sopenharmony_ci	DT_CLK(NULL, "timer14_gfclk_mux", "l4per_cm:00d0:24"),
7968c2ecf20Sopenharmony_ci	DT_CLK(NULL, "timer15_gfclk_mux", "l4per_cm:00d8:24"),
7978c2ecf20Sopenharmony_ci	DT_CLK(NULL, "timer16_gfclk_mux", "l4per_cm:0130:24"),
7988c2ecf20Sopenharmony_ci	DT_CLK(NULL, "timer1_gfclk_mux", "wkupaon_cm:0020:24"),
7998c2ecf20Sopenharmony_ci	DT_CLK(NULL, "timer2_gfclk_mux", "l4per_cm:0038:24"),
8008c2ecf20Sopenharmony_ci	DT_CLK(NULL, "timer3_gfclk_mux", "l4per_cm:0040:24"),
8018c2ecf20Sopenharmony_ci	DT_CLK(NULL, "timer4_gfclk_mux", "l4per_cm:0048:24"),
8028c2ecf20Sopenharmony_ci	DT_CLK(NULL, "timer5_gfclk_mux", "ipu_cm:0018:24"),
8038c2ecf20Sopenharmony_ci	DT_CLK(NULL, "timer6_gfclk_mux", "ipu_cm:0020:24"),
8048c2ecf20Sopenharmony_ci	DT_CLK(NULL, "timer7_gfclk_mux", "ipu_cm:0028:24"),
8058c2ecf20Sopenharmony_ci	DT_CLK(NULL, "timer8_gfclk_mux", "ipu_cm:0030:24"),
8068c2ecf20Sopenharmony_ci	DT_CLK(NULL, "timer9_gfclk_mux", "l4per_cm:0050:24"),
8078c2ecf20Sopenharmony_ci	DT_CLK(NULL, "uart10_gfclk_mux", "wkupaon_cm:0060:24"),
8088c2ecf20Sopenharmony_ci	DT_CLK(NULL, "uart1_gfclk_mux", "l4per_cm:0140:24"),
8098c2ecf20Sopenharmony_ci	DT_CLK(NULL, "uart2_gfclk_mux", "l4per_cm:0148:24"),
8108c2ecf20Sopenharmony_ci	DT_CLK(NULL, "uart3_gfclk_mux", "l4per_cm:0150:24"),
8118c2ecf20Sopenharmony_ci	DT_CLK(NULL, "uart4_gfclk_mux", "l4per_cm:0158:24"),
8128c2ecf20Sopenharmony_ci	DT_CLK(NULL, "uart5_gfclk_mux", "l4per_cm:0170:24"),
8138c2ecf20Sopenharmony_ci	DT_CLK(NULL, "uart6_gfclk_mux", "ipu_cm:0040:24"),
8148c2ecf20Sopenharmony_ci	DT_CLK(NULL, "uart7_gfclk_mux", "l4per_cm:01d0:24"),
8158c2ecf20Sopenharmony_ci	DT_CLK(NULL, "uart8_gfclk_mux", "l4per_cm:01e0:24"),
8168c2ecf20Sopenharmony_ci	DT_CLK(NULL, "uart9_gfclk_mux", "l4per_cm:01e8:24"),
8178c2ecf20Sopenharmony_ci	DT_CLK(NULL, "usb_otg_ss1_refclk960m", "l3init_cm:00d0:8"),
8188c2ecf20Sopenharmony_ci	DT_CLK(NULL, "usb_otg_ss2_refclk960m", "l3init_cm:0020:8"),
8198c2ecf20Sopenharmony_ci	{ .node_name = NULL },
8208c2ecf20Sopenharmony_ci};
821