omap_hwmod_43xx_data.c 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  1. /*
  2. * Copyright (C) 2013 Texas Instruments Incorporated
  3. *
  4. * Hwmod present only in AM43x and those that differ other than register
  5. * offsets as compared to AM335x.
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License as
  9. * published by the Free Software Foundation version 2.
  10. *
  11. * This program is distributed "as is" WITHOUT ANY WARRANTY of any
  12. * kind, whether express or implied; without even the implied warranty
  13. * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. */
  16. #include <linux/platform_data/gpio-omap.h>
  17. #include <linux/platform_data/spi-omap2-mcspi.h>
  18. #include "omap_hwmod.h"
  19. #include "omap_hwmod_33xx_43xx_common_data.h"
  20. #include "prcm43xx.h"
  21. /* IP blocks */
  22. static struct omap_hwmod am43xx_l4_hs_hwmod = {
  23. .name = "l4_hs",
  24. .class = &am33xx_l4_hwmod_class,
  25. .clkdm_name = "l3_clkdm",
  26. .flags = HWMOD_INIT_NO_IDLE,
  27. .main_clk = "l4hs_gclk",
  28. .prcm = {
  29. .omap4 = {
  30. .clkctrl_offs = AM43XX_CM_PER_L4HS_CLKCTRL_OFFSET,
  31. .modulemode = MODULEMODE_SWCTRL,
  32. },
  33. },
  34. };
  35. static struct omap_hwmod_rst_info am33xx_wkup_m3_resets[] = {
  36. { .name = "wkup_m3", .rst_shift = 3, .st_shift = 5 },
  37. };
  38. static struct omap_hwmod am43xx_wkup_m3_hwmod = {
  39. .name = "wkup_m3",
  40. .class = &am33xx_wkup_m3_hwmod_class,
  41. .clkdm_name = "l4_wkup_aon_clkdm",
  42. /* Keep hardreset asserted */
  43. .flags = HWMOD_INIT_NO_RESET | HWMOD_NO_IDLEST,
  44. .main_clk = "sys_clkin_ck",
  45. .prcm = {
  46. .omap4 = {
  47. .clkctrl_offs = AM43XX_CM_WKUP_WKUP_M3_CLKCTRL_OFFSET,
  48. .rstctrl_offs = AM43XX_RM_WKUP_RSTCTRL_OFFSET,
  49. .rstst_offs = AM43XX_RM_WKUP_RSTST_OFFSET,
  50. .modulemode = MODULEMODE_SWCTRL,
  51. },
  52. },
  53. .rst_lines = am33xx_wkup_m3_resets,
  54. .rst_lines_cnt = ARRAY_SIZE(am33xx_wkup_m3_resets),
  55. };
  56. static struct omap_hwmod am43xx_control_hwmod = {
  57. .name = "control",
  58. .class = &am33xx_control_hwmod_class,
  59. .clkdm_name = "l4_wkup_clkdm",
  60. .flags = HWMOD_INIT_NO_IDLE,
  61. .main_clk = "sys_clkin_ck",
  62. .prcm = {
  63. .omap4 = {
  64. .clkctrl_offs = AM43XX_CM_WKUP_CONTROL_CLKCTRL_OFFSET,
  65. .modulemode = MODULEMODE_SWCTRL,
  66. },
  67. },
  68. };
  69. static struct omap_hwmod_opt_clk gpio0_opt_clks[] = {
  70. { .role = "dbclk", .clk = "gpio0_dbclk" },
  71. };
  72. static struct omap_hwmod am43xx_gpio0_hwmod = {
  73. .name = "gpio1",
  74. .class = &am33xx_gpio_hwmod_class,
  75. .clkdm_name = "l4_wkup_clkdm",
  76. .flags = HWMOD_CONTROL_OPT_CLKS_IN_RESET,
  77. .main_clk = "sys_clkin_ck",
  78. .prcm = {
  79. .omap4 = {
  80. .clkctrl_offs = AM43XX_CM_WKUP_GPIO0_CLKCTRL_OFFSET,
  81. .modulemode = MODULEMODE_SWCTRL,
  82. },
  83. },
  84. .opt_clks = gpio0_opt_clks,
  85. .opt_clks_cnt = ARRAY_SIZE(gpio0_opt_clks),
  86. .dev_attr = &gpio_dev_attr,
  87. };
  88. static struct omap_hwmod_class_sysconfig am43xx_synctimer_sysc = {
  89. .rev_offs = 0x0,
  90. .sysc_offs = 0x4,
  91. .sysc_flags = SYSC_HAS_SIDLEMODE,
  92. .idlemodes = (SIDLE_FORCE | SIDLE_NO),
  93. .sysc_fields = &omap_hwmod_sysc_type1,
  94. };
  95. static struct omap_hwmod_class am43xx_synctimer_hwmod_class = {
  96. .name = "synctimer",
  97. .sysc = &am43xx_synctimer_sysc,
  98. };
  99. static struct omap_hwmod am43xx_synctimer_hwmod = {
  100. .name = "counter_32k",
  101. .class = &am43xx_synctimer_hwmod_class,
  102. .clkdm_name = "l4_wkup_aon_clkdm",
  103. .flags = HWMOD_SWSUP_SIDLE,
  104. .main_clk = "synctimer_32kclk",
  105. .prcm = {
  106. .omap4 = {
  107. .clkctrl_offs = AM43XX_CM_WKUP_SYNCTIMER_CLKCTRL_OFFSET,
  108. .modulemode = MODULEMODE_SWCTRL,
  109. },
  110. },
  111. };
  112. static struct omap_hwmod am43xx_timer8_hwmod = {
  113. .name = "timer8",
  114. .class = &am33xx_timer_hwmod_class,
  115. .clkdm_name = "l4ls_clkdm",
  116. .main_clk = "timer8_fck",
  117. .prcm = {
  118. .omap4 = {
  119. .clkctrl_offs = AM43XX_CM_PER_TIMER8_CLKCTRL_OFFSET,
  120. .modulemode = MODULEMODE_SWCTRL,
  121. },
  122. },
  123. };
  124. static struct omap_hwmod am43xx_timer9_hwmod = {
  125. .name = "timer9",
  126. .class = &am33xx_timer_hwmod_class,
  127. .clkdm_name = "l4ls_clkdm",
  128. .main_clk = "timer9_fck",
  129. .prcm = {
  130. .omap4 = {
  131. .clkctrl_offs = AM43XX_CM_PER_TIMER9_CLKCTRL_OFFSET,
  132. .modulemode = MODULEMODE_SWCTRL,
  133. },
  134. },
  135. };
  136. static struct omap_hwmod am43xx_timer10_hwmod = {
  137. .name = "timer10",
  138. .class = &am33xx_timer_hwmod_class,
  139. .clkdm_name = "l4ls_clkdm",
  140. .main_clk = "timer10_fck",
  141. .prcm = {
  142. .omap4 = {
  143. .clkctrl_offs = AM43XX_CM_PER_TIMER10_CLKCTRL_OFFSET,
  144. .modulemode = MODULEMODE_SWCTRL,
  145. },
  146. },
  147. };
  148. static struct omap_hwmod am43xx_timer11_hwmod = {
  149. .name = "timer11",
  150. .class = &am33xx_timer_hwmod_class,
  151. .clkdm_name = "l4ls_clkdm",
  152. .main_clk = "timer11_fck",
  153. .prcm = {
  154. .omap4 = {
  155. .clkctrl_offs = AM43XX_CM_PER_TIMER11_CLKCTRL_OFFSET,
  156. .modulemode = MODULEMODE_SWCTRL,
  157. },
  158. },
  159. };
  160. static struct omap_hwmod am43xx_epwmss3_hwmod = {
  161. .name = "epwmss3",
  162. .class = &am33xx_epwmss_hwmod_class,
  163. .clkdm_name = "l4ls_clkdm",
  164. .main_clk = "l4ls_gclk",
  165. .prcm = {
  166. .omap4 = {
  167. .clkctrl_offs = AM43XX_CM_PER_EPWMSS3_CLKCTRL_OFFSET,
  168. .modulemode = MODULEMODE_SWCTRL,
  169. },
  170. },
  171. };
  172. static struct omap_hwmod am43xx_ehrpwm3_hwmod = {
  173. .name = "ehrpwm3",
  174. .class = &am33xx_ehrpwm_hwmod_class,
  175. .clkdm_name = "l4ls_clkdm",
  176. .main_clk = "l4ls_gclk",
  177. };
  178. static struct omap_hwmod am43xx_epwmss4_hwmod = {
  179. .name = "epwmss4",
  180. .class = &am33xx_epwmss_hwmod_class,
  181. .clkdm_name = "l4ls_clkdm",
  182. .main_clk = "l4ls_gclk",
  183. .prcm = {
  184. .omap4 = {
  185. .clkctrl_offs = AM43XX_CM_PER_EPWMSS4_CLKCTRL_OFFSET,
  186. .modulemode = MODULEMODE_SWCTRL,
  187. },
  188. },
  189. };
  190. static struct omap_hwmod am43xx_ehrpwm4_hwmod = {
  191. .name = "ehrpwm4",
  192. .class = &am33xx_ehrpwm_hwmod_class,
  193. .clkdm_name = "l4ls_clkdm",
  194. .main_clk = "l4ls_gclk",
  195. };
  196. static struct omap_hwmod am43xx_epwmss5_hwmod = {
  197. .name = "epwmss5",
  198. .class = &am33xx_epwmss_hwmod_class,
  199. .clkdm_name = "l4ls_clkdm",
  200. .main_clk = "l4ls_gclk",
  201. .prcm = {
  202. .omap4 = {
  203. .clkctrl_offs = AM43XX_CM_PER_EPWMSS5_CLKCTRL_OFFSET,
  204. .modulemode = MODULEMODE_SWCTRL,
  205. },
  206. },
  207. };
  208. static struct omap_hwmod am43xx_ehrpwm5_hwmod = {
  209. .name = "ehrpwm5",
  210. .class = &am33xx_ehrpwm_hwmod_class,
  211. .clkdm_name = "l4ls_clkdm",
  212. .main_clk = "l4ls_gclk",
  213. };
  214. static struct omap_hwmod am43xx_spi2_hwmod = {
  215. .name = "spi2",
  216. .class = &am33xx_spi_hwmod_class,
  217. .clkdm_name = "l4ls_clkdm",
  218. .main_clk = "dpll_per_m2_div4_ck",
  219. .prcm = {
  220. .omap4 = {
  221. .clkctrl_offs = AM43XX_CM_PER_SPI2_CLKCTRL_OFFSET,
  222. .modulemode = MODULEMODE_SWCTRL,
  223. },
  224. },
  225. .dev_attr = &mcspi_attrib,
  226. };
  227. static struct omap_hwmod am43xx_spi3_hwmod = {
  228. .name = "spi3",
  229. .class = &am33xx_spi_hwmod_class,
  230. .clkdm_name = "l4ls_clkdm",
  231. .main_clk = "dpll_per_m2_div4_ck",
  232. .prcm = {
  233. .omap4 = {
  234. .clkctrl_offs = AM43XX_CM_PER_SPI3_CLKCTRL_OFFSET,
  235. .modulemode = MODULEMODE_SWCTRL,
  236. },
  237. },
  238. .dev_attr = &mcspi_attrib,
  239. };
  240. static struct omap_hwmod am43xx_spi4_hwmod = {
  241. .name = "spi4",
  242. .class = &am33xx_spi_hwmod_class,
  243. .clkdm_name = "l4ls_clkdm",
  244. .main_clk = "dpll_per_m2_div4_ck",
  245. .prcm = {
  246. .omap4 = {
  247. .clkctrl_offs = AM43XX_CM_PER_SPI4_CLKCTRL_OFFSET,
  248. .modulemode = MODULEMODE_SWCTRL,
  249. },
  250. },
  251. .dev_attr = &mcspi_attrib,
  252. };
  253. static struct omap_hwmod_opt_clk gpio4_opt_clks[] = {
  254. { .role = "dbclk", .clk = "gpio4_dbclk" },
  255. };
  256. static struct omap_hwmod am43xx_gpio4_hwmod = {
  257. .name = "gpio5",
  258. .class = &am33xx_gpio_hwmod_class,
  259. .clkdm_name = "l4ls_clkdm",
  260. .flags = HWMOD_CONTROL_OPT_CLKS_IN_RESET,
  261. .main_clk = "l4ls_gclk",
  262. .prcm = {
  263. .omap4 = {
  264. .clkctrl_offs = AM43XX_CM_PER_GPIO4_CLKCTRL_OFFSET,
  265. .modulemode = MODULEMODE_SWCTRL,
  266. },
  267. },
  268. .opt_clks = gpio4_opt_clks,
  269. .opt_clks_cnt = ARRAY_SIZE(gpio4_opt_clks),
  270. .dev_attr = &gpio_dev_attr,
  271. };
  272. static struct omap_hwmod_opt_clk gpio5_opt_clks[] = {
  273. { .role = "dbclk", .clk = "gpio5_dbclk" },
  274. };
  275. static struct omap_hwmod am43xx_gpio5_hwmod = {
  276. .name = "gpio6",
  277. .class = &am33xx_gpio_hwmod_class,
  278. .clkdm_name = "l4ls_clkdm",
  279. .flags = HWMOD_CONTROL_OPT_CLKS_IN_RESET,
  280. .main_clk = "l4ls_gclk",
  281. .prcm = {
  282. .omap4 = {
  283. .clkctrl_offs = AM43XX_CM_PER_GPIO5_CLKCTRL_OFFSET,
  284. .modulemode = MODULEMODE_SWCTRL,
  285. },
  286. },
  287. .opt_clks = gpio5_opt_clks,
  288. .opt_clks_cnt = ARRAY_SIZE(gpio5_opt_clks),
  289. .dev_attr = &gpio_dev_attr,
  290. };
  291. /* Interfaces */
  292. static struct omap_hwmod_ocp_if am43xx_l3_main__l4_hs = {
  293. .master = &am33xx_l3_main_hwmod,
  294. .slave = &am43xx_l4_hs_hwmod,
  295. .clk = "l3s_gclk",
  296. .user = OCP_USER_MPU | OCP_USER_SDMA,
  297. };
  298. static struct omap_hwmod_ocp_if am43xx_wkup_m3__l4_wkup = {
  299. .master = &am43xx_wkup_m3_hwmod,
  300. .slave = &am33xx_l4_wkup_hwmod,
  301. .clk = "sys_clkin_ck",
  302. .user = OCP_USER_MPU | OCP_USER_SDMA,
  303. };
  304. static struct omap_hwmod_ocp_if am43xx_l4_wkup__wkup_m3 = {
  305. .master = &am33xx_l4_wkup_hwmod,
  306. .slave = &am43xx_wkup_m3_hwmod,
  307. .clk = "sys_clkin_ck",
  308. .user = OCP_USER_MPU | OCP_USER_SDMA,
  309. };
  310. static struct omap_hwmod_ocp_if am43xx_l3_main__pruss = {
  311. .master = &am33xx_l3_main_hwmod,
  312. .slave = &am33xx_pruss_hwmod,
  313. .clk = "dpll_core_m4_ck",
  314. .user = OCP_USER_MPU,
  315. };
  316. static struct omap_hwmod_ocp_if am43xx_l4_wkup__smartreflex0 = {
  317. .master = &am33xx_l4_wkup_hwmod,
  318. .slave = &am33xx_smartreflex0_hwmod,
  319. .clk = "sys_clkin_ck",
  320. .user = OCP_USER_MPU,
  321. };
  322. static struct omap_hwmod_ocp_if am43xx_l4_wkup__smartreflex1 = {
  323. .master = &am33xx_l4_wkup_hwmod,
  324. .slave = &am33xx_smartreflex1_hwmod,
  325. .clk = "sys_clkin_ck",
  326. .user = OCP_USER_MPU,
  327. };
  328. static struct omap_hwmod_ocp_if am43xx_l4_wkup__control = {
  329. .master = &am33xx_l4_wkup_hwmod,
  330. .slave = &am43xx_control_hwmod,
  331. .clk = "sys_clkin_ck",
  332. .user = OCP_USER_MPU,
  333. };
  334. static struct omap_hwmod_ocp_if am43xx_l4_wkup__i2c1 = {
  335. .master = &am33xx_l4_wkup_hwmod,
  336. .slave = &am33xx_i2c1_hwmod,
  337. .clk = "sys_clkin_ck",
  338. .user = OCP_USER_MPU,
  339. };
  340. static struct omap_hwmod_ocp_if am43xx_l4_wkup__gpio0 = {
  341. .master = &am33xx_l4_wkup_hwmod,
  342. .slave = &am43xx_gpio0_hwmod,
  343. .clk = "sys_clkin_ck",
  344. .user = OCP_USER_MPU | OCP_USER_SDMA,
  345. };
  346. static struct omap_hwmod_ocp_if am43xx_l4_hs__cpgmac0 = {
  347. .master = &am43xx_l4_hs_hwmod,
  348. .slave = &am33xx_cpgmac0_hwmod,
  349. .clk = "cpsw_125mhz_gclk",
  350. .user = OCP_USER_MPU,
  351. };
  352. static struct omap_hwmod_ocp_if am43xx_l4_wkup__timer1 = {
  353. .master = &am33xx_l4_wkup_hwmod,
  354. .slave = &am33xx_timer1_hwmod,
  355. .clk = "sys_clkin_ck",
  356. .user = OCP_USER_MPU,
  357. };
  358. static struct omap_hwmod_ocp_if am43xx_l4_wkup__uart1 = {
  359. .master = &am33xx_l4_wkup_hwmod,
  360. .slave = &am33xx_uart1_hwmod,
  361. .clk = "sys_clkin_ck",
  362. .user = OCP_USER_MPU,
  363. };
  364. static struct omap_hwmod_ocp_if am43xx_l4_wkup__wd_timer1 = {
  365. .master = &am33xx_l4_wkup_hwmod,
  366. .slave = &am33xx_wd_timer1_hwmod,
  367. .clk = "sys_clkin_ck",
  368. .user = OCP_USER_MPU,
  369. };
  370. static struct omap_hwmod_ocp_if am33xx_l4_wkup__synctimer = {
  371. .master = &am33xx_l4_wkup_hwmod,
  372. .slave = &am43xx_synctimer_hwmod,
  373. .clk = "sys_clkin_ck",
  374. .user = OCP_USER_MPU,
  375. };
  376. static struct omap_hwmod_ocp_if am43xx_l4_ls__timer8 = {
  377. .master = &am33xx_l4_ls_hwmod,
  378. .slave = &am43xx_timer8_hwmod,
  379. .clk = "l4ls_gclk",
  380. .user = OCP_USER_MPU,
  381. };
  382. static struct omap_hwmod_ocp_if am43xx_l4_ls__timer9 = {
  383. .master = &am33xx_l4_ls_hwmod,
  384. .slave = &am43xx_timer9_hwmod,
  385. .clk = "l4ls_gclk",
  386. .user = OCP_USER_MPU,
  387. };
  388. static struct omap_hwmod_ocp_if am43xx_l4_ls__timer10 = {
  389. .master = &am33xx_l4_ls_hwmod,
  390. .slave = &am43xx_timer10_hwmod,
  391. .clk = "l4ls_gclk",
  392. .user = OCP_USER_MPU,
  393. };
  394. static struct omap_hwmod_ocp_if am43xx_l4_ls__timer11 = {
  395. .master = &am33xx_l4_ls_hwmod,
  396. .slave = &am43xx_timer11_hwmod,
  397. .clk = "l4ls_gclk",
  398. .user = OCP_USER_MPU,
  399. };
  400. static struct omap_hwmod_ocp_if am43xx_l4_ls__epwmss3 = {
  401. .master = &am33xx_l4_ls_hwmod,
  402. .slave = &am43xx_epwmss3_hwmod,
  403. .clk = "l4ls_gclk",
  404. .user = OCP_USER_MPU,
  405. };
  406. static struct omap_hwmod_ocp_if am43xx_epwmss3__ehrpwm3 = {
  407. .master = &am43xx_epwmss3_hwmod,
  408. .slave = &am43xx_ehrpwm3_hwmod,
  409. .clk = "l4ls_gclk",
  410. .user = OCP_USER_MPU,
  411. };
  412. static struct omap_hwmod_ocp_if am43xx_l4_ls__epwmss4 = {
  413. .master = &am33xx_l4_ls_hwmod,
  414. .slave = &am43xx_epwmss4_hwmod,
  415. .clk = "l4ls_gclk",
  416. .user = OCP_USER_MPU,
  417. };
  418. static struct omap_hwmod_ocp_if am43xx_epwmss4__ehrpwm4 = {
  419. .master = &am43xx_epwmss4_hwmod,
  420. .slave = &am43xx_ehrpwm4_hwmod,
  421. .clk = "l4ls_gclk",
  422. .user = OCP_USER_MPU,
  423. };
  424. static struct omap_hwmod_ocp_if am43xx_l4_ls__epwmss5 = {
  425. .master = &am33xx_l4_ls_hwmod,
  426. .slave = &am43xx_epwmss5_hwmod,
  427. .clk = "l4ls_gclk",
  428. .user = OCP_USER_MPU,
  429. };
  430. static struct omap_hwmod_ocp_if am43xx_epwmss5__ehrpwm5 = {
  431. .master = &am43xx_epwmss5_hwmod,
  432. .slave = &am43xx_ehrpwm5_hwmod,
  433. .clk = "l4ls_gclk",
  434. .user = OCP_USER_MPU,
  435. };
  436. static struct omap_hwmod_ocp_if am43xx_l4_ls__mcspi2 = {
  437. .master = &am33xx_l4_ls_hwmod,
  438. .slave = &am43xx_spi2_hwmod,
  439. .clk = "l4ls_gclk",
  440. .user = OCP_USER_MPU,
  441. };
  442. static struct omap_hwmod_ocp_if am43xx_l4_ls__mcspi3 = {
  443. .master = &am33xx_l4_ls_hwmod,
  444. .slave = &am43xx_spi3_hwmod,
  445. .clk = "l4ls_gclk",
  446. .user = OCP_USER_MPU,
  447. };
  448. static struct omap_hwmod_ocp_if am43xx_l4_ls__mcspi4 = {
  449. .master = &am33xx_l4_ls_hwmod,
  450. .slave = &am43xx_spi4_hwmod,
  451. .clk = "l4ls_gclk",
  452. .user = OCP_USER_MPU,
  453. };
  454. static struct omap_hwmod_ocp_if am43xx_l4_ls__gpio4 = {
  455. .master = &am33xx_l4_ls_hwmod,
  456. .slave = &am43xx_gpio4_hwmod,
  457. .clk = "l4ls_gclk",
  458. .user = OCP_USER_MPU | OCP_USER_SDMA,
  459. };
  460. static struct omap_hwmod_ocp_if am43xx_l4_ls__gpio5 = {
  461. .master = &am33xx_l4_ls_hwmod,
  462. .slave = &am43xx_gpio5_hwmod,
  463. .clk = "l4ls_gclk",
  464. .user = OCP_USER_MPU | OCP_USER_SDMA,
  465. };
  466. static struct omap_hwmod_ocp_if *am43xx_hwmod_ocp_ifs[] __initdata = {
  467. &am33xx_l4_wkup__synctimer,
  468. &am43xx_l4_ls__timer8,
  469. &am43xx_l4_ls__timer9,
  470. &am43xx_l4_ls__timer10,
  471. &am43xx_l4_ls__timer11,
  472. &am43xx_l4_ls__epwmss3,
  473. &am43xx_epwmss3__ehrpwm3,
  474. &am43xx_l4_ls__epwmss4,
  475. &am43xx_epwmss4__ehrpwm4,
  476. &am43xx_l4_ls__epwmss5,
  477. &am43xx_epwmss5__ehrpwm5,
  478. &am43xx_l4_ls__mcspi2,
  479. &am43xx_l4_ls__mcspi3,
  480. &am43xx_l4_ls__mcspi4,
  481. &am43xx_l4_ls__gpio4,
  482. &am43xx_l4_ls__gpio5,
  483. &am43xx_l3_main__pruss,
  484. &am33xx_mpu__l3_main,
  485. &am33xx_mpu__prcm,
  486. &am33xx_l3_s__l4_ls,
  487. &am33xx_l3_s__l4_wkup,
  488. &am43xx_l3_main__l4_hs,
  489. &am33xx_l3_main__l3_s,
  490. &am33xx_l3_main__l3_instr,
  491. &am33xx_l3_main__gfx,
  492. &am33xx_l3_s__l3_main,
  493. &am33xx_pruss__l3_main,
  494. &am43xx_wkup_m3__l4_wkup,
  495. &am33xx_gfx__l3_main,
  496. &am43xx_l4_wkup__wkup_m3,
  497. &am43xx_l4_wkup__control,
  498. &am43xx_l4_wkup__smartreflex0,
  499. &am43xx_l4_wkup__smartreflex1,
  500. &am43xx_l4_wkup__uart1,
  501. &am43xx_l4_wkup__timer1,
  502. &am43xx_l4_wkup__i2c1,
  503. &am43xx_l4_wkup__gpio0,
  504. &am43xx_l4_wkup__wd_timer1,
  505. &am33xx_l4_per__dcan0,
  506. &am33xx_l4_per__dcan1,
  507. &am33xx_l4_per__gpio1,
  508. &am33xx_l4_per__gpio2,
  509. &am33xx_l4_per__gpio3,
  510. &am33xx_l4_per__i2c2,
  511. &am33xx_l4_per__i2c3,
  512. &am33xx_l4_per__mailbox,
  513. &am33xx_l4_ls__mcasp0,
  514. &am33xx_l4_ls__mcasp1,
  515. &am33xx_l4_ls__mmc0,
  516. &am33xx_l4_ls__mmc1,
  517. &am33xx_l3_s__mmc2,
  518. &am33xx_l4_ls__timer2,
  519. &am33xx_l4_ls__timer3,
  520. &am33xx_l4_ls__timer4,
  521. &am33xx_l4_ls__timer5,
  522. &am33xx_l4_ls__timer6,
  523. &am33xx_l4_ls__timer7,
  524. &am33xx_l3_main__tpcc,
  525. &am33xx_l4_ls__uart2,
  526. &am33xx_l4_ls__uart3,
  527. &am33xx_l4_ls__uart4,
  528. &am33xx_l4_ls__uart5,
  529. &am33xx_l4_ls__uart6,
  530. &am33xx_l4_ls__elm,
  531. &am33xx_l4_ls__epwmss0,
  532. &am33xx_epwmss0__ecap0,
  533. &am33xx_epwmss0__eqep0,
  534. &am33xx_epwmss0__ehrpwm0,
  535. &am33xx_l4_ls__epwmss1,
  536. &am33xx_epwmss1__ecap1,
  537. &am33xx_epwmss1__eqep1,
  538. &am33xx_epwmss1__ehrpwm1,
  539. &am33xx_l4_ls__epwmss2,
  540. &am33xx_epwmss2__ecap2,
  541. &am33xx_epwmss2__eqep2,
  542. &am33xx_epwmss2__ehrpwm2,
  543. &am33xx_l3_s__gpmc,
  544. &am33xx_l4_ls__mcspi0,
  545. &am33xx_l4_ls__mcspi1,
  546. &am33xx_l3_main__tptc0,
  547. &am33xx_l3_main__tptc1,
  548. &am33xx_l3_main__tptc2,
  549. &am33xx_l3_main__ocmc,
  550. &am43xx_l4_hs__cpgmac0,
  551. &am33xx_cpgmac0__mdio,
  552. &am33xx_l3_main__sha0,
  553. &am33xx_l3_main__aes0,
  554. NULL,
  555. };
  556. int __init am43xx_hwmod_init(void)
  557. {
  558. omap_hwmod_am43xx_reg();
  559. omap_hwmod_init();
  560. return omap_hwmod_register_links(am43xx_hwmod_ocp_ifs);
  561. }