clk-icst.c 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Driver for the ICST307 VCO clock found in the ARM Reference designs.
  4. * We wrap the custom interface from <asm/hardware/icst.h> into the generic
  5. * clock framework.
  6. *
  7. * Copyright (C) 2012-2015 Linus Walleij
  8. *
  9. * TODO: when all ARM reference designs are migrated to generic clocks, the
  10. * ICST clock code from the ARM tree should probably be merged into this
  11. * file.
  12. */
  13. #include <linux/kernel.h>
  14. #include <linux/slab.h>
  15. #include <linux/export.h>
  16. #include <linux/err.h>
  17. #include <linux/clk-provider.h>
  18. #include <linux/io.h>
  19. #include <linux/regmap.h>
  20. #include <linux/mfd/syscon.h>
  21. #include "icst.h"
  22. #include "clk-icst.h"
  23. /* Magic unlocking token used on all Versatile boards */
  24. #define VERSATILE_LOCK_VAL 0xA05F
  25. #define VERSATILE_AUX_OSC_BITS 0x7FFFF
  26. #define INTEGRATOR_AP_CM_BITS 0xFF
  27. #define INTEGRATOR_AP_SYS_BITS 0xFF
  28. #define INTEGRATOR_CP_CM_CORE_BITS 0x7FF
  29. #define INTEGRATOR_CP_CM_MEM_BITS 0x7FF000
  30. #define INTEGRATOR_AP_PCI_25_33_MHZ BIT(8)
  31. /**
  32. * struct clk_icst - ICST VCO clock wrapper
  33. * @hw: corresponding clock hardware entry
  34. * @map: register map
  35. * @vcoreg_off: VCO register address
  36. * @lockreg_off: VCO lock register address
  37. * @params: parameters for this ICST instance
  38. * @rate: current rate
  39. * @ctype: the type of control register for the ICST
  40. */
  41. struct clk_icst {
  42. struct clk_hw hw;
  43. struct regmap *map;
  44. u32 vcoreg_off;
  45. u32 lockreg_off;
  46. struct icst_params *params;
  47. unsigned long rate;
  48. enum icst_control_type ctype;
  49. };
  50. #define to_icst(_hw) container_of(_hw, struct clk_icst, hw)
  51. /**
  52. * vco_get() - get ICST VCO settings from a certain ICST
  53. * @icst: the ICST clock to get
  54. * @vco: the VCO struct to return the value in
  55. */
  56. static int vco_get(struct clk_icst *icst, struct icst_vco *vco)
  57. {
  58. u32 val;
  59. int ret;
  60. ret = regmap_read(icst->map, icst->vcoreg_off, &val);
  61. if (ret)
  62. return ret;
  63. /*
  64. * The Integrator/AP core clock can only access the low eight
  65. * bits of the v PLL divider. Bit 8 is tied low and always zero,
  66. * r is hardwired to 22 and output divider s is hardwired to 1
  67. * (divide by 2) according to the document
  68. * "Integrator CM926EJ-S, CM946E-S, CM966E-S, CM1026EJ-S and
  69. * CM1136JF-S User Guide" ARM DUI 0138E, page 3-13 thru 3-14.
  70. */
  71. if (icst->ctype == ICST_INTEGRATOR_AP_CM) {
  72. vco->v = val & INTEGRATOR_AP_CM_BITS;
  73. vco->r = 22;
  74. vco->s = 1;
  75. return 0;
  76. }
  77. /*
  78. * The Integrator/AP system clock on the base board can only
  79. * access the low eight bits of the v PLL divider. Bit 8 is tied low
  80. * and always zero, r is hardwired to 46, and the output divider is
  81. * hardwired to 3 (divide by 4) according to the document
  82. * "Integrator AP ASIC Development Motherboard" ARM DUI 0098B,
  83. * page 3-16.
  84. */
  85. if (icst->ctype == ICST_INTEGRATOR_AP_SYS) {
  86. vco->v = val & INTEGRATOR_AP_SYS_BITS;
  87. vco->r = 46;
  88. vco->s = 3;
  89. return 0;
  90. }
  91. /*
  92. * The Integrator/AP PCI clock is using an odd pattern to create
  93. * the child clock, basically a single bit called DIVX/Y is used
  94. * to select between two different hardwired values: setting the
  95. * bit to 0 yields v = 17, r = 22 and OD = 1, whereas setting the
  96. * bit to 1 yields v = 14, r = 14 and OD = 1 giving the frequencies
  97. * 33 or 25 MHz respectively.
  98. */
  99. if (icst->ctype == ICST_INTEGRATOR_AP_PCI) {
  100. bool divxy = !!(val & INTEGRATOR_AP_PCI_25_33_MHZ);
  101. vco->v = divxy ? 17 : 14;
  102. vco->r = divxy ? 22 : 14;
  103. vco->s = 1;
  104. return 0;
  105. }
  106. /*
  107. * The Integrator/CP core clock can access the low eight bits
  108. * of the v PLL divider. Bit 8 is tied low and always zero,
  109. * r is hardwired to 22 and the output divider s is accessible
  110. * in bits 8 thru 10 according to the document
  111. * "Integrator/CM940T, CM920T, CM740T, and CM720T User Guide"
  112. * ARM DUI 0157A, page 3-20 thru 3-23 and 4-10.
  113. */
  114. if (icst->ctype == ICST_INTEGRATOR_CP_CM_CORE) {
  115. vco->v = val & 0xFF;
  116. vco->r = 22;
  117. vco->s = (val >> 8) & 7;
  118. return 0;
  119. }
  120. if (icst->ctype == ICST_INTEGRATOR_CP_CM_MEM) {
  121. vco->v = (val >> 12) & 0xFF;
  122. vco->r = 22;
  123. vco->s = (val >> 20) & 7;
  124. return 0;
  125. }
  126. vco->v = val & 0x1ff;
  127. vco->r = (val >> 9) & 0x7f;
  128. vco->s = (val >> 16) & 03;
  129. return 0;
  130. }
  131. /**
  132. * vco_set() - commit changes to an ICST VCO
  133. * @icst: the ICST clock to set
  134. * @vco: the VCO struct to set the changes from
  135. */
  136. static int vco_set(struct clk_icst *icst, struct icst_vco vco)
  137. {
  138. u32 mask;
  139. u32 val;
  140. int ret;
  141. /* Mask the bits used by the VCO */
  142. switch (icst->ctype) {
  143. case ICST_INTEGRATOR_AP_CM:
  144. mask = INTEGRATOR_AP_CM_BITS;
  145. val = vco.v & 0xFF;
  146. if (vco.v & 0x100)
  147. pr_err("ICST error: tried to set bit 8 of VDW\n");
  148. if (vco.s != 1)
  149. pr_err("ICST error: tried to use VOD != 1\n");
  150. if (vco.r != 22)
  151. pr_err("ICST error: tried to use RDW != 22\n");
  152. break;
  153. case ICST_INTEGRATOR_AP_SYS:
  154. mask = INTEGRATOR_AP_SYS_BITS;
  155. val = vco.v & 0xFF;
  156. if (vco.v & 0x100)
  157. pr_err("ICST error: tried to set bit 8 of VDW\n");
  158. if (vco.s != 3)
  159. pr_err("ICST error: tried to use VOD != 1\n");
  160. if (vco.r != 46)
  161. pr_err("ICST error: tried to use RDW != 22\n");
  162. break;
  163. case ICST_INTEGRATOR_CP_CM_CORE:
  164. mask = INTEGRATOR_CP_CM_CORE_BITS; /* Uses 12 bits */
  165. val = (vco.v & 0xFF) | vco.s << 8;
  166. if (vco.v & 0x100)
  167. pr_err("ICST error: tried to set bit 8 of VDW\n");
  168. if (vco.r != 22)
  169. pr_err("ICST error: tried to use RDW != 22\n");
  170. break;
  171. case ICST_INTEGRATOR_CP_CM_MEM:
  172. mask = INTEGRATOR_CP_CM_MEM_BITS; /* Uses 12 bits */
  173. val = ((vco.v & 0xFF) << 12) | (vco.s << 20);
  174. if (vco.v & 0x100)
  175. pr_err("ICST error: tried to set bit 8 of VDW\n");
  176. if (vco.r != 22)
  177. pr_err("ICST error: tried to use RDW != 22\n");
  178. break;
  179. default:
  180. /* Regular auxiliary oscillator */
  181. mask = VERSATILE_AUX_OSC_BITS;
  182. val = vco.v | (vco.r << 9) | (vco.s << 16);
  183. break;
  184. }
  185. pr_debug("ICST: new val = 0x%08x\n", val);
  186. /* This magic unlocks the VCO so it can be controlled */
  187. ret = regmap_write(icst->map, icst->lockreg_off, VERSATILE_LOCK_VAL);
  188. if (ret)
  189. return ret;
  190. ret = regmap_update_bits(icst->map, icst->vcoreg_off, mask, val);
  191. if (ret)
  192. return ret;
  193. /* This locks the VCO again */
  194. ret = regmap_write(icst->map, icst->lockreg_off, 0);
  195. if (ret)
  196. return ret;
  197. return 0;
  198. }
  199. static unsigned long icst_recalc_rate(struct clk_hw *hw,
  200. unsigned long parent_rate)
  201. {
  202. struct clk_icst *icst = to_icst(hw);
  203. struct icst_vco vco;
  204. int ret;
  205. if (parent_rate)
  206. icst->params->ref = parent_rate;
  207. ret = vco_get(icst, &vco);
  208. if (ret) {
  209. pr_err("ICST: could not get VCO setting\n");
  210. return 0;
  211. }
  212. icst->rate = icst_hz(icst->params, vco);
  213. return icst->rate;
  214. }
  215. static int icst_determine_rate(struct clk_hw *hw,
  216. struct clk_rate_request *req)
  217. {
  218. struct clk_icst *icst = to_icst(hw);
  219. struct icst_vco vco;
  220. if (icst->ctype == ICST_INTEGRATOR_AP_CM ||
  221. icst->ctype == ICST_INTEGRATOR_CP_CM_CORE) {
  222. if (req->rate <= 12000000)
  223. req->rate = 12000000;
  224. else if (req->rate >= 160000000)
  225. req->rate = 160000000;
  226. else {
  227. /* Slam to closest megahertz */
  228. req->rate = DIV_ROUND_CLOSEST(req->rate, 1000000) * 1000000;
  229. }
  230. return 0;
  231. }
  232. if (icst->ctype == ICST_INTEGRATOR_CP_CM_MEM) {
  233. if (req->rate <= 6000000)
  234. req->rate = 6000000;
  235. else if (req->rate >= 66000000)
  236. req->rate = 66000000;
  237. else {
  238. /* Slam to closest 0.5 megahertz */
  239. req->rate = DIV_ROUND_CLOSEST(req->rate, 500000) * 500000;
  240. }
  241. return 0;
  242. }
  243. if (icst->ctype == ICST_INTEGRATOR_AP_SYS) {
  244. /* Divides between 3 and 50 MHz in steps of 0.25 MHz */
  245. if (req->rate <= 3000000)
  246. req->rate = 3000000;
  247. else if (req->rate >= 50000000)
  248. req->rate = 5000000;
  249. else {
  250. /* Slam to closest 0.25 MHz */
  251. req->rate = DIV_ROUND_CLOSEST(req->rate, 250000) * 250000;
  252. }
  253. return 0;
  254. }
  255. if (icst->ctype == ICST_INTEGRATOR_AP_PCI) {
  256. /*
  257. * If we're below or less than halfway from 25 to 33 MHz
  258. * select 25 MHz
  259. */
  260. if (req->rate <= 25000000 || req->rate < 29000000)
  261. req->rate = 25000000;
  262. else {
  263. /* Else just return the default frequency */
  264. req->rate = 33000000;
  265. }
  266. return 0;
  267. }
  268. vco = icst_hz_to_vco(icst->params, req->rate);
  269. req->rate = icst_hz(icst->params, vco);
  270. return 0;
  271. }
  272. static int icst_set_rate(struct clk_hw *hw, unsigned long rate,
  273. unsigned long parent_rate)
  274. {
  275. struct clk_icst *icst = to_icst(hw);
  276. struct icst_vco vco;
  277. if (icst->ctype == ICST_INTEGRATOR_AP_PCI) {
  278. /* This clock is especially primitive */
  279. unsigned int val;
  280. int ret;
  281. if (rate == 25000000) {
  282. val = 0;
  283. } else if (rate == 33000000) {
  284. val = INTEGRATOR_AP_PCI_25_33_MHZ;
  285. } else {
  286. pr_err("ICST: cannot set PCI frequency %lu\n",
  287. rate);
  288. return -EINVAL;
  289. }
  290. ret = regmap_write(icst->map, icst->lockreg_off,
  291. VERSATILE_LOCK_VAL);
  292. if (ret)
  293. return ret;
  294. ret = regmap_update_bits(icst->map, icst->vcoreg_off,
  295. INTEGRATOR_AP_PCI_25_33_MHZ,
  296. val);
  297. if (ret)
  298. return ret;
  299. /* This locks the VCO again */
  300. ret = regmap_write(icst->map, icst->lockreg_off, 0);
  301. if (ret)
  302. return ret;
  303. return 0;
  304. }
  305. if (parent_rate)
  306. icst->params->ref = parent_rate;
  307. vco = icst_hz_to_vco(icst->params, rate);
  308. icst->rate = icst_hz(icst->params, vco);
  309. return vco_set(icst, vco);
  310. }
  311. static const struct clk_ops icst_ops = {
  312. .recalc_rate = icst_recalc_rate,
  313. .determine_rate = icst_determine_rate,
  314. .set_rate = icst_set_rate,
  315. };
  316. struct clk *icst_clk_setup(struct device *dev,
  317. const struct clk_icst_desc *desc,
  318. const char *name,
  319. const char *parent_name,
  320. struct regmap *map,
  321. enum icst_control_type ctype)
  322. {
  323. struct clk *clk;
  324. struct clk_icst *icst;
  325. struct clk_init_data init;
  326. struct icst_params *pclone;
  327. icst = kzalloc_obj(*icst);
  328. if (!icst)
  329. return ERR_PTR(-ENOMEM);
  330. pclone = kmemdup(desc->params, sizeof(*pclone), GFP_KERNEL);
  331. if (!pclone) {
  332. kfree(icst);
  333. return ERR_PTR(-ENOMEM);
  334. }
  335. init.name = name;
  336. init.ops = &icst_ops;
  337. init.flags = 0;
  338. init.parent_names = (parent_name ? &parent_name : NULL);
  339. init.num_parents = (parent_name ? 1 : 0);
  340. icst->map = map;
  341. icst->hw.init = &init;
  342. icst->params = pclone;
  343. icst->vcoreg_off = desc->vco_offset;
  344. icst->lockreg_off = desc->lock_offset;
  345. icst->ctype = ctype;
  346. clk = clk_register(dev, &icst->hw);
  347. if (IS_ERR(clk)) {
  348. kfree(pclone);
  349. kfree(icst);
  350. }
  351. return clk;
  352. }
  353. EXPORT_SYMBOL_GPL(icst_clk_setup);
  354. struct clk *icst_clk_register(struct device *dev,
  355. const struct clk_icst_desc *desc,
  356. const char *name,
  357. const char *parent_name,
  358. void __iomem *base)
  359. {
  360. struct regmap_config icst_regmap_conf = {
  361. .reg_bits = 32,
  362. .val_bits = 32,
  363. .reg_stride = 4,
  364. };
  365. struct regmap *map;
  366. map = regmap_init_mmio(dev, base, &icst_regmap_conf);
  367. if (IS_ERR(map)) {
  368. pr_err("could not initialize ICST regmap\n");
  369. return ERR_CAST(map);
  370. }
  371. return icst_clk_setup(dev, desc, name, parent_name, map,
  372. ICST_VERSATILE);
  373. }
  374. EXPORT_SYMBOL_GPL(icst_clk_register);
  375. #ifdef CONFIG_OF
  376. /*
  377. * In a device tree, an memory-mapped ICST clock appear as a child
  378. * of a syscon node. Assume this and probe it only as a child of a
  379. * syscon.
  380. */
  381. static const struct icst_params icst525_params = {
  382. .vco_max = ICST525_VCO_MAX_5V,
  383. .vco_min = ICST525_VCO_MIN,
  384. .vd_min = 8,
  385. .vd_max = 263,
  386. .rd_min = 3,
  387. .rd_max = 65,
  388. .s2div = icst525_s2div,
  389. .idx2s = icst525_idx2s,
  390. };
  391. static const struct icst_params icst307_params = {
  392. .vco_max = ICST307_VCO_MAX,
  393. .vco_min = ICST307_VCO_MIN,
  394. .vd_min = 4 + 8,
  395. .vd_max = 511 + 8,
  396. .rd_min = 1 + 2,
  397. .rd_max = 127 + 2,
  398. .s2div = icst307_s2div,
  399. .idx2s = icst307_idx2s,
  400. };
  401. /*
  402. * The core modules on the Integrator/AP and Integrator/CP have
  403. * especially crippled ICST525 control.
  404. */
  405. static const struct icst_params icst525_apcp_cm_params = {
  406. .vco_max = ICST525_VCO_MAX_5V,
  407. .vco_min = ICST525_VCO_MIN,
  408. /* Minimum 12 MHz, VDW = 4 */
  409. .vd_min = 12,
  410. /*
  411. * Maximum 160 MHz, VDW = 152 for all core modules, but
  412. * CM926EJ-S, CM1026EJ-S and CM1136JF-S can actually
  413. * go to 200 MHz (max VDW = 192).
  414. */
  415. .vd_max = 192,
  416. /* r is hardcoded to 22 and this is the actual divisor, +2 */
  417. .rd_min = 24,
  418. .rd_max = 24,
  419. .s2div = icst525_s2div,
  420. .idx2s = icst525_idx2s,
  421. };
  422. static const struct icst_params icst525_ap_sys_params = {
  423. .vco_max = ICST525_VCO_MAX_5V,
  424. .vco_min = ICST525_VCO_MIN,
  425. /* Minimum 3 MHz, VDW = 4 */
  426. .vd_min = 3,
  427. /* Maximum 50 MHz, VDW = 192 */
  428. .vd_max = 50,
  429. /* r is hardcoded to 46 and this is the actual divisor, +2 */
  430. .rd_min = 48,
  431. .rd_max = 48,
  432. .s2div = icst525_s2div,
  433. .idx2s = icst525_idx2s,
  434. };
  435. static const struct icst_params icst525_ap_pci_params = {
  436. .vco_max = ICST525_VCO_MAX_5V,
  437. .vco_min = ICST525_VCO_MIN,
  438. /* Minimum 25 MHz */
  439. .vd_min = 25,
  440. /* Maximum 33 MHz */
  441. .vd_max = 33,
  442. /* r is hardcoded to 14 or 22 and this is the actual divisors +2 */
  443. .rd_min = 16,
  444. .rd_max = 24,
  445. .s2div = icst525_s2div,
  446. .idx2s = icst525_idx2s,
  447. };
  448. static void __init of_syscon_icst_setup(struct device_node *np)
  449. {
  450. struct device_node *parent;
  451. struct regmap *map;
  452. struct clk_icst_desc icst_desc;
  453. const char *name;
  454. const char *parent_name;
  455. struct clk *regclk;
  456. enum icst_control_type ctype;
  457. /* We do not release this reference, we are using it perpetually */
  458. parent = of_get_parent(np);
  459. if (!parent) {
  460. pr_err("no parent node for syscon ICST clock\n");
  461. return;
  462. }
  463. map = syscon_node_to_regmap(parent);
  464. if (IS_ERR(map)) {
  465. pr_err("no regmap for syscon ICST clock parent\n");
  466. return;
  467. }
  468. if (of_property_read_u32(np, "reg", &icst_desc.vco_offset) &&
  469. of_property_read_u32(np, "vco-offset", &icst_desc.vco_offset)) {
  470. pr_err("no VCO register offset for ICST clock\n");
  471. return;
  472. }
  473. if (of_property_read_u32(np, "lock-offset", &icst_desc.lock_offset)) {
  474. pr_err("no lock register offset for ICST clock\n");
  475. return;
  476. }
  477. if (of_device_is_compatible(np, "arm,syscon-icst525")) {
  478. icst_desc.params = &icst525_params;
  479. ctype = ICST_VERSATILE;
  480. } else if (of_device_is_compatible(np, "arm,syscon-icst307")) {
  481. icst_desc.params = &icst307_params;
  482. ctype = ICST_VERSATILE;
  483. } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-cm")) {
  484. icst_desc.params = &icst525_apcp_cm_params;
  485. ctype = ICST_INTEGRATOR_AP_CM;
  486. } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-sys")) {
  487. icst_desc.params = &icst525_ap_sys_params;
  488. ctype = ICST_INTEGRATOR_AP_SYS;
  489. } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-pci")) {
  490. icst_desc.params = &icst525_ap_pci_params;
  491. ctype = ICST_INTEGRATOR_AP_PCI;
  492. } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorcp-cm-core")) {
  493. icst_desc.params = &icst525_apcp_cm_params;
  494. ctype = ICST_INTEGRATOR_CP_CM_CORE;
  495. } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorcp-cm-mem")) {
  496. icst_desc.params = &icst525_apcp_cm_params;
  497. ctype = ICST_INTEGRATOR_CP_CM_MEM;
  498. } else {
  499. pr_err("unknown ICST clock %pOF\n", np);
  500. return;
  501. }
  502. /* Parent clock name is not the same as node parent */
  503. parent_name = of_clk_get_parent_name(np, 0);
  504. name = kasprintf(GFP_KERNEL, "%pOFP", np);
  505. regclk = icst_clk_setup(NULL, &icst_desc, name, parent_name, map, ctype);
  506. if (IS_ERR(regclk)) {
  507. pr_err("error setting up syscon ICST clock %s\n", name);
  508. kfree(name);
  509. return;
  510. }
  511. of_clk_add_provider(np, of_clk_src_simple_get, regclk);
  512. pr_debug("registered syscon ICST clock %s\n", name);
  513. }
  514. CLK_OF_DECLARE(arm_syscon_icst525_clk,
  515. "arm,syscon-icst525", of_syscon_icst_setup);
  516. CLK_OF_DECLARE(arm_syscon_icst307_clk,
  517. "arm,syscon-icst307", of_syscon_icst_setup);
  518. CLK_OF_DECLARE(arm_syscon_integratorap_cm_clk,
  519. "arm,syscon-icst525-integratorap-cm", of_syscon_icst_setup);
  520. CLK_OF_DECLARE(arm_syscon_integratorap_sys_clk,
  521. "arm,syscon-icst525-integratorap-sys", of_syscon_icst_setup);
  522. CLK_OF_DECLARE(arm_syscon_integratorap_pci_clk,
  523. "arm,syscon-icst525-integratorap-pci", of_syscon_icst_setup);
  524. CLK_OF_DECLARE(arm_syscon_integratorcp_cm_core_clk,
  525. "arm,syscon-icst525-integratorcp-cm-core", of_syscon_icst_setup);
  526. CLK_OF_DECLARE(arm_syscon_integratorcp_cm_mem_clk,
  527. "arm,syscon-icst525-integratorcp-cm-mem", of_syscon_icst_setup);
  528. #endif