18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2018, The Linux Foundation. All rights reserved.
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#include <linux/kernel.h>
78c2ecf20Sopenharmony_ci#include <linux/err.h>
88c2ecf20Sopenharmony_ci#include <linux/platform_device.h>
98c2ecf20Sopenharmony_ci#include <linux/module.h>
108c2ecf20Sopenharmony_ci#include <linux/of.h>
118c2ecf20Sopenharmony_ci#include <linux/of_device.h>
128c2ecf20Sopenharmony_ci#include <linux/clk-provider.h>
138c2ecf20Sopenharmony_ci#include <linux/regmap.h>
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#include <linux/reset-controller.h>
168c2ecf20Sopenharmony_ci#include <dt-bindings/clock/qcom,gcc-ipq6018.h>
178c2ecf20Sopenharmony_ci#include <dt-bindings/reset/qcom,gcc-ipq6018.h>
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci#include "common.h"
208c2ecf20Sopenharmony_ci#include "clk-regmap.h"
218c2ecf20Sopenharmony_ci#include "clk-pll.h"
228c2ecf20Sopenharmony_ci#include "clk-rcg.h"
238c2ecf20Sopenharmony_ci#include "clk-branch.h"
248c2ecf20Sopenharmony_ci#include "clk-alpha-pll.h"
258c2ecf20Sopenharmony_ci#include "clk-regmap-divider.h"
268c2ecf20Sopenharmony_ci#include "clk-regmap-mux.h"
278c2ecf20Sopenharmony_ci#include "reset.h"
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci#define F(f, s, h, m, n) { (f), (s), (2 * (h) - 1), (m), (n) }
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_cienum {
328c2ecf20Sopenharmony_ci	P_XO,
338c2ecf20Sopenharmony_ci	P_BIAS_PLL,
348c2ecf20Sopenharmony_ci	P_UNIPHY0_RX,
358c2ecf20Sopenharmony_ci	P_UNIPHY0_TX,
368c2ecf20Sopenharmony_ci	P_UNIPHY1_RX,
378c2ecf20Sopenharmony_ci	P_BIAS_PLL_NSS_NOC,
388c2ecf20Sopenharmony_ci	P_UNIPHY1_TX,
398c2ecf20Sopenharmony_ci	P_PCIE20_PHY0_PIPE,
408c2ecf20Sopenharmony_ci	P_USB3PHY_0_PIPE,
418c2ecf20Sopenharmony_ci	P_GPLL0,
428c2ecf20Sopenharmony_ci	P_GPLL0_DIV2,
438c2ecf20Sopenharmony_ci	P_GPLL2,
448c2ecf20Sopenharmony_ci	P_GPLL4,
458c2ecf20Sopenharmony_ci	P_GPLL6,
468c2ecf20Sopenharmony_ci	P_SLEEP_CLK,
478c2ecf20Sopenharmony_ci	P_UBI32_PLL,
488c2ecf20Sopenharmony_ci	P_NSS_CRYPTO_PLL,
498c2ecf20Sopenharmony_ci	P_PI_SLEEP,
508c2ecf20Sopenharmony_ci};
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_cistatic struct clk_alpha_pll gpll0_main = {
538c2ecf20Sopenharmony_ci	.offset = 0x21000,
548c2ecf20Sopenharmony_ci	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
558c2ecf20Sopenharmony_ci	.clkr = {
568c2ecf20Sopenharmony_ci		.enable_reg = 0x0b000,
578c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
588c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
598c2ecf20Sopenharmony_ci			.name = "gpll0_main",
608c2ecf20Sopenharmony_ci			.parent_data = &(const struct clk_parent_data){
618c2ecf20Sopenharmony_ci				.fw_name = "xo",
628c2ecf20Sopenharmony_ci			},
638c2ecf20Sopenharmony_ci			.num_parents = 1,
648c2ecf20Sopenharmony_ci			.ops = &clk_alpha_pll_ops,
658c2ecf20Sopenharmony_ci		},
668c2ecf20Sopenharmony_ci	},
678c2ecf20Sopenharmony_ci};
688c2ecf20Sopenharmony_ci
698c2ecf20Sopenharmony_cistatic struct clk_fixed_factor gpll0_out_main_div2 = {
708c2ecf20Sopenharmony_ci	.mult = 1,
718c2ecf20Sopenharmony_ci	.div = 2,
728c2ecf20Sopenharmony_ci	.hw.init = &(struct clk_init_data){
738c2ecf20Sopenharmony_ci		.name = "gpll0_out_main_div2",
748c2ecf20Sopenharmony_ci		.parent_hws = (const struct clk_hw *[]){
758c2ecf20Sopenharmony_ci				&gpll0_main.clkr.hw },
768c2ecf20Sopenharmony_ci		.num_parents = 1,
778c2ecf20Sopenharmony_ci		.ops = &clk_fixed_factor_ops,
788c2ecf20Sopenharmony_ci	},
798c2ecf20Sopenharmony_ci};
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_cistatic struct clk_alpha_pll_postdiv gpll0 = {
828c2ecf20Sopenharmony_ci	.offset = 0x21000,
838c2ecf20Sopenharmony_ci	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
848c2ecf20Sopenharmony_ci	.width = 4,
858c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
868c2ecf20Sopenharmony_ci		.name = "gpll0",
878c2ecf20Sopenharmony_ci		.parent_hws = (const struct clk_hw *[]){
888c2ecf20Sopenharmony_ci				&gpll0_main.clkr.hw },
898c2ecf20Sopenharmony_ci		.num_parents = 1,
908c2ecf20Sopenharmony_ci		.ops = &clk_alpha_pll_postdiv_ro_ops,
918c2ecf20Sopenharmony_ci	},
928c2ecf20Sopenharmony_ci};
938c2ecf20Sopenharmony_ci
948c2ecf20Sopenharmony_cistatic const struct clk_parent_data gcc_xo_gpll0_gpll0_out_main_div2[] = {
958c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
968c2ecf20Sopenharmony_ci	{ .hw = &gpll0.clkr.hw},
978c2ecf20Sopenharmony_ci	{ .hw = &gpll0_out_main_div2.hw},
988c2ecf20Sopenharmony_ci};
998c2ecf20Sopenharmony_ci
1008c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0_gpll0_out_main_div2_map[] = {
1018c2ecf20Sopenharmony_ci	{ P_XO, 0 },
1028c2ecf20Sopenharmony_ci	{ P_GPLL0, 1 },
1038c2ecf20Sopenharmony_ci	{ P_GPLL0_DIV2, 4 },
1048c2ecf20Sopenharmony_ci};
1058c2ecf20Sopenharmony_ci
1068c2ecf20Sopenharmony_cistatic struct clk_alpha_pll ubi32_pll_main = {
1078c2ecf20Sopenharmony_ci	.offset = 0x25000,
1088c2ecf20Sopenharmony_ci	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_HUAYRA],
1098c2ecf20Sopenharmony_ci	.flags = SUPPORTS_DYNAMIC_UPDATE,
1108c2ecf20Sopenharmony_ci	.clkr = {
1118c2ecf20Sopenharmony_ci		.enable_reg = 0x0b000,
1128c2ecf20Sopenharmony_ci		.enable_mask = BIT(6),
1138c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
1148c2ecf20Sopenharmony_ci			.name = "ubi32_pll_main",
1158c2ecf20Sopenharmony_ci			.parent_data = &(const struct clk_parent_data){
1168c2ecf20Sopenharmony_ci				.fw_name = "xo",
1178c2ecf20Sopenharmony_ci			},
1188c2ecf20Sopenharmony_ci			.num_parents = 1,
1198c2ecf20Sopenharmony_ci			.ops = &clk_alpha_pll_huayra_ops,
1208c2ecf20Sopenharmony_ci		},
1218c2ecf20Sopenharmony_ci	},
1228c2ecf20Sopenharmony_ci};
1238c2ecf20Sopenharmony_ci
1248c2ecf20Sopenharmony_cistatic struct clk_alpha_pll_postdiv ubi32_pll = {
1258c2ecf20Sopenharmony_ci	.offset = 0x25000,
1268c2ecf20Sopenharmony_ci	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_HUAYRA],
1278c2ecf20Sopenharmony_ci	.width = 2,
1288c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
1298c2ecf20Sopenharmony_ci		.name = "ubi32_pll",
1308c2ecf20Sopenharmony_ci		.parent_hws = (const struct clk_hw *[]){
1318c2ecf20Sopenharmony_ci				&ubi32_pll_main.clkr.hw },
1328c2ecf20Sopenharmony_ci		.num_parents = 1,
1338c2ecf20Sopenharmony_ci		.ops = &clk_alpha_pll_postdiv_ro_ops,
1348c2ecf20Sopenharmony_ci		.flags = CLK_SET_RATE_PARENT,
1358c2ecf20Sopenharmony_ci	},
1368c2ecf20Sopenharmony_ci};
1378c2ecf20Sopenharmony_ci
1388c2ecf20Sopenharmony_cistatic struct clk_alpha_pll gpll6_main = {
1398c2ecf20Sopenharmony_ci	.offset = 0x37000,
1408c2ecf20Sopenharmony_ci	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_BRAMMO],
1418c2ecf20Sopenharmony_ci	.clkr = {
1428c2ecf20Sopenharmony_ci		.enable_reg = 0x0b000,
1438c2ecf20Sopenharmony_ci		.enable_mask = BIT(7),
1448c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
1458c2ecf20Sopenharmony_ci			.name = "gpll6_main",
1468c2ecf20Sopenharmony_ci			.parent_data = &(const struct clk_parent_data){
1478c2ecf20Sopenharmony_ci				.fw_name = "xo",
1488c2ecf20Sopenharmony_ci			},
1498c2ecf20Sopenharmony_ci			.num_parents = 1,
1508c2ecf20Sopenharmony_ci			.ops = &clk_alpha_pll_ops,
1518c2ecf20Sopenharmony_ci		},
1528c2ecf20Sopenharmony_ci	},
1538c2ecf20Sopenharmony_ci};
1548c2ecf20Sopenharmony_ci
1558c2ecf20Sopenharmony_cistatic struct clk_alpha_pll_postdiv gpll6 = {
1568c2ecf20Sopenharmony_ci	.offset = 0x37000,
1578c2ecf20Sopenharmony_ci	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_BRAMMO],
1588c2ecf20Sopenharmony_ci	.width = 2,
1598c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
1608c2ecf20Sopenharmony_ci		.name = "gpll6",
1618c2ecf20Sopenharmony_ci		.parent_hws = (const struct clk_hw *[]){
1628c2ecf20Sopenharmony_ci				&gpll6_main.clkr.hw },
1638c2ecf20Sopenharmony_ci		.num_parents = 1,
1648c2ecf20Sopenharmony_ci		.ops = &clk_alpha_pll_postdiv_ro_ops,
1658c2ecf20Sopenharmony_ci	},
1668c2ecf20Sopenharmony_ci};
1678c2ecf20Sopenharmony_ci
1688c2ecf20Sopenharmony_cistatic struct clk_alpha_pll gpll4_main = {
1698c2ecf20Sopenharmony_ci	.offset = 0x24000,
1708c2ecf20Sopenharmony_ci	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
1718c2ecf20Sopenharmony_ci	.clkr = {
1728c2ecf20Sopenharmony_ci		.enable_reg = 0x0b000,
1738c2ecf20Sopenharmony_ci		.enable_mask = BIT(5),
1748c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
1758c2ecf20Sopenharmony_ci			.name = "gpll4_main",
1768c2ecf20Sopenharmony_ci			.parent_data = &(const struct clk_parent_data){
1778c2ecf20Sopenharmony_ci				.fw_name = "xo",
1788c2ecf20Sopenharmony_ci			},
1798c2ecf20Sopenharmony_ci			.num_parents = 1,
1808c2ecf20Sopenharmony_ci			.ops = &clk_alpha_pll_ops,
1818c2ecf20Sopenharmony_ci		},
1828c2ecf20Sopenharmony_ci	},
1838c2ecf20Sopenharmony_ci};
1848c2ecf20Sopenharmony_ci
1858c2ecf20Sopenharmony_cistatic struct clk_alpha_pll_postdiv gpll4 = {
1868c2ecf20Sopenharmony_ci	.offset = 0x24000,
1878c2ecf20Sopenharmony_ci	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
1888c2ecf20Sopenharmony_ci	.width = 4,
1898c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
1908c2ecf20Sopenharmony_ci		.name = "gpll4",
1918c2ecf20Sopenharmony_ci		.parent_hws = (const struct clk_hw *[]){
1928c2ecf20Sopenharmony_ci				&gpll4_main.clkr.hw },
1938c2ecf20Sopenharmony_ci		.num_parents = 1,
1948c2ecf20Sopenharmony_ci		.ops = &clk_alpha_pll_postdiv_ro_ops,
1958c2ecf20Sopenharmony_ci	},
1968c2ecf20Sopenharmony_ci};
1978c2ecf20Sopenharmony_ci
1988c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_pcnoc_bfdcd_clk_src[] = {
1998c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
2008c2ecf20Sopenharmony_ci	F(50000000, P_GPLL0, 16, 0, 0),
2018c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
2028c2ecf20Sopenharmony_ci	{ }
2038c2ecf20Sopenharmony_ci};
2048c2ecf20Sopenharmony_ci
2058c2ecf20Sopenharmony_cistatic struct clk_rcg2 pcnoc_bfdcd_clk_src = {
2068c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x27000,
2078c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_pcnoc_bfdcd_clk_src,
2088c2ecf20Sopenharmony_ci	.hid_width = 5,
2098c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
2108c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
2118c2ecf20Sopenharmony_ci		.name = "pcnoc_bfdcd_clk_src",
2128c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
2138c2ecf20Sopenharmony_ci		.num_parents = 3,
2148c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
2158c2ecf20Sopenharmony_ci	},
2168c2ecf20Sopenharmony_ci};
2178c2ecf20Sopenharmony_ci
2188c2ecf20Sopenharmony_cistatic struct clk_alpha_pll gpll2_main = {
2198c2ecf20Sopenharmony_ci	.offset = 0x4a000,
2208c2ecf20Sopenharmony_ci	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
2218c2ecf20Sopenharmony_ci	.clkr = {
2228c2ecf20Sopenharmony_ci		.enable_reg = 0x0b000,
2238c2ecf20Sopenharmony_ci		.enable_mask = BIT(2),
2248c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
2258c2ecf20Sopenharmony_ci			.name = "gpll2_main",
2268c2ecf20Sopenharmony_ci			.parent_data = &(const struct clk_parent_data){
2278c2ecf20Sopenharmony_ci				.fw_name = "xo",
2288c2ecf20Sopenharmony_ci			},
2298c2ecf20Sopenharmony_ci			.num_parents = 1,
2308c2ecf20Sopenharmony_ci			.ops = &clk_alpha_pll_ops,
2318c2ecf20Sopenharmony_ci		},
2328c2ecf20Sopenharmony_ci	},
2338c2ecf20Sopenharmony_ci};
2348c2ecf20Sopenharmony_ci
2358c2ecf20Sopenharmony_cistatic struct clk_alpha_pll_postdiv gpll2 = {
2368c2ecf20Sopenharmony_ci	.offset = 0x4a000,
2378c2ecf20Sopenharmony_ci	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
2388c2ecf20Sopenharmony_ci	.width = 4,
2398c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
2408c2ecf20Sopenharmony_ci		.name = "gpll2",
2418c2ecf20Sopenharmony_ci		.parent_hws = (const struct clk_hw *[]){
2428c2ecf20Sopenharmony_ci				&gpll2_main.clkr.hw },
2438c2ecf20Sopenharmony_ci		.num_parents = 1,
2448c2ecf20Sopenharmony_ci		.ops = &clk_alpha_pll_postdiv_ro_ops,
2458c2ecf20Sopenharmony_ci	},
2468c2ecf20Sopenharmony_ci};
2478c2ecf20Sopenharmony_ci
2488c2ecf20Sopenharmony_cistatic struct clk_alpha_pll nss_crypto_pll_main = {
2498c2ecf20Sopenharmony_ci	.offset = 0x22000,
2508c2ecf20Sopenharmony_ci	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
2518c2ecf20Sopenharmony_ci	.clkr = {
2528c2ecf20Sopenharmony_ci		.enable_reg = 0x0b000,
2538c2ecf20Sopenharmony_ci		.enable_mask = BIT(4),
2548c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
2558c2ecf20Sopenharmony_ci			.name = "nss_crypto_pll_main",
2568c2ecf20Sopenharmony_ci			.parent_data = &(const struct clk_parent_data){
2578c2ecf20Sopenharmony_ci				.fw_name = "xo",
2588c2ecf20Sopenharmony_ci			},
2598c2ecf20Sopenharmony_ci			.num_parents = 1,
2608c2ecf20Sopenharmony_ci			.ops = &clk_alpha_pll_ops,
2618c2ecf20Sopenharmony_ci		},
2628c2ecf20Sopenharmony_ci	},
2638c2ecf20Sopenharmony_ci};
2648c2ecf20Sopenharmony_ci
2658c2ecf20Sopenharmony_cistatic struct clk_alpha_pll_postdiv nss_crypto_pll = {
2668c2ecf20Sopenharmony_ci	.offset = 0x22000,
2678c2ecf20Sopenharmony_ci	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
2688c2ecf20Sopenharmony_ci	.width = 4,
2698c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
2708c2ecf20Sopenharmony_ci		.name = "nss_crypto_pll",
2718c2ecf20Sopenharmony_ci		.parent_hws = (const struct clk_hw *[]){
2728c2ecf20Sopenharmony_ci				&nss_crypto_pll_main.clkr.hw },
2738c2ecf20Sopenharmony_ci		.num_parents = 1,
2748c2ecf20Sopenharmony_ci		.ops = &clk_alpha_pll_postdiv_ro_ops,
2758c2ecf20Sopenharmony_ci	},
2768c2ecf20Sopenharmony_ci};
2778c2ecf20Sopenharmony_ci
2788c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_qdss_tsctr_clk_src[] = {
2798c2ecf20Sopenharmony_ci	F(160000000, P_GPLL0_DIV2, 2.5, 0, 0),
2808c2ecf20Sopenharmony_ci	F(320000000, P_GPLL0, 2.5, 0, 0),
2818c2ecf20Sopenharmony_ci	F(600000000, P_GPLL4, 2, 0, 0),
2828c2ecf20Sopenharmony_ci	{ }
2838c2ecf20Sopenharmony_ci};
2848c2ecf20Sopenharmony_ci
2858c2ecf20Sopenharmony_cistatic const struct clk_parent_data gcc_xo_gpll4_gpll0_gpll6_gpll0_div2[] = {
2868c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
2878c2ecf20Sopenharmony_ci	{ .hw = &gpll4.clkr.hw },
2888c2ecf20Sopenharmony_ci	{ .hw = &gpll0.clkr.hw },
2898c2ecf20Sopenharmony_ci	{ .hw = &gpll6.clkr.hw },
2908c2ecf20Sopenharmony_ci	{ .hw = &gpll0_out_main_div2.hw },
2918c2ecf20Sopenharmony_ci};
2928c2ecf20Sopenharmony_ci
2938c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll4_gpll0_gpll6_gpll0_div2_map[] = {
2948c2ecf20Sopenharmony_ci	{ P_XO, 0 },
2958c2ecf20Sopenharmony_ci	{ P_GPLL4, 1 },
2968c2ecf20Sopenharmony_ci	{ P_GPLL0, 2 },
2978c2ecf20Sopenharmony_ci	{ P_GPLL6, 3 },
2988c2ecf20Sopenharmony_ci	{ P_GPLL0_DIV2, 4 },
2998c2ecf20Sopenharmony_ci};
3008c2ecf20Sopenharmony_ci
3018c2ecf20Sopenharmony_cistatic struct clk_rcg2 qdss_tsctr_clk_src = {
3028c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x29064,
3038c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_qdss_tsctr_clk_src,
3048c2ecf20Sopenharmony_ci	.hid_width = 5,
3058c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll4_gpll0_gpll6_gpll0_div2_map,
3068c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
3078c2ecf20Sopenharmony_ci		.name = "qdss_tsctr_clk_src",
3088c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll4_gpll0_gpll6_gpll0_div2,
3098c2ecf20Sopenharmony_ci		.num_parents = 5,
3108c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
3118c2ecf20Sopenharmony_ci	},
3128c2ecf20Sopenharmony_ci};
3138c2ecf20Sopenharmony_ci
3148c2ecf20Sopenharmony_cistatic struct clk_fixed_factor qdss_dap_sync_clk_src = {
3158c2ecf20Sopenharmony_ci	.mult = 1,
3168c2ecf20Sopenharmony_ci	.div = 4,
3178c2ecf20Sopenharmony_ci	.hw.init = &(struct clk_init_data){
3188c2ecf20Sopenharmony_ci		.name = "qdss_dap_sync_clk_src",
3198c2ecf20Sopenharmony_ci		.parent_hws = (const struct clk_hw *[]){
3208c2ecf20Sopenharmony_ci				&qdss_tsctr_clk_src.clkr.hw },
3218c2ecf20Sopenharmony_ci		.num_parents = 1,
3228c2ecf20Sopenharmony_ci		.ops = &clk_fixed_factor_ops,
3238c2ecf20Sopenharmony_ci	},
3248c2ecf20Sopenharmony_ci};
3258c2ecf20Sopenharmony_ci
3268c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_qdss_at_clk_src[] = {
3278c2ecf20Sopenharmony_ci	F(66670000, P_GPLL0_DIV2, 6, 0, 0),
3288c2ecf20Sopenharmony_ci	F(240000000, P_GPLL4, 5, 0, 0),
3298c2ecf20Sopenharmony_ci	{ }
3308c2ecf20Sopenharmony_ci};
3318c2ecf20Sopenharmony_ci
3328c2ecf20Sopenharmony_cistatic struct clk_rcg2 qdss_at_clk_src = {
3338c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x2900c,
3348c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_qdss_at_clk_src,
3358c2ecf20Sopenharmony_ci	.hid_width = 5,
3368c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll4_gpll0_gpll6_gpll0_div2_map,
3378c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
3388c2ecf20Sopenharmony_ci		.name = "qdss_at_clk_src",
3398c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll4_gpll0_gpll6_gpll0_div2,
3408c2ecf20Sopenharmony_ci		.num_parents = 5,
3418c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
3428c2ecf20Sopenharmony_ci	},
3438c2ecf20Sopenharmony_ci};
3448c2ecf20Sopenharmony_ci
3458c2ecf20Sopenharmony_cistatic struct clk_fixed_factor qdss_tsctr_div2_clk_src = {
3468c2ecf20Sopenharmony_ci	.mult = 1,
3478c2ecf20Sopenharmony_ci	.div = 2,
3488c2ecf20Sopenharmony_ci	.hw.init = &(struct clk_init_data){
3498c2ecf20Sopenharmony_ci		.name = "qdss_tsctr_div2_clk_src",
3508c2ecf20Sopenharmony_ci		.parent_hws = (const struct clk_hw *[]){
3518c2ecf20Sopenharmony_ci				&qdss_tsctr_clk_src.clkr.hw },
3528c2ecf20Sopenharmony_ci		.num_parents = 1,
3538c2ecf20Sopenharmony_ci		.flags = CLK_SET_RATE_PARENT,
3548c2ecf20Sopenharmony_ci		.ops = &clk_fixed_factor_ops,
3558c2ecf20Sopenharmony_ci	},
3568c2ecf20Sopenharmony_ci};
3578c2ecf20Sopenharmony_ci
3588c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_nss_ppe_clk_src[] = {
3598c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
3608c2ecf20Sopenharmony_ci	F(300000000, P_BIAS_PLL, 1, 0, 0),
3618c2ecf20Sopenharmony_ci	{ }
3628c2ecf20Sopenharmony_ci};
3638c2ecf20Sopenharmony_ci
3648c2ecf20Sopenharmony_cistatic const struct clk_parent_data gcc_xo_bias_gpll0_gpll4_nss_ubi32[] = {
3658c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
3668c2ecf20Sopenharmony_ci	{ .fw_name = "bias_pll_cc_clk" },
3678c2ecf20Sopenharmony_ci	{ .hw = &gpll0.clkr.hw },
3688c2ecf20Sopenharmony_ci	{ .hw = &gpll4.clkr.hw },
3698c2ecf20Sopenharmony_ci	{ .hw = &nss_crypto_pll.clkr.hw },
3708c2ecf20Sopenharmony_ci	{ .hw = &ubi32_pll.clkr.hw },
3718c2ecf20Sopenharmony_ci};
3728c2ecf20Sopenharmony_ci
3738c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_bias_gpll0_gpll4_nss_ubi32_map[] = {
3748c2ecf20Sopenharmony_ci	{ P_XO, 0 },
3758c2ecf20Sopenharmony_ci	{ P_BIAS_PLL, 1 },
3768c2ecf20Sopenharmony_ci	{ P_GPLL0, 2 },
3778c2ecf20Sopenharmony_ci	{ P_GPLL4, 3 },
3788c2ecf20Sopenharmony_ci	{ P_NSS_CRYPTO_PLL, 4 },
3798c2ecf20Sopenharmony_ci	{ P_UBI32_PLL, 5 },
3808c2ecf20Sopenharmony_ci};
3818c2ecf20Sopenharmony_ci
3828c2ecf20Sopenharmony_cistatic struct clk_rcg2 nss_ppe_clk_src = {
3838c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x68080,
3848c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_nss_ppe_clk_src,
3858c2ecf20Sopenharmony_ci	.hid_width = 5,
3868c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_bias_gpll0_gpll4_nss_ubi32_map,
3878c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
3888c2ecf20Sopenharmony_ci		.name = "nss_ppe_clk_src",
3898c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_bias_gpll0_gpll4_nss_ubi32,
3908c2ecf20Sopenharmony_ci		.num_parents = 6,
3918c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
3928c2ecf20Sopenharmony_ci	},
3938c2ecf20Sopenharmony_ci};
3948c2ecf20Sopenharmony_ci
3958c2ecf20Sopenharmony_cistatic struct clk_branch gcc_xo_clk_src = {
3968c2ecf20Sopenharmony_ci	.halt_reg = 0x30018,
3978c2ecf20Sopenharmony_ci	.clkr = {
3988c2ecf20Sopenharmony_ci		.enable_reg = 0x30018,
3998c2ecf20Sopenharmony_ci		.enable_mask = BIT(1),
4008c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
4018c2ecf20Sopenharmony_ci			.name = "gcc_xo_clk_src",
4028c2ecf20Sopenharmony_ci			.parent_data = &(const struct clk_parent_data){
4038c2ecf20Sopenharmony_ci				.fw_name = "xo",
4048c2ecf20Sopenharmony_ci			},
4058c2ecf20Sopenharmony_ci			.num_parents = 1,
4068c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
4078c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
4088c2ecf20Sopenharmony_ci		},
4098c2ecf20Sopenharmony_ci	},
4108c2ecf20Sopenharmony_ci};
4118c2ecf20Sopenharmony_ci
4128c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_nss_ce_clk_src[] = {
4138c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
4148c2ecf20Sopenharmony_ci	F(200000000, P_GPLL0, 4, 0, 0),
4158c2ecf20Sopenharmony_ci	{ }
4168c2ecf20Sopenharmony_ci};
4178c2ecf20Sopenharmony_ci
4188c2ecf20Sopenharmony_cistatic const struct clk_parent_data gcc_xo_gpll0[] = {
4198c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
4208c2ecf20Sopenharmony_ci	{ .hw = &gpll0.clkr.hw },
4218c2ecf20Sopenharmony_ci};
4228c2ecf20Sopenharmony_ci
4238c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0_map[] = {
4248c2ecf20Sopenharmony_ci	{ P_XO, 0 },
4258c2ecf20Sopenharmony_ci	{ P_GPLL0, 1 },
4268c2ecf20Sopenharmony_ci};
4278c2ecf20Sopenharmony_ci
4288c2ecf20Sopenharmony_cistatic struct clk_rcg2 nss_ce_clk_src = {
4298c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x68098,
4308c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_nss_ce_clk_src,
4318c2ecf20Sopenharmony_ci	.hid_width = 5,
4328c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
4338c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
4348c2ecf20Sopenharmony_ci		.name = "nss_ce_clk_src",
4358c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0,
4368c2ecf20Sopenharmony_ci		.num_parents = 2,
4378c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
4388c2ecf20Sopenharmony_ci	},
4398c2ecf20Sopenharmony_ci};
4408c2ecf20Sopenharmony_ci
4418c2ecf20Sopenharmony_cistatic struct clk_branch gcc_sleep_clk_src = {
4428c2ecf20Sopenharmony_ci	.halt_reg = 0x30000,
4438c2ecf20Sopenharmony_ci	.clkr = {
4448c2ecf20Sopenharmony_ci		.enable_reg = 0x30000,
4458c2ecf20Sopenharmony_ci		.enable_mask = BIT(1),
4468c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
4478c2ecf20Sopenharmony_ci			.name = "gcc_sleep_clk_src",
4488c2ecf20Sopenharmony_ci			.parent_data = &(const struct clk_parent_data){
4498c2ecf20Sopenharmony_ci				.fw_name = "sleep_clk",
4508c2ecf20Sopenharmony_ci			},
4518c2ecf20Sopenharmony_ci			.num_parents = 1,
4528c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
4538c2ecf20Sopenharmony_ci		},
4548c2ecf20Sopenharmony_ci	},
4558c2ecf20Sopenharmony_ci};
4568c2ecf20Sopenharmony_ci
4578c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_snoc_nssnoc_bfdcd_clk_src[] = {
4588c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
4598c2ecf20Sopenharmony_ci	F(50000000, P_GPLL0_DIV2, 8, 0, 0),
4608c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
4618c2ecf20Sopenharmony_ci	F(133333333, P_GPLL0, 6, 0, 0),
4628c2ecf20Sopenharmony_ci	F(160000000, P_GPLL0, 5, 0, 0),
4638c2ecf20Sopenharmony_ci	F(200000000, P_GPLL0, 4, 0, 0),
4648c2ecf20Sopenharmony_ci	F(266666667, P_GPLL0, 3, 0, 0),
4658c2ecf20Sopenharmony_ci	{ }
4668c2ecf20Sopenharmony_ci};
4678c2ecf20Sopenharmony_ci
4688c2ecf20Sopenharmony_cistatic const struct clk_parent_data
4698c2ecf20Sopenharmony_ci			gcc_xo_gpll0_gpll6_gpll0_out_main_div2[] = {
4708c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
4718c2ecf20Sopenharmony_ci	{ .hw = &gpll0.clkr.hw },
4728c2ecf20Sopenharmony_ci	{ .hw = &gpll6.clkr.hw },
4738c2ecf20Sopenharmony_ci	{ .hw = &gpll0_out_main_div2.hw },
4748c2ecf20Sopenharmony_ci};
4758c2ecf20Sopenharmony_ci
4768c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0_gpll6_gpll0_out_main_div2_map[] = {
4778c2ecf20Sopenharmony_ci	{ P_XO, 0 },
4788c2ecf20Sopenharmony_ci	{ P_GPLL0, 1 },
4798c2ecf20Sopenharmony_ci	{ P_GPLL6, 2 },
4808c2ecf20Sopenharmony_ci	{ P_GPLL0_DIV2, 3 },
4818c2ecf20Sopenharmony_ci};
4828c2ecf20Sopenharmony_ci
4838c2ecf20Sopenharmony_cistatic struct clk_rcg2 snoc_nssnoc_bfdcd_clk_src = {
4848c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x76054,
4858c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_snoc_nssnoc_bfdcd_clk_src,
4868c2ecf20Sopenharmony_ci	.hid_width = 5,
4878c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll6_gpll0_out_main_div2_map,
4888c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
4898c2ecf20Sopenharmony_ci		.name = "snoc_nssnoc_bfdcd_clk_src",
4908c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll6_gpll0_out_main_div2,
4918c2ecf20Sopenharmony_ci		.num_parents = 4,
4928c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
4938c2ecf20Sopenharmony_ci	},
4948c2ecf20Sopenharmony_ci};
4958c2ecf20Sopenharmony_ci
4968c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_apss_ahb_clk_src[] = {
4978c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
4988c2ecf20Sopenharmony_ci	F(25000000, P_GPLL0_DIV2, 16, 0, 0),
4998c2ecf20Sopenharmony_ci	F(50000000, P_GPLL0, 16, 0, 0),
5008c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
5018c2ecf20Sopenharmony_ci	{ }
5028c2ecf20Sopenharmony_ci};
5038c2ecf20Sopenharmony_ci
5048c2ecf20Sopenharmony_cistatic struct clk_rcg2 apss_ahb_clk_src = {
5058c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x46000,
5068c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_apss_ahb_clk_src,
5078c2ecf20Sopenharmony_ci	.hid_width = 5,
5088c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
5098c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
5108c2ecf20Sopenharmony_ci		.name = "apss_ahb_clk_src",
5118c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
5128c2ecf20Sopenharmony_ci		.num_parents = 3,
5138c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
5148c2ecf20Sopenharmony_ci	},
5158c2ecf20Sopenharmony_ci};
5168c2ecf20Sopenharmony_ci
5178c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_nss_port5_rx_clk_src[] = {
5188c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
5198c2ecf20Sopenharmony_ci	F(25000000, P_UNIPHY1_RX, 12.5, 0, 0),
5208c2ecf20Sopenharmony_ci	F(25000000, P_UNIPHY0_RX, 5, 0, 0),
5218c2ecf20Sopenharmony_ci	F(78125000, P_UNIPHY1_RX, 4, 0, 0),
5228c2ecf20Sopenharmony_ci	F(125000000, P_UNIPHY1_RX, 2.5, 0, 0),
5238c2ecf20Sopenharmony_ci	F(125000000, P_UNIPHY0_RX, 1, 0, 0),
5248c2ecf20Sopenharmony_ci	F(156250000, P_UNIPHY1_RX, 2, 0, 0),
5258c2ecf20Sopenharmony_ci	F(312500000, P_UNIPHY1_RX, 1, 0, 0),
5268c2ecf20Sopenharmony_ci	{ }
5278c2ecf20Sopenharmony_ci};
5288c2ecf20Sopenharmony_ci
5298c2ecf20Sopenharmony_cistatic const struct clk_parent_data
5308c2ecf20Sopenharmony_cigcc_xo_uniphy0_rx_tx_uniphy1_rx_tx_ubi32_bias[] = {
5318c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
5328c2ecf20Sopenharmony_ci	{ .fw_name = "uniphy0_gcc_rx_clk" },
5338c2ecf20Sopenharmony_ci	{ .fw_name = "uniphy0_gcc_tx_clk" },
5348c2ecf20Sopenharmony_ci	{ .fw_name = "uniphy1_gcc_rx_clk" },
5358c2ecf20Sopenharmony_ci	{ .fw_name = "uniphy1_gcc_tx_clk" },
5368c2ecf20Sopenharmony_ci	{ .hw = &ubi32_pll.clkr.hw },
5378c2ecf20Sopenharmony_ci	{ .fw_name = "bias_pll_cc_clk" },
5388c2ecf20Sopenharmony_ci};
5398c2ecf20Sopenharmony_ci
5408c2ecf20Sopenharmony_cistatic const struct parent_map
5418c2ecf20Sopenharmony_cigcc_xo_uniphy0_rx_tx_uniphy1_rx_tx_ubi32_bias_map[] = {
5428c2ecf20Sopenharmony_ci	{ P_XO, 0 },
5438c2ecf20Sopenharmony_ci	{ P_UNIPHY0_RX, 1 },
5448c2ecf20Sopenharmony_ci	{ P_UNIPHY0_TX, 2 },
5458c2ecf20Sopenharmony_ci	{ P_UNIPHY1_RX, 3 },
5468c2ecf20Sopenharmony_ci	{ P_UNIPHY1_TX, 4 },
5478c2ecf20Sopenharmony_ci	{ P_UBI32_PLL, 5 },
5488c2ecf20Sopenharmony_ci	{ P_BIAS_PLL, 6 },
5498c2ecf20Sopenharmony_ci};
5508c2ecf20Sopenharmony_ci
5518c2ecf20Sopenharmony_cistatic struct clk_rcg2 nss_port5_rx_clk_src = {
5528c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x68060,
5538c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_nss_port5_rx_clk_src,
5548c2ecf20Sopenharmony_ci	.hid_width = 5,
5558c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_uniphy0_rx_tx_uniphy1_rx_tx_ubi32_bias_map,
5568c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
5578c2ecf20Sopenharmony_ci		.name = "nss_port5_rx_clk_src",
5588c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_uniphy0_rx_tx_uniphy1_rx_tx_ubi32_bias,
5598c2ecf20Sopenharmony_ci		.num_parents = 7,
5608c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
5618c2ecf20Sopenharmony_ci	},
5628c2ecf20Sopenharmony_ci};
5638c2ecf20Sopenharmony_ci
5648c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_nss_port5_tx_clk_src[] = {
5658c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
5668c2ecf20Sopenharmony_ci	F(25000000, P_UNIPHY1_TX, 12.5, 0, 0),
5678c2ecf20Sopenharmony_ci	F(25000000, P_UNIPHY0_TX, 5, 0, 0),
5688c2ecf20Sopenharmony_ci	F(78125000, P_UNIPHY1_TX, 4, 0, 0),
5698c2ecf20Sopenharmony_ci	F(125000000, P_UNIPHY1_TX, 2.5, 0, 0),
5708c2ecf20Sopenharmony_ci	F(125000000, P_UNIPHY0_TX, 1, 0, 0),
5718c2ecf20Sopenharmony_ci	F(156250000, P_UNIPHY1_TX, 2, 0, 0),
5728c2ecf20Sopenharmony_ci	F(312500000, P_UNIPHY1_TX, 1, 0, 0),
5738c2ecf20Sopenharmony_ci	{ }
5748c2ecf20Sopenharmony_ci};
5758c2ecf20Sopenharmony_ci
5768c2ecf20Sopenharmony_cistatic const struct clk_parent_data
5778c2ecf20Sopenharmony_cigcc_xo_uniphy0_tx_rx_uniphy1_tx_rx_ubi32_bias[] = {
5788c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
5798c2ecf20Sopenharmony_ci	{ .fw_name = "uniphy0_gcc_tx_clk" },
5808c2ecf20Sopenharmony_ci	{ .fw_name = "uniphy0_gcc_rx_clk" },
5818c2ecf20Sopenharmony_ci	{ .fw_name = "uniphy1_gcc_tx_clk" },
5828c2ecf20Sopenharmony_ci	{ .fw_name = "uniphy1_gcc_rx_clk" },
5838c2ecf20Sopenharmony_ci	{ .hw = &ubi32_pll.clkr.hw },
5848c2ecf20Sopenharmony_ci	{ .fw_name = "bias_pll_cc_clk" },
5858c2ecf20Sopenharmony_ci};
5868c2ecf20Sopenharmony_ci
5878c2ecf20Sopenharmony_cistatic const struct parent_map
5888c2ecf20Sopenharmony_cigcc_xo_uniphy0_tx_rx_uniphy1_tx_rx_ubi32_bias_map[] = {
5898c2ecf20Sopenharmony_ci	{ P_XO, 0 },
5908c2ecf20Sopenharmony_ci	{ P_UNIPHY0_TX, 1 },
5918c2ecf20Sopenharmony_ci	{ P_UNIPHY0_RX, 2 },
5928c2ecf20Sopenharmony_ci	{ P_UNIPHY1_TX, 3 },
5938c2ecf20Sopenharmony_ci	{ P_UNIPHY1_RX, 4 },
5948c2ecf20Sopenharmony_ci	{ P_UBI32_PLL, 5 },
5958c2ecf20Sopenharmony_ci	{ P_BIAS_PLL, 6 },
5968c2ecf20Sopenharmony_ci};
5978c2ecf20Sopenharmony_ci
5988c2ecf20Sopenharmony_cistatic struct clk_rcg2 nss_port5_tx_clk_src = {
5998c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x68068,
6008c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_nss_port5_tx_clk_src,
6018c2ecf20Sopenharmony_ci	.hid_width = 5,
6028c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_uniphy0_tx_rx_uniphy1_tx_rx_ubi32_bias_map,
6038c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
6048c2ecf20Sopenharmony_ci		.name = "nss_port5_tx_clk_src",
6058c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_uniphy0_tx_rx_uniphy1_tx_rx_ubi32_bias,
6068c2ecf20Sopenharmony_ci		.num_parents = 7,
6078c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
6088c2ecf20Sopenharmony_ci	},
6098c2ecf20Sopenharmony_ci};
6108c2ecf20Sopenharmony_ci
6118c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_pcie_axi_clk_src[] = {
6128c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
6138c2ecf20Sopenharmony_ci	F(200000000, P_GPLL0, 4, 0, 0),
6148c2ecf20Sopenharmony_ci	F(240000000, P_GPLL4, 5, 0, 0),
6158c2ecf20Sopenharmony_ci	{ }
6168c2ecf20Sopenharmony_ci};
6178c2ecf20Sopenharmony_ci
6188c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_pcie_rchng_clk_src[] = {
6198c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
6208c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
6218c2ecf20Sopenharmony_ci	{ }
6228c2ecf20Sopenharmony_ci};
6238c2ecf20Sopenharmony_ci
6248c2ecf20Sopenharmony_cistatic const struct clk_parent_data gcc_xo_gpll0_gpll4[] = {
6258c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
6268c2ecf20Sopenharmony_ci	{ .hw = &gpll0.clkr.hw },
6278c2ecf20Sopenharmony_ci	{ .hw = &gpll4.clkr.hw },
6288c2ecf20Sopenharmony_ci};
6298c2ecf20Sopenharmony_ci
6308c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0_gpll4_map[] = {
6318c2ecf20Sopenharmony_ci	{ P_XO, 0 },
6328c2ecf20Sopenharmony_ci	{ P_GPLL0, 1 },
6338c2ecf20Sopenharmony_ci	{ P_GPLL4, 2 },
6348c2ecf20Sopenharmony_ci};
6358c2ecf20Sopenharmony_ci
6368c2ecf20Sopenharmony_cistatic struct clk_rcg2 pcie0_axi_clk_src = {
6378c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x75054,
6388c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_pcie_axi_clk_src,
6398c2ecf20Sopenharmony_ci	.hid_width = 5,
6408c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll4_map,
6418c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
6428c2ecf20Sopenharmony_ci		.name = "pcie0_axi_clk_src",
6438c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll4,
6448c2ecf20Sopenharmony_ci		.num_parents = 3,
6458c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
6468c2ecf20Sopenharmony_ci	},
6478c2ecf20Sopenharmony_ci};
6488c2ecf20Sopenharmony_ci
6498c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_usb0_master_clk_src[] = {
6508c2ecf20Sopenharmony_ci	F(80000000, P_GPLL0_DIV2, 5, 0, 0),
6518c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
6528c2ecf20Sopenharmony_ci	F(133330000, P_GPLL0, 6, 0, 0),
6538c2ecf20Sopenharmony_ci	F(200000000, P_GPLL0, 4, 0, 0),
6548c2ecf20Sopenharmony_ci	{ }
6558c2ecf20Sopenharmony_ci};
6568c2ecf20Sopenharmony_ci
6578c2ecf20Sopenharmony_cistatic const struct clk_parent_data gcc_xo_gpll0_out_main_div2_gpll0[] = {
6588c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
6598c2ecf20Sopenharmony_ci	{ .hw = &gpll0_out_main_div2.hw },
6608c2ecf20Sopenharmony_ci	{ .hw = &gpll0.clkr.hw },
6618c2ecf20Sopenharmony_ci};
6628c2ecf20Sopenharmony_ci
6638c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0_out_main_div2_gpll0_map[] = {
6648c2ecf20Sopenharmony_ci	{ P_XO, 0 },
6658c2ecf20Sopenharmony_ci	{ P_GPLL0_DIV2, 2 },
6668c2ecf20Sopenharmony_ci	{ P_GPLL0, 1 },
6678c2ecf20Sopenharmony_ci};
6688c2ecf20Sopenharmony_ci
6698c2ecf20Sopenharmony_cistatic struct clk_rcg2 usb0_master_clk_src = {
6708c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x3e00c,
6718c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_usb0_master_clk_src,
6728c2ecf20Sopenharmony_ci	.mnd_width = 8,
6738c2ecf20Sopenharmony_ci	.hid_width = 5,
6748c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_out_main_div2_gpll0_map,
6758c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
6768c2ecf20Sopenharmony_ci		.name = "usb0_master_clk_src",
6778c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_out_main_div2_gpll0,
6788c2ecf20Sopenharmony_ci		.num_parents = 3,
6798c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
6808c2ecf20Sopenharmony_ci	},
6818c2ecf20Sopenharmony_ci};
6828c2ecf20Sopenharmony_ci
6838c2ecf20Sopenharmony_cistatic struct clk_regmap_div apss_ahb_postdiv_clk_src = {
6848c2ecf20Sopenharmony_ci	.reg = 0x46018,
6858c2ecf20Sopenharmony_ci	.shift = 4,
6868c2ecf20Sopenharmony_ci	.width = 4,
6878c2ecf20Sopenharmony_ci	.clkr = {
6888c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
6898c2ecf20Sopenharmony_ci			.name = "apss_ahb_postdiv_clk_src",
6908c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
6918c2ecf20Sopenharmony_ci					&apss_ahb_clk_src.clkr.hw },
6928c2ecf20Sopenharmony_ci			.num_parents = 1,
6938c2ecf20Sopenharmony_ci			.ops = &clk_regmap_div_ops,
6948c2ecf20Sopenharmony_ci		},
6958c2ecf20Sopenharmony_ci	},
6968c2ecf20Sopenharmony_ci};
6978c2ecf20Sopenharmony_ci
6988c2ecf20Sopenharmony_cistatic struct clk_fixed_factor gcc_xo_div4_clk_src = {
6998c2ecf20Sopenharmony_ci	.mult = 1,
7008c2ecf20Sopenharmony_ci	.div = 4,
7018c2ecf20Sopenharmony_ci	.hw.init = &(struct clk_init_data){
7028c2ecf20Sopenharmony_ci		.name = "gcc_xo_div4_clk_src",
7038c2ecf20Sopenharmony_ci		.parent_hws = (const struct clk_hw *[]){
7048c2ecf20Sopenharmony_ci				&gcc_xo_clk_src.clkr.hw },
7058c2ecf20Sopenharmony_ci		.num_parents = 1,
7068c2ecf20Sopenharmony_ci		.ops = &clk_fixed_factor_ops,
7078c2ecf20Sopenharmony_ci		.flags = CLK_SET_RATE_PARENT,
7088c2ecf20Sopenharmony_ci	},
7098c2ecf20Sopenharmony_ci};
7108c2ecf20Sopenharmony_ci
7118c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_nss_port1_rx_clk_src[] = {
7128c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
7138c2ecf20Sopenharmony_ci	F(25000000, P_UNIPHY0_RX, 5, 0, 0),
7148c2ecf20Sopenharmony_ci	F(125000000, P_UNIPHY0_RX, 1, 0, 0),
7158c2ecf20Sopenharmony_ci	{ }
7168c2ecf20Sopenharmony_ci};
7178c2ecf20Sopenharmony_ci
7188c2ecf20Sopenharmony_cistatic const struct clk_parent_data gcc_xo_uniphy0_rx_tx_ubi32_bias[] = {
7198c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
7208c2ecf20Sopenharmony_ci	{ .fw_name = "uniphy0_gcc_rx_clk" },
7218c2ecf20Sopenharmony_ci	{ .fw_name = "uniphy0_gcc_tx_clk" },
7228c2ecf20Sopenharmony_ci	{ .hw = &ubi32_pll.clkr.hw },
7238c2ecf20Sopenharmony_ci	{ .fw_name = "bias_pll_cc_clk" },
7248c2ecf20Sopenharmony_ci};
7258c2ecf20Sopenharmony_ci
7268c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_uniphy0_rx_tx_ubi32_bias_map[] = {
7278c2ecf20Sopenharmony_ci	{ P_XO, 0 },
7288c2ecf20Sopenharmony_ci	{ P_UNIPHY0_RX, 1 },
7298c2ecf20Sopenharmony_ci	{ P_UNIPHY0_TX, 2 },
7308c2ecf20Sopenharmony_ci	{ P_UBI32_PLL, 5 },
7318c2ecf20Sopenharmony_ci	{ P_BIAS_PLL, 6 },
7328c2ecf20Sopenharmony_ci};
7338c2ecf20Sopenharmony_ci
7348c2ecf20Sopenharmony_cistatic struct clk_rcg2 nss_port1_rx_clk_src = {
7358c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x68020,
7368c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_nss_port1_rx_clk_src,
7378c2ecf20Sopenharmony_ci	.hid_width = 5,
7388c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_uniphy0_rx_tx_ubi32_bias_map,
7398c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
7408c2ecf20Sopenharmony_ci		.name = "nss_port1_rx_clk_src",
7418c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_uniphy0_rx_tx_ubi32_bias,
7428c2ecf20Sopenharmony_ci		.num_parents = 5,
7438c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
7448c2ecf20Sopenharmony_ci	},
7458c2ecf20Sopenharmony_ci};
7468c2ecf20Sopenharmony_ci
7478c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_nss_port1_tx_clk_src[] = {
7488c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
7498c2ecf20Sopenharmony_ci	F(25000000, P_UNIPHY0_TX, 5, 0, 0),
7508c2ecf20Sopenharmony_ci	F(125000000, P_UNIPHY0_TX, 1, 0, 0),
7518c2ecf20Sopenharmony_ci	{ }
7528c2ecf20Sopenharmony_ci};
7538c2ecf20Sopenharmony_ci
7548c2ecf20Sopenharmony_cistatic const struct clk_parent_data gcc_xo_uniphy0_tx_rx_ubi32_bias[] = {
7558c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
7568c2ecf20Sopenharmony_ci	{ .fw_name = "uniphy0_gcc_tx_clk" },
7578c2ecf20Sopenharmony_ci	{ .fw_name = "uniphy0_gcc_rx_clk" },
7588c2ecf20Sopenharmony_ci	{ .hw = &ubi32_pll.clkr.hw },
7598c2ecf20Sopenharmony_ci	{ .fw_name = "bias_pll_cc_clk" },
7608c2ecf20Sopenharmony_ci};
7618c2ecf20Sopenharmony_ci
7628c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_uniphy0_tx_rx_ubi32_bias_map[] = {
7638c2ecf20Sopenharmony_ci	{ P_XO, 0 },
7648c2ecf20Sopenharmony_ci	{ P_UNIPHY0_TX, 1 },
7658c2ecf20Sopenharmony_ci	{ P_UNIPHY0_RX, 2 },
7668c2ecf20Sopenharmony_ci	{ P_UBI32_PLL, 5 },
7678c2ecf20Sopenharmony_ci	{ P_BIAS_PLL, 6 },
7688c2ecf20Sopenharmony_ci};
7698c2ecf20Sopenharmony_ci
7708c2ecf20Sopenharmony_cistatic struct clk_rcg2 nss_port1_tx_clk_src = {
7718c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x68028,
7728c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_nss_port1_tx_clk_src,
7738c2ecf20Sopenharmony_ci	.hid_width = 5,
7748c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_uniphy0_tx_rx_ubi32_bias_map,
7758c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
7768c2ecf20Sopenharmony_ci		.name = "nss_port1_tx_clk_src",
7778c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_uniphy0_tx_rx_ubi32_bias,
7788c2ecf20Sopenharmony_ci		.num_parents = 5,
7798c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
7808c2ecf20Sopenharmony_ci	},
7818c2ecf20Sopenharmony_ci};
7828c2ecf20Sopenharmony_ci
7838c2ecf20Sopenharmony_cistatic struct clk_rcg2 nss_port2_rx_clk_src = {
7848c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x68030,
7858c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_nss_port1_rx_clk_src,
7868c2ecf20Sopenharmony_ci	.hid_width = 5,
7878c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_uniphy0_rx_tx_ubi32_bias_map,
7888c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
7898c2ecf20Sopenharmony_ci		.name = "nss_port2_rx_clk_src",
7908c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_uniphy0_rx_tx_ubi32_bias,
7918c2ecf20Sopenharmony_ci		.num_parents = 5,
7928c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
7938c2ecf20Sopenharmony_ci	},
7948c2ecf20Sopenharmony_ci};
7958c2ecf20Sopenharmony_ci
7968c2ecf20Sopenharmony_cistatic struct clk_rcg2 nss_port2_tx_clk_src = {
7978c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x68038,
7988c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_nss_port1_tx_clk_src,
7998c2ecf20Sopenharmony_ci	.hid_width = 5,
8008c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_uniphy0_tx_rx_ubi32_bias_map,
8018c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
8028c2ecf20Sopenharmony_ci		.name = "nss_port2_tx_clk_src",
8038c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_uniphy0_tx_rx_ubi32_bias,
8048c2ecf20Sopenharmony_ci		.num_parents = 5,
8058c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
8068c2ecf20Sopenharmony_ci	},
8078c2ecf20Sopenharmony_ci};
8088c2ecf20Sopenharmony_ci
8098c2ecf20Sopenharmony_cistatic struct clk_rcg2 nss_port3_rx_clk_src = {
8108c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x68040,
8118c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_nss_port1_rx_clk_src,
8128c2ecf20Sopenharmony_ci	.hid_width = 5,
8138c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_uniphy0_rx_tx_ubi32_bias_map,
8148c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
8158c2ecf20Sopenharmony_ci		.name = "nss_port3_rx_clk_src",
8168c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_uniphy0_rx_tx_ubi32_bias,
8178c2ecf20Sopenharmony_ci		.num_parents = 5,
8188c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
8198c2ecf20Sopenharmony_ci	},
8208c2ecf20Sopenharmony_ci};
8218c2ecf20Sopenharmony_ci
8228c2ecf20Sopenharmony_cistatic struct clk_rcg2 nss_port3_tx_clk_src = {
8238c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x68048,
8248c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_nss_port1_tx_clk_src,
8258c2ecf20Sopenharmony_ci	.hid_width = 5,
8268c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_uniphy0_tx_rx_ubi32_bias_map,
8278c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
8288c2ecf20Sopenharmony_ci		.name = "nss_port3_tx_clk_src",
8298c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_uniphy0_tx_rx_ubi32_bias,
8308c2ecf20Sopenharmony_ci		.num_parents = 5,
8318c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
8328c2ecf20Sopenharmony_ci	},
8338c2ecf20Sopenharmony_ci};
8348c2ecf20Sopenharmony_ci
8358c2ecf20Sopenharmony_cistatic struct clk_rcg2 nss_port4_rx_clk_src = {
8368c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x68050,
8378c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_nss_port1_rx_clk_src,
8388c2ecf20Sopenharmony_ci	.hid_width = 5,
8398c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_uniphy0_rx_tx_ubi32_bias_map,
8408c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
8418c2ecf20Sopenharmony_ci		.name = "nss_port4_rx_clk_src",
8428c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_uniphy0_rx_tx_ubi32_bias,
8438c2ecf20Sopenharmony_ci		.num_parents = 5,
8448c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
8458c2ecf20Sopenharmony_ci	},
8468c2ecf20Sopenharmony_ci};
8478c2ecf20Sopenharmony_ci
8488c2ecf20Sopenharmony_cistatic struct clk_rcg2 nss_port4_tx_clk_src = {
8498c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x68058,
8508c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_nss_port1_tx_clk_src,
8518c2ecf20Sopenharmony_ci	.hid_width = 5,
8528c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_uniphy0_tx_rx_ubi32_bias_map,
8538c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
8548c2ecf20Sopenharmony_ci		.name = "nss_port4_tx_clk_src",
8558c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_uniphy0_tx_rx_ubi32_bias,
8568c2ecf20Sopenharmony_ci		.num_parents = 5,
8578c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
8588c2ecf20Sopenharmony_ci	},
8598c2ecf20Sopenharmony_ci};
8608c2ecf20Sopenharmony_ci
8618c2ecf20Sopenharmony_cistatic struct clk_regmap_div nss_port5_rx_div_clk_src = {
8628c2ecf20Sopenharmony_ci	.reg = 0x68440,
8638c2ecf20Sopenharmony_ci	.shift = 0,
8648c2ecf20Sopenharmony_ci	.width = 4,
8658c2ecf20Sopenharmony_ci	.clkr = {
8668c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
8678c2ecf20Sopenharmony_ci			.name = "nss_port5_rx_div_clk_src",
8688c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
8698c2ecf20Sopenharmony_ci					&nss_port5_rx_clk_src.clkr.hw },
8708c2ecf20Sopenharmony_ci			.num_parents = 1,
8718c2ecf20Sopenharmony_ci			.ops = &clk_regmap_div_ops,
8728c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
8738c2ecf20Sopenharmony_ci		},
8748c2ecf20Sopenharmony_ci	},
8758c2ecf20Sopenharmony_ci};
8768c2ecf20Sopenharmony_ci
8778c2ecf20Sopenharmony_cistatic struct clk_regmap_div nss_port5_tx_div_clk_src = {
8788c2ecf20Sopenharmony_ci	.reg = 0x68444,
8798c2ecf20Sopenharmony_ci	.shift = 0,
8808c2ecf20Sopenharmony_ci	.width = 4,
8818c2ecf20Sopenharmony_ci	.clkr = {
8828c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
8838c2ecf20Sopenharmony_ci			.name = "nss_port5_tx_div_clk_src",
8848c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
8858c2ecf20Sopenharmony_ci					&nss_port5_tx_clk_src.clkr.hw },
8868c2ecf20Sopenharmony_ci			.num_parents = 1,
8878c2ecf20Sopenharmony_ci			.ops = &clk_regmap_div_ops,
8888c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
8898c2ecf20Sopenharmony_ci		},
8908c2ecf20Sopenharmony_ci	},
8918c2ecf20Sopenharmony_ci};
8928c2ecf20Sopenharmony_ci
8938c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_apss_axi_clk_src[] = {
8948c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
8958c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0_DIV2, 4, 0, 0),
8968c2ecf20Sopenharmony_ci	F(200000000, P_GPLL0, 4, 0, 0),
8978c2ecf20Sopenharmony_ci	F(308570000, P_GPLL6, 3.5, 0, 0),
8988c2ecf20Sopenharmony_ci	F(400000000, P_GPLL0, 2, 0, 0),
8998c2ecf20Sopenharmony_ci	F(533000000, P_GPLL0, 1.5, 0, 0),
9008c2ecf20Sopenharmony_ci	{ }
9018c2ecf20Sopenharmony_ci};
9028c2ecf20Sopenharmony_ci
9038c2ecf20Sopenharmony_cistatic const struct clk_parent_data gcc_xo_gpll0_gpll6_ubi32_gpll0_div2[] = {
9048c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
9058c2ecf20Sopenharmony_ci	{ .hw = &gpll0.clkr.hw },
9068c2ecf20Sopenharmony_ci	{ .hw = &gpll6.clkr.hw },
9078c2ecf20Sopenharmony_ci	{ .hw = &ubi32_pll.clkr.hw },
9088c2ecf20Sopenharmony_ci	{ .hw = &gpll0_out_main_div2.hw },
9098c2ecf20Sopenharmony_ci};
9108c2ecf20Sopenharmony_ci
9118c2ecf20Sopenharmony_cistatic const struct parent_map
9128c2ecf20Sopenharmony_cigcc_xo_gpll0_gpll6_ubi32_gpll0_div2_map[] = {
9138c2ecf20Sopenharmony_ci	{ P_XO, 0 },
9148c2ecf20Sopenharmony_ci	{ P_GPLL0, 1 },
9158c2ecf20Sopenharmony_ci	{ P_GPLL6, 2 },
9168c2ecf20Sopenharmony_ci	{ P_UBI32_PLL, 3 },
9178c2ecf20Sopenharmony_ci	{ P_GPLL0_DIV2, 6 },
9188c2ecf20Sopenharmony_ci};
9198c2ecf20Sopenharmony_ci
9208c2ecf20Sopenharmony_cistatic struct clk_rcg2 apss_axi_clk_src = {
9218c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x38048,
9228c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_apss_axi_clk_src,
9238c2ecf20Sopenharmony_ci	.hid_width = 5,
9248c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll6_ubi32_gpll0_div2_map,
9258c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
9268c2ecf20Sopenharmony_ci		.name = "apss_axi_clk_src",
9278c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll6_ubi32_gpll0_div2,
9288c2ecf20Sopenharmony_ci		.num_parents = 5,
9298c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
9308c2ecf20Sopenharmony_ci	},
9318c2ecf20Sopenharmony_ci};
9328c2ecf20Sopenharmony_ci
9338c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_nss_crypto_clk_src[] = {
9348c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
9358c2ecf20Sopenharmony_ci	F(300000000, P_NSS_CRYPTO_PLL, 2, 0, 0),
9368c2ecf20Sopenharmony_ci	{ }
9378c2ecf20Sopenharmony_ci};
9388c2ecf20Sopenharmony_ci
9398c2ecf20Sopenharmony_cistatic const struct clk_parent_data gcc_xo_nss_crypto_pll_gpll0[] = {
9408c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
9418c2ecf20Sopenharmony_ci	{ .hw = &nss_crypto_pll.clkr.hw },
9428c2ecf20Sopenharmony_ci	{ .hw = &gpll0.clkr.hw },
9438c2ecf20Sopenharmony_ci};
9448c2ecf20Sopenharmony_ci
9458c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_nss_crypto_pll_gpll0_map[] = {
9468c2ecf20Sopenharmony_ci	{ P_XO, 0 },
9478c2ecf20Sopenharmony_ci	{ P_NSS_CRYPTO_PLL, 1 },
9488c2ecf20Sopenharmony_ci	{ P_GPLL0, 2 },
9498c2ecf20Sopenharmony_ci};
9508c2ecf20Sopenharmony_ci
9518c2ecf20Sopenharmony_cistatic struct clk_rcg2 nss_crypto_clk_src = {
9528c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x68144,
9538c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_nss_crypto_clk_src,
9548c2ecf20Sopenharmony_ci	.mnd_width = 16,
9558c2ecf20Sopenharmony_ci	.hid_width = 5,
9568c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_nss_crypto_pll_gpll0_map,
9578c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
9588c2ecf20Sopenharmony_ci		.name = "nss_crypto_clk_src",
9598c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_nss_crypto_pll_gpll0,
9608c2ecf20Sopenharmony_ci		.num_parents = 3,
9618c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
9628c2ecf20Sopenharmony_ci	},
9638c2ecf20Sopenharmony_ci};
9648c2ecf20Sopenharmony_ci
9658c2ecf20Sopenharmony_cistatic struct clk_regmap_div nss_port1_rx_div_clk_src = {
9668c2ecf20Sopenharmony_ci	.reg = 0x68400,
9678c2ecf20Sopenharmony_ci	.shift = 0,
9688c2ecf20Sopenharmony_ci	.width = 4,
9698c2ecf20Sopenharmony_ci	.clkr = {
9708c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
9718c2ecf20Sopenharmony_ci			.name = "nss_port1_rx_div_clk_src",
9728c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
9738c2ecf20Sopenharmony_ci				&nss_port1_rx_clk_src.clkr.hw },
9748c2ecf20Sopenharmony_ci			.num_parents = 1,
9758c2ecf20Sopenharmony_ci			.ops = &clk_regmap_div_ops,
9768c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
9778c2ecf20Sopenharmony_ci		},
9788c2ecf20Sopenharmony_ci	},
9798c2ecf20Sopenharmony_ci};
9808c2ecf20Sopenharmony_ci
9818c2ecf20Sopenharmony_cistatic struct clk_regmap_div nss_port1_tx_div_clk_src = {
9828c2ecf20Sopenharmony_ci	.reg = 0x68404,
9838c2ecf20Sopenharmony_ci	.shift = 0,
9848c2ecf20Sopenharmony_ci	.width = 4,
9858c2ecf20Sopenharmony_ci	.clkr = {
9868c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
9878c2ecf20Sopenharmony_ci			.name = "nss_port1_tx_div_clk_src",
9888c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
9898c2ecf20Sopenharmony_ci					&nss_port1_tx_clk_src.clkr.hw },
9908c2ecf20Sopenharmony_ci			.num_parents = 1,
9918c2ecf20Sopenharmony_ci			.ops = &clk_regmap_div_ops,
9928c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
9938c2ecf20Sopenharmony_ci		},
9948c2ecf20Sopenharmony_ci	},
9958c2ecf20Sopenharmony_ci};
9968c2ecf20Sopenharmony_ci
9978c2ecf20Sopenharmony_cistatic struct clk_regmap_div nss_port2_rx_div_clk_src = {
9988c2ecf20Sopenharmony_ci	.reg = 0x68410,
9998c2ecf20Sopenharmony_ci	.shift = 0,
10008c2ecf20Sopenharmony_ci	.width = 4,
10018c2ecf20Sopenharmony_ci	.clkr = {
10028c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
10038c2ecf20Sopenharmony_ci			.name = "nss_port2_rx_div_clk_src",
10048c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
10058c2ecf20Sopenharmony_ci					&nss_port2_rx_clk_src.clkr.hw },
10068c2ecf20Sopenharmony_ci			.num_parents = 1,
10078c2ecf20Sopenharmony_ci			.ops = &clk_regmap_div_ops,
10088c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
10098c2ecf20Sopenharmony_ci		},
10108c2ecf20Sopenharmony_ci	},
10118c2ecf20Sopenharmony_ci};
10128c2ecf20Sopenharmony_ci
10138c2ecf20Sopenharmony_cistatic struct clk_regmap_div nss_port2_tx_div_clk_src = {
10148c2ecf20Sopenharmony_ci	.reg = 0x68414,
10158c2ecf20Sopenharmony_ci	.shift = 0,
10168c2ecf20Sopenharmony_ci	.width = 4,
10178c2ecf20Sopenharmony_ci	.clkr = {
10188c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
10198c2ecf20Sopenharmony_ci			.name = "nss_port2_tx_div_clk_src",
10208c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
10218c2ecf20Sopenharmony_ci					&nss_port2_tx_clk_src.clkr.hw },
10228c2ecf20Sopenharmony_ci			.num_parents = 1,
10238c2ecf20Sopenharmony_ci			.ops = &clk_regmap_div_ops,
10248c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
10258c2ecf20Sopenharmony_ci		},
10268c2ecf20Sopenharmony_ci	},
10278c2ecf20Sopenharmony_ci};
10288c2ecf20Sopenharmony_ci
10298c2ecf20Sopenharmony_cistatic struct clk_regmap_div nss_port3_rx_div_clk_src = {
10308c2ecf20Sopenharmony_ci	.reg = 0x68420,
10318c2ecf20Sopenharmony_ci	.shift = 0,
10328c2ecf20Sopenharmony_ci	.width = 4,
10338c2ecf20Sopenharmony_ci	.clkr = {
10348c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
10358c2ecf20Sopenharmony_ci			.name = "nss_port3_rx_div_clk_src",
10368c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
10378c2ecf20Sopenharmony_ci					&nss_port3_rx_clk_src.clkr.hw },
10388c2ecf20Sopenharmony_ci			.num_parents = 1,
10398c2ecf20Sopenharmony_ci			.ops = &clk_regmap_div_ops,
10408c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
10418c2ecf20Sopenharmony_ci		},
10428c2ecf20Sopenharmony_ci	},
10438c2ecf20Sopenharmony_ci};
10448c2ecf20Sopenharmony_ci
10458c2ecf20Sopenharmony_cistatic struct clk_regmap_div nss_port3_tx_div_clk_src = {
10468c2ecf20Sopenharmony_ci	.reg = 0x68424,
10478c2ecf20Sopenharmony_ci	.shift = 0,
10488c2ecf20Sopenharmony_ci	.width = 4,
10498c2ecf20Sopenharmony_ci	.clkr = {
10508c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
10518c2ecf20Sopenharmony_ci			.name = "nss_port3_tx_div_clk_src",
10528c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
10538c2ecf20Sopenharmony_ci					&nss_port3_tx_clk_src.clkr.hw },
10548c2ecf20Sopenharmony_ci			.num_parents = 1,
10558c2ecf20Sopenharmony_ci			.ops = &clk_regmap_div_ops,
10568c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
10578c2ecf20Sopenharmony_ci		},
10588c2ecf20Sopenharmony_ci	},
10598c2ecf20Sopenharmony_ci};
10608c2ecf20Sopenharmony_ci
10618c2ecf20Sopenharmony_cistatic struct clk_regmap_div nss_port4_rx_div_clk_src = {
10628c2ecf20Sopenharmony_ci	.reg = 0x68430,
10638c2ecf20Sopenharmony_ci	.shift = 0,
10648c2ecf20Sopenharmony_ci	.width = 4,
10658c2ecf20Sopenharmony_ci	.clkr = {
10668c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
10678c2ecf20Sopenharmony_ci			.name = "nss_port4_rx_div_clk_src",
10688c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
10698c2ecf20Sopenharmony_ci					&nss_port4_rx_clk_src.clkr.hw },
10708c2ecf20Sopenharmony_ci			.num_parents = 1,
10718c2ecf20Sopenharmony_ci			.ops = &clk_regmap_div_ops,
10728c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
10738c2ecf20Sopenharmony_ci		},
10748c2ecf20Sopenharmony_ci	},
10758c2ecf20Sopenharmony_ci};
10768c2ecf20Sopenharmony_ci
10778c2ecf20Sopenharmony_cistatic struct clk_regmap_div nss_port4_tx_div_clk_src = {
10788c2ecf20Sopenharmony_ci	.reg = 0x68434,
10798c2ecf20Sopenharmony_ci	.shift = 0,
10808c2ecf20Sopenharmony_ci	.width = 4,
10818c2ecf20Sopenharmony_ci	.clkr = {
10828c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
10838c2ecf20Sopenharmony_ci			.name = "nss_port4_tx_div_clk_src",
10848c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
10858c2ecf20Sopenharmony_ci					&nss_port4_tx_clk_src.clkr.hw },
10868c2ecf20Sopenharmony_ci			.num_parents = 1,
10878c2ecf20Sopenharmony_ci			.ops = &clk_regmap_div_ops,
10888c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
10898c2ecf20Sopenharmony_ci		},
10908c2ecf20Sopenharmony_ci	},
10918c2ecf20Sopenharmony_ci};
10928c2ecf20Sopenharmony_ci
10938c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_nss_ubi_clk_src[] = {
10948c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
10958c2ecf20Sopenharmony_ci	F(149760000, P_UBI32_PLL, 10, 0, 0),
10968c2ecf20Sopenharmony_ci	F(187200000, P_UBI32_PLL, 8, 0, 0),
10978c2ecf20Sopenharmony_ci	F(249600000, P_UBI32_PLL, 6, 0, 0),
10988c2ecf20Sopenharmony_ci	F(374400000, P_UBI32_PLL, 4, 0, 0),
10998c2ecf20Sopenharmony_ci	F(748800000, P_UBI32_PLL, 2, 0, 0),
11008c2ecf20Sopenharmony_ci	F(1497600000, P_UBI32_PLL, 1, 0, 0),
11018c2ecf20Sopenharmony_ci	{ }
11028c2ecf20Sopenharmony_ci};
11038c2ecf20Sopenharmony_ci
11048c2ecf20Sopenharmony_cistatic const struct clk_parent_data
11058c2ecf20Sopenharmony_ci			gcc_xo_ubi32_pll_gpll0_gpll2_gpll4_gpll6[] = {
11068c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
11078c2ecf20Sopenharmony_ci	{ .hw = &ubi32_pll.clkr.hw },
11088c2ecf20Sopenharmony_ci	{ .hw = &gpll0.clkr.hw },
11098c2ecf20Sopenharmony_ci	{ .hw = &gpll2.clkr.hw },
11108c2ecf20Sopenharmony_ci	{ .hw = &gpll4.clkr.hw },
11118c2ecf20Sopenharmony_ci	{ .hw = &gpll6.clkr.hw },
11128c2ecf20Sopenharmony_ci};
11138c2ecf20Sopenharmony_ci
11148c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_ubi32_gpll0_gpll2_gpll4_gpll6_map[] = {
11158c2ecf20Sopenharmony_ci	{ P_XO, 0 },
11168c2ecf20Sopenharmony_ci	{ P_UBI32_PLL, 1 },
11178c2ecf20Sopenharmony_ci	{ P_GPLL0, 2 },
11188c2ecf20Sopenharmony_ci	{ P_GPLL2, 3 },
11198c2ecf20Sopenharmony_ci	{ P_GPLL4, 4 },
11208c2ecf20Sopenharmony_ci	{ P_GPLL6, 5 },
11218c2ecf20Sopenharmony_ci};
11228c2ecf20Sopenharmony_ci
11238c2ecf20Sopenharmony_cistatic struct clk_rcg2 nss_ubi0_clk_src = {
11248c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x68104,
11258c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_nss_ubi_clk_src,
11268c2ecf20Sopenharmony_ci	.hid_width = 5,
11278c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_ubi32_gpll0_gpll2_gpll4_gpll6_map,
11288c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
11298c2ecf20Sopenharmony_ci		.name = "nss_ubi0_clk_src",
11308c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_ubi32_pll_gpll0_gpll2_gpll4_gpll6,
11318c2ecf20Sopenharmony_ci		.num_parents = 6,
11328c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
11338c2ecf20Sopenharmony_ci		.flags = CLK_SET_RATE_PARENT,
11348c2ecf20Sopenharmony_ci	},
11358c2ecf20Sopenharmony_ci};
11368c2ecf20Sopenharmony_ci
11378c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_adss_pwm_clk_src[] = {
11388c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
11398c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
11408c2ecf20Sopenharmony_ci	{ }
11418c2ecf20Sopenharmony_ci};
11428c2ecf20Sopenharmony_ci
11438c2ecf20Sopenharmony_cistatic struct clk_rcg2 adss_pwm_clk_src = {
11448c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x1c008,
11458c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_adss_pwm_clk_src,
11468c2ecf20Sopenharmony_ci	.hid_width = 5,
11478c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
11488c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
11498c2ecf20Sopenharmony_ci		.name = "adss_pwm_clk_src",
11508c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0,
11518c2ecf20Sopenharmony_ci		.num_parents = 2,
11528c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
11538c2ecf20Sopenharmony_ci	},
11548c2ecf20Sopenharmony_ci};
11558c2ecf20Sopenharmony_ci
11568c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_blsp1_qup_i2c_apps_clk_src[] = {
11578c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
11588c2ecf20Sopenharmony_ci	F(25000000, P_GPLL0_DIV2, 16, 0, 0),
11598c2ecf20Sopenharmony_ci	F(50000000, P_GPLL0, 16, 0, 0),
11608c2ecf20Sopenharmony_ci	{ }
11618c2ecf20Sopenharmony_ci};
11628c2ecf20Sopenharmony_ci
11638c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup1_i2c_apps_clk_src = {
11648c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x0200c,
11658c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_blsp1_qup_i2c_apps_clk_src,
11668c2ecf20Sopenharmony_ci	.hid_width = 5,
11678c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
11688c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
11698c2ecf20Sopenharmony_ci		.name = "blsp1_qup1_i2c_apps_clk_src",
11708c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
11718c2ecf20Sopenharmony_ci		.num_parents = 3,
11728c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
11738c2ecf20Sopenharmony_ci	},
11748c2ecf20Sopenharmony_ci};
11758c2ecf20Sopenharmony_ci
11768c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_blsp1_qup_spi_apps_clk_src[] = {
11778c2ecf20Sopenharmony_ci	F(960000, P_XO, 10, 2, 5),
11788c2ecf20Sopenharmony_ci	F(4800000, P_XO, 5, 0, 0),
11798c2ecf20Sopenharmony_ci	F(9600000, P_XO, 2, 4, 5),
11808c2ecf20Sopenharmony_ci	F(12500000, P_GPLL0_DIV2, 16, 1, 2),
11818c2ecf20Sopenharmony_ci	F(16000000, P_GPLL0, 10, 1, 5),
11828c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
11838c2ecf20Sopenharmony_ci	F(25000000, P_GPLL0, 16, 1, 2),
11848c2ecf20Sopenharmony_ci	F(50000000, P_GPLL0, 16, 0, 0),
11858c2ecf20Sopenharmony_ci	{ }
11868c2ecf20Sopenharmony_ci};
11878c2ecf20Sopenharmony_ci
11888c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup1_spi_apps_clk_src = {
11898c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x02024,
11908c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_blsp1_qup_spi_apps_clk_src,
11918c2ecf20Sopenharmony_ci	.mnd_width = 8,
11928c2ecf20Sopenharmony_ci	.hid_width = 5,
11938c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
11948c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
11958c2ecf20Sopenharmony_ci		.name = "blsp1_qup1_spi_apps_clk_src",
11968c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
11978c2ecf20Sopenharmony_ci		.num_parents = 3,
11988c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
11998c2ecf20Sopenharmony_ci	},
12008c2ecf20Sopenharmony_ci};
12018c2ecf20Sopenharmony_ci
12028c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup2_i2c_apps_clk_src = {
12038c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x03000,
12048c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_blsp1_qup_i2c_apps_clk_src,
12058c2ecf20Sopenharmony_ci	.hid_width = 5,
12068c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
12078c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
12088c2ecf20Sopenharmony_ci		.name = "blsp1_qup2_i2c_apps_clk_src",
12098c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
12108c2ecf20Sopenharmony_ci		.num_parents = 3,
12118c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
12128c2ecf20Sopenharmony_ci	},
12138c2ecf20Sopenharmony_ci};
12148c2ecf20Sopenharmony_ci
12158c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup2_spi_apps_clk_src = {
12168c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x03014,
12178c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_blsp1_qup_spi_apps_clk_src,
12188c2ecf20Sopenharmony_ci	.mnd_width = 8,
12198c2ecf20Sopenharmony_ci	.hid_width = 5,
12208c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
12218c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
12228c2ecf20Sopenharmony_ci		.name = "blsp1_qup2_spi_apps_clk_src",
12238c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
12248c2ecf20Sopenharmony_ci		.num_parents = 3,
12258c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
12268c2ecf20Sopenharmony_ci	},
12278c2ecf20Sopenharmony_ci};
12288c2ecf20Sopenharmony_ci
12298c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup3_i2c_apps_clk_src = {
12308c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x04000,
12318c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_blsp1_qup_i2c_apps_clk_src,
12328c2ecf20Sopenharmony_ci	.hid_width = 5,
12338c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
12348c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
12358c2ecf20Sopenharmony_ci		.name = "blsp1_qup3_i2c_apps_clk_src",
12368c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
12378c2ecf20Sopenharmony_ci		.num_parents = 3,
12388c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
12398c2ecf20Sopenharmony_ci	},
12408c2ecf20Sopenharmony_ci};
12418c2ecf20Sopenharmony_ci
12428c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup3_spi_apps_clk_src = {
12438c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x04014,
12448c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_blsp1_qup_spi_apps_clk_src,
12458c2ecf20Sopenharmony_ci	.mnd_width = 8,
12468c2ecf20Sopenharmony_ci	.hid_width = 5,
12478c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
12488c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
12498c2ecf20Sopenharmony_ci		.name = "blsp1_qup3_spi_apps_clk_src",
12508c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
12518c2ecf20Sopenharmony_ci		.num_parents = 3,
12528c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
12538c2ecf20Sopenharmony_ci	},
12548c2ecf20Sopenharmony_ci};
12558c2ecf20Sopenharmony_ci
12568c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup4_i2c_apps_clk_src = {
12578c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x05000,
12588c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_blsp1_qup_i2c_apps_clk_src,
12598c2ecf20Sopenharmony_ci	.hid_width = 5,
12608c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
12618c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
12628c2ecf20Sopenharmony_ci		.name = "blsp1_qup4_i2c_apps_clk_src",
12638c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
12648c2ecf20Sopenharmony_ci		.num_parents = 3,
12658c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
12668c2ecf20Sopenharmony_ci	},
12678c2ecf20Sopenharmony_ci};
12688c2ecf20Sopenharmony_ci
12698c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup4_spi_apps_clk_src = {
12708c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x05014,
12718c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_blsp1_qup_spi_apps_clk_src,
12728c2ecf20Sopenharmony_ci	.mnd_width = 8,
12738c2ecf20Sopenharmony_ci	.hid_width = 5,
12748c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
12758c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
12768c2ecf20Sopenharmony_ci		.name = "blsp1_qup4_spi_apps_clk_src",
12778c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
12788c2ecf20Sopenharmony_ci		.num_parents = 3,
12798c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
12808c2ecf20Sopenharmony_ci	},
12818c2ecf20Sopenharmony_ci};
12828c2ecf20Sopenharmony_ci
12838c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup5_i2c_apps_clk_src = {
12848c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x06000,
12858c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_blsp1_qup_i2c_apps_clk_src,
12868c2ecf20Sopenharmony_ci	.hid_width = 5,
12878c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
12888c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
12898c2ecf20Sopenharmony_ci		.name = "blsp1_qup5_i2c_apps_clk_src",
12908c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
12918c2ecf20Sopenharmony_ci		.num_parents = 3,
12928c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
12938c2ecf20Sopenharmony_ci	},
12948c2ecf20Sopenharmony_ci};
12958c2ecf20Sopenharmony_ci
12968c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup5_spi_apps_clk_src = {
12978c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x06014,
12988c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_blsp1_qup_spi_apps_clk_src,
12998c2ecf20Sopenharmony_ci	.mnd_width = 8,
13008c2ecf20Sopenharmony_ci	.hid_width = 5,
13018c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
13028c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
13038c2ecf20Sopenharmony_ci		.name = "blsp1_qup5_spi_apps_clk_src",
13048c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
13058c2ecf20Sopenharmony_ci		.num_parents = 3,
13068c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
13078c2ecf20Sopenharmony_ci	},
13088c2ecf20Sopenharmony_ci};
13098c2ecf20Sopenharmony_ci
13108c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup6_i2c_apps_clk_src = {
13118c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x07000,
13128c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_blsp1_qup_i2c_apps_clk_src,
13138c2ecf20Sopenharmony_ci	.hid_width = 5,
13148c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
13158c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
13168c2ecf20Sopenharmony_ci		.name = "blsp1_qup6_i2c_apps_clk_src",
13178c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
13188c2ecf20Sopenharmony_ci		.num_parents = 3,
13198c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
13208c2ecf20Sopenharmony_ci	},
13218c2ecf20Sopenharmony_ci};
13228c2ecf20Sopenharmony_ci
13238c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup6_spi_apps_clk_src = {
13248c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x07014,
13258c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_blsp1_qup_spi_apps_clk_src,
13268c2ecf20Sopenharmony_ci	.mnd_width = 8,
13278c2ecf20Sopenharmony_ci	.hid_width = 5,
13288c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
13298c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
13308c2ecf20Sopenharmony_ci		.name = "blsp1_qup6_spi_apps_clk_src",
13318c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
13328c2ecf20Sopenharmony_ci		.num_parents = 3,
13338c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
13348c2ecf20Sopenharmony_ci	},
13358c2ecf20Sopenharmony_ci};
13368c2ecf20Sopenharmony_ci
13378c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_blsp1_uart_apps_clk_src[] = {
13388c2ecf20Sopenharmony_ci	F(3686400, P_GPLL0_DIV2, 1, 144, 15625),
13398c2ecf20Sopenharmony_ci	F(7372800, P_GPLL0_DIV2, 1, 288, 15625),
13408c2ecf20Sopenharmony_ci	F(14745600, P_GPLL0_DIV2, 1, 576, 15625),
13418c2ecf20Sopenharmony_ci	F(16000000, P_GPLL0_DIV2, 5, 1, 5),
13428c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
13438c2ecf20Sopenharmony_ci	F(24000000, P_GPLL0, 1, 3, 100),
13448c2ecf20Sopenharmony_ci	F(25000000, P_GPLL0, 16, 1, 2),
13458c2ecf20Sopenharmony_ci	F(32000000, P_GPLL0, 1, 1, 25),
13468c2ecf20Sopenharmony_ci	F(40000000, P_GPLL0, 1, 1, 20),
13478c2ecf20Sopenharmony_ci	F(46400000, P_GPLL0, 1, 29, 500),
13488c2ecf20Sopenharmony_ci	F(48000000, P_GPLL0, 1, 3, 50),
13498c2ecf20Sopenharmony_ci	F(51200000, P_GPLL0, 1, 8, 125),
13508c2ecf20Sopenharmony_ci	F(56000000, P_GPLL0, 1, 7, 100),
13518c2ecf20Sopenharmony_ci	F(58982400, P_GPLL0, 1, 1152, 15625),
13528c2ecf20Sopenharmony_ci	F(60000000, P_GPLL0, 1, 3, 40),
13538c2ecf20Sopenharmony_ci	F(64000000, P_GPLL0, 12.5, 1, 1),
13548c2ecf20Sopenharmony_ci	{ }
13558c2ecf20Sopenharmony_ci};
13568c2ecf20Sopenharmony_ci
13578c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_uart1_apps_clk_src = {
13588c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x02044,
13598c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_blsp1_uart_apps_clk_src,
13608c2ecf20Sopenharmony_ci	.mnd_width = 16,
13618c2ecf20Sopenharmony_ci	.hid_width = 5,
13628c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
13638c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
13648c2ecf20Sopenharmony_ci		.name = "blsp1_uart1_apps_clk_src",
13658c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
13668c2ecf20Sopenharmony_ci		.num_parents = 3,
13678c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
13688c2ecf20Sopenharmony_ci	},
13698c2ecf20Sopenharmony_ci};
13708c2ecf20Sopenharmony_ci
13718c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_uart2_apps_clk_src = {
13728c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x03034,
13738c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_blsp1_uart_apps_clk_src,
13748c2ecf20Sopenharmony_ci	.mnd_width = 16,
13758c2ecf20Sopenharmony_ci	.hid_width = 5,
13768c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
13778c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
13788c2ecf20Sopenharmony_ci		.name = "blsp1_uart2_apps_clk_src",
13798c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
13808c2ecf20Sopenharmony_ci		.num_parents = 3,
13818c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
13828c2ecf20Sopenharmony_ci	},
13838c2ecf20Sopenharmony_ci};
13848c2ecf20Sopenharmony_ci
13858c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_uart3_apps_clk_src = {
13868c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x04034,
13878c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_blsp1_uart_apps_clk_src,
13888c2ecf20Sopenharmony_ci	.mnd_width = 16,
13898c2ecf20Sopenharmony_ci	.hid_width = 5,
13908c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
13918c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
13928c2ecf20Sopenharmony_ci		.name = "blsp1_uart3_apps_clk_src",
13938c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
13948c2ecf20Sopenharmony_ci		.num_parents = 3,
13958c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
13968c2ecf20Sopenharmony_ci	},
13978c2ecf20Sopenharmony_ci};
13988c2ecf20Sopenharmony_ci
13998c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_uart4_apps_clk_src = {
14008c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x05034,
14018c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_blsp1_uart_apps_clk_src,
14028c2ecf20Sopenharmony_ci	.mnd_width = 16,
14038c2ecf20Sopenharmony_ci	.hid_width = 5,
14048c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
14058c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
14068c2ecf20Sopenharmony_ci		.name = "blsp1_uart4_apps_clk_src",
14078c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
14088c2ecf20Sopenharmony_ci		.num_parents = 3,
14098c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
14108c2ecf20Sopenharmony_ci	},
14118c2ecf20Sopenharmony_ci};
14128c2ecf20Sopenharmony_ci
14138c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_uart5_apps_clk_src = {
14148c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x06034,
14158c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_blsp1_uart_apps_clk_src,
14168c2ecf20Sopenharmony_ci	.mnd_width = 16,
14178c2ecf20Sopenharmony_ci	.hid_width = 5,
14188c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
14198c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
14208c2ecf20Sopenharmony_ci		.name = "blsp1_uart5_apps_clk_src",
14218c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
14228c2ecf20Sopenharmony_ci		.num_parents = 3,
14238c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
14248c2ecf20Sopenharmony_ci	},
14258c2ecf20Sopenharmony_ci};
14268c2ecf20Sopenharmony_ci
14278c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_uart6_apps_clk_src = {
14288c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x07034,
14298c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_blsp1_uart_apps_clk_src,
14308c2ecf20Sopenharmony_ci	.mnd_width = 16,
14318c2ecf20Sopenharmony_ci	.hid_width = 5,
14328c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
14338c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
14348c2ecf20Sopenharmony_ci		.name = "blsp1_uart6_apps_clk_src",
14358c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
14368c2ecf20Sopenharmony_ci		.num_parents = 3,
14378c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
14388c2ecf20Sopenharmony_ci	},
14398c2ecf20Sopenharmony_ci};
14408c2ecf20Sopenharmony_ci
14418c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_crypto_clk_src[] = {
14428c2ecf20Sopenharmony_ci	F(40000000, P_GPLL0_DIV2, 10, 0, 0),
14438c2ecf20Sopenharmony_ci	F(80000000, P_GPLL0, 10, 0, 0),
14448c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
14458c2ecf20Sopenharmony_ci	F(160000000, P_GPLL0, 5, 0, 0),
14468c2ecf20Sopenharmony_ci	{ }
14478c2ecf20Sopenharmony_ci};
14488c2ecf20Sopenharmony_ci
14498c2ecf20Sopenharmony_cistatic struct clk_rcg2 crypto_clk_src = {
14508c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x16004,
14518c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_crypto_clk_src,
14528c2ecf20Sopenharmony_ci	.hid_width = 5,
14538c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
14548c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
14558c2ecf20Sopenharmony_ci		.name = "crypto_clk_src",
14568c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
14578c2ecf20Sopenharmony_ci		.num_parents = 3,
14588c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
14598c2ecf20Sopenharmony_ci	},
14608c2ecf20Sopenharmony_ci};
14618c2ecf20Sopenharmony_ci
14628c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gp_clk_src[] = {
14638c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
14648c2ecf20Sopenharmony_ci	F(50000000, P_GPLL0_DIV2, 8, 0, 0),
14658c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
14668c2ecf20Sopenharmony_ci	F(200000000, P_GPLL0, 4, 0, 0),
14678c2ecf20Sopenharmony_ci	F(266666666, P_GPLL0, 3, 0, 0),
14688c2ecf20Sopenharmony_ci	{ }
14698c2ecf20Sopenharmony_ci};
14708c2ecf20Sopenharmony_ci
14718c2ecf20Sopenharmony_cistatic const struct clk_parent_data gcc_xo_gpll0_gpll6_gpll0_sleep_clk[] = {
14728c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
14738c2ecf20Sopenharmony_ci	{ .hw = &gpll0.clkr.hw },
14748c2ecf20Sopenharmony_ci	{ .hw = &gpll6.clkr.hw },
14758c2ecf20Sopenharmony_ci	{ .hw = &gpll0_out_main_div2.hw },
14768c2ecf20Sopenharmony_ci	{ .fw_name = "sleep_clk" },
14778c2ecf20Sopenharmony_ci};
14788c2ecf20Sopenharmony_ci
14798c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0_gpll6_gpll0_sleep_clk_map[] = {
14808c2ecf20Sopenharmony_ci	{ P_XO, 0 },
14818c2ecf20Sopenharmony_ci	{ P_GPLL0, 1 },
14828c2ecf20Sopenharmony_ci	{ P_GPLL6, 2 },
14838c2ecf20Sopenharmony_ci	{ P_GPLL0_DIV2, 4 },
14848c2ecf20Sopenharmony_ci	{ P_SLEEP_CLK, 6 },
14858c2ecf20Sopenharmony_ci};
14868c2ecf20Sopenharmony_ci
14878c2ecf20Sopenharmony_cistatic struct clk_rcg2 gp1_clk_src = {
14888c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x08004,
14898c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gp_clk_src,
14908c2ecf20Sopenharmony_ci	.mnd_width = 8,
14918c2ecf20Sopenharmony_ci	.hid_width = 5,
14928c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll6_gpll0_sleep_clk_map,
14938c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
14948c2ecf20Sopenharmony_ci		.name = "gp1_clk_src",
14958c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll6_gpll0_sleep_clk,
14968c2ecf20Sopenharmony_ci		.num_parents = 5,
14978c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
14988c2ecf20Sopenharmony_ci	},
14998c2ecf20Sopenharmony_ci};
15008c2ecf20Sopenharmony_ci
15018c2ecf20Sopenharmony_cistatic struct clk_rcg2 gp2_clk_src = {
15028c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x09004,
15038c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gp_clk_src,
15048c2ecf20Sopenharmony_ci	.mnd_width = 8,
15058c2ecf20Sopenharmony_ci	.hid_width = 5,
15068c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll6_gpll0_sleep_clk_map,
15078c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
15088c2ecf20Sopenharmony_ci		.name = "gp2_clk_src",
15098c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll6_gpll0_sleep_clk,
15108c2ecf20Sopenharmony_ci		.num_parents = 5,
15118c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
15128c2ecf20Sopenharmony_ci	},
15138c2ecf20Sopenharmony_ci};
15148c2ecf20Sopenharmony_ci
15158c2ecf20Sopenharmony_cistatic struct clk_rcg2 gp3_clk_src = {
15168c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x0a004,
15178c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gp_clk_src,
15188c2ecf20Sopenharmony_ci	.mnd_width = 8,
15198c2ecf20Sopenharmony_ci	.hid_width = 5,
15208c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll6_gpll0_sleep_clk_map,
15218c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
15228c2ecf20Sopenharmony_ci		.name = "gp3_clk_src",
15238c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll6_gpll0_sleep_clk,
15248c2ecf20Sopenharmony_ci		.num_parents = 5,
15258c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
15268c2ecf20Sopenharmony_ci	},
15278c2ecf20Sopenharmony_ci};
15288c2ecf20Sopenharmony_ci
15298c2ecf20Sopenharmony_cistatic struct clk_fixed_factor nss_ppe_cdiv_clk_src = {
15308c2ecf20Sopenharmony_ci	.mult = 1,
15318c2ecf20Sopenharmony_ci	.div = 4,
15328c2ecf20Sopenharmony_ci	.hw.init = &(struct clk_init_data){
15338c2ecf20Sopenharmony_ci		.name = "nss_ppe_cdiv_clk_src",
15348c2ecf20Sopenharmony_ci		.parent_hws = (const struct clk_hw *[]){
15358c2ecf20Sopenharmony_ci				&nss_ppe_clk_src.clkr.hw },
15368c2ecf20Sopenharmony_ci		.num_parents = 1,
15378c2ecf20Sopenharmony_ci		.ops = &clk_fixed_factor_ops,
15388c2ecf20Sopenharmony_ci		.flags = CLK_SET_RATE_PARENT,
15398c2ecf20Sopenharmony_ci	},
15408c2ecf20Sopenharmony_ci};
15418c2ecf20Sopenharmony_ci
15428c2ecf20Sopenharmony_cistatic struct clk_regmap_div nss_ubi0_div_clk_src = {
15438c2ecf20Sopenharmony_ci	.reg = 0x68118,
15448c2ecf20Sopenharmony_ci	.shift = 0,
15458c2ecf20Sopenharmony_ci	.width = 4,
15468c2ecf20Sopenharmony_ci	.clkr = {
15478c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
15488c2ecf20Sopenharmony_ci			.name = "nss_ubi0_div_clk_src",
15498c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
15508c2ecf20Sopenharmony_ci				&nss_ubi0_clk_src.clkr.hw },
15518c2ecf20Sopenharmony_ci			.num_parents = 1,
15528c2ecf20Sopenharmony_ci			.ops = &clk_regmap_div_ro_ops,
15538c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
15548c2ecf20Sopenharmony_ci		},
15558c2ecf20Sopenharmony_ci	},
15568c2ecf20Sopenharmony_ci};
15578c2ecf20Sopenharmony_ci
15588c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_pcie_aux_clk_src[] = {
15598c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
15608c2ecf20Sopenharmony_ci};
15618c2ecf20Sopenharmony_ci
15628c2ecf20Sopenharmony_cistatic const struct clk_parent_data gcc_xo_gpll0_core_pi_sleep_clk[] = {
15638c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
15648c2ecf20Sopenharmony_ci	{ .hw = &gpll0.clkr.hw },
15658c2ecf20Sopenharmony_ci	{ .fw_name = "sleep_clk" },
15668c2ecf20Sopenharmony_ci};
15678c2ecf20Sopenharmony_ci
15688c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0_core_pi_sleep_clk_map[] = {
15698c2ecf20Sopenharmony_ci	{ P_XO, 0 },
15708c2ecf20Sopenharmony_ci	{ P_GPLL0, 2 },
15718c2ecf20Sopenharmony_ci	{ P_PI_SLEEP, 6 },
15728c2ecf20Sopenharmony_ci};
15738c2ecf20Sopenharmony_ci
15748c2ecf20Sopenharmony_cistatic struct clk_rcg2 pcie0_aux_clk_src = {
15758c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x75024,
15768c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_pcie_aux_clk_src,
15778c2ecf20Sopenharmony_ci	.mnd_width = 16,
15788c2ecf20Sopenharmony_ci	.hid_width = 5,
15798c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_core_pi_sleep_clk_map,
15808c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
15818c2ecf20Sopenharmony_ci		.name = "pcie0_aux_clk_src",
15828c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_core_pi_sleep_clk,
15838c2ecf20Sopenharmony_ci		.num_parents = 3,
15848c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
15858c2ecf20Sopenharmony_ci	},
15868c2ecf20Sopenharmony_ci};
15878c2ecf20Sopenharmony_ci
15888c2ecf20Sopenharmony_cistatic const struct clk_parent_data gcc_pcie20_phy0_pipe_clk_xo[] = {
15898c2ecf20Sopenharmony_ci	{ .fw_name = "pcie20_phy0_pipe_clk" },
15908c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
15918c2ecf20Sopenharmony_ci};
15928c2ecf20Sopenharmony_ci
15938c2ecf20Sopenharmony_cistatic const struct parent_map gcc_pcie20_phy0_pipe_clk_xo_map[] = {
15948c2ecf20Sopenharmony_ci	{ P_PCIE20_PHY0_PIPE, 0 },
15958c2ecf20Sopenharmony_ci	{ P_XO, 2 },
15968c2ecf20Sopenharmony_ci};
15978c2ecf20Sopenharmony_ci
15988c2ecf20Sopenharmony_cistatic struct clk_regmap_mux pcie0_pipe_clk_src = {
15998c2ecf20Sopenharmony_ci	.reg = 0x7501c,
16008c2ecf20Sopenharmony_ci	.shift = 8,
16018c2ecf20Sopenharmony_ci	.width = 2,
16028c2ecf20Sopenharmony_ci	.parent_map = gcc_pcie20_phy0_pipe_clk_xo_map,
16038c2ecf20Sopenharmony_ci	.clkr = {
16048c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
16058c2ecf20Sopenharmony_ci			.name = "pcie0_pipe_clk_src",
16068c2ecf20Sopenharmony_ci			.parent_data = gcc_pcie20_phy0_pipe_clk_xo,
16078c2ecf20Sopenharmony_ci			.num_parents = 2,
16088c2ecf20Sopenharmony_ci			.ops = &clk_regmap_mux_closest_ops,
16098c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
16108c2ecf20Sopenharmony_ci		},
16118c2ecf20Sopenharmony_ci	},
16128c2ecf20Sopenharmony_ci};
16138c2ecf20Sopenharmony_ci
16148c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_sdcc_apps_clk_src[] = {
16158c2ecf20Sopenharmony_ci	F(144000, P_XO, 16, 12, 125),
16168c2ecf20Sopenharmony_ci	F(400000, P_XO, 12, 1, 5),
16178c2ecf20Sopenharmony_ci	F(24000000, P_GPLL2, 12, 1, 4),
16188c2ecf20Sopenharmony_ci	F(48000000, P_GPLL2, 12, 1, 2),
16198c2ecf20Sopenharmony_ci	F(96000000, P_GPLL2, 12, 0, 0),
16208c2ecf20Sopenharmony_ci	F(177777778, P_GPLL0, 4.5, 0, 0),
16218c2ecf20Sopenharmony_ci	F(192000000, P_GPLL2, 6, 0, 0),
16228c2ecf20Sopenharmony_ci	F(384000000, P_GPLL2, 3, 0, 0),
16238c2ecf20Sopenharmony_ci	{ }
16248c2ecf20Sopenharmony_ci};
16258c2ecf20Sopenharmony_ci
16268c2ecf20Sopenharmony_cistatic const struct clk_parent_data
16278c2ecf20Sopenharmony_ci			gcc_xo_gpll0_gpll2_gpll0_out_main_div2[] = {
16288c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
16298c2ecf20Sopenharmony_ci	{ .hw = &gpll0.clkr.hw },
16308c2ecf20Sopenharmony_ci	{ .hw = &gpll2.clkr.hw },
16318c2ecf20Sopenharmony_ci	{ .hw = &gpll0_out_main_div2.hw },
16328c2ecf20Sopenharmony_ci};
16338c2ecf20Sopenharmony_ci
16348c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0_gpll2_gpll0_out_main_div2_map[] = {
16358c2ecf20Sopenharmony_ci	{ P_XO, 0 },
16368c2ecf20Sopenharmony_ci	{ P_GPLL0, 1 },
16378c2ecf20Sopenharmony_ci	{ P_GPLL2, 2 },
16388c2ecf20Sopenharmony_ci	{ P_GPLL0_DIV2, 4 },
16398c2ecf20Sopenharmony_ci};
16408c2ecf20Sopenharmony_ci
16418c2ecf20Sopenharmony_cistatic struct clk_rcg2 sdcc1_apps_clk_src = {
16428c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x42004,
16438c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_sdcc_apps_clk_src,
16448c2ecf20Sopenharmony_ci	.mnd_width = 8,
16458c2ecf20Sopenharmony_ci	.hid_width = 5,
16468c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll2_gpll0_out_main_div2_map,
16478c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
16488c2ecf20Sopenharmony_ci		.name = "sdcc1_apps_clk_src",
16498c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll2_gpll0_out_main_div2,
16508c2ecf20Sopenharmony_ci		.num_parents = 4,
16518c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_floor_ops,
16528c2ecf20Sopenharmony_ci	},
16538c2ecf20Sopenharmony_ci};
16548c2ecf20Sopenharmony_ci
16558c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_usb_aux_clk_src[] = {
16568c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
16578c2ecf20Sopenharmony_ci	{ }
16588c2ecf20Sopenharmony_ci};
16598c2ecf20Sopenharmony_ci
16608c2ecf20Sopenharmony_cistatic struct clk_rcg2 usb0_aux_clk_src = {
16618c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x3e05c,
16628c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_usb_aux_clk_src,
16638c2ecf20Sopenharmony_ci	.mnd_width = 16,
16648c2ecf20Sopenharmony_ci	.hid_width = 5,
16658c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_core_pi_sleep_clk_map,
16668c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
16678c2ecf20Sopenharmony_ci		.name = "usb0_aux_clk_src",
16688c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_core_pi_sleep_clk,
16698c2ecf20Sopenharmony_ci		.num_parents = 3,
16708c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
16718c2ecf20Sopenharmony_ci	},
16728c2ecf20Sopenharmony_ci};
16738c2ecf20Sopenharmony_ci
16748c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_usb_mock_utmi_clk_src[] = {
16758c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
16768c2ecf20Sopenharmony_ci	F(60000000, P_GPLL6, 6, 1, 3),
16778c2ecf20Sopenharmony_ci	{ }
16788c2ecf20Sopenharmony_ci};
16798c2ecf20Sopenharmony_ci
16808c2ecf20Sopenharmony_cistatic const struct clk_parent_data
16818c2ecf20Sopenharmony_ci			gcc_xo_gpll6_gpll0_gpll0_out_main_div2[] = {
16828c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
16838c2ecf20Sopenharmony_ci	{ .hw = &gpll6.clkr.hw },
16848c2ecf20Sopenharmony_ci	{ .hw = &gpll0.clkr.hw },
16858c2ecf20Sopenharmony_ci	{ .hw = &gpll0_out_main_div2.hw },
16868c2ecf20Sopenharmony_ci};
16878c2ecf20Sopenharmony_ci
16888c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll6_gpll0_gpll0_out_main_div2_map[] = {
16898c2ecf20Sopenharmony_ci	{ P_XO, 0 },
16908c2ecf20Sopenharmony_ci	{ P_GPLL6, 1 },
16918c2ecf20Sopenharmony_ci	{ P_GPLL0, 3 },
16928c2ecf20Sopenharmony_ci	{ P_GPLL0_DIV2, 4 },
16938c2ecf20Sopenharmony_ci};
16948c2ecf20Sopenharmony_ci
16958c2ecf20Sopenharmony_cistatic struct clk_rcg2 usb0_mock_utmi_clk_src = {
16968c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x3e020,
16978c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_usb_mock_utmi_clk_src,
16988c2ecf20Sopenharmony_ci	.mnd_width = 8,
16998c2ecf20Sopenharmony_ci	.hid_width = 5,
17008c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll6_gpll0_gpll0_out_main_div2_map,
17018c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
17028c2ecf20Sopenharmony_ci		.name = "usb0_mock_utmi_clk_src",
17038c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll6_gpll0_gpll0_out_main_div2,
17048c2ecf20Sopenharmony_ci		.num_parents = 4,
17058c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
17068c2ecf20Sopenharmony_ci	},
17078c2ecf20Sopenharmony_ci};
17088c2ecf20Sopenharmony_ci
17098c2ecf20Sopenharmony_cistatic const struct clk_parent_data gcc_usb3phy_0_cc_pipe_clk_xo[] = {
17108c2ecf20Sopenharmony_ci	{ .fw_name = "usb3phy_0_cc_pipe_clk" },
17118c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
17128c2ecf20Sopenharmony_ci};
17138c2ecf20Sopenharmony_ci
17148c2ecf20Sopenharmony_cistatic const struct parent_map gcc_usb3phy_0_cc_pipe_clk_xo_map[] = {
17158c2ecf20Sopenharmony_ci	{ P_USB3PHY_0_PIPE, 0 },
17168c2ecf20Sopenharmony_ci	{ P_XO, 2 },
17178c2ecf20Sopenharmony_ci};
17188c2ecf20Sopenharmony_ci
17198c2ecf20Sopenharmony_cistatic struct clk_regmap_mux usb0_pipe_clk_src = {
17208c2ecf20Sopenharmony_ci	.reg = 0x3e048,
17218c2ecf20Sopenharmony_ci	.shift = 8,
17228c2ecf20Sopenharmony_ci	.width = 2,
17238c2ecf20Sopenharmony_ci	.parent_map = gcc_usb3phy_0_cc_pipe_clk_xo_map,
17248c2ecf20Sopenharmony_ci	.clkr = {
17258c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
17268c2ecf20Sopenharmony_ci			.name = "usb0_pipe_clk_src",
17278c2ecf20Sopenharmony_ci			.parent_data = gcc_usb3phy_0_cc_pipe_clk_xo,
17288c2ecf20Sopenharmony_ci			.num_parents = 2,
17298c2ecf20Sopenharmony_ci			.ops = &clk_regmap_mux_closest_ops,
17308c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
17318c2ecf20Sopenharmony_ci		},
17328c2ecf20Sopenharmony_ci	},
17338c2ecf20Sopenharmony_ci};
17348c2ecf20Sopenharmony_ci
17358c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_sdcc_ice_core_clk_src[] = {
17368c2ecf20Sopenharmony_ci	F(80000000, P_GPLL0_DIV2, 5, 0, 0),
17378c2ecf20Sopenharmony_ci	F(160000000, P_GPLL0, 5, 0, 0),
17388c2ecf20Sopenharmony_ci	F(216000000, P_GPLL6, 5, 0, 0),
17398c2ecf20Sopenharmony_ci	F(308570000, P_GPLL6, 3.5, 0, 0),
17408c2ecf20Sopenharmony_ci};
17418c2ecf20Sopenharmony_ci
17428c2ecf20Sopenharmony_cistatic const struct clk_parent_data gcc_xo_gpll0_gpll6_gpll0_div2[] = {
17438c2ecf20Sopenharmony_ci	{ .fw_name = "xo"},
17448c2ecf20Sopenharmony_ci	{ .hw = &gpll0.clkr.hw },
17458c2ecf20Sopenharmony_ci	{ .hw = &gpll6.clkr.hw },
17468c2ecf20Sopenharmony_ci	{ .hw = &gpll0_out_main_div2.hw },
17478c2ecf20Sopenharmony_ci};
17488c2ecf20Sopenharmony_ci
17498c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0_gpll6_gpll0_div2_map[] = {
17508c2ecf20Sopenharmony_ci	{ P_XO, 0 },
17518c2ecf20Sopenharmony_ci	{ P_GPLL0, 1 },
17528c2ecf20Sopenharmony_ci	{ P_GPLL6, 2 },
17538c2ecf20Sopenharmony_ci	{ P_GPLL0_DIV2, 4 },
17548c2ecf20Sopenharmony_ci};
17558c2ecf20Sopenharmony_ci
17568c2ecf20Sopenharmony_cistatic struct clk_rcg2 sdcc1_ice_core_clk_src = {
17578c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x5d000,
17588c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_sdcc_ice_core_clk_src,
17598c2ecf20Sopenharmony_ci	.mnd_width = 8,
17608c2ecf20Sopenharmony_ci	.hid_width = 5,
17618c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll6_gpll0_div2_map,
17628c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
17638c2ecf20Sopenharmony_ci		.name = "sdcc1_ice_core_clk_src",
17648c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll6_gpll0_div2,
17658c2ecf20Sopenharmony_ci		.num_parents = 4,
17668c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
17678c2ecf20Sopenharmony_ci	},
17688c2ecf20Sopenharmony_ci};
17698c2ecf20Sopenharmony_ci
17708c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_qdss_stm_clk_src[] = {
17718c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
17728c2ecf20Sopenharmony_ci	F(50000000, P_GPLL0_DIV2, 8, 0, 0),
17738c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
17748c2ecf20Sopenharmony_ci	F(200000000, P_GPLL0, 4, 0, 0),
17758c2ecf20Sopenharmony_ci	{ }
17768c2ecf20Sopenharmony_ci};
17778c2ecf20Sopenharmony_ci
17788c2ecf20Sopenharmony_cistatic struct clk_rcg2 qdss_stm_clk_src = {
17798c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x2902C,
17808c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_qdss_stm_clk_src,
17818c2ecf20Sopenharmony_ci	.hid_width = 5,
17828c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
17838c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
17848c2ecf20Sopenharmony_ci		.name = "qdss_stm_clk_src",
17858c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll0_out_main_div2,
17868c2ecf20Sopenharmony_ci		.num_parents = 3,
17878c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
17888c2ecf20Sopenharmony_ci	},
17898c2ecf20Sopenharmony_ci};
17908c2ecf20Sopenharmony_ci
17918c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_qdss_traceclkin_clk_src[] = {
17928c2ecf20Sopenharmony_ci	F(80000000, P_GPLL0_DIV2, 5, 0, 0),
17938c2ecf20Sopenharmony_ci	F(160000000, P_GPLL0, 5, 0, 0),
17948c2ecf20Sopenharmony_ci	F(300000000, P_GPLL4, 4, 0, 0),
17958c2ecf20Sopenharmony_ci	{ }
17968c2ecf20Sopenharmony_ci};
17978c2ecf20Sopenharmony_ci
17988c2ecf20Sopenharmony_cistatic const struct clk_parent_data gcc_xo_gpll4_gpll0_gpll0_div2[] = {
17998c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
18008c2ecf20Sopenharmony_ci	{ .hw = &gpll4.clkr.hw },
18018c2ecf20Sopenharmony_ci	{ .hw = &gpll0.clkr.hw },
18028c2ecf20Sopenharmony_ci	{ .hw = &gpll0_out_main_div2.hw },
18038c2ecf20Sopenharmony_ci};
18048c2ecf20Sopenharmony_ci
18058c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll4_gpll0_gpll0_div2_map[] = {
18068c2ecf20Sopenharmony_ci	{ P_XO, 0 },
18078c2ecf20Sopenharmony_ci	{ P_GPLL4, 1 },
18088c2ecf20Sopenharmony_ci	{ P_GPLL0, 2 },
18098c2ecf20Sopenharmony_ci	{ P_GPLL0_DIV2, 4 },
18108c2ecf20Sopenharmony_ci};
18118c2ecf20Sopenharmony_ci
18128c2ecf20Sopenharmony_cistatic struct clk_rcg2 qdss_traceclkin_clk_src = {
18138c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x29048,
18148c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_qdss_traceclkin_clk_src,
18158c2ecf20Sopenharmony_ci	.hid_width = 5,
18168c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll4_gpll0_gpll0_div2_map,
18178c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
18188c2ecf20Sopenharmony_ci		.name = "qdss_traceclkin_clk_src",
18198c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll4_gpll0_gpll0_div2,
18208c2ecf20Sopenharmony_ci		.num_parents = 4,
18218c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
18228c2ecf20Sopenharmony_ci	},
18238c2ecf20Sopenharmony_ci};
18248c2ecf20Sopenharmony_ci
18258c2ecf20Sopenharmony_cistatic struct clk_rcg2 usb1_mock_utmi_clk_src = {
18268c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x3f020,
18278c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_usb_mock_utmi_clk_src,
18288c2ecf20Sopenharmony_ci	.mnd_width = 8,
18298c2ecf20Sopenharmony_ci	.hid_width = 5,
18308c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll6_gpll0_gpll0_out_main_div2_map,
18318c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
18328c2ecf20Sopenharmony_ci		.name = "usb1_mock_utmi_clk_src",
18338c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll6_gpll0_gpll0_out_main_div2,
18348c2ecf20Sopenharmony_ci		.num_parents = 4,
18358c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
18368c2ecf20Sopenharmony_ci	},
18378c2ecf20Sopenharmony_ci};
18388c2ecf20Sopenharmony_ci
18398c2ecf20Sopenharmony_cistatic struct clk_branch gcc_adss_pwm_clk = {
18408c2ecf20Sopenharmony_ci	.halt_reg = 0x1c020,
18418c2ecf20Sopenharmony_ci	.clkr = {
18428c2ecf20Sopenharmony_ci		.enable_reg = 0x1c020,
18438c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
18448c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
18458c2ecf20Sopenharmony_ci			.name = "gcc_adss_pwm_clk",
18468c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
18478c2ecf20Sopenharmony_ci					&adss_pwm_clk_src.clkr.hw },
18488c2ecf20Sopenharmony_ci			.num_parents = 1,
18498c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
18508c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
18518c2ecf20Sopenharmony_ci		},
18528c2ecf20Sopenharmony_ci	},
18538c2ecf20Sopenharmony_ci};
18548c2ecf20Sopenharmony_ci
18558c2ecf20Sopenharmony_cistatic struct clk_branch gcc_apss_ahb_clk = {
18568c2ecf20Sopenharmony_ci	.halt_reg = 0x4601c,
18578c2ecf20Sopenharmony_ci	.halt_check = BRANCH_HALT_VOTED,
18588c2ecf20Sopenharmony_ci	.clkr = {
18598c2ecf20Sopenharmony_ci		.enable_reg = 0x0b004,
18608c2ecf20Sopenharmony_ci		.enable_mask = BIT(14),
18618c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
18628c2ecf20Sopenharmony_ci			.name = "gcc_apss_ahb_clk",
18638c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
18648c2ecf20Sopenharmony_ci					&apss_ahb_postdiv_clk_src.clkr.hw },
18658c2ecf20Sopenharmony_ci			.num_parents = 1,
18668c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
18678c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
18688c2ecf20Sopenharmony_ci		},
18698c2ecf20Sopenharmony_ci	},
18708c2ecf20Sopenharmony_ci};
18718c2ecf20Sopenharmony_ci
18728c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_system_noc_bfdcd_clk_src[] = {
18738c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
18748c2ecf20Sopenharmony_ci	F(50000000, P_GPLL0_DIV2, 8, 0, 0),
18758c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
18768c2ecf20Sopenharmony_ci	F(133333333, P_GPLL0, 6, 0, 0),
18778c2ecf20Sopenharmony_ci	F(160000000, P_GPLL0, 5, 0, 0),
18788c2ecf20Sopenharmony_ci	F(200000000, P_GPLL0, 4, 0, 0),
18798c2ecf20Sopenharmony_ci	F(266666667, P_GPLL0, 3, 0, 0),
18808c2ecf20Sopenharmony_ci	{ }
18818c2ecf20Sopenharmony_ci};
18828c2ecf20Sopenharmony_ci
18838c2ecf20Sopenharmony_cistatic struct clk_rcg2 system_noc_bfdcd_clk_src = {
18848c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x26004,
18858c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_system_noc_bfdcd_clk_src,
18868c2ecf20Sopenharmony_ci	.hid_width = 5,
18878c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll6_gpll0_out_main_div2_map,
18888c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
18898c2ecf20Sopenharmony_ci		.name = "system_noc_bfdcd_clk_src",
18908c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll6_gpll0_out_main_div2,
18918c2ecf20Sopenharmony_ci		.num_parents = 4,
18928c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
18938c2ecf20Sopenharmony_ci	},
18948c2ecf20Sopenharmony_ci};
18958c2ecf20Sopenharmony_ci
18968c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_ubi32_mem_noc_bfdcd_clk_src[] = {
18978c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
18988c2ecf20Sopenharmony_ci	F(307670000, P_BIAS_PLL_NSS_NOC, 1.5, 0, 0),
18998c2ecf20Sopenharmony_ci	F(533333333, P_GPLL0, 1.5, 0, 0),
19008c2ecf20Sopenharmony_ci	{ }
19018c2ecf20Sopenharmony_ci};
19028c2ecf20Sopenharmony_ci
19038c2ecf20Sopenharmony_cistatic const struct clk_parent_data
19048c2ecf20Sopenharmony_ci			gcc_xo_gpll0_gpll2_bias_pll_nss_noc_clk[] = {
19058c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
19068c2ecf20Sopenharmony_ci	{ .hw = &gpll0.clkr.hw },
19078c2ecf20Sopenharmony_ci	{ .hw = &gpll2.clkr.hw },
19088c2ecf20Sopenharmony_ci	{ .fw_name = "bias_pll_nss_noc_clk" },
19098c2ecf20Sopenharmony_ci};
19108c2ecf20Sopenharmony_ci
19118c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0_gpll2_bias_pll_nss_noc_clk_map[] = {
19128c2ecf20Sopenharmony_ci	{ P_XO, 0 },
19138c2ecf20Sopenharmony_ci	{ P_GPLL0, 1 },
19148c2ecf20Sopenharmony_ci	{ P_GPLL2, 3 },
19158c2ecf20Sopenharmony_ci	{ P_BIAS_PLL_NSS_NOC, 4 },
19168c2ecf20Sopenharmony_ci};
19178c2ecf20Sopenharmony_ci
19188c2ecf20Sopenharmony_cistatic struct clk_rcg2 ubi32_mem_noc_bfdcd_clk_src = {
19198c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x68088,
19208c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_ubi32_mem_noc_bfdcd_clk_src,
19218c2ecf20Sopenharmony_ci	.hid_width = 5,
19228c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll2_bias_pll_nss_noc_clk_map,
19238c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
19248c2ecf20Sopenharmony_ci		.name = "ubi32_mem_noc_bfdcd_clk_src",
19258c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll2_bias_pll_nss_noc_clk,
19268c2ecf20Sopenharmony_ci		.num_parents = 4,
19278c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
19288c2ecf20Sopenharmony_ci	},
19298c2ecf20Sopenharmony_ci};
19308c2ecf20Sopenharmony_ci
19318c2ecf20Sopenharmony_cistatic struct clk_branch gcc_apss_axi_clk = {
19328c2ecf20Sopenharmony_ci	.halt_reg = 0x46020,
19338c2ecf20Sopenharmony_ci	.halt_check = BRANCH_HALT_VOTED,
19348c2ecf20Sopenharmony_ci	.clkr = {
19358c2ecf20Sopenharmony_ci		.enable_reg = 0x0b004,
19368c2ecf20Sopenharmony_ci		.enable_mask = BIT(13),
19378c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
19388c2ecf20Sopenharmony_ci			.name = "gcc_apss_axi_clk",
19398c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
19408c2ecf20Sopenharmony_ci					&apss_axi_clk_src.clkr.hw },
19418c2ecf20Sopenharmony_ci			.num_parents = 1,
19428c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
19438c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
19448c2ecf20Sopenharmony_ci		},
19458c2ecf20Sopenharmony_ci	},
19468c2ecf20Sopenharmony_ci};
19478c2ecf20Sopenharmony_ci
19488c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_ahb_clk = {
19498c2ecf20Sopenharmony_ci	.halt_reg = 0x01008,
19508c2ecf20Sopenharmony_ci	.halt_check = BRANCH_HALT_VOTED,
19518c2ecf20Sopenharmony_ci	.clkr = {
19528c2ecf20Sopenharmony_ci		.enable_reg = 0x0b004,
19538c2ecf20Sopenharmony_ci		.enable_mask = BIT(10),
19548c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
19558c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_ahb_clk",
19568c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
19578c2ecf20Sopenharmony_ci					&pcnoc_bfdcd_clk_src.clkr.hw },
19588c2ecf20Sopenharmony_ci			.num_parents = 1,
19598c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
19608c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
19618c2ecf20Sopenharmony_ci		},
19628c2ecf20Sopenharmony_ci	},
19638c2ecf20Sopenharmony_ci};
19648c2ecf20Sopenharmony_ci
19658c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup1_i2c_apps_clk = {
19668c2ecf20Sopenharmony_ci	.halt_reg = 0x02008,
19678c2ecf20Sopenharmony_ci	.clkr = {
19688c2ecf20Sopenharmony_ci		.enable_reg = 0x02008,
19698c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
19708c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
19718c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup1_i2c_apps_clk",
19728c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
19738c2ecf20Sopenharmony_ci					&blsp1_qup1_i2c_apps_clk_src.clkr.hw },
19748c2ecf20Sopenharmony_ci			.num_parents = 1,
19758c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
19768c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
19778c2ecf20Sopenharmony_ci		},
19788c2ecf20Sopenharmony_ci	},
19798c2ecf20Sopenharmony_ci};
19808c2ecf20Sopenharmony_ci
19818c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup1_spi_apps_clk = {
19828c2ecf20Sopenharmony_ci	.halt_reg = 0x02004,
19838c2ecf20Sopenharmony_ci	.clkr = {
19848c2ecf20Sopenharmony_ci		.enable_reg = 0x02004,
19858c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
19868c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
19878c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup1_spi_apps_clk",
19888c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
19898c2ecf20Sopenharmony_ci					&blsp1_qup1_spi_apps_clk_src.clkr.hw },
19908c2ecf20Sopenharmony_ci			.num_parents = 1,
19918c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
19928c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
19938c2ecf20Sopenharmony_ci		},
19948c2ecf20Sopenharmony_ci	},
19958c2ecf20Sopenharmony_ci};
19968c2ecf20Sopenharmony_ci
19978c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup2_i2c_apps_clk = {
19988c2ecf20Sopenharmony_ci	.halt_reg = 0x03010,
19998c2ecf20Sopenharmony_ci	.clkr = {
20008c2ecf20Sopenharmony_ci		.enable_reg = 0x03010,
20018c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
20028c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
20038c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup2_i2c_apps_clk",
20048c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
20058c2ecf20Sopenharmony_ci					&blsp1_qup2_i2c_apps_clk_src.clkr.hw },
20068c2ecf20Sopenharmony_ci			.num_parents = 1,
20078c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
20088c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
20098c2ecf20Sopenharmony_ci		},
20108c2ecf20Sopenharmony_ci	},
20118c2ecf20Sopenharmony_ci};
20128c2ecf20Sopenharmony_ci
20138c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup2_spi_apps_clk = {
20148c2ecf20Sopenharmony_ci	.halt_reg = 0x0300c,
20158c2ecf20Sopenharmony_ci	.clkr = {
20168c2ecf20Sopenharmony_ci		.enable_reg = 0x0300c,
20178c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
20188c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
20198c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup2_spi_apps_clk",
20208c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
20218c2ecf20Sopenharmony_ci					&blsp1_qup2_spi_apps_clk_src.clkr.hw },
20228c2ecf20Sopenharmony_ci			.num_parents = 1,
20238c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
20248c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
20258c2ecf20Sopenharmony_ci		},
20268c2ecf20Sopenharmony_ci	},
20278c2ecf20Sopenharmony_ci};
20288c2ecf20Sopenharmony_ci
20298c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup3_i2c_apps_clk = {
20308c2ecf20Sopenharmony_ci	.halt_reg = 0x04010,
20318c2ecf20Sopenharmony_ci	.clkr = {
20328c2ecf20Sopenharmony_ci		.enable_reg = 0x04010,
20338c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
20348c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
20358c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup3_i2c_apps_clk",
20368c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
20378c2ecf20Sopenharmony_ci					&blsp1_qup3_i2c_apps_clk_src.clkr.hw },
20388c2ecf20Sopenharmony_ci			.num_parents = 1,
20398c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
20408c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
20418c2ecf20Sopenharmony_ci		},
20428c2ecf20Sopenharmony_ci	},
20438c2ecf20Sopenharmony_ci};
20448c2ecf20Sopenharmony_ci
20458c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup3_spi_apps_clk = {
20468c2ecf20Sopenharmony_ci	.halt_reg = 0x0400c,
20478c2ecf20Sopenharmony_ci	.clkr = {
20488c2ecf20Sopenharmony_ci		.enable_reg = 0x0400c,
20498c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
20508c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
20518c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup3_spi_apps_clk",
20528c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
20538c2ecf20Sopenharmony_ci					&blsp1_qup3_spi_apps_clk_src.clkr.hw },
20548c2ecf20Sopenharmony_ci			.num_parents = 1,
20558c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
20568c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
20578c2ecf20Sopenharmony_ci		},
20588c2ecf20Sopenharmony_ci	},
20598c2ecf20Sopenharmony_ci};
20608c2ecf20Sopenharmony_ci
20618c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup4_i2c_apps_clk = {
20628c2ecf20Sopenharmony_ci	.halt_reg = 0x05010,
20638c2ecf20Sopenharmony_ci	.clkr = {
20648c2ecf20Sopenharmony_ci		.enable_reg = 0x05010,
20658c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
20668c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
20678c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup4_i2c_apps_clk",
20688c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
20698c2ecf20Sopenharmony_ci					&blsp1_qup4_i2c_apps_clk_src.clkr.hw },
20708c2ecf20Sopenharmony_ci			.num_parents = 1,
20718c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
20728c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
20738c2ecf20Sopenharmony_ci		},
20748c2ecf20Sopenharmony_ci	},
20758c2ecf20Sopenharmony_ci};
20768c2ecf20Sopenharmony_ci
20778c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup4_spi_apps_clk = {
20788c2ecf20Sopenharmony_ci	.halt_reg = 0x0500c,
20798c2ecf20Sopenharmony_ci	.clkr = {
20808c2ecf20Sopenharmony_ci		.enable_reg = 0x0500c,
20818c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
20828c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
20838c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup4_spi_apps_clk",
20848c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
20858c2ecf20Sopenharmony_ci					&blsp1_qup4_spi_apps_clk_src.clkr.hw },
20868c2ecf20Sopenharmony_ci			.num_parents = 1,
20878c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
20888c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
20898c2ecf20Sopenharmony_ci		},
20908c2ecf20Sopenharmony_ci	},
20918c2ecf20Sopenharmony_ci};
20928c2ecf20Sopenharmony_ci
20938c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup5_i2c_apps_clk = {
20948c2ecf20Sopenharmony_ci	.halt_reg = 0x06010,
20958c2ecf20Sopenharmony_ci	.clkr = {
20968c2ecf20Sopenharmony_ci		.enable_reg = 0x06010,
20978c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
20988c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
20998c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup5_i2c_apps_clk",
21008c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
21018c2ecf20Sopenharmony_ci					&blsp1_qup5_i2c_apps_clk_src.clkr.hw },
21028c2ecf20Sopenharmony_ci			.num_parents = 1,
21038c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
21048c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
21058c2ecf20Sopenharmony_ci		},
21068c2ecf20Sopenharmony_ci	},
21078c2ecf20Sopenharmony_ci};
21088c2ecf20Sopenharmony_ci
21098c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup5_spi_apps_clk = {
21108c2ecf20Sopenharmony_ci	.halt_reg = 0x0600c,
21118c2ecf20Sopenharmony_ci	.clkr = {
21128c2ecf20Sopenharmony_ci		.enable_reg = 0x0600c,
21138c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
21148c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
21158c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup5_spi_apps_clk",
21168c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
21178c2ecf20Sopenharmony_ci					&blsp1_qup5_spi_apps_clk_src.clkr.hw },
21188c2ecf20Sopenharmony_ci			.num_parents = 1,
21198c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
21208c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
21218c2ecf20Sopenharmony_ci		},
21228c2ecf20Sopenharmony_ci	},
21238c2ecf20Sopenharmony_ci};
21248c2ecf20Sopenharmony_ci
21258c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup6_spi_apps_clk = {
21268c2ecf20Sopenharmony_ci	.halt_reg = 0x0700c,
21278c2ecf20Sopenharmony_ci	.clkr = {
21288c2ecf20Sopenharmony_ci		.enable_reg = 0x0700c,
21298c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
21308c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
21318c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup6_spi_apps_clk",
21328c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
21338c2ecf20Sopenharmony_ci					&blsp1_qup6_spi_apps_clk_src.clkr.hw },
21348c2ecf20Sopenharmony_ci			.num_parents = 1,
21358c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
21368c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
21378c2ecf20Sopenharmony_ci		},
21388c2ecf20Sopenharmony_ci	},
21398c2ecf20Sopenharmony_ci};
21408c2ecf20Sopenharmony_ci
21418c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_uart1_apps_clk = {
21428c2ecf20Sopenharmony_ci	.halt_reg = 0x0203c,
21438c2ecf20Sopenharmony_ci	.clkr = {
21448c2ecf20Sopenharmony_ci		.enable_reg = 0x0203c,
21458c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
21468c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
21478c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_uart1_apps_clk",
21488c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
21498c2ecf20Sopenharmony_ci					&blsp1_uart1_apps_clk_src.clkr.hw },
21508c2ecf20Sopenharmony_ci			.num_parents = 1,
21518c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
21528c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
21538c2ecf20Sopenharmony_ci		},
21548c2ecf20Sopenharmony_ci	},
21558c2ecf20Sopenharmony_ci};
21568c2ecf20Sopenharmony_ci
21578c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_uart2_apps_clk = {
21588c2ecf20Sopenharmony_ci	.halt_reg = 0x0302c,
21598c2ecf20Sopenharmony_ci	.clkr = {
21608c2ecf20Sopenharmony_ci		.enable_reg = 0x0302c,
21618c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
21628c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
21638c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_uart2_apps_clk",
21648c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
21658c2ecf20Sopenharmony_ci					&blsp1_uart2_apps_clk_src.clkr.hw },
21668c2ecf20Sopenharmony_ci			.num_parents = 1,
21678c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
21688c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
21698c2ecf20Sopenharmony_ci		},
21708c2ecf20Sopenharmony_ci	},
21718c2ecf20Sopenharmony_ci};
21728c2ecf20Sopenharmony_ci
21738c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_uart3_apps_clk = {
21748c2ecf20Sopenharmony_ci	.halt_reg = 0x0402c,
21758c2ecf20Sopenharmony_ci	.clkr = {
21768c2ecf20Sopenharmony_ci		.enable_reg = 0x0402c,
21778c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
21788c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
21798c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_uart3_apps_clk",
21808c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
21818c2ecf20Sopenharmony_ci					&blsp1_uart3_apps_clk_src.clkr.hw },
21828c2ecf20Sopenharmony_ci			.num_parents = 1,
21838c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
21848c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
21858c2ecf20Sopenharmony_ci		},
21868c2ecf20Sopenharmony_ci	},
21878c2ecf20Sopenharmony_ci};
21888c2ecf20Sopenharmony_ci
21898c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_uart4_apps_clk = {
21908c2ecf20Sopenharmony_ci	.halt_reg = 0x0502c,
21918c2ecf20Sopenharmony_ci	.clkr = {
21928c2ecf20Sopenharmony_ci		.enable_reg = 0x0502c,
21938c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
21948c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
21958c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_uart4_apps_clk",
21968c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
21978c2ecf20Sopenharmony_ci					&blsp1_uart4_apps_clk_src.clkr.hw },
21988c2ecf20Sopenharmony_ci			.num_parents = 1,
21998c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
22008c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
22018c2ecf20Sopenharmony_ci		},
22028c2ecf20Sopenharmony_ci	},
22038c2ecf20Sopenharmony_ci};
22048c2ecf20Sopenharmony_ci
22058c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_uart5_apps_clk = {
22068c2ecf20Sopenharmony_ci	.halt_reg = 0x0602c,
22078c2ecf20Sopenharmony_ci	.clkr = {
22088c2ecf20Sopenharmony_ci		.enable_reg = 0x0602c,
22098c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
22108c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
22118c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_uart5_apps_clk",
22128c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
22138c2ecf20Sopenharmony_ci					&blsp1_uart5_apps_clk_src.clkr.hw },
22148c2ecf20Sopenharmony_ci			.num_parents = 1,
22158c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
22168c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
22178c2ecf20Sopenharmony_ci		},
22188c2ecf20Sopenharmony_ci	},
22198c2ecf20Sopenharmony_ci};
22208c2ecf20Sopenharmony_ci
22218c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_uart6_apps_clk = {
22228c2ecf20Sopenharmony_ci	.halt_reg = 0x0702c,
22238c2ecf20Sopenharmony_ci	.clkr = {
22248c2ecf20Sopenharmony_ci		.enable_reg = 0x0702c,
22258c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
22268c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
22278c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_uart6_apps_clk",
22288c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
22298c2ecf20Sopenharmony_ci					&blsp1_uart6_apps_clk_src.clkr.hw },
22308c2ecf20Sopenharmony_ci			.num_parents = 1,
22318c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
22328c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
22338c2ecf20Sopenharmony_ci		},
22348c2ecf20Sopenharmony_ci	},
22358c2ecf20Sopenharmony_ci};
22368c2ecf20Sopenharmony_ci
22378c2ecf20Sopenharmony_cistatic struct clk_branch gcc_crypto_ahb_clk = {
22388c2ecf20Sopenharmony_ci	.halt_reg = 0x16024,
22398c2ecf20Sopenharmony_ci	.halt_check = BRANCH_HALT_VOTED,
22408c2ecf20Sopenharmony_ci	.clkr = {
22418c2ecf20Sopenharmony_ci		.enable_reg = 0x0b004,
22428c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
22438c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
22448c2ecf20Sopenharmony_ci			.name = "gcc_crypto_ahb_clk",
22458c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
22468c2ecf20Sopenharmony_ci					&pcnoc_bfdcd_clk_src.clkr.hw },
22478c2ecf20Sopenharmony_ci			.num_parents = 1,
22488c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
22498c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
22508c2ecf20Sopenharmony_ci		},
22518c2ecf20Sopenharmony_ci	},
22528c2ecf20Sopenharmony_ci};
22538c2ecf20Sopenharmony_ci
22548c2ecf20Sopenharmony_cistatic struct clk_branch gcc_crypto_axi_clk = {
22558c2ecf20Sopenharmony_ci	.halt_reg = 0x16020,
22568c2ecf20Sopenharmony_ci	.halt_check = BRANCH_HALT_VOTED,
22578c2ecf20Sopenharmony_ci	.clkr = {
22588c2ecf20Sopenharmony_ci		.enable_reg = 0x0b004,
22598c2ecf20Sopenharmony_ci		.enable_mask = BIT(1),
22608c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
22618c2ecf20Sopenharmony_ci			.name = "gcc_crypto_axi_clk",
22628c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
22638c2ecf20Sopenharmony_ci					&pcnoc_bfdcd_clk_src.clkr.hw },
22648c2ecf20Sopenharmony_ci			.num_parents = 1,
22658c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
22668c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
22678c2ecf20Sopenharmony_ci		},
22688c2ecf20Sopenharmony_ci	},
22698c2ecf20Sopenharmony_ci};
22708c2ecf20Sopenharmony_ci
22718c2ecf20Sopenharmony_cistatic struct clk_branch gcc_crypto_clk = {
22728c2ecf20Sopenharmony_ci	.halt_reg = 0x1601c,
22738c2ecf20Sopenharmony_ci	.halt_check = BRANCH_HALT_VOTED,
22748c2ecf20Sopenharmony_ci	.clkr = {
22758c2ecf20Sopenharmony_ci		.enable_reg = 0x0b004,
22768c2ecf20Sopenharmony_ci		.enable_mask = BIT(2),
22778c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
22788c2ecf20Sopenharmony_ci			.name = "gcc_crypto_clk",
22798c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
22808c2ecf20Sopenharmony_ci					&crypto_clk_src.clkr.hw },
22818c2ecf20Sopenharmony_ci			.num_parents = 1,
22828c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
22838c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
22848c2ecf20Sopenharmony_ci		},
22858c2ecf20Sopenharmony_ci	},
22868c2ecf20Sopenharmony_ci};
22878c2ecf20Sopenharmony_ci
22888c2ecf20Sopenharmony_cistatic struct clk_fixed_factor gpll6_out_main_div2 = {
22898c2ecf20Sopenharmony_ci	.mult = 1,
22908c2ecf20Sopenharmony_ci	.div = 2,
22918c2ecf20Sopenharmony_ci	.hw.init = &(struct clk_init_data){
22928c2ecf20Sopenharmony_ci		.name = "gpll6_out_main_div2",
22938c2ecf20Sopenharmony_ci		.parent_hws = (const struct clk_hw *[]){
22948c2ecf20Sopenharmony_ci				&gpll6_main.clkr.hw },
22958c2ecf20Sopenharmony_ci		.num_parents = 1,
22968c2ecf20Sopenharmony_ci		.ops = &clk_fixed_factor_ops,
22978c2ecf20Sopenharmony_ci		.flags = CLK_SET_RATE_PARENT,
22988c2ecf20Sopenharmony_ci	},
22998c2ecf20Sopenharmony_ci};
23008c2ecf20Sopenharmony_ci
23018c2ecf20Sopenharmony_cistatic struct clk_branch gcc_xo_clk = {
23028c2ecf20Sopenharmony_ci	.halt_reg = 0x30030,
23038c2ecf20Sopenharmony_ci	.clkr = {
23048c2ecf20Sopenharmony_ci		.enable_reg = 0x30030,
23058c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
23068c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
23078c2ecf20Sopenharmony_ci			.name = "gcc_xo_clk",
23088c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
23098c2ecf20Sopenharmony_ci					&gcc_xo_clk_src.clkr.hw },
23108c2ecf20Sopenharmony_ci			.num_parents = 1,
23118c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
23128c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
23138c2ecf20Sopenharmony_ci		},
23148c2ecf20Sopenharmony_ci	},
23158c2ecf20Sopenharmony_ci};
23168c2ecf20Sopenharmony_ci
23178c2ecf20Sopenharmony_cistatic struct clk_branch gcc_gp1_clk = {
23188c2ecf20Sopenharmony_ci	.halt_reg = 0x08000,
23198c2ecf20Sopenharmony_ci	.clkr = {
23208c2ecf20Sopenharmony_ci		.enable_reg = 0x08000,
23218c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
23228c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
23238c2ecf20Sopenharmony_ci			.name = "gcc_gp1_clk",
23248c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
23258c2ecf20Sopenharmony_ci					&gp1_clk_src.clkr.hw },
23268c2ecf20Sopenharmony_ci			.num_parents = 1,
23278c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
23288c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
23298c2ecf20Sopenharmony_ci		},
23308c2ecf20Sopenharmony_ci	},
23318c2ecf20Sopenharmony_ci};
23328c2ecf20Sopenharmony_ci
23338c2ecf20Sopenharmony_cistatic struct clk_branch gcc_gp2_clk = {
23348c2ecf20Sopenharmony_ci	.halt_reg = 0x09000,
23358c2ecf20Sopenharmony_ci	.clkr = {
23368c2ecf20Sopenharmony_ci		.enable_reg = 0x09000,
23378c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
23388c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
23398c2ecf20Sopenharmony_ci			.name = "gcc_gp2_clk",
23408c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
23418c2ecf20Sopenharmony_ci					&gp2_clk_src.clkr.hw },
23428c2ecf20Sopenharmony_ci			.num_parents = 1,
23438c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
23448c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
23458c2ecf20Sopenharmony_ci		},
23468c2ecf20Sopenharmony_ci	},
23478c2ecf20Sopenharmony_ci};
23488c2ecf20Sopenharmony_ci
23498c2ecf20Sopenharmony_cistatic struct clk_branch gcc_gp3_clk = {
23508c2ecf20Sopenharmony_ci	.halt_reg = 0x0a000,
23518c2ecf20Sopenharmony_ci	.clkr = {
23528c2ecf20Sopenharmony_ci		.enable_reg = 0x0a000,
23538c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
23548c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
23558c2ecf20Sopenharmony_ci			.name = "gcc_gp3_clk",
23568c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
23578c2ecf20Sopenharmony_ci					&gp3_clk_src.clkr.hw },
23588c2ecf20Sopenharmony_ci			.num_parents = 1,
23598c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
23608c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
23618c2ecf20Sopenharmony_ci		},
23628c2ecf20Sopenharmony_ci	},
23638c2ecf20Sopenharmony_ci};
23648c2ecf20Sopenharmony_ci
23658c2ecf20Sopenharmony_cistatic struct clk_branch gcc_mdio_ahb_clk = {
23668c2ecf20Sopenharmony_ci	.halt_reg = 0x58004,
23678c2ecf20Sopenharmony_ci	.clkr = {
23688c2ecf20Sopenharmony_ci		.enable_reg = 0x58004,
23698c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
23708c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
23718c2ecf20Sopenharmony_ci			.name = "gcc_mdio_ahb_clk",
23728c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
23738c2ecf20Sopenharmony_ci					&pcnoc_bfdcd_clk_src.clkr.hw },
23748c2ecf20Sopenharmony_ci			.num_parents = 1,
23758c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
23768c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
23778c2ecf20Sopenharmony_ci		},
23788c2ecf20Sopenharmony_ci	},
23798c2ecf20Sopenharmony_ci};
23808c2ecf20Sopenharmony_ci
23818c2ecf20Sopenharmony_cistatic struct clk_branch gcc_crypto_ppe_clk = {
23828c2ecf20Sopenharmony_ci	.halt_reg = 0x68310,
23838c2ecf20Sopenharmony_ci	.clkr = {
23848c2ecf20Sopenharmony_ci		.enable_reg = 0x68310,
23858c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
23868c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
23878c2ecf20Sopenharmony_ci			.name = "gcc_crypto_ppe_clk",
23888c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
23898c2ecf20Sopenharmony_ci					&nss_ppe_clk_src.clkr.hw },
23908c2ecf20Sopenharmony_ci			.num_parents = 1,
23918c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
23928c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
23938c2ecf20Sopenharmony_ci		},
23948c2ecf20Sopenharmony_ci	},
23958c2ecf20Sopenharmony_ci};
23968c2ecf20Sopenharmony_ci
23978c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_ce_apb_clk = {
23988c2ecf20Sopenharmony_ci	.halt_reg = 0x68174,
23998c2ecf20Sopenharmony_ci	.clkr = {
24008c2ecf20Sopenharmony_ci		.enable_reg = 0x68174,
24018c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
24028c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
24038c2ecf20Sopenharmony_ci			.name = "gcc_nss_ce_apb_clk",
24048c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
24058c2ecf20Sopenharmony_ci					&nss_ce_clk_src.clkr.hw },
24068c2ecf20Sopenharmony_ci			.num_parents = 1,
24078c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
24088c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
24098c2ecf20Sopenharmony_ci		},
24108c2ecf20Sopenharmony_ci	},
24118c2ecf20Sopenharmony_ci};
24128c2ecf20Sopenharmony_ci
24138c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_ce_axi_clk = {
24148c2ecf20Sopenharmony_ci	.halt_reg = 0x68170,
24158c2ecf20Sopenharmony_ci	.clkr = {
24168c2ecf20Sopenharmony_ci		.enable_reg = 0x68170,
24178c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
24188c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
24198c2ecf20Sopenharmony_ci			.name = "gcc_nss_ce_axi_clk",
24208c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
24218c2ecf20Sopenharmony_ci					&nss_ce_clk_src.clkr.hw },
24228c2ecf20Sopenharmony_ci			.num_parents = 1,
24238c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
24248c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
24258c2ecf20Sopenharmony_ci		},
24268c2ecf20Sopenharmony_ci	},
24278c2ecf20Sopenharmony_ci};
24288c2ecf20Sopenharmony_ci
24298c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_cfg_clk = {
24308c2ecf20Sopenharmony_ci	.halt_reg = 0x68160,
24318c2ecf20Sopenharmony_ci	.clkr = {
24328c2ecf20Sopenharmony_ci		.enable_reg = 0x68160,
24338c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
24348c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
24358c2ecf20Sopenharmony_ci			.name = "gcc_nss_cfg_clk",
24368c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
24378c2ecf20Sopenharmony_ci					&pcnoc_bfdcd_clk_src.clkr.hw },
24388c2ecf20Sopenharmony_ci			.num_parents = 1,
24398c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
24408c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
24418c2ecf20Sopenharmony_ci		},
24428c2ecf20Sopenharmony_ci	},
24438c2ecf20Sopenharmony_ci};
24448c2ecf20Sopenharmony_ci
24458c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_crypto_clk = {
24468c2ecf20Sopenharmony_ci	.halt_reg = 0x68164,
24478c2ecf20Sopenharmony_ci	.clkr = {
24488c2ecf20Sopenharmony_ci		.enable_reg = 0x68164,
24498c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
24508c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
24518c2ecf20Sopenharmony_ci			.name = "gcc_nss_crypto_clk",
24528c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
24538c2ecf20Sopenharmony_ci					&nss_crypto_clk_src.clkr.hw },
24548c2ecf20Sopenharmony_ci			.num_parents = 1,
24558c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
24568c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
24578c2ecf20Sopenharmony_ci		},
24588c2ecf20Sopenharmony_ci	},
24598c2ecf20Sopenharmony_ci};
24608c2ecf20Sopenharmony_ci
24618c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_csr_clk = {
24628c2ecf20Sopenharmony_ci	.halt_reg = 0x68318,
24638c2ecf20Sopenharmony_ci	.clkr = {
24648c2ecf20Sopenharmony_ci		.enable_reg = 0x68318,
24658c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
24668c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
24678c2ecf20Sopenharmony_ci			.name = "gcc_nss_csr_clk",
24688c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
24698c2ecf20Sopenharmony_ci					&nss_ce_clk_src.clkr.hw },
24708c2ecf20Sopenharmony_ci			.num_parents = 1,
24718c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
24728c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
24738c2ecf20Sopenharmony_ci		},
24748c2ecf20Sopenharmony_ci	},
24758c2ecf20Sopenharmony_ci};
24768c2ecf20Sopenharmony_ci
24778c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_edma_cfg_clk = {
24788c2ecf20Sopenharmony_ci	.halt_reg = 0x6819C,
24798c2ecf20Sopenharmony_ci	.clkr = {
24808c2ecf20Sopenharmony_ci		.enable_reg = 0x6819C,
24818c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
24828c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
24838c2ecf20Sopenharmony_ci			.name = "gcc_nss_edma_cfg_clk",
24848c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
24858c2ecf20Sopenharmony_ci					&nss_ppe_clk_src.clkr.hw },
24868c2ecf20Sopenharmony_ci			.num_parents = 1,
24878c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
24888c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
24898c2ecf20Sopenharmony_ci		},
24908c2ecf20Sopenharmony_ci	},
24918c2ecf20Sopenharmony_ci};
24928c2ecf20Sopenharmony_ci
24938c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_edma_clk = {
24948c2ecf20Sopenharmony_ci	.halt_reg = 0x68198,
24958c2ecf20Sopenharmony_ci	.clkr = {
24968c2ecf20Sopenharmony_ci		.enable_reg = 0x68198,
24978c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
24988c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
24998c2ecf20Sopenharmony_ci			.name = "gcc_nss_edma_clk",
25008c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
25018c2ecf20Sopenharmony_ci					&nss_ppe_clk_src.clkr.hw },
25028c2ecf20Sopenharmony_ci			.num_parents = 1,
25038c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
25048c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
25058c2ecf20Sopenharmony_ci		},
25068c2ecf20Sopenharmony_ci	},
25078c2ecf20Sopenharmony_ci};
25088c2ecf20Sopenharmony_ci
25098c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_noc_clk = {
25108c2ecf20Sopenharmony_ci	.halt_reg = 0x68168,
25118c2ecf20Sopenharmony_ci	.clkr = {
25128c2ecf20Sopenharmony_ci		.enable_reg = 0x68168,
25138c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
25148c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
25158c2ecf20Sopenharmony_ci			.name = "gcc_nss_noc_clk",
25168c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
25178c2ecf20Sopenharmony_ci					&snoc_nssnoc_bfdcd_clk_src.clkr.hw },
25188c2ecf20Sopenharmony_ci			.num_parents = 1,
25198c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
25208c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
25218c2ecf20Sopenharmony_ci		},
25228c2ecf20Sopenharmony_ci	},
25238c2ecf20Sopenharmony_ci};
25248c2ecf20Sopenharmony_ci
25258c2ecf20Sopenharmony_cistatic struct clk_branch gcc_ubi0_utcm_clk = {
25268c2ecf20Sopenharmony_ci	.halt_reg = 0x2606c,
25278c2ecf20Sopenharmony_ci	.clkr = {
25288c2ecf20Sopenharmony_ci		.enable_reg = 0x2606c,
25298c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
25308c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
25318c2ecf20Sopenharmony_ci			.name = "gcc_ubi0_utcm_clk",
25328c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
25338c2ecf20Sopenharmony_ci					&snoc_nssnoc_bfdcd_clk_src.clkr.hw },
25348c2ecf20Sopenharmony_ci			.num_parents = 1,
25358c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
25368c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
25378c2ecf20Sopenharmony_ci		},
25388c2ecf20Sopenharmony_ci	},
25398c2ecf20Sopenharmony_ci};
25408c2ecf20Sopenharmony_ci
25418c2ecf20Sopenharmony_cistatic struct clk_branch gcc_snoc_nssnoc_clk = {
25428c2ecf20Sopenharmony_ci	.halt_reg = 0x26070,
25438c2ecf20Sopenharmony_ci	.clkr = {
25448c2ecf20Sopenharmony_ci		.enable_reg = 0x26070,
25458c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
25468c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
25478c2ecf20Sopenharmony_ci			.name = "gcc_snoc_nssnoc_clk",
25488c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
25498c2ecf20Sopenharmony_ci					&snoc_nssnoc_bfdcd_clk_src.clkr.hw },
25508c2ecf20Sopenharmony_ci			.num_parents = 1,
25518c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
25528c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
25538c2ecf20Sopenharmony_ci		},
25548c2ecf20Sopenharmony_ci	},
25558c2ecf20Sopenharmony_ci};
25568c2ecf20Sopenharmony_ci
25578c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_wcss_ahb_clk_src[] = {
25588c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
25598c2ecf20Sopenharmony_ci	F(133333333, P_GPLL0, 6, 0, 0),
25608c2ecf20Sopenharmony_ci	{ }
25618c2ecf20Sopenharmony_ci};
25628c2ecf20Sopenharmony_ci
25638c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_q6_axi_clk_src[] = {
25648c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
25658c2ecf20Sopenharmony_ci	F(400000000, P_GPLL0, 2, 0, 0),
25668c2ecf20Sopenharmony_ci	{ }
25678c2ecf20Sopenharmony_ci};
25688c2ecf20Sopenharmony_ci
25698c2ecf20Sopenharmony_cistatic struct clk_rcg2 wcss_ahb_clk_src = {
25708c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x59020,
25718c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_wcss_ahb_clk_src,
25728c2ecf20Sopenharmony_ci	.hid_width = 5,
25738c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
25748c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
25758c2ecf20Sopenharmony_ci		.name = "wcss_ahb_clk_src",
25768c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0,
25778c2ecf20Sopenharmony_ci		.num_parents = 2,
25788c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
25798c2ecf20Sopenharmony_ci	},
25808c2ecf20Sopenharmony_ci};
25818c2ecf20Sopenharmony_ci
25828c2ecf20Sopenharmony_cistatic const struct clk_parent_data gcc_xo_gpll0_gpll2_gpll4_gpll6[] = {
25838c2ecf20Sopenharmony_ci	{ .fw_name = "xo" },
25848c2ecf20Sopenharmony_ci	{ .hw = &gpll0.clkr.hw },
25858c2ecf20Sopenharmony_ci	{ .hw = &gpll2.clkr.hw },
25868c2ecf20Sopenharmony_ci	{ .hw = &gpll4.clkr.hw },
25878c2ecf20Sopenharmony_ci	{ .hw = &gpll6.clkr.hw },
25888c2ecf20Sopenharmony_ci};
25898c2ecf20Sopenharmony_ci
25908c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0_gpll2_gpll4_gpll6_map[] = {
25918c2ecf20Sopenharmony_ci	{ P_XO, 0 },
25928c2ecf20Sopenharmony_ci	{ P_GPLL0, 1 },
25938c2ecf20Sopenharmony_ci	{ P_GPLL2, 2 },
25948c2ecf20Sopenharmony_ci	{ P_GPLL4, 3 },
25958c2ecf20Sopenharmony_ci	{ P_GPLL6, 4 },
25968c2ecf20Sopenharmony_ci};
25978c2ecf20Sopenharmony_ci
25988c2ecf20Sopenharmony_cistatic struct clk_rcg2 q6_axi_clk_src = {
25998c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x59120,
26008c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_q6_axi_clk_src,
26018c2ecf20Sopenharmony_ci	.hid_width = 5,
26028c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll2_gpll4_gpll6_map,
26038c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
26048c2ecf20Sopenharmony_ci		.name = "q6_axi_clk_src",
26058c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_gpll2_gpll4_gpll6,
26068c2ecf20Sopenharmony_ci		.num_parents = 5,
26078c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
26088c2ecf20Sopenharmony_ci	},
26098c2ecf20Sopenharmony_ci};
26108c2ecf20Sopenharmony_ci
26118c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_lpass_core_axim_clk_src[] = {
26128c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
26138c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
26148c2ecf20Sopenharmony_ci	{ }
26158c2ecf20Sopenharmony_ci};
26168c2ecf20Sopenharmony_ci
26178c2ecf20Sopenharmony_cistatic struct clk_rcg2 lpass_core_axim_clk_src = {
26188c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x1F020,
26198c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_lpass_core_axim_clk_src,
26208c2ecf20Sopenharmony_ci	.hid_width = 5,
26218c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
26228c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
26238c2ecf20Sopenharmony_ci		.name = "lpass_core_axim_clk_src",
26248c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0,
26258c2ecf20Sopenharmony_ci		.num_parents = 2,
26268c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
26278c2ecf20Sopenharmony_ci	},
26288c2ecf20Sopenharmony_ci};
26298c2ecf20Sopenharmony_ci
26308c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_lpass_snoc_cfg_clk_src[] = {
26318c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
26328c2ecf20Sopenharmony_ci	F(266666667, P_GPLL0, 3, 0, 0),
26338c2ecf20Sopenharmony_ci	{ }
26348c2ecf20Sopenharmony_ci};
26358c2ecf20Sopenharmony_ci
26368c2ecf20Sopenharmony_cistatic struct clk_rcg2 lpass_snoc_cfg_clk_src = {
26378c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x1F040,
26388c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_lpass_snoc_cfg_clk_src,
26398c2ecf20Sopenharmony_ci	.hid_width = 5,
26408c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
26418c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
26428c2ecf20Sopenharmony_ci		.name = "lpass_snoc_cfg_clk_src",
26438c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0,
26448c2ecf20Sopenharmony_ci		.num_parents = 2,
26458c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
26468c2ecf20Sopenharmony_ci	},
26478c2ecf20Sopenharmony_ci};
26488c2ecf20Sopenharmony_ci
26498c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_lpass_q6_axim_clk_src[] = {
26508c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
26518c2ecf20Sopenharmony_ci	F(400000000, P_GPLL0, 2, 0, 0),
26528c2ecf20Sopenharmony_ci	{ }
26538c2ecf20Sopenharmony_ci};
26548c2ecf20Sopenharmony_ci
26558c2ecf20Sopenharmony_cistatic struct clk_rcg2 lpass_q6_axim_clk_src = {
26568c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x1F008,
26578c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_lpass_q6_axim_clk_src,
26588c2ecf20Sopenharmony_ci	.hid_width = 5,
26598c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
26608c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
26618c2ecf20Sopenharmony_ci		.name = "lpass_q6_axim_clk_src",
26628c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0,
26638c2ecf20Sopenharmony_ci		.num_parents = 2,
26648c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
26658c2ecf20Sopenharmony_ci	},
26668c2ecf20Sopenharmony_ci};
26678c2ecf20Sopenharmony_ci
26688c2ecf20Sopenharmony_cistatic struct freq_tbl ftbl_rbcpr_wcss_clk_src[] = {
26698c2ecf20Sopenharmony_ci	F(24000000, P_XO, 1, 0, 0),
26708c2ecf20Sopenharmony_ci	F(50000000, P_GPLL0, 16, 0, 0),
26718c2ecf20Sopenharmony_ci	{ }
26728c2ecf20Sopenharmony_ci};
26738c2ecf20Sopenharmony_ci
26748c2ecf20Sopenharmony_cistatic struct clk_rcg2 rbcpr_wcss_clk_src = {
26758c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x3a00c,
26768c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_rbcpr_wcss_clk_src,
26778c2ecf20Sopenharmony_ci	.hid_width = 5,
26788c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_out_main_div2_gpll0_map,
26798c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
26808c2ecf20Sopenharmony_ci		.name = "rbcpr_wcss_clk_src",
26818c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0_out_main_div2_gpll0,
26828c2ecf20Sopenharmony_ci		.num_parents = 3,
26838c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
26848c2ecf20Sopenharmony_ci	},
26858c2ecf20Sopenharmony_ci};
26868c2ecf20Sopenharmony_ci
26878c2ecf20Sopenharmony_cistatic struct clk_branch gcc_lpass_core_axim_clk = {
26888c2ecf20Sopenharmony_ci	.halt_reg = 0x1F028,
26898c2ecf20Sopenharmony_ci	.clkr = {
26908c2ecf20Sopenharmony_ci		.enable_reg = 0x1F028,
26918c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
26928c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
26938c2ecf20Sopenharmony_ci			.name = "gcc_lpass_core_axim_clk",
26948c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
26958c2ecf20Sopenharmony_ci					&lpass_core_axim_clk_src.clkr.hw },
26968c2ecf20Sopenharmony_ci			.num_parents = 1,
26978c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
26988c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
26998c2ecf20Sopenharmony_ci		},
27008c2ecf20Sopenharmony_ci	},
27018c2ecf20Sopenharmony_ci};
27028c2ecf20Sopenharmony_ci
27038c2ecf20Sopenharmony_cistatic struct clk_branch gcc_lpass_snoc_cfg_clk = {
27048c2ecf20Sopenharmony_ci	.halt_reg = 0x1F048,
27058c2ecf20Sopenharmony_ci	.clkr = {
27068c2ecf20Sopenharmony_ci		.enable_reg = 0x1F048,
27078c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
27088c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
27098c2ecf20Sopenharmony_ci			.name = "gcc_lpass_snoc_cfg_clk",
27108c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
27118c2ecf20Sopenharmony_ci					&lpass_snoc_cfg_clk_src.clkr.hw },
27128c2ecf20Sopenharmony_ci			.num_parents = 1,
27138c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
27148c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
27158c2ecf20Sopenharmony_ci		},
27168c2ecf20Sopenharmony_ci	},
27178c2ecf20Sopenharmony_ci};
27188c2ecf20Sopenharmony_ci
27198c2ecf20Sopenharmony_cistatic struct clk_branch gcc_lpass_q6_axim_clk = {
27208c2ecf20Sopenharmony_ci	.halt_reg = 0x1F010,
27218c2ecf20Sopenharmony_ci	.clkr = {
27228c2ecf20Sopenharmony_ci		.enable_reg = 0x1F010,
27238c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
27248c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
27258c2ecf20Sopenharmony_ci			.name = "gcc_lpass_q6_axim_clk",
27268c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
27278c2ecf20Sopenharmony_ci					&lpass_q6_axim_clk_src.clkr.hw },
27288c2ecf20Sopenharmony_ci			.num_parents = 1,
27298c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
27308c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
27318c2ecf20Sopenharmony_ci		},
27328c2ecf20Sopenharmony_ci	},
27338c2ecf20Sopenharmony_ci};
27348c2ecf20Sopenharmony_ci
27358c2ecf20Sopenharmony_cistatic struct clk_branch gcc_lpass_q6_atbm_at_clk = {
27368c2ecf20Sopenharmony_ci	.halt_reg = 0x1F018,
27378c2ecf20Sopenharmony_ci	.clkr = {
27388c2ecf20Sopenharmony_ci		.enable_reg = 0x1F018,
27398c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
27408c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
27418c2ecf20Sopenharmony_ci			.name = "gcc_lpass_q6_atbm_at_clk",
27428c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
27438c2ecf20Sopenharmony_ci					&qdss_at_clk_src.clkr.hw },
27448c2ecf20Sopenharmony_ci			.num_parents = 1,
27458c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
27468c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
27478c2ecf20Sopenharmony_ci		},
27488c2ecf20Sopenharmony_ci	},
27498c2ecf20Sopenharmony_ci};
27508c2ecf20Sopenharmony_ci
27518c2ecf20Sopenharmony_cistatic struct clk_branch gcc_lpass_q6_pclkdbg_clk = {
27528c2ecf20Sopenharmony_ci	.halt_reg = 0x1F01C,
27538c2ecf20Sopenharmony_ci	.clkr = {
27548c2ecf20Sopenharmony_ci		.enable_reg = 0x1F01C,
27558c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
27568c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
27578c2ecf20Sopenharmony_ci			.name = "gcc_lpass_q6_pclkdbg_clk",
27588c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
27598c2ecf20Sopenharmony_ci					&qdss_dap_sync_clk_src.hw },
27608c2ecf20Sopenharmony_ci			.num_parents = 1,
27618c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
27628c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
27638c2ecf20Sopenharmony_ci		},
27648c2ecf20Sopenharmony_ci	},
27658c2ecf20Sopenharmony_ci};
27668c2ecf20Sopenharmony_ci
27678c2ecf20Sopenharmony_cistatic struct clk_branch gcc_lpass_q6ss_tsctr_1to2_clk = {
27688c2ecf20Sopenharmony_ci	.halt_reg = 0x1F014,
27698c2ecf20Sopenharmony_ci	.clkr = {
27708c2ecf20Sopenharmony_ci		.enable_reg = 0x1F014,
27718c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
27728c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
27738c2ecf20Sopenharmony_ci			.name = "gcc_lpass_q6ss_tsctr_1to2_clk",
27748c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
27758c2ecf20Sopenharmony_ci					&qdss_tsctr_div2_clk_src.hw },
27768c2ecf20Sopenharmony_ci			.num_parents = 1,
27778c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
27788c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
27798c2ecf20Sopenharmony_ci		},
27808c2ecf20Sopenharmony_ci	},
27818c2ecf20Sopenharmony_ci};
27828c2ecf20Sopenharmony_ci
27838c2ecf20Sopenharmony_cistatic struct clk_branch gcc_lpass_q6ss_trig_clk = {
27848c2ecf20Sopenharmony_ci	.halt_reg = 0x1F038,
27858c2ecf20Sopenharmony_ci	.clkr = {
27868c2ecf20Sopenharmony_ci		.enable_reg = 0x1F038,
27878c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
27888c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
27898c2ecf20Sopenharmony_ci			.name = "gcc_lpass_q6ss_trig_clk",
27908c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
27918c2ecf20Sopenharmony_ci					&qdss_dap_sync_clk_src.hw },
27928c2ecf20Sopenharmony_ci			.num_parents = 1,
27938c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
27948c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
27958c2ecf20Sopenharmony_ci		},
27968c2ecf20Sopenharmony_ci	},
27978c2ecf20Sopenharmony_ci};
27988c2ecf20Sopenharmony_ci
27998c2ecf20Sopenharmony_cistatic struct clk_branch gcc_lpass_tbu_clk = {
28008c2ecf20Sopenharmony_ci	.halt_reg = 0x12094,
28018c2ecf20Sopenharmony_ci	.clkr = {
28028c2ecf20Sopenharmony_ci		.enable_reg = 0xb00c,
28038c2ecf20Sopenharmony_ci		.enable_mask = BIT(10),
28048c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
28058c2ecf20Sopenharmony_ci			.name = "gcc_lpass_tbu_clk",
28068c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
28078c2ecf20Sopenharmony_ci					&lpass_q6_axim_clk_src.clkr.hw },
28088c2ecf20Sopenharmony_ci			.num_parents = 1,
28098c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
28108c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
28118c2ecf20Sopenharmony_ci		},
28128c2ecf20Sopenharmony_ci	},
28138c2ecf20Sopenharmony_ci};
28148c2ecf20Sopenharmony_ci
28158c2ecf20Sopenharmony_cistatic struct clk_branch gcc_pcnoc_lpass_clk = {
28168c2ecf20Sopenharmony_ci	.halt_reg = 0x27020,
28178c2ecf20Sopenharmony_ci	.clkr = {
28188c2ecf20Sopenharmony_ci		.enable_reg = 0x27020,
28198c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
28208c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
28218c2ecf20Sopenharmony_ci			.name = "gcc_pcnoc_lpass_clk",
28228c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
28238c2ecf20Sopenharmony_ci					&lpass_core_axim_clk_src.clkr.hw },
28248c2ecf20Sopenharmony_ci			.num_parents = 1,
28258c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
28268c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
28278c2ecf20Sopenharmony_ci		},
28288c2ecf20Sopenharmony_ci	},
28298c2ecf20Sopenharmony_ci};
28308c2ecf20Sopenharmony_ci
28318c2ecf20Sopenharmony_cistatic struct clk_branch gcc_mem_noc_lpass_clk = {
28328c2ecf20Sopenharmony_ci	.halt_reg = 0x1D044,
28338c2ecf20Sopenharmony_ci	.clkr = {
28348c2ecf20Sopenharmony_ci		.enable_reg = 0x1D044,
28358c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
28368c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
28378c2ecf20Sopenharmony_ci			.name = "gcc_mem_noc_lpass_clk",
28388c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
28398c2ecf20Sopenharmony_ci					&lpass_q6_axim_clk_src.clkr.hw },
28408c2ecf20Sopenharmony_ci			.num_parents = 1,
28418c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
28428c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
28438c2ecf20Sopenharmony_ci		},
28448c2ecf20Sopenharmony_ci	},
28458c2ecf20Sopenharmony_ci};
28468c2ecf20Sopenharmony_ci
28478c2ecf20Sopenharmony_cistatic struct clk_branch gcc_snoc_lpass_cfg_clk = {
28488c2ecf20Sopenharmony_ci	.halt_reg = 0x26074,
28498c2ecf20Sopenharmony_ci	.clkr = {
28508c2ecf20Sopenharmony_ci		.enable_reg = 0x26074,
28518c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
28528c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
28538c2ecf20Sopenharmony_ci			.name = "gcc_snoc_lpass_cfg_clk",
28548c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
28558c2ecf20Sopenharmony_ci					&lpass_snoc_cfg_clk_src.clkr.hw },
28568c2ecf20Sopenharmony_ci			.num_parents = 1,
28578c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
28588c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
28598c2ecf20Sopenharmony_ci		},
28608c2ecf20Sopenharmony_ci	},
28618c2ecf20Sopenharmony_ci};
28628c2ecf20Sopenharmony_ci
28638c2ecf20Sopenharmony_cistatic struct clk_branch gcc_mem_noc_ubi32_clk = {
28648c2ecf20Sopenharmony_ci	.halt_reg = 0x1D03C,
28658c2ecf20Sopenharmony_ci	.clkr = {
28668c2ecf20Sopenharmony_ci		.enable_reg = 0x1D03C,
28678c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
28688c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
28698c2ecf20Sopenharmony_ci			.name = "gcc_mem_noc_ubi32_clk",
28708c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
28718c2ecf20Sopenharmony_ci					&ubi32_mem_noc_bfdcd_clk_src.clkr.hw },
28728c2ecf20Sopenharmony_ci			.num_parents = 1,
28738c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
28748c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
28758c2ecf20Sopenharmony_ci		},
28768c2ecf20Sopenharmony_ci	},
28778c2ecf20Sopenharmony_ci};
28788c2ecf20Sopenharmony_ci
28798c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_port1_rx_clk = {
28808c2ecf20Sopenharmony_ci	.halt_reg = 0x68240,
28818c2ecf20Sopenharmony_ci	.clkr = {
28828c2ecf20Sopenharmony_ci		.enable_reg = 0x68240,
28838c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
28848c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
28858c2ecf20Sopenharmony_ci			.name = "gcc_nss_port1_rx_clk",
28868c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
28878c2ecf20Sopenharmony_ci					&nss_port1_rx_div_clk_src.clkr.hw },
28888c2ecf20Sopenharmony_ci			.num_parents = 1,
28898c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
28908c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
28918c2ecf20Sopenharmony_ci		},
28928c2ecf20Sopenharmony_ci	},
28938c2ecf20Sopenharmony_ci};
28948c2ecf20Sopenharmony_ci
28958c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_port1_tx_clk = {
28968c2ecf20Sopenharmony_ci	.halt_reg = 0x68244,
28978c2ecf20Sopenharmony_ci	.clkr = {
28988c2ecf20Sopenharmony_ci		.enable_reg = 0x68244,
28998c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
29008c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
29018c2ecf20Sopenharmony_ci			.name = "gcc_nss_port1_tx_clk",
29028c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
29038c2ecf20Sopenharmony_ci					&nss_port1_tx_div_clk_src.clkr.hw },
29048c2ecf20Sopenharmony_ci			.num_parents = 1,
29058c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
29068c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
29078c2ecf20Sopenharmony_ci		},
29088c2ecf20Sopenharmony_ci	},
29098c2ecf20Sopenharmony_ci};
29108c2ecf20Sopenharmony_ci
29118c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_port2_rx_clk = {
29128c2ecf20Sopenharmony_ci	.halt_reg = 0x68248,
29138c2ecf20Sopenharmony_ci	.clkr = {
29148c2ecf20Sopenharmony_ci		.enable_reg = 0x68248,
29158c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
29168c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
29178c2ecf20Sopenharmony_ci			.name = "gcc_nss_port2_rx_clk",
29188c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
29198c2ecf20Sopenharmony_ci					&nss_port2_rx_div_clk_src.clkr.hw },
29208c2ecf20Sopenharmony_ci			.num_parents = 1,
29218c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
29228c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
29238c2ecf20Sopenharmony_ci		},
29248c2ecf20Sopenharmony_ci	},
29258c2ecf20Sopenharmony_ci};
29268c2ecf20Sopenharmony_ci
29278c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_port2_tx_clk = {
29288c2ecf20Sopenharmony_ci	.halt_reg = 0x6824c,
29298c2ecf20Sopenharmony_ci	.clkr = {
29308c2ecf20Sopenharmony_ci		.enable_reg = 0x6824c,
29318c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
29328c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
29338c2ecf20Sopenharmony_ci			.name = "gcc_nss_port2_tx_clk",
29348c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
29358c2ecf20Sopenharmony_ci					&nss_port2_tx_div_clk_src.clkr.hw },
29368c2ecf20Sopenharmony_ci			.num_parents = 1,
29378c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
29388c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
29398c2ecf20Sopenharmony_ci		},
29408c2ecf20Sopenharmony_ci	},
29418c2ecf20Sopenharmony_ci};
29428c2ecf20Sopenharmony_ci
29438c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_port3_rx_clk = {
29448c2ecf20Sopenharmony_ci	.halt_reg = 0x68250,
29458c2ecf20Sopenharmony_ci	.clkr = {
29468c2ecf20Sopenharmony_ci		.enable_reg = 0x68250,
29478c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
29488c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
29498c2ecf20Sopenharmony_ci			.name = "gcc_nss_port3_rx_clk",
29508c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
29518c2ecf20Sopenharmony_ci					&nss_port3_rx_div_clk_src.clkr.hw },
29528c2ecf20Sopenharmony_ci			.num_parents = 1,
29538c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
29548c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
29558c2ecf20Sopenharmony_ci		},
29568c2ecf20Sopenharmony_ci	},
29578c2ecf20Sopenharmony_ci};
29588c2ecf20Sopenharmony_ci
29598c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_port3_tx_clk = {
29608c2ecf20Sopenharmony_ci	.halt_reg = 0x68254,
29618c2ecf20Sopenharmony_ci	.clkr = {
29628c2ecf20Sopenharmony_ci		.enable_reg = 0x68254,
29638c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
29648c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
29658c2ecf20Sopenharmony_ci			.name = "gcc_nss_port3_tx_clk",
29668c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
29678c2ecf20Sopenharmony_ci					&nss_port3_tx_div_clk_src.clkr.hw },
29688c2ecf20Sopenharmony_ci			.num_parents = 1,
29698c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
29708c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
29718c2ecf20Sopenharmony_ci		},
29728c2ecf20Sopenharmony_ci	},
29738c2ecf20Sopenharmony_ci};
29748c2ecf20Sopenharmony_ci
29758c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_port4_rx_clk = {
29768c2ecf20Sopenharmony_ci	.halt_reg = 0x68258,
29778c2ecf20Sopenharmony_ci	.clkr = {
29788c2ecf20Sopenharmony_ci		.enable_reg = 0x68258,
29798c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
29808c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
29818c2ecf20Sopenharmony_ci			.name = "gcc_nss_port4_rx_clk",
29828c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
29838c2ecf20Sopenharmony_ci					&nss_port4_rx_div_clk_src.clkr.hw },
29848c2ecf20Sopenharmony_ci			.num_parents = 1,
29858c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
29868c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
29878c2ecf20Sopenharmony_ci		},
29888c2ecf20Sopenharmony_ci	},
29898c2ecf20Sopenharmony_ci};
29908c2ecf20Sopenharmony_ci
29918c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_port4_tx_clk = {
29928c2ecf20Sopenharmony_ci	.halt_reg = 0x6825c,
29938c2ecf20Sopenharmony_ci	.clkr = {
29948c2ecf20Sopenharmony_ci		.enable_reg = 0x6825c,
29958c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
29968c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
29978c2ecf20Sopenharmony_ci			.name = "gcc_nss_port4_tx_clk",
29988c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
29998c2ecf20Sopenharmony_ci					&nss_port4_tx_div_clk_src.clkr.hw },
30008c2ecf20Sopenharmony_ci			.num_parents = 1,
30018c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
30028c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
30038c2ecf20Sopenharmony_ci		},
30048c2ecf20Sopenharmony_ci	},
30058c2ecf20Sopenharmony_ci};
30068c2ecf20Sopenharmony_ci
30078c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_port5_rx_clk = {
30088c2ecf20Sopenharmony_ci	.halt_reg = 0x68260,
30098c2ecf20Sopenharmony_ci	.clkr = {
30108c2ecf20Sopenharmony_ci		.enable_reg = 0x68260,
30118c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
30128c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
30138c2ecf20Sopenharmony_ci			.name = "gcc_nss_port5_rx_clk",
30148c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
30158c2ecf20Sopenharmony_ci					&nss_port5_rx_div_clk_src.clkr.hw },
30168c2ecf20Sopenharmony_ci			.num_parents = 1,
30178c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
30188c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
30198c2ecf20Sopenharmony_ci		},
30208c2ecf20Sopenharmony_ci	},
30218c2ecf20Sopenharmony_ci};
30228c2ecf20Sopenharmony_ci
30238c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_port5_tx_clk = {
30248c2ecf20Sopenharmony_ci	.halt_reg = 0x68264,
30258c2ecf20Sopenharmony_ci	.clkr = {
30268c2ecf20Sopenharmony_ci		.enable_reg = 0x68264,
30278c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
30288c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
30298c2ecf20Sopenharmony_ci			.name = "gcc_nss_port5_tx_clk",
30308c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
30318c2ecf20Sopenharmony_ci					&nss_port5_tx_div_clk_src.clkr.hw },
30328c2ecf20Sopenharmony_ci			.num_parents = 1,
30338c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
30348c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
30358c2ecf20Sopenharmony_ci		},
30368c2ecf20Sopenharmony_ci	},
30378c2ecf20Sopenharmony_ci};
30388c2ecf20Sopenharmony_ci
30398c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_ppe_cfg_clk = {
30408c2ecf20Sopenharmony_ci	.halt_reg = 0x68194,
30418c2ecf20Sopenharmony_ci	.clkr = {
30428c2ecf20Sopenharmony_ci		.enable_reg = 0x68194,
30438c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
30448c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
30458c2ecf20Sopenharmony_ci			.name = "gcc_nss_ppe_cfg_clk",
30468c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
30478c2ecf20Sopenharmony_ci					&nss_ppe_clk_src.clkr.hw },
30488c2ecf20Sopenharmony_ci			.num_parents = 1,
30498c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
30508c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
30518c2ecf20Sopenharmony_ci		},
30528c2ecf20Sopenharmony_ci	},
30538c2ecf20Sopenharmony_ci};
30548c2ecf20Sopenharmony_ci
30558c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_ppe_clk = {
30568c2ecf20Sopenharmony_ci	.halt_reg = 0x68190,
30578c2ecf20Sopenharmony_ci	.clkr = {
30588c2ecf20Sopenharmony_ci		.enable_reg = 0x68190,
30598c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
30608c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
30618c2ecf20Sopenharmony_ci			.name = "gcc_nss_ppe_clk",
30628c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
30638c2ecf20Sopenharmony_ci					&nss_ppe_clk_src.clkr.hw },
30648c2ecf20Sopenharmony_ci			.num_parents = 1,
30658c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
30668c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
30678c2ecf20Sopenharmony_ci		},
30688c2ecf20Sopenharmony_ci	},
30698c2ecf20Sopenharmony_ci};
30708c2ecf20Sopenharmony_ci
30718c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_ppe_ipe_clk = {
30728c2ecf20Sopenharmony_ci	.halt_reg = 0x68338,
30738c2ecf20Sopenharmony_ci	.clkr = {
30748c2ecf20Sopenharmony_ci		.enable_reg = 0x68338,
30758c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
30768c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
30778c2ecf20Sopenharmony_ci			.name = "gcc_nss_ppe_ipe_clk",
30788c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
30798c2ecf20Sopenharmony_ci					&nss_ppe_clk_src.clkr.hw },
30808c2ecf20Sopenharmony_ci			.num_parents = 1,
30818c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
30828c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
30838c2ecf20Sopenharmony_ci		},
30848c2ecf20Sopenharmony_ci	},
30858c2ecf20Sopenharmony_ci};
30868c2ecf20Sopenharmony_ci
30878c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nss_ptp_ref_clk = {
30888c2ecf20Sopenharmony_ci	.halt_reg = 0x6816C,
30898c2ecf20Sopenharmony_ci	.clkr = {
30908c2ecf20Sopenharmony_ci		.enable_reg = 0x6816C,
30918c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
30928c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
30938c2ecf20Sopenharmony_ci			.name = "gcc_nss_ptp_ref_clk",
30948c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
30958c2ecf20Sopenharmony_ci					&nss_ppe_cdiv_clk_src.hw },
30968c2ecf20Sopenharmony_ci			.num_parents = 1,
30978c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
30988c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
30998c2ecf20Sopenharmony_ci		},
31008c2ecf20Sopenharmony_ci	},
31018c2ecf20Sopenharmony_ci};
31028c2ecf20Sopenharmony_ci
31038c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nssnoc_ce_apb_clk = {
31048c2ecf20Sopenharmony_ci	.halt_reg = 0x6830C,
31058c2ecf20Sopenharmony_ci	.clkr = {
31068c2ecf20Sopenharmony_ci		.enable_reg = 0x6830C,
31078c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
31088c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
31098c2ecf20Sopenharmony_ci			.name = "gcc_nssnoc_ce_apb_clk",
31108c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
31118c2ecf20Sopenharmony_ci					&nss_ce_clk_src.clkr.hw },
31128c2ecf20Sopenharmony_ci			.num_parents = 1,
31138c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
31148c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
31158c2ecf20Sopenharmony_ci		},
31168c2ecf20Sopenharmony_ci	},
31178c2ecf20Sopenharmony_ci};
31188c2ecf20Sopenharmony_ci
31198c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nssnoc_ce_axi_clk = {
31208c2ecf20Sopenharmony_ci	.halt_reg = 0x68308,
31218c2ecf20Sopenharmony_ci	.clkr = {
31228c2ecf20Sopenharmony_ci		.enable_reg = 0x68308,
31238c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
31248c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
31258c2ecf20Sopenharmony_ci			.name = "gcc_nssnoc_ce_axi_clk",
31268c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
31278c2ecf20Sopenharmony_ci					&nss_ce_clk_src.clkr.hw },
31288c2ecf20Sopenharmony_ci			.num_parents = 1,
31298c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
31308c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
31318c2ecf20Sopenharmony_ci		},
31328c2ecf20Sopenharmony_ci	},
31338c2ecf20Sopenharmony_ci};
31348c2ecf20Sopenharmony_ci
31358c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nssnoc_crypto_clk = {
31368c2ecf20Sopenharmony_ci	.halt_reg = 0x68314,
31378c2ecf20Sopenharmony_ci	.clkr = {
31388c2ecf20Sopenharmony_ci		.enable_reg = 0x68314,
31398c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
31408c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
31418c2ecf20Sopenharmony_ci			.name = "gcc_nssnoc_crypto_clk",
31428c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
31438c2ecf20Sopenharmony_ci					&nss_crypto_clk_src.clkr.hw },
31448c2ecf20Sopenharmony_ci			.num_parents = 1,
31458c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
31468c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
31478c2ecf20Sopenharmony_ci		},
31488c2ecf20Sopenharmony_ci	},
31498c2ecf20Sopenharmony_ci};
31508c2ecf20Sopenharmony_ci
31518c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nssnoc_ppe_cfg_clk = {
31528c2ecf20Sopenharmony_ci	.halt_reg = 0x68304,
31538c2ecf20Sopenharmony_ci	.clkr = {
31548c2ecf20Sopenharmony_ci		.enable_reg = 0x68304,
31558c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
31568c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
31578c2ecf20Sopenharmony_ci			.name = "gcc_nssnoc_ppe_cfg_clk",
31588c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
31598c2ecf20Sopenharmony_ci					&nss_ppe_clk_src.clkr.hw },
31608c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
31618c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
31628c2ecf20Sopenharmony_ci		},
31638c2ecf20Sopenharmony_ci	},
31648c2ecf20Sopenharmony_ci};
31658c2ecf20Sopenharmony_ci
31668c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nssnoc_ppe_clk = {
31678c2ecf20Sopenharmony_ci	.halt_reg = 0x68300,
31688c2ecf20Sopenharmony_ci	.clkr = {
31698c2ecf20Sopenharmony_ci		.enable_reg = 0x68300,
31708c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
31718c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
31728c2ecf20Sopenharmony_ci			.name = "gcc_nssnoc_ppe_clk",
31738c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
31748c2ecf20Sopenharmony_ci					&nss_ppe_clk_src.clkr.hw },
31758c2ecf20Sopenharmony_ci			.num_parents = 1,
31768c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
31778c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
31788c2ecf20Sopenharmony_ci		},
31798c2ecf20Sopenharmony_ci	},
31808c2ecf20Sopenharmony_ci};
31818c2ecf20Sopenharmony_ci
31828c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nssnoc_qosgen_ref_clk = {
31838c2ecf20Sopenharmony_ci	.halt_reg = 0x68180,
31848c2ecf20Sopenharmony_ci	.clkr = {
31858c2ecf20Sopenharmony_ci		.enable_reg = 0x68180,
31868c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
31878c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
31888c2ecf20Sopenharmony_ci			.name = "gcc_nssnoc_qosgen_ref_clk",
31898c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
31908c2ecf20Sopenharmony_ci					&gcc_xo_clk_src.clkr.hw },
31918c2ecf20Sopenharmony_ci			.num_parents = 1,
31928c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
31938c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
31948c2ecf20Sopenharmony_ci		},
31958c2ecf20Sopenharmony_ci	},
31968c2ecf20Sopenharmony_ci};
31978c2ecf20Sopenharmony_ci
31988c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nssnoc_snoc_clk = {
31998c2ecf20Sopenharmony_ci	.halt_reg = 0x68188,
32008c2ecf20Sopenharmony_ci	.clkr = {
32018c2ecf20Sopenharmony_ci		.enable_reg = 0x68188,
32028c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
32038c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
32048c2ecf20Sopenharmony_ci			.name = "gcc_nssnoc_snoc_clk",
32058c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
32068c2ecf20Sopenharmony_ci					&system_noc_bfdcd_clk_src.clkr.hw },
32078c2ecf20Sopenharmony_ci			.num_parents = 1,
32088c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
32098c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
32108c2ecf20Sopenharmony_ci		},
32118c2ecf20Sopenharmony_ci	},
32128c2ecf20Sopenharmony_ci};
32138c2ecf20Sopenharmony_ci
32148c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nssnoc_timeout_ref_clk = {
32158c2ecf20Sopenharmony_ci	.halt_reg = 0x68184,
32168c2ecf20Sopenharmony_ci	.clkr = {
32178c2ecf20Sopenharmony_ci		.enable_reg = 0x68184,
32188c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
32198c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
32208c2ecf20Sopenharmony_ci			.name = "gcc_nssnoc_timeout_ref_clk",
32218c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
32228c2ecf20Sopenharmony_ci					&gcc_xo_div4_clk_src.hw },
32238c2ecf20Sopenharmony_ci			.num_parents = 1,
32248c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
32258c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
32268c2ecf20Sopenharmony_ci		},
32278c2ecf20Sopenharmony_ci	},
32288c2ecf20Sopenharmony_ci};
32298c2ecf20Sopenharmony_ci
32308c2ecf20Sopenharmony_cistatic struct clk_branch gcc_nssnoc_ubi0_ahb_clk = {
32318c2ecf20Sopenharmony_ci	.halt_reg = 0x68270,
32328c2ecf20Sopenharmony_ci	.clkr = {
32338c2ecf20Sopenharmony_ci		.enable_reg = 0x68270,
32348c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
32358c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
32368c2ecf20Sopenharmony_ci			.name = "gcc_nssnoc_ubi0_ahb_clk",
32378c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
32388c2ecf20Sopenharmony_ci					&nss_ce_clk_src.clkr.hw },
32398c2ecf20Sopenharmony_ci			.num_parents = 1,
32408c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
32418c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
32428c2ecf20Sopenharmony_ci		},
32438c2ecf20Sopenharmony_ci	},
32448c2ecf20Sopenharmony_ci};
32458c2ecf20Sopenharmony_ci
32468c2ecf20Sopenharmony_cistatic struct clk_branch gcc_port1_mac_clk = {
32478c2ecf20Sopenharmony_ci	.halt_reg = 0x68320,
32488c2ecf20Sopenharmony_ci	.clkr = {
32498c2ecf20Sopenharmony_ci		.enable_reg = 0x68320,
32508c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
32518c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
32528c2ecf20Sopenharmony_ci			.name = "gcc_port1_mac_clk",
32538c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
32548c2ecf20Sopenharmony_ci					&nss_ppe_clk_src.clkr.hw },
32558c2ecf20Sopenharmony_ci			.num_parents = 1,
32568c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
32578c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
32588c2ecf20Sopenharmony_ci		},
32598c2ecf20Sopenharmony_ci	},
32608c2ecf20Sopenharmony_ci};
32618c2ecf20Sopenharmony_ci
32628c2ecf20Sopenharmony_cistatic struct clk_branch gcc_port2_mac_clk = {
32638c2ecf20Sopenharmony_ci	.halt_reg = 0x68324,
32648c2ecf20Sopenharmony_ci	.clkr = {
32658c2ecf20Sopenharmony_ci		.enable_reg = 0x68324,
32668c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
32678c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
32688c2ecf20Sopenharmony_ci			.name = "gcc_port2_mac_clk",
32698c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
32708c2ecf20Sopenharmony_ci					&nss_ppe_clk_src.clkr.hw },
32718c2ecf20Sopenharmony_ci			.num_parents = 1,
32728c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
32738c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
32748c2ecf20Sopenharmony_ci		},
32758c2ecf20Sopenharmony_ci	},
32768c2ecf20Sopenharmony_ci};
32778c2ecf20Sopenharmony_ci
32788c2ecf20Sopenharmony_cistatic struct clk_branch gcc_port3_mac_clk = {
32798c2ecf20Sopenharmony_ci	.halt_reg = 0x68328,
32808c2ecf20Sopenharmony_ci	.clkr = {
32818c2ecf20Sopenharmony_ci		.enable_reg = 0x68328,
32828c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
32838c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
32848c2ecf20Sopenharmony_ci			.name = "gcc_port3_mac_clk",
32858c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
32868c2ecf20Sopenharmony_ci					&nss_ppe_clk_src.clkr.hw },
32878c2ecf20Sopenharmony_ci			.num_parents = 1,
32888c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
32898c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
32908c2ecf20Sopenharmony_ci		},
32918c2ecf20Sopenharmony_ci	},
32928c2ecf20Sopenharmony_ci};
32938c2ecf20Sopenharmony_ci
32948c2ecf20Sopenharmony_cistatic struct clk_branch gcc_port4_mac_clk = {
32958c2ecf20Sopenharmony_ci	.halt_reg = 0x6832c,
32968c2ecf20Sopenharmony_ci	.clkr = {
32978c2ecf20Sopenharmony_ci		.enable_reg = 0x6832c,
32988c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
32998c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
33008c2ecf20Sopenharmony_ci			.name = "gcc_port4_mac_clk",
33018c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
33028c2ecf20Sopenharmony_ci					&nss_ppe_clk_src.clkr.hw },
33038c2ecf20Sopenharmony_ci			.num_parents = 1,
33048c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
33058c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
33068c2ecf20Sopenharmony_ci		},
33078c2ecf20Sopenharmony_ci	},
33088c2ecf20Sopenharmony_ci};
33098c2ecf20Sopenharmony_ci
33108c2ecf20Sopenharmony_cistatic struct clk_branch gcc_port5_mac_clk = {
33118c2ecf20Sopenharmony_ci	.halt_reg = 0x68330,
33128c2ecf20Sopenharmony_ci	.clkr = {
33138c2ecf20Sopenharmony_ci		.enable_reg = 0x68330,
33148c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
33158c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
33168c2ecf20Sopenharmony_ci			.name = "gcc_port5_mac_clk",
33178c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
33188c2ecf20Sopenharmony_ci					&nss_ppe_clk_src.clkr.hw },
33198c2ecf20Sopenharmony_ci			.num_parents = 1,
33208c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
33218c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
33228c2ecf20Sopenharmony_ci		},
33238c2ecf20Sopenharmony_ci	},
33248c2ecf20Sopenharmony_ci};
33258c2ecf20Sopenharmony_ci
33268c2ecf20Sopenharmony_cistatic struct clk_branch gcc_ubi0_ahb_clk = {
33278c2ecf20Sopenharmony_ci	.halt_reg = 0x6820C,
33288c2ecf20Sopenharmony_ci	.halt_check = BRANCH_HALT_DELAY,
33298c2ecf20Sopenharmony_ci	.clkr = {
33308c2ecf20Sopenharmony_ci		.enable_reg = 0x6820C,
33318c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
33328c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
33338c2ecf20Sopenharmony_ci			.name = "gcc_ubi0_ahb_clk",
33348c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
33358c2ecf20Sopenharmony_ci					&nss_ce_clk_src.clkr.hw },
33368c2ecf20Sopenharmony_ci			.num_parents = 1,
33378c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
33388c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
33398c2ecf20Sopenharmony_ci		},
33408c2ecf20Sopenharmony_ci	},
33418c2ecf20Sopenharmony_ci};
33428c2ecf20Sopenharmony_ci
33438c2ecf20Sopenharmony_cistatic struct clk_branch gcc_ubi0_axi_clk = {
33448c2ecf20Sopenharmony_ci	.halt_reg = 0x68200,
33458c2ecf20Sopenharmony_ci	.halt_check = BRANCH_HALT_DELAY,
33468c2ecf20Sopenharmony_ci	.clkr = {
33478c2ecf20Sopenharmony_ci		.enable_reg = 0x68200,
33488c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
33498c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
33508c2ecf20Sopenharmony_ci			.name = "gcc_ubi0_axi_clk",
33518c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
33528c2ecf20Sopenharmony_ci					&ubi32_mem_noc_bfdcd_clk_src.clkr.hw },
33538c2ecf20Sopenharmony_ci			.num_parents = 1,
33548c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
33558c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
33568c2ecf20Sopenharmony_ci		},
33578c2ecf20Sopenharmony_ci	},
33588c2ecf20Sopenharmony_ci};
33598c2ecf20Sopenharmony_ci
33608c2ecf20Sopenharmony_cistatic struct clk_branch gcc_ubi0_nc_axi_clk = {
33618c2ecf20Sopenharmony_ci	.halt_reg = 0x68204,
33628c2ecf20Sopenharmony_ci	.halt_check = BRANCH_HALT_DELAY,
33638c2ecf20Sopenharmony_ci	.clkr = {
33648c2ecf20Sopenharmony_ci		.enable_reg = 0x68204,
33658c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
33668c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
33678c2ecf20Sopenharmony_ci			.name = "gcc_ubi0_nc_axi_clk",
33688c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
33698c2ecf20Sopenharmony_ci					&snoc_nssnoc_bfdcd_clk_src.clkr.hw },
33708c2ecf20Sopenharmony_ci			.num_parents = 1,
33718c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
33728c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
33738c2ecf20Sopenharmony_ci		},
33748c2ecf20Sopenharmony_ci	},
33758c2ecf20Sopenharmony_ci};
33768c2ecf20Sopenharmony_ci
33778c2ecf20Sopenharmony_cistatic struct clk_branch gcc_ubi0_core_clk = {
33788c2ecf20Sopenharmony_ci	.halt_reg = 0x68210,
33798c2ecf20Sopenharmony_ci	.halt_check = BRANCH_HALT_DELAY,
33808c2ecf20Sopenharmony_ci	.clkr = {
33818c2ecf20Sopenharmony_ci		.enable_reg = 0x68210,
33828c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
33838c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
33848c2ecf20Sopenharmony_ci			.name = "gcc_ubi0_core_clk",
33858c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
33868c2ecf20Sopenharmony_ci					&nss_ubi0_div_clk_src.clkr.hw },
33878c2ecf20Sopenharmony_ci			.num_parents = 1,
33888c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
33898c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
33908c2ecf20Sopenharmony_ci		},
33918c2ecf20Sopenharmony_ci	},
33928c2ecf20Sopenharmony_ci};
33938c2ecf20Sopenharmony_ci
33948c2ecf20Sopenharmony_cistatic struct clk_branch gcc_pcie0_ahb_clk = {
33958c2ecf20Sopenharmony_ci	.halt_reg = 0x75010,
33968c2ecf20Sopenharmony_ci	.clkr = {
33978c2ecf20Sopenharmony_ci		.enable_reg = 0x75010,
33988c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
33998c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
34008c2ecf20Sopenharmony_ci			.name = "gcc_pcie0_ahb_clk",
34018c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
34028c2ecf20Sopenharmony_ci					&pcnoc_bfdcd_clk_src.clkr.hw },
34038c2ecf20Sopenharmony_ci			.num_parents = 1,
34048c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
34058c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
34068c2ecf20Sopenharmony_ci		},
34078c2ecf20Sopenharmony_ci	},
34088c2ecf20Sopenharmony_ci};
34098c2ecf20Sopenharmony_ci
34108c2ecf20Sopenharmony_cistatic struct clk_branch gcc_pcie0_aux_clk = {
34118c2ecf20Sopenharmony_ci	.halt_reg = 0x75014,
34128c2ecf20Sopenharmony_ci	.clkr = {
34138c2ecf20Sopenharmony_ci		.enable_reg = 0x75014,
34148c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
34158c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
34168c2ecf20Sopenharmony_ci			.name = "gcc_pcie0_aux_clk",
34178c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
34188c2ecf20Sopenharmony_ci					&pcie0_aux_clk_src.clkr.hw },
34198c2ecf20Sopenharmony_ci			.num_parents = 1,
34208c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
34218c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
34228c2ecf20Sopenharmony_ci		},
34238c2ecf20Sopenharmony_ci	},
34248c2ecf20Sopenharmony_ci};
34258c2ecf20Sopenharmony_ci
34268c2ecf20Sopenharmony_cistatic struct clk_branch gcc_pcie0_axi_m_clk = {
34278c2ecf20Sopenharmony_ci	.halt_reg = 0x75008,
34288c2ecf20Sopenharmony_ci	.clkr = {
34298c2ecf20Sopenharmony_ci		.enable_reg = 0x75008,
34308c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
34318c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
34328c2ecf20Sopenharmony_ci			.name = "gcc_pcie0_axi_m_clk",
34338c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
34348c2ecf20Sopenharmony_ci					&pcie0_axi_clk_src.clkr.hw },
34358c2ecf20Sopenharmony_ci			.num_parents = 1,
34368c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
34378c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
34388c2ecf20Sopenharmony_ci		},
34398c2ecf20Sopenharmony_ci	},
34408c2ecf20Sopenharmony_ci};
34418c2ecf20Sopenharmony_ci
34428c2ecf20Sopenharmony_cistatic struct clk_branch gcc_pcie0_axi_s_clk = {
34438c2ecf20Sopenharmony_ci	.halt_reg = 0x7500c,
34448c2ecf20Sopenharmony_ci	.clkr = {
34458c2ecf20Sopenharmony_ci		.enable_reg = 0x7500c,
34468c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
34478c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
34488c2ecf20Sopenharmony_ci			.name = "gcc_pcie0_axi_s_clk",
34498c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
34508c2ecf20Sopenharmony_ci					&pcie0_axi_clk_src.clkr.hw },
34518c2ecf20Sopenharmony_ci			.num_parents = 1,
34528c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
34538c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
34548c2ecf20Sopenharmony_ci		},
34558c2ecf20Sopenharmony_ci	},
34568c2ecf20Sopenharmony_ci};
34578c2ecf20Sopenharmony_ci
34588c2ecf20Sopenharmony_cistatic struct clk_branch gcc_sys_noc_pcie0_axi_clk = {
34598c2ecf20Sopenharmony_ci	.halt_reg = 0x26048,
34608c2ecf20Sopenharmony_ci	.clkr = {
34618c2ecf20Sopenharmony_ci		.enable_reg = 0x26048,
34628c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
34638c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
34648c2ecf20Sopenharmony_ci			.name = "gcc_sys_noc_pcie0_axi_clk",
34658c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
34668c2ecf20Sopenharmony_ci					&pcie0_axi_clk_src.clkr.hw },
34678c2ecf20Sopenharmony_ci			.num_parents = 1,
34688c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
34698c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
34708c2ecf20Sopenharmony_ci		},
34718c2ecf20Sopenharmony_ci	},
34728c2ecf20Sopenharmony_ci};
34738c2ecf20Sopenharmony_ci
34748c2ecf20Sopenharmony_cistatic struct clk_branch gcc_pcie0_pipe_clk = {
34758c2ecf20Sopenharmony_ci	.halt_reg = 0x75018,
34768c2ecf20Sopenharmony_ci	.halt_check = BRANCH_HALT_DELAY,
34778c2ecf20Sopenharmony_ci	.clkr = {
34788c2ecf20Sopenharmony_ci		.enable_reg = 0x75018,
34798c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
34808c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
34818c2ecf20Sopenharmony_ci			.name = "gcc_pcie0_pipe_clk",
34828c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
34838c2ecf20Sopenharmony_ci					&pcie0_pipe_clk_src.clkr.hw },
34848c2ecf20Sopenharmony_ci			.num_parents = 1,
34858c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
34868c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
34878c2ecf20Sopenharmony_ci		},
34888c2ecf20Sopenharmony_ci	},
34898c2ecf20Sopenharmony_ci};
34908c2ecf20Sopenharmony_ci
34918c2ecf20Sopenharmony_cistatic struct clk_branch gcc_prng_ahb_clk = {
34928c2ecf20Sopenharmony_ci	.halt_reg = 0x13004,
34938c2ecf20Sopenharmony_ci	.halt_check = BRANCH_HALT_VOTED,
34948c2ecf20Sopenharmony_ci	.clkr = {
34958c2ecf20Sopenharmony_ci		.enable_reg = 0x0b004,
34968c2ecf20Sopenharmony_ci		.enable_mask = BIT(8),
34978c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
34988c2ecf20Sopenharmony_ci			.name = "gcc_prng_ahb_clk",
34998c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
35008c2ecf20Sopenharmony_ci					&pcnoc_bfdcd_clk_src.clkr.hw },
35018c2ecf20Sopenharmony_ci			.num_parents = 1,
35028c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
35038c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
35048c2ecf20Sopenharmony_ci		},
35058c2ecf20Sopenharmony_ci	},
35068c2ecf20Sopenharmony_ci};
35078c2ecf20Sopenharmony_ci
35088c2ecf20Sopenharmony_cistatic struct clk_branch gcc_qdss_dap_clk = {
35098c2ecf20Sopenharmony_ci	.halt_reg = 0x29084,
35108c2ecf20Sopenharmony_ci	.clkr = {
35118c2ecf20Sopenharmony_ci		.enable_reg = 0x29084,
35128c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
35138c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
35148c2ecf20Sopenharmony_ci			.name = "gcc_qdss_dap_clk",
35158c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
35168c2ecf20Sopenharmony_ci					&qdss_dap_sync_clk_src.hw },
35178c2ecf20Sopenharmony_ci			.num_parents = 1,
35188c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
35198c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
35208c2ecf20Sopenharmony_ci		},
35218c2ecf20Sopenharmony_ci	},
35228c2ecf20Sopenharmony_ci};
35238c2ecf20Sopenharmony_ci
35248c2ecf20Sopenharmony_cistatic struct clk_branch gcc_qpic_ahb_clk = {
35258c2ecf20Sopenharmony_ci	.halt_reg = 0x57024,
35268c2ecf20Sopenharmony_ci	.clkr = {
35278c2ecf20Sopenharmony_ci		.enable_reg = 0x57024,
35288c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
35298c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
35308c2ecf20Sopenharmony_ci			.name = "gcc_qpic_ahb_clk",
35318c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
35328c2ecf20Sopenharmony_ci					&pcnoc_bfdcd_clk_src.clkr.hw },
35338c2ecf20Sopenharmony_ci			.num_parents = 1,
35348c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
35358c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
35368c2ecf20Sopenharmony_ci		},
35378c2ecf20Sopenharmony_ci	},
35388c2ecf20Sopenharmony_ci};
35398c2ecf20Sopenharmony_ci
35408c2ecf20Sopenharmony_cistatic struct clk_branch gcc_qpic_clk = {
35418c2ecf20Sopenharmony_ci	.halt_reg = 0x57020,
35428c2ecf20Sopenharmony_ci	.clkr = {
35438c2ecf20Sopenharmony_ci		.enable_reg = 0x57020,
35448c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
35458c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
35468c2ecf20Sopenharmony_ci			.name = "gcc_qpic_clk",
35478c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
35488c2ecf20Sopenharmony_ci					&pcnoc_bfdcd_clk_src.clkr.hw },
35498c2ecf20Sopenharmony_ci			.num_parents = 1,
35508c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
35518c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
35528c2ecf20Sopenharmony_ci		},
35538c2ecf20Sopenharmony_ci	},
35548c2ecf20Sopenharmony_ci};
35558c2ecf20Sopenharmony_ci
35568c2ecf20Sopenharmony_cistatic struct clk_branch gcc_sdcc1_ahb_clk = {
35578c2ecf20Sopenharmony_ci	.halt_reg = 0x4201c,
35588c2ecf20Sopenharmony_ci	.clkr = {
35598c2ecf20Sopenharmony_ci		.enable_reg = 0x4201c,
35608c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
35618c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
35628c2ecf20Sopenharmony_ci			.name = "gcc_sdcc1_ahb_clk",
35638c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
35648c2ecf20Sopenharmony_ci					&pcnoc_bfdcd_clk_src.clkr.hw },
35658c2ecf20Sopenharmony_ci			.num_parents = 1,
35668c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
35678c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
35688c2ecf20Sopenharmony_ci		},
35698c2ecf20Sopenharmony_ci	},
35708c2ecf20Sopenharmony_ci};
35718c2ecf20Sopenharmony_ci
35728c2ecf20Sopenharmony_cistatic struct clk_branch gcc_sdcc1_apps_clk = {
35738c2ecf20Sopenharmony_ci	.halt_reg = 0x42018,
35748c2ecf20Sopenharmony_ci	.clkr = {
35758c2ecf20Sopenharmony_ci		.enable_reg = 0x42018,
35768c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
35778c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
35788c2ecf20Sopenharmony_ci			.name = "gcc_sdcc1_apps_clk",
35798c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
35808c2ecf20Sopenharmony_ci					&sdcc1_apps_clk_src.clkr.hw },
35818c2ecf20Sopenharmony_ci			.num_parents = 1,
35828c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
35838c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
35848c2ecf20Sopenharmony_ci		},
35858c2ecf20Sopenharmony_ci	},
35868c2ecf20Sopenharmony_ci};
35878c2ecf20Sopenharmony_ci
35888c2ecf20Sopenharmony_cistatic struct clk_branch gcc_uniphy0_ahb_clk = {
35898c2ecf20Sopenharmony_ci	.halt_reg = 0x56008,
35908c2ecf20Sopenharmony_ci	.clkr = {
35918c2ecf20Sopenharmony_ci		.enable_reg = 0x56008,
35928c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
35938c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
35948c2ecf20Sopenharmony_ci			.name = "gcc_uniphy0_ahb_clk",
35958c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
35968c2ecf20Sopenharmony_ci					&pcnoc_bfdcd_clk_src.clkr.hw },
35978c2ecf20Sopenharmony_ci			.num_parents = 1,
35988c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
35998c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
36008c2ecf20Sopenharmony_ci		},
36018c2ecf20Sopenharmony_ci	},
36028c2ecf20Sopenharmony_ci};
36038c2ecf20Sopenharmony_ci
36048c2ecf20Sopenharmony_cistatic struct clk_branch gcc_uniphy0_port1_rx_clk = {
36058c2ecf20Sopenharmony_ci	.halt_reg = 0x56010,
36068c2ecf20Sopenharmony_ci	.clkr = {
36078c2ecf20Sopenharmony_ci		.enable_reg = 0x56010,
36088c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
36098c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
36108c2ecf20Sopenharmony_ci			.name = "gcc_uniphy0_port1_rx_clk",
36118c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
36128c2ecf20Sopenharmony_ci					&nss_port1_rx_div_clk_src.clkr.hw },
36138c2ecf20Sopenharmony_ci			.num_parents = 1,
36148c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
36158c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
36168c2ecf20Sopenharmony_ci		},
36178c2ecf20Sopenharmony_ci	},
36188c2ecf20Sopenharmony_ci};
36198c2ecf20Sopenharmony_ci
36208c2ecf20Sopenharmony_cistatic struct clk_branch gcc_uniphy0_port1_tx_clk = {
36218c2ecf20Sopenharmony_ci	.halt_reg = 0x56014,
36228c2ecf20Sopenharmony_ci	.clkr = {
36238c2ecf20Sopenharmony_ci		.enable_reg = 0x56014,
36248c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
36258c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
36268c2ecf20Sopenharmony_ci			.name = "gcc_uniphy0_port1_tx_clk",
36278c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
36288c2ecf20Sopenharmony_ci					&nss_port1_tx_div_clk_src.clkr.hw },
36298c2ecf20Sopenharmony_ci			.num_parents = 1,
36308c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
36318c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
36328c2ecf20Sopenharmony_ci		},
36338c2ecf20Sopenharmony_ci	},
36348c2ecf20Sopenharmony_ci};
36358c2ecf20Sopenharmony_ci
36368c2ecf20Sopenharmony_cistatic struct clk_branch gcc_uniphy0_port2_rx_clk = {
36378c2ecf20Sopenharmony_ci	.halt_reg = 0x56018,
36388c2ecf20Sopenharmony_ci	.clkr = {
36398c2ecf20Sopenharmony_ci		.enable_reg = 0x56018,
36408c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
36418c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
36428c2ecf20Sopenharmony_ci			.name = "gcc_uniphy0_port2_rx_clk",
36438c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
36448c2ecf20Sopenharmony_ci					&nss_port2_rx_div_clk_src.clkr.hw },
36458c2ecf20Sopenharmony_ci			.num_parents = 1,
36468c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
36478c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
36488c2ecf20Sopenharmony_ci		},
36498c2ecf20Sopenharmony_ci	},
36508c2ecf20Sopenharmony_ci};
36518c2ecf20Sopenharmony_ci
36528c2ecf20Sopenharmony_cistatic struct clk_branch gcc_uniphy0_port2_tx_clk = {
36538c2ecf20Sopenharmony_ci	.halt_reg = 0x5601c,
36548c2ecf20Sopenharmony_ci	.clkr = {
36558c2ecf20Sopenharmony_ci		.enable_reg = 0x5601c,
36568c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
36578c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
36588c2ecf20Sopenharmony_ci			.name = "gcc_uniphy0_port2_tx_clk",
36598c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
36608c2ecf20Sopenharmony_ci					&nss_port2_tx_div_clk_src.clkr.hw },
36618c2ecf20Sopenharmony_ci			.num_parents = 1,
36628c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
36638c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
36648c2ecf20Sopenharmony_ci		},
36658c2ecf20Sopenharmony_ci	},
36668c2ecf20Sopenharmony_ci};
36678c2ecf20Sopenharmony_ci
36688c2ecf20Sopenharmony_cistatic struct clk_branch gcc_uniphy0_port3_rx_clk = {
36698c2ecf20Sopenharmony_ci	.halt_reg = 0x56020,
36708c2ecf20Sopenharmony_ci	.clkr = {
36718c2ecf20Sopenharmony_ci		.enable_reg = 0x56020,
36728c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
36738c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
36748c2ecf20Sopenharmony_ci			.name = "gcc_uniphy0_port3_rx_clk",
36758c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
36768c2ecf20Sopenharmony_ci					&nss_port3_rx_div_clk_src.clkr.hw },
36778c2ecf20Sopenharmony_ci			.num_parents = 1,
36788c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
36798c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
36808c2ecf20Sopenharmony_ci		},
36818c2ecf20Sopenharmony_ci	},
36828c2ecf20Sopenharmony_ci};
36838c2ecf20Sopenharmony_ci
36848c2ecf20Sopenharmony_cistatic struct clk_branch gcc_uniphy0_port3_tx_clk = {
36858c2ecf20Sopenharmony_ci	.halt_reg = 0x56024,
36868c2ecf20Sopenharmony_ci	.clkr = {
36878c2ecf20Sopenharmony_ci		.enable_reg = 0x56024,
36888c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
36898c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
36908c2ecf20Sopenharmony_ci			.name = "gcc_uniphy0_port3_tx_clk",
36918c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
36928c2ecf20Sopenharmony_ci					&nss_port3_tx_div_clk_src.clkr.hw },
36938c2ecf20Sopenharmony_ci			.num_parents = 1,
36948c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
36958c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
36968c2ecf20Sopenharmony_ci		},
36978c2ecf20Sopenharmony_ci	},
36988c2ecf20Sopenharmony_ci};
36998c2ecf20Sopenharmony_ci
37008c2ecf20Sopenharmony_cistatic struct clk_branch gcc_uniphy0_port4_rx_clk = {
37018c2ecf20Sopenharmony_ci	.halt_reg = 0x56028,
37028c2ecf20Sopenharmony_ci	.clkr = {
37038c2ecf20Sopenharmony_ci		.enable_reg = 0x56028,
37048c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
37058c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
37068c2ecf20Sopenharmony_ci			.name = "gcc_uniphy0_port4_rx_clk",
37078c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
37088c2ecf20Sopenharmony_ci					&nss_port4_rx_div_clk_src.clkr.hw },
37098c2ecf20Sopenharmony_ci			.num_parents = 1,
37108c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
37118c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
37128c2ecf20Sopenharmony_ci		},
37138c2ecf20Sopenharmony_ci	},
37148c2ecf20Sopenharmony_ci};
37158c2ecf20Sopenharmony_ci
37168c2ecf20Sopenharmony_cistatic struct clk_branch gcc_uniphy0_port4_tx_clk = {
37178c2ecf20Sopenharmony_ci	.halt_reg = 0x5602c,
37188c2ecf20Sopenharmony_ci	.clkr = {
37198c2ecf20Sopenharmony_ci		.enable_reg = 0x5602c,
37208c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
37218c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
37228c2ecf20Sopenharmony_ci			.name = "gcc_uniphy0_port4_tx_clk",
37238c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
37248c2ecf20Sopenharmony_ci					&nss_port4_tx_div_clk_src.clkr.hw },
37258c2ecf20Sopenharmony_ci			.num_parents = 1,
37268c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
37278c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
37288c2ecf20Sopenharmony_ci		},
37298c2ecf20Sopenharmony_ci	},
37308c2ecf20Sopenharmony_ci};
37318c2ecf20Sopenharmony_ci
37328c2ecf20Sopenharmony_cistatic struct clk_branch gcc_uniphy0_port5_rx_clk = {
37338c2ecf20Sopenharmony_ci	.halt_reg = 0x56030,
37348c2ecf20Sopenharmony_ci	.clkr = {
37358c2ecf20Sopenharmony_ci		.enable_reg = 0x56030,
37368c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
37378c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
37388c2ecf20Sopenharmony_ci			.name = "gcc_uniphy0_port5_rx_clk",
37398c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
37408c2ecf20Sopenharmony_ci					&nss_port5_rx_div_clk_src.clkr.hw },
37418c2ecf20Sopenharmony_ci			.num_parents = 1,
37428c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
37438c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
37448c2ecf20Sopenharmony_ci		},
37458c2ecf20Sopenharmony_ci	},
37468c2ecf20Sopenharmony_ci};
37478c2ecf20Sopenharmony_ci
37488c2ecf20Sopenharmony_cistatic struct clk_branch gcc_uniphy0_port5_tx_clk = {
37498c2ecf20Sopenharmony_ci	.halt_reg = 0x56034,
37508c2ecf20Sopenharmony_ci	.clkr = {
37518c2ecf20Sopenharmony_ci		.enable_reg = 0x56034,
37528c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
37538c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
37548c2ecf20Sopenharmony_ci			.name = "gcc_uniphy0_port5_tx_clk",
37558c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
37568c2ecf20Sopenharmony_ci					&nss_port5_tx_div_clk_src.clkr.hw },
37578c2ecf20Sopenharmony_ci			.num_parents = 1,
37588c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
37598c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
37608c2ecf20Sopenharmony_ci		},
37618c2ecf20Sopenharmony_ci	},
37628c2ecf20Sopenharmony_ci};
37638c2ecf20Sopenharmony_ci
37648c2ecf20Sopenharmony_cistatic struct clk_branch gcc_uniphy0_sys_clk = {
37658c2ecf20Sopenharmony_ci	.halt_reg = 0x5600C,
37668c2ecf20Sopenharmony_ci	.clkr = {
37678c2ecf20Sopenharmony_ci		.enable_reg = 0x5600C,
37688c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
37698c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
37708c2ecf20Sopenharmony_ci			.name = "gcc_uniphy0_sys_clk",
37718c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
37728c2ecf20Sopenharmony_ci					&gcc_xo_clk_src.clkr.hw },
37738c2ecf20Sopenharmony_ci			.num_parents = 1,
37748c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
37758c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
37768c2ecf20Sopenharmony_ci		},
37778c2ecf20Sopenharmony_ci	},
37788c2ecf20Sopenharmony_ci};
37798c2ecf20Sopenharmony_ci
37808c2ecf20Sopenharmony_cistatic struct clk_branch gcc_uniphy1_ahb_clk = {
37818c2ecf20Sopenharmony_ci	.halt_reg = 0x56108,
37828c2ecf20Sopenharmony_ci	.clkr = {
37838c2ecf20Sopenharmony_ci		.enable_reg = 0x56108,
37848c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
37858c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
37868c2ecf20Sopenharmony_ci			.name = "gcc_uniphy1_ahb_clk",
37878c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
37888c2ecf20Sopenharmony_ci					&pcnoc_bfdcd_clk_src.clkr.hw },
37898c2ecf20Sopenharmony_ci			.num_parents = 1,
37908c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
37918c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
37928c2ecf20Sopenharmony_ci		},
37938c2ecf20Sopenharmony_ci	},
37948c2ecf20Sopenharmony_ci};
37958c2ecf20Sopenharmony_ci
37968c2ecf20Sopenharmony_cistatic struct clk_branch gcc_uniphy1_port5_rx_clk = {
37978c2ecf20Sopenharmony_ci	.halt_reg = 0x56110,
37988c2ecf20Sopenharmony_ci	.clkr = {
37998c2ecf20Sopenharmony_ci		.enable_reg = 0x56110,
38008c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
38018c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
38028c2ecf20Sopenharmony_ci			.name = "gcc_uniphy1_port5_rx_clk",
38038c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
38048c2ecf20Sopenharmony_ci					&nss_port5_rx_div_clk_src.clkr.hw },
38058c2ecf20Sopenharmony_ci			.num_parents = 1,
38068c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
38078c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
38088c2ecf20Sopenharmony_ci		},
38098c2ecf20Sopenharmony_ci	},
38108c2ecf20Sopenharmony_ci};
38118c2ecf20Sopenharmony_ci
38128c2ecf20Sopenharmony_cistatic struct clk_branch gcc_uniphy1_port5_tx_clk = {
38138c2ecf20Sopenharmony_ci	.halt_reg = 0x56114,
38148c2ecf20Sopenharmony_ci	.clkr = {
38158c2ecf20Sopenharmony_ci		.enable_reg = 0x56114,
38168c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
38178c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
38188c2ecf20Sopenharmony_ci			.name = "gcc_uniphy1_port5_tx_clk",
38198c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
38208c2ecf20Sopenharmony_ci					&nss_port5_tx_div_clk_src.clkr.hw },
38218c2ecf20Sopenharmony_ci			.num_parents = 1,
38228c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
38238c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
38248c2ecf20Sopenharmony_ci		},
38258c2ecf20Sopenharmony_ci	},
38268c2ecf20Sopenharmony_ci};
38278c2ecf20Sopenharmony_ci
38288c2ecf20Sopenharmony_cistatic struct clk_branch gcc_uniphy1_sys_clk = {
38298c2ecf20Sopenharmony_ci	.halt_reg = 0x5610C,
38308c2ecf20Sopenharmony_ci	.clkr = {
38318c2ecf20Sopenharmony_ci		.enable_reg = 0x5610C,
38328c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
38338c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
38348c2ecf20Sopenharmony_ci			.name = "gcc_uniphy1_sys_clk",
38358c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
38368c2ecf20Sopenharmony_ci					&gcc_xo_clk_src.clkr.hw },
38378c2ecf20Sopenharmony_ci			.num_parents = 1,
38388c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
38398c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
38408c2ecf20Sopenharmony_ci		},
38418c2ecf20Sopenharmony_ci	},
38428c2ecf20Sopenharmony_ci};
38438c2ecf20Sopenharmony_ci
38448c2ecf20Sopenharmony_cistatic struct clk_branch gcc_usb0_aux_clk = {
38458c2ecf20Sopenharmony_ci	.halt_reg = 0x3e044,
38468c2ecf20Sopenharmony_ci	.clkr = {
38478c2ecf20Sopenharmony_ci		.enable_reg = 0x3e044,
38488c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
38498c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
38508c2ecf20Sopenharmony_ci			.name = "gcc_usb0_aux_clk",
38518c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
38528c2ecf20Sopenharmony_ci					&usb0_aux_clk_src.clkr.hw },
38538c2ecf20Sopenharmony_ci			.num_parents = 1,
38548c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
38558c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
38568c2ecf20Sopenharmony_ci		},
38578c2ecf20Sopenharmony_ci	},
38588c2ecf20Sopenharmony_ci};
38598c2ecf20Sopenharmony_ci
38608c2ecf20Sopenharmony_cistatic struct clk_branch gcc_usb0_master_clk = {
38618c2ecf20Sopenharmony_ci	.halt_reg = 0x3e000,
38628c2ecf20Sopenharmony_ci	.clkr = {
38638c2ecf20Sopenharmony_ci		.enable_reg = 0x3e000,
38648c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
38658c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
38668c2ecf20Sopenharmony_ci			.name = "gcc_usb0_master_clk",
38678c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
38688c2ecf20Sopenharmony_ci					&usb0_master_clk_src.clkr.hw },
38698c2ecf20Sopenharmony_ci			.num_parents = 1,
38708c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
38718c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
38728c2ecf20Sopenharmony_ci		},
38738c2ecf20Sopenharmony_ci	},
38748c2ecf20Sopenharmony_ci};
38758c2ecf20Sopenharmony_ci
38768c2ecf20Sopenharmony_cistatic struct clk_branch gcc_snoc_bus_timeout2_ahb_clk = {
38778c2ecf20Sopenharmony_ci	.halt_reg = 0x47014,
38788c2ecf20Sopenharmony_ci	.clkr = {
38798c2ecf20Sopenharmony_ci		.enable_reg = 0x47014,
38808c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
38818c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
38828c2ecf20Sopenharmony_ci			.name = "gcc_snoc_bus_timeout2_ahb_clk",
38838c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
38848c2ecf20Sopenharmony_ci					&usb0_master_clk_src.clkr.hw },
38858c2ecf20Sopenharmony_ci			.num_parents = 1,
38868c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
38878c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
38888c2ecf20Sopenharmony_ci		},
38898c2ecf20Sopenharmony_ci	},
38908c2ecf20Sopenharmony_ci};
38918c2ecf20Sopenharmony_ci
38928c2ecf20Sopenharmony_cistatic struct clk_rcg2 pcie0_rchng_clk_src = {
38938c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x75070,
38948c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_pcie_rchng_clk_src,
38958c2ecf20Sopenharmony_ci	.hid_width = 5,
38968c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
38978c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
38988c2ecf20Sopenharmony_ci		.name = "pcie0_rchng_clk_src",
38998c2ecf20Sopenharmony_ci		.parent_data = gcc_xo_gpll0,
39008c2ecf20Sopenharmony_ci		.num_parents = 2,
39018c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
39028c2ecf20Sopenharmony_ci	},
39038c2ecf20Sopenharmony_ci};
39048c2ecf20Sopenharmony_ci
39058c2ecf20Sopenharmony_cistatic struct clk_branch gcc_pcie0_rchng_clk = {
39068c2ecf20Sopenharmony_ci	.halt_reg = 0x75070,
39078c2ecf20Sopenharmony_ci	.clkr = {
39088c2ecf20Sopenharmony_ci		.enable_reg = 0x75070,
39098c2ecf20Sopenharmony_ci		.enable_mask = BIT(1),
39108c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
39118c2ecf20Sopenharmony_ci			.name = "gcc_pcie0_rchng_clk",
39128c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
39138c2ecf20Sopenharmony_ci					&pcie0_rchng_clk_src.clkr.hw },
39148c2ecf20Sopenharmony_ci			.num_parents = 1,
39158c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
39168c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
39178c2ecf20Sopenharmony_ci		},
39188c2ecf20Sopenharmony_ci	},
39198c2ecf20Sopenharmony_ci};
39208c2ecf20Sopenharmony_ci
39218c2ecf20Sopenharmony_cistatic struct clk_branch gcc_pcie0_axi_s_bridge_clk = {
39228c2ecf20Sopenharmony_ci	.halt_reg = 0x75048,
39238c2ecf20Sopenharmony_ci	.clkr = {
39248c2ecf20Sopenharmony_ci		.enable_reg = 0x75048,
39258c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
39268c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
39278c2ecf20Sopenharmony_ci			.name = "gcc_pcie0_axi_s_bridge_clk",
39288c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
39298c2ecf20Sopenharmony_ci					&pcie0_axi_clk_src.clkr.hw },
39308c2ecf20Sopenharmony_ci			.num_parents = 1,
39318c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
39328c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
39338c2ecf20Sopenharmony_ci		},
39348c2ecf20Sopenharmony_ci	},
39358c2ecf20Sopenharmony_ci};
39368c2ecf20Sopenharmony_ci
39378c2ecf20Sopenharmony_cistatic struct clk_branch gcc_sys_noc_usb0_axi_clk = {
39388c2ecf20Sopenharmony_ci	.halt_reg = 0x26040,
39398c2ecf20Sopenharmony_ci	.clkr = {
39408c2ecf20Sopenharmony_ci		.enable_reg = 0x26040,
39418c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
39428c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
39438c2ecf20Sopenharmony_ci			.name = "gcc_sys_noc_usb0_axi_clk",
39448c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
39458c2ecf20Sopenharmony_ci					&usb0_master_clk_src.clkr.hw },
39468c2ecf20Sopenharmony_ci			.num_parents = 1,
39478c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
39488c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
39498c2ecf20Sopenharmony_ci		},
39508c2ecf20Sopenharmony_ci	},
39518c2ecf20Sopenharmony_ci};
39528c2ecf20Sopenharmony_ci
39538c2ecf20Sopenharmony_cistatic struct clk_branch gcc_usb0_mock_utmi_clk = {
39548c2ecf20Sopenharmony_ci	.halt_reg = 0x3e008,
39558c2ecf20Sopenharmony_ci	.clkr = {
39568c2ecf20Sopenharmony_ci		.enable_reg = 0x3e008,
39578c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
39588c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
39598c2ecf20Sopenharmony_ci			.name = "gcc_usb0_mock_utmi_clk",
39608c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
39618c2ecf20Sopenharmony_ci					&usb0_mock_utmi_clk_src.clkr.hw },
39628c2ecf20Sopenharmony_ci			.num_parents = 1,
39638c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
39648c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
39658c2ecf20Sopenharmony_ci		},
39668c2ecf20Sopenharmony_ci	},
39678c2ecf20Sopenharmony_ci};
39688c2ecf20Sopenharmony_ci
39698c2ecf20Sopenharmony_cistatic struct clk_branch gcc_usb0_phy_cfg_ahb_clk = {
39708c2ecf20Sopenharmony_ci	.halt_reg = 0x3e080,
39718c2ecf20Sopenharmony_ci	.clkr = {
39728c2ecf20Sopenharmony_ci		.enable_reg = 0x3e080,
39738c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
39748c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
39758c2ecf20Sopenharmony_ci			.name = "gcc_usb0_phy_cfg_ahb_clk",
39768c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
39778c2ecf20Sopenharmony_ci					&pcnoc_bfdcd_clk_src.clkr.hw },
39788c2ecf20Sopenharmony_ci			.num_parents = 1,
39798c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
39808c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
39818c2ecf20Sopenharmony_ci		},
39828c2ecf20Sopenharmony_ci	},
39838c2ecf20Sopenharmony_ci};
39848c2ecf20Sopenharmony_ci
39858c2ecf20Sopenharmony_cistatic struct clk_branch gcc_usb0_pipe_clk = {
39868c2ecf20Sopenharmony_ci	.halt_reg = 0x3e040,
39878c2ecf20Sopenharmony_ci	.halt_check = BRANCH_HALT_DELAY,
39888c2ecf20Sopenharmony_ci	.clkr = {
39898c2ecf20Sopenharmony_ci		.enable_reg = 0x3e040,
39908c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
39918c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
39928c2ecf20Sopenharmony_ci			.name = "gcc_usb0_pipe_clk",
39938c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
39948c2ecf20Sopenharmony_ci					&usb0_pipe_clk_src.clkr.hw },
39958c2ecf20Sopenharmony_ci			.num_parents = 1,
39968c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
39978c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
39988c2ecf20Sopenharmony_ci		},
39998c2ecf20Sopenharmony_ci	},
40008c2ecf20Sopenharmony_ci};
40018c2ecf20Sopenharmony_ci
40028c2ecf20Sopenharmony_cistatic struct clk_branch gcc_usb0_sleep_clk = {
40038c2ecf20Sopenharmony_ci	.halt_reg = 0x3e004,
40048c2ecf20Sopenharmony_ci	.clkr = {
40058c2ecf20Sopenharmony_ci		.enable_reg = 0x3e004,
40068c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
40078c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
40088c2ecf20Sopenharmony_ci			.name = "gcc_usb0_sleep_clk",
40098c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
40108c2ecf20Sopenharmony_ci					&gcc_sleep_clk_src.clkr.hw },
40118c2ecf20Sopenharmony_ci			.num_parents = 1,
40128c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
40138c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
40148c2ecf20Sopenharmony_ci		},
40158c2ecf20Sopenharmony_ci	},
40168c2ecf20Sopenharmony_ci};
40178c2ecf20Sopenharmony_ci
40188c2ecf20Sopenharmony_cistatic struct clk_branch gcc_usb1_master_clk = {
40198c2ecf20Sopenharmony_ci	.halt_reg = 0x3f000,
40208c2ecf20Sopenharmony_ci	.clkr = {
40218c2ecf20Sopenharmony_ci		.enable_reg = 0x3f000,
40228c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
40238c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
40248c2ecf20Sopenharmony_ci			.name = "gcc_usb1_master_clk",
40258c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
40268c2ecf20Sopenharmony_ci					&pcnoc_bfdcd_clk_src.clkr.hw },
40278c2ecf20Sopenharmony_ci			.num_parents = 1,
40288c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
40298c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
40308c2ecf20Sopenharmony_ci		},
40318c2ecf20Sopenharmony_ci	},
40328c2ecf20Sopenharmony_ci};
40338c2ecf20Sopenharmony_ci
40348c2ecf20Sopenharmony_cistatic struct clk_branch gcc_usb1_mock_utmi_clk = {
40358c2ecf20Sopenharmony_ci	.halt_reg = 0x3f008,
40368c2ecf20Sopenharmony_ci	.clkr = {
40378c2ecf20Sopenharmony_ci		.enable_reg = 0x3f008,
40388c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
40398c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
40408c2ecf20Sopenharmony_ci			.name = "gcc_usb1_mock_utmi_clk",
40418c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
40428c2ecf20Sopenharmony_ci					&usb1_mock_utmi_clk_src.clkr.hw },
40438c2ecf20Sopenharmony_ci			.num_parents = 1,
40448c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
40458c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
40468c2ecf20Sopenharmony_ci		},
40478c2ecf20Sopenharmony_ci	},
40488c2ecf20Sopenharmony_ci};
40498c2ecf20Sopenharmony_ci
40508c2ecf20Sopenharmony_cistatic struct clk_branch gcc_usb1_phy_cfg_ahb_clk = {
40518c2ecf20Sopenharmony_ci	.halt_reg = 0x3f080,
40528c2ecf20Sopenharmony_ci	.clkr = {
40538c2ecf20Sopenharmony_ci		.enable_reg = 0x3f080,
40548c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
40558c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
40568c2ecf20Sopenharmony_ci			.name = "gcc_usb1_phy_cfg_ahb_clk",
40578c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
40588c2ecf20Sopenharmony_ci					&pcnoc_bfdcd_clk_src.clkr.hw },
40598c2ecf20Sopenharmony_ci			.num_parents = 1,
40608c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
40618c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
40628c2ecf20Sopenharmony_ci		},
40638c2ecf20Sopenharmony_ci	},
40648c2ecf20Sopenharmony_ci};
40658c2ecf20Sopenharmony_ci
40668c2ecf20Sopenharmony_cistatic struct clk_branch gcc_usb1_sleep_clk = {
40678c2ecf20Sopenharmony_ci	.halt_reg = 0x3f004,
40688c2ecf20Sopenharmony_ci	.clkr = {
40698c2ecf20Sopenharmony_ci		.enable_reg = 0x3f004,
40708c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
40718c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
40728c2ecf20Sopenharmony_ci			.name = "gcc_usb1_sleep_clk",
40738c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
40748c2ecf20Sopenharmony_ci					&gcc_sleep_clk_src.clkr.hw },
40758c2ecf20Sopenharmony_ci			.num_parents = 1,
40768c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
40778c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
40788c2ecf20Sopenharmony_ci		},
40798c2ecf20Sopenharmony_ci	},
40808c2ecf20Sopenharmony_ci};
40818c2ecf20Sopenharmony_ci
40828c2ecf20Sopenharmony_cistatic struct clk_branch gcc_cmn_12gpll_ahb_clk = {
40838c2ecf20Sopenharmony_ci	.halt_reg = 0x56308,
40848c2ecf20Sopenharmony_ci	.clkr = {
40858c2ecf20Sopenharmony_ci		.enable_reg = 0x56308,
40868c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
40878c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
40888c2ecf20Sopenharmony_ci			.name = "gcc_cmn_12gpll_ahb_clk",
40898c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
40908c2ecf20Sopenharmony_ci					&pcnoc_bfdcd_clk_src.clkr.hw },
40918c2ecf20Sopenharmony_ci			.num_parents = 1,
40928c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
40938c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
40948c2ecf20Sopenharmony_ci		},
40958c2ecf20Sopenharmony_ci	},
40968c2ecf20Sopenharmony_ci};
40978c2ecf20Sopenharmony_ci
40988c2ecf20Sopenharmony_cistatic struct clk_branch gcc_cmn_12gpll_sys_clk = {
40998c2ecf20Sopenharmony_ci	.halt_reg = 0x5630c,
41008c2ecf20Sopenharmony_ci	.clkr = {
41018c2ecf20Sopenharmony_ci		.enable_reg = 0x5630c,
41028c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
41038c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
41048c2ecf20Sopenharmony_ci			.name = "gcc_cmn_12gpll_sys_clk",
41058c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
41068c2ecf20Sopenharmony_ci					&gcc_xo_clk_src.clkr.hw },
41078c2ecf20Sopenharmony_ci			.num_parents = 1,
41088c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
41098c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
41108c2ecf20Sopenharmony_ci		},
41118c2ecf20Sopenharmony_ci	},
41128c2ecf20Sopenharmony_ci};
41138c2ecf20Sopenharmony_ci
41148c2ecf20Sopenharmony_cistatic struct clk_branch gcc_sdcc1_ice_core_clk = {
41158c2ecf20Sopenharmony_ci	.halt_reg = 0x5d014,
41168c2ecf20Sopenharmony_ci	.clkr = {
41178c2ecf20Sopenharmony_ci		.enable_reg = 0x5d014,
41188c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
41198c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
41208c2ecf20Sopenharmony_ci			.name = "gcc_sdcc1_ice_core_clk",
41218c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
41228c2ecf20Sopenharmony_ci					&sdcc1_ice_core_clk_src.clkr.hw },
41238c2ecf20Sopenharmony_ci			.num_parents = 1,
41248c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
41258c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
41268c2ecf20Sopenharmony_ci		},
41278c2ecf20Sopenharmony_ci	},
41288c2ecf20Sopenharmony_ci};
41298c2ecf20Sopenharmony_ci
41308c2ecf20Sopenharmony_cistatic struct clk_branch gcc_dcc_clk = {
41318c2ecf20Sopenharmony_ci	.halt_reg = 0x77004,
41328c2ecf20Sopenharmony_ci	.clkr = {
41338c2ecf20Sopenharmony_ci		.enable_reg = 0x77004,
41348c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
41358c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
41368c2ecf20Sopenharmony_ci			.name = "gcc_dcc_clk",
41378c2ecf20Sopenharmony_ci			.parent_hws = (const struct clk_hw *[]){
41388c2ecf20Sopenharmony_ci					&pcnoc_bfdcd_clk_src.clkr.hw },
41398c2ecf20Sopenharmony_ci			.num_parents = 1,
41408c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
41418c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
41428c2ecf20Sopenharmony_ci		},
41438c2ecf20Sopenharmony_ci	},
41448c2ecf20Sopenharmony_ci};
41458c2ecf20Sopenharmony_ci
41468c2ecf20Sopenharmony_cistatic const struct alpha_pll_config ubi32_pll_config = {
41478c2ecf20Sopenharmony_ci	.l = 0x3e,
41488c2ecf20Sopenharmony_ci	.alpha = 0x57,
41498c2ecf20Sopenharmony_ci	.config_ctl_val = 0x240d6aa8,
41508c2ecf20Sopenharmony_ci	.config_ctl_hi_val = 0x3c2,
41518c2ecf20Sopenharmony_ci	.main_output_mask = BIT(0),
41528c2ecf20Sopenharmony_ci	.aux_output_mask = BIT(1),
41538c2ecf20Sopenharmony_ci	.pre_div_val = 0x0,
41548c2ecf20Sopenharmony_ci	.pre_div_mask = BIT(12),
41558c2ecf20Sopenharmony_ci	.post_div_val = 0x0,
41568c2ecf20Sopenharmony_ci	.post_div_mask = GENMASK(9, 8),
41578c2ecf20Sopenharmony_ci};
41588c2ecf20Sopenharmony_ci
41598c2ecf20Sopenharmony_cistatic const struct alpha_pll_config nss_crypto_pll_config = {
41608c2ecf20Sopenharmony_ci	.l = 0x32,
41618c2ecf20Sopenharmony_ci	.alpha = 0x0,
41628c2ecf20Sopenharmony_ci	.alpha_hi = 0x0,
41638c2ecf20Sopenharmony_ci	.config_ctl_val = 0x4001055b,
41648c2ecf20Sopenharmony_ci	.main_output_mask = BIT(0),
41658c2ecf20Sopenharmony_ci	.pre_div_val = 0x0,
41668c2ecf20Sopenharmony_ci	.pre_div_mask = GENMASK(14, 12),
41678c2ecf20Sopenharmony_ci	.post_div_val = 0x1 << 8,
41688c2ecf20Sopenharmony_ci	.post_div_mask = GENMASK(11, 8),
41698c2ecf20Sopenharmony_ci	.vco_mask = GENMASK(21, 20),
41708c2ecf20Sopenharmony_ci	.vco_val = 0x0,
41718c2ecf20Sopenharmony_ci	.alpha_en_mask = BIT(24),
41728c2ecf20Sopenharmony_ci};
41738c2ecf20Sopenharmony_ci
41748c2ecf20Sopenharmony_cistatic struct clk_hw *gcc_ipq6018_hws[] = {
41758c2ecf20Sopenharmony_ci	&gpll0_out_main_div2.hw,
41768c2ecf20Sopenharmony_ci	&gcc_xo_div4_clk_src.hw,
41778c2ecf20Sopenharmony_ci	&nss_ppe_cdiv_clk_src.hw,
41788c2ecf20Sopenharmony_ci	&gpll6_out_main_div2.hw,
41798c2ecf20Sopenharmony_ci	&qdss_dap_sync_clk_src.hw,
41808c2ecf20Sopenharmony_ci	&qdss_tsctr_div2_clk_src.hw,
41818c2ecf20Sopenharmony_ci};
41828c2ecf20Sopenharmony_ci
41838c2ecf20Sopenharmony_cistatic struct clk_regmap *gcc_ipq6018_clks[] = {
41848c2ecf20Sopenharmony_ci	[GPLL0_MAIN] = &gpll0_main.clkr,
41858c2ecf20Sopenharmony_ci	[GPLL0] = &gpll0.clkr,
41868c2ecf20Sopenharmony_ci	[UBI32_PLL_MAIN] = &ubi32_pll_main.clkr,
41878c2ecf20Sopenharmony_ci	[UBI32_PLL] = &ubi32_pll.clkr,
41888c2ecf20Sopenharmony_ci	[GPLL6_MAIN] = &gpll6_main.clkr,
41898c2ecf20Sopenharmony_ci	[GPLL6] = &gpll6.clkr,
41908c2ecf20Sopenharmony_ci	[GPLL4_MAIN] = &gpll4_main.clkr,
41918c2ecf20Sopenharmony_ci	[GPLL4] = &gpll4.clkr,
41928c2ecf20Sopenharmony_ci	[PCNOC_BFDCD_CLK_SRC] = &pcnoc_bfdcd_clk_src.clkr,
41938c2ecf20Sopenharmony_ci	[GPLL2_MAIN] = &gpll2_main.clkr,
41948c2ecf20Sopenharmony_ci	[GPLL2] = &gpll2.clkr,
41958c2ecf20Sopenharmony_ci	[NSS_CRYPTO_PLL_MAIN] = &nss_crypto_pll_main.clkr,
41968c2ecf20Sopenharmony_ci	[NSS_CRYPTO_PLL] = &nss_crypto_pll.clkr,
41978c2ecf20Sopenharmony_ci	[QDSS_TSCTR_CLK_SRC] = &qdss_tsctr_clk_src.clkr,
41988c2ecf20Sopenharmony_ci	[QDSS_AT_CLK_SRC] = &qdss_at_clk_src.clkr,
41998c2ecf20Sopenharmony_ci	[NSS_PPE_CLK_SRC] = &nss_ppe_clk_src.clkr,
42008c2ecf20Sopenharmony_ci	[GCC_XO_CLK_SRC] = &gcc_xo_clk_src.clkr,
42018c2ecf20Sopenharmony_ci	[SYSTEM_NOC_BFDCD_CLK_SRC] = &system_noc_bfdcd_clk_src.clkr,
42028c2ecf20Sopenharmony_ci	[SNOC_NSSNOC_BFDCD_CLK_SRC] = &snoc_nssnoc_bfdcd_clk_src.clkr,
42038c2ecf20Sopenharmony_ci	[NSS_CE_CLK_SRC] = &nss_ce_clk_src.clkr,
42048c2ecf20Sopenharmony_ci	[GCC_SLEEP_CLK_SRC] = &gcc_sleep_clk_src.clkr,
42058c2ecf20Sopenharmony_ci	[APSS_AHB_CLK_SRC] = &apss_ahb_clk_src.clkr,
42068c2ecf20Sopenharmony_ci	[NSS_PORT5_RX_CLK_SRC] = &nss_port5_rx_clk_src.clkr,
42078c2ecf20Sopenharmony_ci	[NSS_PORT5_TX_CLK_SRC] = &nss_port5_tx_clk_src.clkr,
42088c2ecf20Sopenharmony_ci	[UBI32_MEM_NOC_BFDCD_CLK_SRC] = &ubi32_mem_noc_bfdcd_clk_src.clkr,
42098c2ecf20Sopenharmony_ci	[PCIE0_AXI_CLK_SRC] = &pcie0_axi_clk_src.clkr,
42108c2ecf20Sopenharmony_ci	[USB0_MASTER_CLK_SRC] = &usb0_master_clk_src.clkr,
42118c2ecf20Sopenharmony_ci	[APSS_AHB_POSTDIV_CLK_SRC] = &apss_ahb_postdiv_clk_src.clkr,
42128c2ecf20Sopenharmony_ci	[NSS_PORT1_RX_CLK_SRC] = &nss_port1_rx_clk_src.clkr,
42138c2ecf20Sopenharmony_ci	[NSS_PORT1_TX_CLK_SRC] = &nss_port1_tx_clk_src.clkr,
42148c2ecf20Sopenharmony_ci	[NSS_PORT2_RX_CLK_SRC] = &nss_port2_rx_clk_src.clkr,
42158c2ecf20Sopenharmony_ci	[NSS_PORT2_TX_CLK_SRC] = &nss_port2_tx_clk_src.clkr,
42168c2ecf20Sopenharmony_ci	[NSS_PORT3_RX_CLK_SRC] = &nss_port3_rx_clk_src.clkr,
42178c2ecf20Sopenharmony_ci	[NSS_PORT3_TX_CLK_SRC] = &nss_port3_tx_clk_src.clkr,
42188c2ecf20Sopenharmony_ci	[NSS_PORT4_RX_CLK_SRC] = &nss_port4_rx_clk_src.clkr,
42198c2ecf20Sopenharmony_ci	[NSS_PORT4_TX_CLK_SRC] = &nss_port4_tx_clk_src.clkr,
42208c2ecf20Sopenharmony_ci	[NSS_PORT5_RX_DIV_CLK_SRC] = &nss_port5_rx_div_clk_src.clkr,
42218c2ecf20Sopenharmony_ci	[NSS_PORT5_TX_DIV_CLK_SRC] = &nss_port5_tx_div_clk_src.clkr,
42228c2ecf20Sopenharmony_ci	[APSS_AXI_CLK_SRC] = &apss_axi_clk_src.clkr,
42238c2ecf20Sopenharmony_ci	[NSS_CRYPTO_CLK_SRC] = &nss_crypto_clk_src.clkr,
42248c2ecf20Sopenharmony_ci	[NSS_PORT1_RX_DIV_CLK_SRC] = &nss_port1_rx_div_clk_src.clkr,
42258c2ecf20Sopenharmony_ci	[NSS_PORT1_TX_DIV_CLK_SRC] = &nss_port1_tx_div_clk_src.clkr,
42268c2ecf20Sopenharmony_ci	[NSS_PORT2_RX_DIV_CLK_SRC] = &nss_port2_rx_div_clk_src.clkr,
42278c2ecf20Sopenharmony_ci	[NSS_PORT2_TX_DIV_CLK_SRC] = &nss_port2_tx_div_clk_src.clkr,
42288c2ecf20Sopenharmony_ci	[NSS_PORT3_RX_DIV_CLK_SRC] = &nss_port3_rx_div_clk_src.clkr,
42298c2ecf20Sopenharmony_ci	[NSS_PORT3_TX_DIV_CLK_SRC] = &nss_port3_tx_div_clk_src.clkr,
42308c2ecf20Sopenharmony_ci	[NSS_PORT4_RX_DIV_CLK_SRC] = &nss_port4_rx_div_clk_src.clkr,
42318c2ecf20Sopenharmony_ci	[NSS_PORT4_TX_DIV_CLK_SRC] = &nss_port4_tx_div_clk_src.clkr,
42328c2ecf20Sopenharmony_ci	[NSS_UBI0_CLK_SRC] = &nss_ubi0_clk_src.clkr,
42338c2ecf20Sopenharmony_ci	[ADSS_PWM_CLK_SRC] = &adss_pwm_clk_src.clkr,
42348c2ecf20Sopenharmony_ci	[BLSP1_QUP1_I2C_APPS_CLK_SRC] = &blsp1_qup1_i2c_apps_clk_src.clkr,
42358c2ecf20Sopenharmony_ci	[BLSP1_QUP1_SPI_APPS_CLK_SRC] = &blsp1_qup1_spi_apps_clk_src.clkr,
42368c2ecf20Sopenharmony_ci	[BLSP1_QUP2_I2C_APPS_CLK_SRC] = &blsp1_qup2_i2c_apps_clk_src.clkr,
42378c2ecf20Sopenharmony_ci	[BLSP1_QUP2_SPI_APPS_CLK_SRC] = &blsp1_qup2_spi_apps_clk_src.clkr,
42388c2ecf20Sopenharmony_ci	[BLSP1_QUP3_I2C_APPS_CLK_SRC] = &blsp1_qup3_i2c_apps_clk_src.clkr,
42398c2ecf20Sopenharmony_ci	[BLSP1_QUP3_SPI_APPS_CLK_SRC] = &blsp1_qup3_spi_apps_clk_src.clkr,
42408c2ecf20Sopenharmony_ci	[BLSP1_QUP4_I2C_APPS_CLK_SRC] = &blsp1_qup4_i2c_apps_clk_src.clkr,
42418c2ecf20Sopenharmony_ci	[BLSP1_QUP4_SPI_APPS_CLK_SRC] = &blsp1_qup4_spi_apps_clk_src.clkr,
42428c2ecf20Sopenharmony_ci	[BLSP1_QUP5_I2C_APPS_CLK_SRC] = &blsp1_qup5_i2c_apps_clk_src.clkr,
42438c2ecf20Sopenharmony_ci	[BLSP1_QUP5_SPI_APPS_CLK_SRC] = &blsp1_qup5_spi_apps_clk_src.clkr,
42448c2ecf20Sopenharmony_ci	[BLSP1_QUP6_I2C_APPS_CLK_SRC] = &blsp1_qup6_i2c_apps_clk_src.clkr,
42458c2ecf20Sopenharmony_ci	[BLSP1_QUP6_SPI_APPS_CLK_SRC] = &blsp1_qup6_spi_apps_clk_src.clkr,
42468c2ecf20Sopenharmony_ci	[BLSP1_UART1_APPS_CLK_SRC] = &blsp1_uart1_apps_clk_src.clkr,
42478c2ecf20Sopenharmony_ci	[BLSP1_UART2_APPS_CLK_SRC] = &blsp1_uart2_apps_clk_src.clkr,
42488c2ecf20Sopenharmony_ci	[BLSP1_UART3_APPS_CLK_SRC] = &blsp1_uart3_apps_clk_src.clkr,
42498c2ecf20Sopenharmony_ci	[BLSP1_UART4_APPS_CLK_SRC] = &blsp1_uart4_apps_clk_src.clkr,
42508c2ecf20Sopenharmony_ci	[BLSP1_UART5_APPS_CLK_SRC] = &blsp1_uart5_apps_clk_src.clkr,
42518c2ecf20Sopenharmony_ci	[BLSP1_UART6_APPS_CLK_SRC] = &blsp1_uart6_apps_clk_src.clkr,
42528c2ecf20Sopenharmony_ci	[CRYPTO_CLK_SRC] = &crypto_clk_src.clkr,
42538c2ecf20Sopenharmony_ci	[GP1_CLK_SRC] = &gp1_clk_src.clkr,
42548c2ecf20Sopenharmony_ci	[GP2_CLK_SRC] = &gp2_clk_src.clkr,
42558c2ecf20Sopenharmony_ci	[GP3_CLK_SRC] = &gp3_clk_src.clkr,
42568c2ecf20Sopenharmony_ci	[NSS_UBI0_DIV_CLK_SRC] = &nss_ubi0_div_clk_src.clkr,
42578c2ecf20Sopenharmony_ci	[PCIE0_AUX_CLK_SRC] = &pcie0_aux_clk_src.clkr,
42588c2ecf20Sopenharmony_ci	[PCIE0_PIPE_CLK_SRC] = &pcie0_pipe_clk_src.clkr,
42598c2ecf20Sopenharmony_ci	[SDCC1_APPS_CLK_SRC] = &sdcc1_apps_clk_src.clkr,
42608c2ecf20Sopenharmony_ci	[USB0_AUX_CLK_SRC] = &usb0_aux_clk_src.clkr,
42618c2ecf20Sopenharmony_ci	[USB0_MOCK_UTMI_CLK_SRC] = &usb0_mock_utmi_clk_src.clkr,
42628c2ecf20Sopenharmony_ci	[USB0_PIPE_CLK_SRC] = &usb0_pipe_clk_src.clkr,
42638c2ecf20Sopenharmony_ci	[USB1_MOCK_UTMI_CLK_SRC] = &usb1_mock_utmi_clk_src.clkr,
42648c2ecf20Sopenharmony_ci	[GCC_ADSS_PWM_CLK] = &gcc_adss_pwm_clk.clkr,
42658c2ecf20Sopenharmony_ci	[GCC_APSS_AHB_CLK] = &gcc_apss_ahb_clk.clkr,
42668c2ecf20Sopenharmony_ci	[GCC_APSS_AXI_CLK] = &gcc_apss_axi_clk.clkr,
42678c2ecf20Sopenharmony_ci	[GCC_BLSP1_AHB_CLK] = &gcc_blsp1_ahb_clk.clkr,
42688c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP1_I2C_APPS_CLK] = &gcc_blsp1_qup1_i2c_apps_clk.clkr,
42698c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP1_SPI_APPS_CLK] = &gcc_blsp1_qup1_spi_apps_clk.clkr,
42708c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP2_I2C_APPS_CLK] = &gcc_blsp1_qup2_i2c_apps_clk.clkr,
42718c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP2_SPI_APPS_CLK] = &gcc_blsp1_qup2_spi_apps_clk.clkr,
42728c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP3_I2C_APPS_CLK] = &gcc_blsp1_qup3_i2c_apps_clk.clkr,
42738c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP3_SPI_APPS_CLK] = &gcc_blsp1_qup3_spi_apps_clk.clkr,
42748c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP4_I2C_APPS_CLK] = &gcc_blsp1_qup4_i2c_apps_clk.clkr,
42758c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP4_SPI_APPS_CLK] = &gcc_blsp1_qup4_spi_apps_clk.clkr,
42768c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP5_I2C_APPS_CLK] = &gcc_blsp1_qup5_i2c_apps_clk.clkr,
42778c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP5_SPI_APPS_CLK] = &gcc_blsp1_qup5_spi_apps_clk.clkr,
42788c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP6_SPI_APPS_CLK] = &gcc_blsp1_qup6_spi_apps_clk.clkr,
42798c2ecf20Sopenharmony_ci	[GCC_BLSP1_UART1_APPS_CLK] = &gcc_blsp1_uart1_apps_clk.clkr,
42808c2ecf20Sopenharmony_ci	[GCC_BLSP1_UART2_APPS_CLK] = &gcc_blsp1_uart2_apps_clk.clkr,
42818c2ecf20Sopenharmony_ci	[GCC_BLSP1_UART3_APPS_CLK] = &gcc_blsp1_uart3_apps_clk.clkr,
42828c2ecf20Sopenharmony_ci	[GCC_BLSP1_UART4_APPS_CLK] = &gcc_blsp1_uart4_apps_clk.clkr,
42838c2ecf20Sopenharmony_ci	[GCC_BLSP1_UART5_APPS_CLK] = &gcc_blsp1_uart5_apps_clk.clkr,
42848c2ecf20Sopenharmony_ci	[GCC_BLSP1_UART6_APPS_CLK] = &gcc_blsp1_uart6_apps_clk.clkr,
42858c2ecf20Sopenharmony_ci	[GCC_CRYPTO_AHB_CLK] = &gcc_crypto_ahb_clk.clkr,
42868c2ecf20Sopenharmony_ci	[GCC_CRYPTO_AXI_CLK] = &gcc_crypto_axi_clk.clkr,
42878c2ecf20Sopenharmony_ci	[GCC_CRYPTO_CLK] = &gcc_crypto_clk.clkr,
42888c2ecf20Sopenharmony_ci	[GCC_XO_CLK] = &gcc_xo_clk.clkr,
42898c2ecf20Sopenharmony_ci	[GCC_GP1_CLK] = &gcc_gp1_clk.clkr,
42908c2ecf20Sopenharmony_ci	[GCC_GP2_CLK] = &gcc_gp2_clk.clkr,
42918c2ecf20Sopenharmony_ci	[GCC_GP3_CLK] = &gcc_gp3_clk.clkr,
42928c2ecf20Sopenharmony_ci	[GCC_MDIO_AHB_CLK] = &gcc_mdio_ahb_clk.clkr,
42938c2ecf20Sopenharmony_ci	[GCC_CRYPTO_PPE_CLK] = &gcc_crypto_ppe_clk.clkr,
42948c2ecf20Sopenharmony_ci	[GCC_NSS_CE_APB_CLK] = &gcc_nss_ce_apb_clk.clkr,
42958c2ecf20Sopenharmony_ci	[GCC_NSS_CE_AXI_CLK] = &gcc_nss_ce_axi_clk.clkr,
42968c2ecf20Sopenharmony_ci	[GCC_NSS_CFG_CLK] = &gcc_nss_cfg_clk.clkr,
42978c2ecf20Sopenharmony_ci	[GCC_NSS_CRYPTO_CLK] = &gcc_nss_crypto_clk.clkr,
42988c2ecf20Sopenharmony_ci	[GCC_NSS_CSR_CLK] = &gcc_nss_csr_clk.clkr,
42998c2ecf20Sopenharmony_ci	[GCC_NSS_EDMA_CFG_CLK] = &gcc_nss_edma_cfg_clk.clkr,
43008c2ecf20Sopenharmony_ci	[GCC_NSS_EDMA_CLK] = &gcc_nss_edma_clk.clkr,
43018c2ecf20Sopenharmony_ci	[GCC_NSS_NOC_CLK] = &gcc_nss_noc_clk.clkr,
43028c2ecf20Sopenharmony_ci	[GCC_UBI0_UTCM_CLK] = &gcc_ubi0_utcm_clk.clkr,
43038c2ecf20Sopenharmony_ci	[GCC_SNOC_NSSNOC_CLK] = &gcc_snoc_nssnoc_clk.clkr,
43048c2ecf20Sopenharmony_ci	[GCC_NSS_PORT1_RX_CLK] = &gcc_nss_port1_rx_clk.clkr,
43058c2ecf20Sopenharmony_ci	[GCC_NSS_PORT1_TX_CLK] = &gcc_nss_port1_tx_clk.clkr,
43068c2ecf20Sopenharmony_ci	[GCC_NSS_PORT2_RX_CLK] = &gcc_nss_port2_rx_clk.clkr,
43078c2ecf20Sopenharmony_ci	[GCC_NSS_PORT2_TX_CLK] = &gcc_nss_port2_tx_clk.clkr,
43088c2ecf20Sopenharmony_ci	[GCC_NSS_PORT3_RX_CLK] = &gcc_nss_port3_rx_clk.clkr,
43098c2ecf20Sopenharmony_ci	[GCC_NSS_PORT3_TX_CLK] = &gcc_nss_port3_tx_clk.clkr,
43108c2ecf20Sopenharmony_ci	[GCC_NSS_PORT4_RX_CLK] = &gcc_nss_port4_rx_clk.clkr,
43118c2ecf20Sopenharmony_ci	[GCC_NSS_PORT4_TX_CLK] = &gcc_nss_port4_tx_clk.clkr,
43128c2ecf20Sopenharmony_ci	[GCC_NSS_PORT5_RX_CLK] = &gcc_nss_port5_rx_clk.clkr,
43138c2ecf20Sopenharmony_ci	[GCC_NSS_PORT5_TX_CLK] = &gcc_nss_port5_tx_clk.clkr,
43148c2ecf20Sopenharmony_ci	[GCC_NSS_PPE_CFG_CLK] = &gcc_nss_ppe_cfg_clk.clkr,
43158c2ecf20Sopenharmony_ci	[GCC_NSS_PPE_CLK] = &gcc_nss_ppe_clk.clkr,
43168c2ecf20Sopenharmony_ci	[GCC_NSS_PPE_IPE_CLK] = &gcc_nss_ppe_ipe_clk.clkr,
43178c2ecf20Sopenharmony_ci	[GCC_NSS_PTP_REF_CLK] = &gcc_nss_ptp_ref_clk.clkr,
43188c2ecf20Sopenharmony_ci	[GCC_NSSNOC_CE_APB_CLK] = &gcc_nssnoc_ce_apb_clk.clkr,
43198c2ecf20Sopenharmony_ci	[GCC_NSSNOC_CE_AXI_CLK] = &gcc_nssnoc_ce_axi_clk.clkr,
43208c2ecf20Sopenharmony_ci	[GCC_NSSNOC_CRYPTO_CLK] = &gcc_nssnoc_crypto_clk.clkr,
43218c2ecf20Sopenharmony_ci	[GCC_NSSNOC_PPE_CFG_CLK] = &gcc_nssnoc_ppe_cfg_clk.clkr,
43228c2ecf20Sopenharmony_ci	[GCC_NSSNOC_PPE_CLK] = &gcc_nssnoc_ppe_clk.clkr,
43238c2ecf20Sopenharmony_ci	[GCC_NSSNOC_QOSGEN_REF_CLK] = &gcc_nssnoc_qosgen_ref_clk.clkr,
43248c2ecf20Sopenharmony_ci	[GCC_NSSNOC_SNOC_CLK] = &gcc_nssnoc_snoc_clk.clkr,
43258c2ecf20Sopenharmony_ci	[GCC_NSSNOC_TIMEOUT_REF_CLK] = &gcc_nssnoc_timeout_ref_clk.clkr,
43268c2ecf20Sopenharmony_ci	[GCC_NSSNOC_UBI0_AHB_CLK] = &gcc_nssnoc_ubi0_ahb_clk.clkr,
43278c2ecf20Sopenharmony_ci	[GCC_PORT1_MAC_CLK] = &gcc_port1_mac_clk.clkr,
43288c2ecf20Sopenharmony_ci	[GCC_PORT2_MAC_CLK] = &gcc_port2_mac_clk.clkr,
43298c2ecf20Sopenharmony_ci	[GCC_PORT3_MAC_CLK] = &gcc_port3_mac_clk.clkr,
43308c2ecf20Sopenharmony_ci	[GCC_PORT4_MAC_CLK] = &gcc_port4_mac_clk.clkr,
43318c2ecf20Sopenharmony_ci	[GCC_PORT5_MAC_CLK] = &gcc_port5_mac_clk.clkr,
43328c2ecf20Sopenharmony_ci	[GCC_UBI0_AHB_CLK] = &gcc_ubi0_ahb_clk.clkr,
43338c2ecf20Sopenharmony_ci	[GCC_UBI0_AXI_CLK] = &gcc_ubi0_axi_clk.clkr,
43348c2ecf20Sopenharmony_ci	[GCC_UBI0_NC_AXI_CLK] = &gcc_ubi0_nc_axi_clk.clkr,
43358c2ecf20Sopenharmony_ci	[GCC_UBI0_CORE_CLK] = &gcc_ubi0_core_clk.clkr,
43368c2ecf20Sopenharmony_ci	[GCC_PCIE0_AHB_CLK] = &gcc_pcie0_ahb_clk.clkr,
43378c2ecf20Sopenharmony_ci	[GCC_PCIE0_AUX_CLK] = &gcc_pcie0_aux_clk.clkr,
43388c2ecf20Sopenharmony_ci	[GCC_PCIE0_AXI_M_CLK] = &gcc_pcie0_axi_m_clk.clkr,
43398c2ecf20Sopenharmony_ci	[GCC_PCIE0_AXI_S_CLK] = &gcc_pcie0_axi_s_clk.clkr,
43408c2ecf20Sopenharmony_ci	[GCC_SYS_NOC_PCIE0_AXI_CLK] = &gcc_sys_noc_pcie0_axi_clk.clkr,
43418c2ecf20Sopenharmony_ci	[GCC_PCIE0_PIPE_CLK] = &gcc_pcie0_pipe_clk.clkr,
43428c2ecf20Sopenharmony_ci	[GCC_PRNG_AHB_CLK] = &gcc_prng_ahb_clk.clkr,
43438c2ecf20Sopenharmony_ci	[GCC_QDSS_DAP_CLK] = &gcc_qdss_dap_clk.clkr,
43448c2ecf20Sopenharmony_ci	[GCC_QPIC_AHB_CLK] = &gcc_qpic_ahb_clk.clkr,
43458c2ecf20Sopenharmony_ci	[GCC_QPIC_CLK] = &gcc_qpic_clk.clkr,
43468c2ecf20Sopenharmony_ci	[GCC_SDCC1_AHB_CLK] = &gcc_sdcc1_ahb_clk.clkr,
43478c2ecf20Sopenharmony_ci	[GCC_SDCC1_APPS_CLK] = &gcc_sdcc1_apps_clk.clkr,
43488c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_AHB_CLK] = &gcc_uniphy0_ahb_clk.clkr,
43498c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_PORT1_RX_CLK] = &gcc_uniphy0_port1_rx_clk.clkr,
43508c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_PORT1_TX_CLK] = &gcc_uniphy0_port1_tx_clk.clkr,
43518c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_PORT2_RX_CLK] = &gcc_uniphy0_port2_rx_clk.clkr,
43528c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_PORT2_TX_CLK] = &gcc_uniphy0_port2_tx_clk.clkr,
43538c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_PORT3_RX_CLK] = &gcc_uniphy0_port3_rx_clk.clkr,
43548c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_PORT3_TX_CLK] = &gcc_uniphy0_port3_tx_clk.clkr,
43558c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_PORT4_RX_CLK] = &gcc_uniphy0_port4_rx_clk.clkr,
43568c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_PORT4_TX_CLK] = &gcc_uniphy0_port4_tx_clk.clkr,
43578c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_PORT5_RX_CLK] = &gcc_uniphy0_port5_rx_clk.clkr,
43588c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_PORT5_TX_CLK] = &gcc_uniphy0_port5_tx_clk.clkr,
43598c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_SYS_CLK] = &gcc_uniphy0_sys_clk.clkr,
43608c2ecf20Sopenharmony_ci	[GCC_UNIPHY1_AHB_CLK] = &gcc_uniphy1_ahb_clk.clkr,
43618c2ecf20Sopenharmony_ci	[GCC_UNIPHY1_PORT5_RX_CLK] = &gcc_uniphy1_port5_rx_clk.clkr,
43628c2ecf20Sopenharmony_ci	[GCC_UNIPHY1_PORT5_TX_CLK] = &gcc_uniphy1_port5_tx_clk.clkr,
43638c2ecf20Sopenharmony_ci	[GCC_UNIPHY1_SYS_CLK] = &gcc_uniphy1_sys_clk.clkr,
43648c2ecf20Sopenharmony_ci	[GCC_USB0_AUX_CLK] = &gcc_usb0_aux_clk.clkr,
43658c2ecf20Sopenharmony_ci	[GCC_SYS_NOC_USB0_AXI_CLK] = &gcc_sys_noc_usb0_axi_clk.clkr,
43668c2ecf20Sopenharmony_ci	[GCC_SNOC_BUS_TIMEOUT2_AHB_CLK] = &gcc_snoc_bus_timeout2_ahb_clk.clkr,
43678c2ecf20Sopenharmony_ci	[GCC_USB0_MASTER_CLK] = &gcc_usb0_master_clk.clkr,
43688c2ecf20Sopenharmony_ci	[GCC_USB0_MOCK_UTMI_CLK] = &gcc_usb0_mock_utmi_clk.clkr,
43698c2ecf20Sopenharmony_ci	[GCC_USB0_PHY_CFG_AHB_CLK] = &gcc_usb0_phy_cfg_ahb_clk.clkr,
43708c2ecf20Sopenharmony_ci	[GCC_USB0_PIPE_CLK] = &gcc_usb0_pipe_clk.clkr,
43718c2ecf20Sopenharmony_ci	[GCC_USB0_SLEEP_CLK] = &gcc_usb0_sleep_clk.clkr,
43728c2ecf20Sopenharmony_ci	[GCC_USB1_MASTER_CLK] = &gcc_usb1_master_clk.clkr,
43738c2ecf20Sopenharmony_ci	[GCC_USB1_MOCK_UTMI_CLK] = &gcc_usb1_mock_utmi_clk.clkr,
43748c2ecf20Sopenharmony_ci	[GCC_USB1_PHY_CFG_AHB_CLK] = &gcc_usb1_phy_cfg_ahb_clk.clkr,
43758c2ecf20Sopenharmony_ci	[GCC_USB1_SLEEP_CLK] = &gcc_usb1_sleep_clk.clkr,
43768c2ecf20Sopenharmony_ci	[GCC_CMN_12GPLL_AHB_CLK] = &gcc_cmn_12gpll_ahb_clk.clkr,
43778c2ecf20Sopenharmony_ci	[GCC_CMN_12GPLL_SYS_CLK] = &gcc_cmn_12gpll_sys_clk.clkr,
43788c2ecf20Sopenharmony_ci	[GCC_SDCC1_ICE_CORE_CLK] = &gcc_sdcc1_ice_core_clk.clkr,
43798c2ecf20Sopenharmony_ci	[SDCC1_ICE_CORE_CLK_SRC] = &sdcc1_ice_core_clk_src.clkr,
43808c2ecf20Sopenharmony_ci	[GCC_DCC_CLK] = &gcc_dcc_clk.clkr,
43818c2ecf20Sopenharmony_ci	[PCIE0_RCHNG_CLK_SRC] = &pcie0_rchng_clk_src.clkr,
43828c2ecf20Sopenharmony_ci	[GCC_PCIE0_AXI_S_BRIDGE_CLK] = &gcc_pcie0_axi_s_bridge_clk.clkr,
43838c2ecf20Sopenharmony_ci	[PCIE0_RCHNG_CLK] = &gcc_pcie0_rchng_clk.clkr,
43848c2ecf20Sopenharmony_ci	[WCSS_AHB_CLK_SRC] = &wcss_ahb_clk_src.clkr,
43858c2ecf20Sopenharmony_ci	[Q6_AXI_CLK_SRC] = &q6_axi_clk_src.clkr,
43868c2ecf20Sopenharmony_ci	[RBCPR_WCSS_CLK_SRC] = &rbcpr_wcss_clk_src.clkr,
43878c2ecf20Sopenharmony_ci	[GCC_LPASS_CORE_AXIM_CLK] = &gcc_lpass_core_axim_clk.clkr,
43888c2ecf20Sopenharmony_ci	[LPASS_CORE_AXIM_CLK_SRC] = &lpass_core_axim_clk_src.clkr,
43898c2ecf20Sopenharmony_ci	[GCC_LPASS_SNOC_CFG_CLK] = &gcc_lpass_snoc_cfg_clk.clkr,
43908c2ecf20Sopenharmony_ci	[LPASS_SNOC_CFG_CLK_SRC] = &lpass_snoc_cfg_clk_src.clkr,
43918c2ecf20Sopenharmony_ci	[GCC_LPASS_Q6_AXIM_CLK] = &gcc_lpass_q6_axim_clk.clkr,
43928c2ecf20Sopenharmony_ci	[LPASS_Q6_AXIM_CLK_SRC] = &lpass_q6_axim_clk_src.clkr,
43938c2ecf20Sopenharmony_ci	[GCC_LPASS_Q6_ATBM_AT_CLK] = &gcc_lpass_q6_atbm_at_clk.clkr,
43948c2ecf20Sopenharmony_ci	[GCC_LPASS_Q6_PCLKDBG_CLK] = &gcc_lpass_q6_pclkdbg_clk.clkr,
43958c2ecf20Sopenharmony_ci	[GCC_LPASS_Q6SS_TSCTR_1TO2_CLK] = &gcc_lpass_q6ss_tsctr_1to2_clk.clkr,
43968c2ecf20Sopenharmony_ci	[GCC_LPASS_Q6SS_TRIG_CLK] = &gcc_lpass_q6ss_trig_clk.clkr,
43978c2ecf20Sopenharmony_ci	[GCC_LPASS_TBU_CLK] = &gcc_lpass_tbu_clk.clkr,
43988c2ecf20Sopenharmony_ci	[GCC_PCNOC_LPASS_CLK] = &gcc_pcnoc_lpass_clk.clkr,
43998c2ecf20Sopenharmony_ci	[GCC_MEM_NOC_UBI32_CLK] = &gcc_mem_noc_ubi32_clk.clkr,
44008c2ecf20Sopenharmony_ci	[GCC_MEM_NOC_LPASS_CLK] = &gcc_mem_noc_lpass_clk.clkr,
44018c2ecf20Sopenharmony_ci	[GCC_SNOC_LPASS_CFG_CLK] = &gcc_snoc_lpass_cfg_clk.clkr,
44028c2ecf20Sopenharmony_ci	[QDSS_STM_CLK_SRC] = &qdss_stm_clk_src.clkr,
44038c2ecf20Sopenharmony_ci	[QDSS_TRACECLKIN_CLK_SRC] = &qdss_traceclkin_clk_src.clkr,
44048c2ecf20Sopenharmony_ci};
44058c2ecf20Sopenharmony_ci
44068c2ecf20Sopenharmony_cistatic const struct qcom_reset_map gcc_ipq6018_resets[] = {
44078c2ecf20Sopenharmony_ci	[GCC_BLSP1_BCR] = { 0x01000, 0 },
44088c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP1_BCR] = { 0x02000, 0 },
44098c2ecf20Sopenharmony_ci	[GCC_BLSP1_UART1_BCR] = { 0x02038, 0 },
44108c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP2_BCR] = { 0x03008, 0 },
44118c2ecf20Sopenharmony_ci	[GCC_BLSP1_UART2_BCR] = { 0x03028, 0 },
44128c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP3_BCR] = { 0x04008, 0 },
44138c2ecf20Sopenharmony_ci	[GCC_BLSP1_UART3_BCR] = { 0x04028, 0 },
44148c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP4_BCR] = { 0x05008, 0 },
44158c2ecf20Sopenharmony_ci	[GCC_BLSP1_UART4_BCR] = { 0x05028, 0 },
44168c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP5_BCR] = { 0x06008, 0 },
44178c2ecf20Sopenharmony_ci	[GCC_BLSP1_UART5_BCR] = { 0x06028, 0 },
44188c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP6_BCR] = { 0x07008, 0 },
44198c2ecf20Sopenharmony_ci	[GCC_BLSP1_UART6_BCR] = { 0x07028, 0 },
44208c2ecf20Sopenharmony_ci	[GCC_IMEM_BCR] = { 0x0e000, 0 },
44218c2ecf20Sopenharmony_ci	[GCC_SMMU_BCR] = { 0x12000, 0 },
44228c2ecf20Sopenharmony_ci	[GCC_APSS_TCU_BCR] = { 0x12050, 0 },
44238c2ecf20Sopenharmony_ci	[GCC_SMMU_XPU_BCR] = { 0x12054, 0 },
44248c2ecf20Sopenharmony_ci	[GCC_PCNOC_TBU_BCR] = { 0x12058, 0 },
44258c2ecf20Sopenharmony_ci	[GCC_SMMU_CFG_BCR] = { 0x1208c, 0 },
44268c2ecf20Sopenharmony_ci	[GCC_PRNG_BCR] = { 0x13000, 0 },
44278c2ecf20Sopenharmony_ci	[GCC_BOOT_ROM_BCR] = { 0x13008, 0 },
44288c2ecf20Sopenharmony_ci	[GCC_CRYPTO_BCR] = { 0x16000, 0 },
44298c2ecf20Sopenharmony_ci	[GCC_WCSS_BCR] = { 0x18000, 0 },
44308c2ecf20Sopenharmony_ci	[GCC_WCSS_Q6_BCR] = { 0x18100, 0 },
44318c2ecf20Sopenharmony_ci	[GCC_NSS_BCR] = { 0x19000, 0 },
44328c2ecf20Sopenharmony_ci	[GCC_SEC_CTRL_BCR] = { 0x1a000, 0 },
44338c2ecf20Sopenharmony_ci	[GCC_ADSS_BCR] = { 0x1c000, 0 },
44348c2ecf20Sopenharmony_ci	[GCC_DDRSS_BCR] = { 0x1e000, 0 },
44358c2ecf20Sopenharmony_ci	[GCC_SYSTEM_NOC_BCR] = { 0x26000, 0 },
44368c2ecf20Sopenharmony_ci	[GCC_PCNOC_BCR] = { 0x27018, 0 },
44378c2ecf20Sopenharmony_ci	[GCC_TCSR_BCR] = { 0x28000, 0 },
44388c2ecf20Sopenharmony_ci	[GCC_QDSS_BCR] = { 0x29000, 0 },
44398c2ecf20Sopenharmony_ci	[GCC_DCD_BCR] = { 0x2a000, 0 },
44408c2ecf20Sopenharmony_ci	[GCC_MSG_RAM_BCR] = { 0x2b000, 0 },
44418c2ecf20Sopenharmony_ci	[GCC_MPM_BCR] = { 0x2c000, 0 },
44428c2ecf20Sopenharmony_ci	[GCC_SPDM_BCR] = { 0x2f000, 0 },
44438c2ecf20Sopenharmony_ci	[GCC_RBCPR_BCR] = { 0x33000, 0 },
44448c2ecf20Sopenharmony_ci	[GCC_RBCPR_MX_BCR] = { 0x33014, 0 },
44458c2ecf20Sopenharmony_ci	[GCC_TLMM_BCR] = { 0x34000, 0 },
44468c2ecf20Sopenharmony_ci	[GCC_RBCPR_WCSS_BCR] = { 0x3a000, 0 },
44478c2ecf20Sopenharmony_ci	[GCC_USB0_PHY_BCR] = { 0x3e034, 0 },
44488c2ecf20Sopenharmony_ci	[GCC_USB3PHY_0_PHY_BCR] = { 0x3e03c, 0 },
44498c2ecf20Sopenharmony_ci	[GCC_USB0_BCR] = { 0x3e070, 0 },
44508c2ecf20Sopenharmony_ci	[GCC_USB1_BCR] = { 0x3f070, 0 },
44518c2ecf20Sopenharmony_ci	[GCC_QUSB2_0_PHY_BCR] = { 0x4103c, 0 },
44528c2ecf20Sopenharmony_ci	[GCC_QUSB2_1_PHY_BCR] = { 0x41040, 0 },
44538c2ecf20Sopenharmony_ci	[GCC_SDCC1_BCR] = { 0x42000, 0 },
44548c2ecf20Sopenharmony_ci	[GCC_SNOC_BUS_TIMEOUT0_BCR] = { 0x47000, 0 },
44558c2ecf20Sopenharmony_ci	[GCC_SNOC_BUS_TIMEOUT1_BCR] = { 0x47008, 0 },
44568c2ecf20Sopenharmony_ci	[GCC_SNOC_BUS_TIMEOUT2_BCR] = { 0x47010, 0 },
44578c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT0_BCR] = { 0x48000, 0 },
44588c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT1_BCR] = { 0x48008, 0 },
44598c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT2_BCR] = { 0x48010, 0 },
44608c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT3_BCR] = { 0x48018, 0 },
44618c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT4_BCR] = { 0x48020, 0 },
44628c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT5_BCR] = { 0x48028, 0 },
44638c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT6_BCR] = { 0x48030, 0 },
44648c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT7_BCR] = { 0x48038, 0 },
44658c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT8_BCR] = { 0x48040, 0 },
44668c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT9_BCR] = { 0x48048, 0 },
44678c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_BCR] = { 0x56000, 0 },
44688c2ecf20Sopenharmony_ci	[GCC_UNIPHY1_BCR] = { 0x56100, 0 },
44698c2ecf20Sopenharmony_ci	[GCC_CMN_12GPLL_BCR] = { 0x56300, 0 },
44708c2ecf20Sopenharmony_ci	[GCC_QPIC_BCR] = { 0x57018, 0 },
44718c2ecf20Sopenharmony_ci	[GCC_MDIO_BCR] = { 0x58000, 0 },
44728c2ecf20Sopenharmony_ci	[GCC_WCSS_CORE_TBU_BCR] = { 0x66000, 0 },
44738c2ecf20Sopenharmony_ci	[GCC_WCSS_Q6_TBU_BCR] = { 0x67000, 0 },
44748c2ecf20Sopenharmony_ci	[GCC_USB0_TBU_BCR] = { 0x6a000, 0 },
44758c2ecf20Sopenharmony_ci	[GCC_PCIE0_TBU_BCR] = { 0x6b000, 0 },
44768c2ecf20Sopenharmony_ci	[GCC_NSS_NOC_TBU_BCR] = { 0x6e000, 0 },
44778c2ecf20Sopenharmony_ci	[GCC_PCIE0_BCR] = { 0x75004, 0 },
44788c2ecf20Sopenharmony_ci	[GCC_PCIE0_PHY_BCR] = { 0x75038, 0 },
44798c2ecf20Sopenharmony_ci	[GCC_PCIE0PHY_PHY_BCR] = { 0x7503c, 0 },
44808c2ecf20Sopenharmony_ci	[GCC_PCIE0_LINK_DOWN_BCR] = { 0x75044, 0 },
44818c2ecf20Sopenharmony_ci	[GCC_DCC_BCR] = { 0x77000, 0 },
44828c2ecf20Sopenharmony_ci	[GCC_APC0_VOLTAGE_DROOP_DETECTOR_BCR] = { 0x78000, 0 },
44838c2ecf20Sopenharmony_ci	[GCC_SMMU_CATS_BCR] = { 0x7c000, 0 },
44848c2ecf20Sopenharmony_ci	[GCC_UBI0_AXI_ARES] = { 0x68010, 0 },
44858c2ecf20Sopenharmony_ci	[GCC_UBI0_AHB_ARES] = { 0x68010, 1 },
44868c2ecf20Sopenharmony_ci	[GCC_UBI0_NC_AXI_ARES] = { 0x68010, 2 },
44878c2ecf20Sopenharmony_ci	[GCC_UBI0_DBG_ARES] = { 0x68010, 3 },
44888c2ecf20Sopenharmony_ci	[GCC_UBI0_CORE_CLAMP_ENABLE] = { 0x68010, 4 },
44898c2ecf20Sopenharmony_ci	[GCC_UBI0_CLKRST_CLAMP_ENABLE] = { 0x68010, 5 },
44908c2ecf20Sopenharmony_ci	[GCC_UBI0_UTCM_ARES] = { 0x68010, 6 },
44918c2ecf20Sopenharmony_ci	[GCC_UBI0_CORE_ARES] = { 0x68010, 7 },
44928c2ecf20Sopenharmony_ci	[GCC_NSS_CFG_ARES] = { 0x68010, 16 },
44938c2ecf20Sopenharmony_ci	[GCC_NSS_NOC_ARES] = { 0x68010, 18 },
44948c2ecf20Sopenharmony_ci	[GCC_NSS_CRYPTO_ARES] = { 0x68010, 19 },
44958c2ecf20Sopenharmony_ci	[GCC_NSS_CSR_ARES] = { 0x68010, 20 },
44968c2ecf20Sopenharmony_ci	[GCC_NSS_CE_APB_ARES] = { 0x68010, 21 },
44978c2ecf20Sopenharmony_ci	[GCC_NSS_CE_AXI_ARES] = { 0x68010, 22 },
44988c2ecf20Sopenharmony_ci	[GCC_NSSNOC_CE_APB_ARES] = { 0x68010, 23 },
44998c2ecf20Sopenharmony_ci	[GCC_NSSNOC_CE_AXI_ARES] = { 0x68010, 24 },
45008c2ecf20Sopenharmony_ci	[GCC_NSSNOC_UBI0_AHB_ARES] = { 0x68010, 25 },
45018c2ecf20Sopenharmony_ci	[GCC_NSSNOC_SNOC_ARES] = { 0x68010, 27 },
45028c2ecf20Sopenharmony_ci	[GCC_NSSNOC_CRYPTO_ARES] = { 0x68010, 28 },
45038c2ecf20Sopenharmony_ci	[GCC_NSSNOC_ATB_ARES] = { 0x68010, 29 },
45048c2ecf20Sopenharmony_ci	[GCC_NSSNOC_QOSGEN_REF_ARES] = { 0x68010, 30 },
45058c2ecf20Sopenharmony_ci	[GCC_NSSNOC_TIMEOUT_REF_ARES] = { 0x68010, 31 },
45068c2ecf20Sopenharmony_ci	[GCC_PCIE0_PIPE_ARES] = { 0x75040, 0 },
45078c2ecf20Sopenharmony_ci	[GCC_PCIE0_SLEEP_ARES] = { 0x75040, 1 },
45088c2ecf20Sopenharmony_ci	[GCC_PCIE0_CORE_STICKY_ARES] = { 0x75040, 2 },
45098c2ecf20Sopenharmony_ci	[GCC_PCIE0_AXI_MASTER_ARES] = { 0x75040, 3 },
45108c2ecf20Sopenharmony_ci	[GCC_PCIE0_AXI_SLAVE_ARES] = { 0x75040, 4 },
45118c2ecf20Sopenharmony_ci	[GCC_PCIE0_AHB_ARES] = { 0x75040, 5 },
45128c2ecf20Sopenharmony_ci	[GCC_PCIE0_AXI_MASTER_STICKY_ARES] = { 0x75040, 6 },
45138c2ecf20Sopenharmony_ci	[GCC_PCIE0_AXI_SLAVE_STICKY_ARES] = { 0x75040, 7 },
45148c2ecf20Sopenharmony_ci	[GCC_PPE_FULL_RESET] = { .reg = 0x68014, .bitmask = 0xf0000 },
45158c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_SOFT_RESET] = { .reg = 0x56004, .bitmask = 0x3ff2 },
45168c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_XPCS_RESET] = { 0x56004, 2 },
45178c2ecf20Sopenharmony_ci	[GCC_UNIPHY1_SOFT_RESET] = { .reg = 0x56104, .bitmask = 0x32 },
45188c2ecf20Sopenharmony_ci	[GCC_UNIPHY1_XPCS_RESET] = { 0x56104, 2 },
45198c2ecf20Sopenharmony_ci	[GCC_EDMA_HW_RESET] = { .reg = 0x68014, .bitmask = 0x300000 },
45208c2ecf20Sopenharmony_ci	[GCC_NSSPORT1_RESET] = { .reg = 0x68014, .bitmask = 0x1000003 },
45218c2ecf20Sopenharmony_ci	[GCC_NSSPORT2_RESET] = { .reg = 0x68014, .bitmask = 0x200000c },
45228c2ecf20Sopenharmony_ci	[GCC_NSSPORT3_RESET] = { .reg = 0x68014, .bitmask = 0x4000030 },
45238c2ecf20Sopenharmony_ci	[GCC_NSSPORT4_RESET] = { .reg = 0x68014, .bitmask = 0x8000300 },
45248c2ecf20Sopenharmony_ci	[GCC_NSSPORT5_RESET] = { .reg = 0x68014, .bitmask = 0x10000c00 },
45258c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_PORT1_ARES] = { .reg = 0x56004, .bitmask = 0x30 },
45268c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_PORT2_ARES] = { .reg = 0x56004, .bitmask = 0xc0 },
45278c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_PORT3_ARES] = { .reg = 0x56004, .bitmask = 0x300 },
45288c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_PORT4_ARES] = { .reg = 0x56004, .bitmask = 0xc00 },
45298c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_PORT5_ARES] = { .reg = 0x56004, .bitmask = 0x3000 },
45308c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_PORT_4_5_RESET] = { .reg = 0x56004, .bitmask = 0x3c02 },
45318c2ecf20Sopenharmony_ci	[GCC_UNIPHY0_PORT_4_RESET] = { .reg = 0x56004, .bitmask = 0xc02 },
45328c2ecf20Sopenharmony_ci	[GCC_LPASS_BCR] = {0x1F000, 0},
45338c2ecf20Sopenharmony_ci	[GCC_UBI32_TBU_BCR] = {0x65000, 0},
45348c2ecf20Sopenharmony_ci	[GCC_LPASS_TBU_BCR] = {0x6C000, 0},
45358c2ecf20Sopenharmony_ci	[GCC_WCSSAON_RESET] = {0x59010, 0},
45368c2ecf20Sopenharmony_ci	[GCC_LPASS_Q6_AXIM_ARES] = {0x1F004, 0},
45378c2ecf20Sopenharmony_ci	[GCC_LPASS_Q6SS_TSCTR_1TO2_ARES] = {0x1F004, 1},
45388c2ecf20Sopenharmony_ci	[GCC_LPASS_Q6SS_TRIG_ARES] = {0x1F004, 2},
45398c2ecf20Sopenharmony_ci	[GCC_LPASS_Q6_ATBM_AT_ARES] = {0x1F004, 3},
45408c2ecf20Sopenharmony_ci	[GCC_LPASS_Q6_PCLKDBG_ARES] = {0x1F004, 4},
45418c2ecf20Sopenharmony_ci	[GCC_LPASS_CORE_AXIM_ARES] = {0x1F004, 5},
45428c2ecf20Sopenharmony_ci	[GCC_LPASS_SNOC_CFG_ARES] = {0x1F004, 6},
45438c2ecf20Sopenharmony_ci	[GCC_WCSS_DBG_ARES] = {0x59008, 0},
45448c2ecf20Sopenharmony_ci	[GCC_WCSS_ECAHB_ARES] = {0x59008, 1},
45458c2ecf20Sopenharmony_ci	[GCC_WCSS_ACMT_ARES] = {0x59008, 2},
45468c2ecf20Sopenharmony_ci	[GCC_WCSS_DBG_BDG_ARES] = {0x59008, 3},
45478c2ecf20Sopenharmony_ci	[GCC_WCSS_AHB_S_ARES] = {0x59008, 4},
45488c2ecf20Sopenharmony_ci	[GCC_WCSS_AXI_M_ARES] = {0x59008, 5},
45498c2ecf20Sopenharmony_ci	[GCC_Q6SS_DBG_ARES] = {0x59110, 0},
45508c2ecf20Sopenharmony_ci	[GCC_Q6_AHB_S_ARES] = {0x59110, 1},
45518c2ecf20Sopenharmony_ci	[GCC_Q6_AHB_ARES] = {0x59110, 2},
45528c2ecf20Sopenharmony_ci	[GCC_Q6_AXIM2_ARES] = {0x59110, 3},
45538c2ecf20Sopenharmony_ci	[GCC_Q6_AXIM_ARES] = {0x59110, 4},
45548c2ecf20Sopenharmony_ci};
45558c2ecf20Sopenharmony_ci
45568c2ecf20Sopenharmony_cistatic const struct of_device_id gcc_ipq6018_match_table[] = {
45578c2ecf20Sopenharmony_ci	{ .compatible = "qcom,gcc-ipq6018" },
45588c2ecf20Sopenharmony_ci	{ }
45598c2ecf20Sopenharmony_ci};
45608c2ecf20Sopenharmony_ciMODULE_DEVICE_TABLE(of, gcc_ipq6018_match_table);
45618c2ecf20Sopenharmony_ci
45628c2ecf20Sopenharmony_cistatic const struct regmap_config gcc_ipq6018_regmap_config = {
45638c2ecf20Sopenharmony_ci	.reg_bits       = 32,
45648c2ecf20Sopenharmony_ci	.reg_stride     = 4,
45658c2ecf20Sopenharmony_ci	.val_bits       = 32,
45668c2ecf20Sopenharmony_ci	.max_register   = 0x7fffc,
45678c2ecf20Sopenharmony_ci	.fast_io	= true,
45688c2ecf20Sopenharmony_ci};
45698c2ecf20Sopenharmony_ci
45708c2ecf20Sopenharmony_cistatic const struct qcom_cc_desc gcc_ipq6018_desc = {
45718c2ecf20Sopenharmony_ci	.config = &gcc_ipq6018_regmap_config,
45728c2ecf20Sopenharmony_ci	.clks = gcc_ipq6018_clks,
45738c2ecf20Sopenharmony_ci	.num_clks = ARRAY_SIZE(gcc_ipq6018_clks),
45748c2ecf20Sopenharmony_ci	.resets = gcc_ipq6018_resets,
45758c2ecf20Sopenharmony_ci	.num_resets = ARRAY_SIZE(gcc_ipq6018_resets),
45768c2ecf20Sopenharmony_ci	.clk_hws = gcc_ipq6018_hws,
45778c2ecf20Sopenharmony_ci	.num_clk_hws = ARRAY_SIZE(gcc_ipq6018_hws),
45788c2ecf20Sopenharmony_ci};
45798c2ecf20Sopenharmony_ci
45808c2ecf20Sopenharmony_cistatic int gcc_ipq6018_probe(struct platform_device *pdev)
45818c2ecf20Sopenharmony_ci{
45828c2ecf20Sopenharmony_ci	struct regmap *regmap;
45838c2ecf20Sopenharmony_ci
45848c2ecf20Sopenharmony_ci	regmap = qcom_cc_map(pdev, &gcc_ipq6018_desc);
45858c2ecf20Sopenharmony_ci	if (IS_ERR(regmap))
45868c2ecf20Sopenharmony_ci		return PTR_ERR(regmap);
45878c2ecf20Sopenharmony_ci
45888c2ecf20Sopenharmony_ci	/* Disable SW_COLLAPSE for USB0 GDSCR */
45898c2ecf20Sopenharmony_ci	regmap_update_bits(regmap, 0x3e078, BIT(0), 0x0);
45908c2ecf20Sopenharmony_ci	/* Enable SW_OVERRIDE for USB0 GDSCR */
45918c2ecf20Sopenharmony_ci	regmap_update_bits(regmap, 0x3e078, BIT(2), BIT(2));
45928c2ecf20Sopenharmony_ci	/* Disable SW_COLLAPSE for USB1 GDSCR */
45938c2ecf20Sopenharmony_ci	regmap_update_bits(regmap, 0x3f078, BIT(0), 0x0);
45948c2ecf20Sopenharmony_ci	/* Enable SW_OVERRIDE for USB1 GDSCR */
45958c2ecf20Sopenharmony_ci	regmap_update_bits(regmap, 0x3f078, BIT(2), BIT(2));
45968c2ecf20Sopenharmony_ci
45978c2ecf20Sopenharmony_ci	/* SW Workaround for UBI Huyara PLL */
45988c2ecf20Sopenharmony_ci	regmap_update_bits(regmap, 0x2501c, BIT(26), BIT(26));
45998c2ecf20Sopenharmony_ci
46008c2ecf20Sopenharmony_ci	clk_alpha_pll_configure(&ubi32_pll_main, regmap, &ubi32_pll_config);
46018c2ecf20Sopenharmony_ci
46028c2ecf20Sopenharmony_ci	clk_alpha_pll_configure(&nss_crypto_pll_main, regmap,
46038c2ecf20Sopenharmony_ci				&nss_crypto_pll_config);
46048c2ecf20Sopenharmony_ci
46058c2ecf20Sopenharmony_ci	return qcom_cc_really_probe(pdev, &gcc_ipq6018_desc, regmap);
46068c2ecf20Sopenharmony_ci}
46078c2ecf20Sopenharmony_ci
46088c2ecf20Sopenharmony_cistatic struct platform_driver gcc_ipq6018_driver = {
46098c2ecf20Sopenharmony_ci	.probe = gcc_ipq6018_probe,
46108c2ecf20Sopenharmony_ci	.driver = {
46118c2ecf20Sopenharmony_ci		.name   = "qcom,gcc-ipq6018",
46128c2ecf20Sopenharmony_ci		.of_match_table = gcc_ipq6018_match_table,
46138c2ecf20Sopenharmony_ci	},
46148c2ecf20Sopenharmony_ci};
46158c2ecf20Sopenharmony_ci
46168c2ecf20Sopenharmony_cistatic int __init gcc_ipq6018_init(void)
46178c2ecf20Sopenharmony_ci{
46188c2ecf20Sopenharmony_ci	return platform_driver_register(&gcc_ipq6018_driver);
46198c2ecf20Sopenharmony_ci}
46208c2ecf20Sopenharmony_cicore_initcall(gcc_ipq6018_init);
46218c2ecf20Sopenharmony_ci
46228c2ecf20Sopenharmony_cistatic void __exit gcc_ipq6018_exit(void)
46238c2ecf20Sopenharmony_ci{
46248c2ecf20Sopenharmony_ci	platform_driver_unregister(&gcc_ipq6018_driver);
46258c2ecf20Sopenharmony_ci}
46268c2ecf20Sopenharmony_cimodule_exit(gcc_ipq6018_exit);
46278c2ecf20Sopenharmony_ci
46288c2ecf20Sopenharmony_ciMODULE_DESCRIPTION("Qualcomm Technologies, Inc. GCC IPQ6018 Driver");
46298c2ecf20Sopenharmony_ciMODULE_LICENSE("GPL v2");
4630