|
@@ -2782,3 +2782,202 @@ static struct omap_hwmod_addr_space am33xx_mailbox_addrs[] = {
|
|
|
{ }
|
|
|
};
|
|
|
|
|
|
+/* l4 ls -> mailbox */
|
|
|
+static struct omap_hwmod_ocp_if am33xx_l4_per__mailbox = {
|
|
|
+ .master = &am33xx_l4_ls_hwmod,
|
|
|
+ .slave = &am33xx_mailbox_hwmod,
|
|
|
+ .clk = "l4ls_gclk",
|
|
|
+ .addr = am33xx_mailbox_addrs,
|
|
|
+ .user = OCP_USER_MPU,
|
|
|
+};
|
|
|
+
|
|
|
+/* l4 ls -> spinlock */
|
|
|
+static struct omap_hwmod_addr_space am33xx_spinlock_addrs[] = {
|
|
|
+ {
|
|
|
+ .pa_start = 0x480Ca000,
|
|
|
+ .pa_end = 0x480Ca000 + SZ_4K - 1,
|
|
|
+ .flags = ADDR_TYPE_RT
|
|
|
+ },
|
|
|
+ { }
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_hwmod_ocp_if am33xx_l4_ls__spinlock = {
|
|
|
+ .master = &am33xx_l4_ls_hwmod,
|
|
|
+ .slave = &am33xx_spinlock_hwmod,
|
|
|
+ .clk = "l4ls_gclk",
|
|
|
+ .addr = am33xx_spinlock_addrs,
|
|
|
+ .user = OCP_USER_MPU,
|
|
|
+};
|
|
|
+
|
|
|
+/* l4 ls -> mcasp0 */
|
|
|
+static struct omap_hwmod_addr_space am33xx_mcasp0_addr_space[] = {
|
|
|
+ {
|
|
|
+ .pa_start = 0x48038000,
|
|
|
+ .pa_end = 0x48038000 + SZ_8K - 1,
|
|
|
+ .flags = ADDR_TYPE_RT
|
|
|
+ },
|
|
|
+ { }
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_hwmod_ocp_if am33xx_l4_ls__mcasp0 = {
|
|
|
+ .master = &am33xx_l4_ls_hwmod,
|
|
|
+ .slave = &am33xx_mcasp0_hwmod,
|
|
|
+ .clk = "l4ls_gclk",
|
|
|
+ .addr = am33xx_mcasp0_addr_space,
|
|
|
+ .user = OCP_USER_MPU,
|
|
|
+};
|
|
|
+
|
|
|
+/* l3 s -> mcasp0 data */
|
|
|
+static struct omap_hwmod_addr_space am33xx_mcasp0_data_addr_space[] = {
|
|
|
+ {
|
|
|
+ .pa_start = 0x46000000,
|
|
|
+ .pa_end = 0x46000000 + SZ_4M - 1,
|
|
|
+ .flags = ADDR_TYPE_RT
|
|
|
+ },
|
|
|
+ { }
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_hwmod_ocp_if am33xx_l3_s__mcasp0_data = {
|
|
|
+ .master = &am33xx_l3_s_hwmod,
|
|
|
+ .slave = &am33xx_mcasp0_hwmod,
|
|
|
+ .clk = "l3s_gclk",
|
|
|
+ .addr = am33xx_mcasp0_data_addr_space,
|
|
|
+ .user = OCP_USER_SDMA,
|
|
|
+};
|
|
|
+
|
|
|
+/* l4 ls -> mcasp1 */
|
|
|
+static struct omap_hwmod_addr_space am33xx_mcasp1_addr_space[] = {
|
|
|
+ {
|
|
|
+ .pa_start = 0x4803C000,
|
|
|
+ .pa_end = 0x4803C000 + SZ_8K - 1,
|
|
|
+ .flags = ADDR_TYPE_RT
|
|
|
+ },
|
|
|
+ { }
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_hwmod_ocp_if am33xx_l4_ls__mcasp1 = {
|
|
|
+ .master = &am33xx_l4_ls_hwmod,
|
|
|
+ .slave = &am33xx_mcasp1_hwmod,
|
|
|
+ .clk = "l4ls_gclk",
|
|
|
+ .addr = am33xx_mcasp1_addr_space,
|
|
|
+ .user = OCP_USER_MPU,
|
|
|
+};
|
|
|
+
|
|
|
+/* l3 s -> mcasp1 data */
|
|
|
+static struct omap_hwmod_addr_space am33xx_mcasp1_data_addr_space[] = {
|
|
|
+ {
|
|
|
+ .pa_start = 0x46400000,
|
|
|
+ .pa_end = 0x46400000 + SZ_4M - 1,
|
|
|
+ .flags = ADDR_TYPE_RT
|
|
|
+ },
|
|
|
+ { }
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_hwmod_ocp_if am33xx_l3_s__mcasp1_data = {
|
|
|
+ .master = &am33xx_l3_s_hwmod,
|
|
|
+ .slave = &am33xx_mcasp1_hwmod,
|
|
|
+ .clk = "l3s_gclk",
|
|
|
+ .addr = am33xx_mcasp1_data_addr_space,
|
|
|
+ .user = OCP_USER_SDMA,
|
|
|
+};
|
|
|
+
|
|
|
+/* l4 ls -> mmc0 */
|
|
|
+static struct omap_hwmod_addr_space am33xx_mmc0_addr_space[] = {
|
|
|
+ {
|
|
|
+ .pa_start = 0x48060100,
|
|
|
+ .pa_end = 0x48060100 + SZ_4K - 1,
|
|
|
+ .flags = ADDR_TYPE_RT,
|
|
|
+ },
|
|
|
+ { }
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_hwmod_ocp_if am33xx_l4_ls__mmc0 = {
|
|
|
+ .master = &am33xx_l4_ls_hwmod,
|
|
|
+ .slave = &am33xx_mmc0_hwmod,
|
|
|
+ .clk = "l4ls_gclk",
|
|
|
+ .addr = am33xx_mmc0_addr_space,
|
|
|
+ .user = OCP_USER_MPU,
|
|
|
+};
|
|
|
+
|
|
|
+/* l4 ls -> mmc1 */
|
|
|
+static struct omap_hwmod_addr_space am33xx_mmc1_addr_space[] = {
|
|
|
+ {
|
|
|
+ .pa_start = 0x481d8100,
|
|
|
+ .pa_end = 0x481d8100 + SZ_4K - 1,
|
|
|
+ .flags = ADDR_TYPE_RT,
|
|
|
+ },
|
|
|
+ { }
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_hwmod_ocp_if am33xx_l4_ls__mmc1 = {
|
|
|
+ .master = &am33xx_l4_ls_hwmod,
|
|
|
+ .slave = &am33xx_mmc1_hwmod,
|
|
|
+ .clk = "l4ls_gclk",
|
|
|
+ .addr = am33xx_mmc1_addr_space,
|
|
|
+ .user = OCP_USER_MPU,
|
|
|
+};
|
|
|
+
|
|
|
+/* l3 s -> mmc2 */
|
|
|
+static struct omap_hwmod_addr_space am33xx_mmc2_addr_space[] = {
|
|
|
+ {
|
|
|
+ .pa_start = 0x47810100,
|
|
|
+ .pa_end = 0x47810100 + SZ_64K - 1,
|
|
|
+ .flags = ADDR_TYPE_RT,
|
|
|
+ },
|
|
|
+ { }
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_hwmod_ocp_if am33xx_l3_s__mmc2 = {
|
|
|
+ .master = &am33xx_l3_s_hwmod,
|
|
|
+ .slave = &am33xx_mmc2_hwmod,
|
|
|
+ .clk = "l3s_gclk",
|
|
|
+ .addr = am33xx_mmc2_addr_space,
|
|
|
+ .user = OCP_USER_MPU,
|
|
|
+};
|
|
|
+
|
|
|
+/* l4 ls -> mcspi0 */
|
|
|
+static struct omap_hwmod_addr_space am33xx_mcspi0_addr_space[] = {
|
|
|
+ {
|
|
|
+ .pa_start = 0x48030000,
|
|
|
+ .pa_end = 0x48030000 + SZ_1K - 1,
|
|
|
+ .flags = ADDR_TYPE_RT,
|
|
|
+ },
|
|
|
+ { }
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_hwmod_ocp_if am33xx_l4_ls__mcspi0 = {
|
|
|
+ .master = &am33xx_l4_ls_hwmod,
|
|
|
+ .slave = &am33xx_spi0_hwmod,
|
|
|
+ .clk = "l4ls_gclk",
|
|
|
+ .addr = am33xx_mcspi0_addr_space,
|
|
|
+ .user = OCP_USER_MPU,
|
|
|
+};
|
|
|
+
|
|
|
+/* l4 ls -> mcspi1 */
|
|
|
+static struct omap_hwmod_addr_space am33xx_mcspi1_addr_space[] = {
|
|
|
+ {
|
|
|
+ .pa_start = 0x481A0000,
|
|
|
+ .pa_end = 0x481A0000 + SZ_1K - 1,
|
|
|
+ .flags = ADDR_TYPE_RT,
|
|
|
+ },
|
|
|
+ { }
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_hwmod_ocp_if am33xx_l4_ls__mcspi1 = {
|
|
|
+ .master = &am33xx_l4_ls_hwmod,
|
|
|
+ .slave = &am33xx_spi1_hwmod,
|
|
|
+ .clk = "l4ls_gclk",
|
|
|
+ .addr = am33xx_mcspi1_addr_space,
|
|
|
+ .user = OCP_USER_MPU,
|
|
|
+};
|
|
|
+
|
|
|
+/* l4 wkup -> timer1 */
|
|
|
+static struct omap_hwmod_addr_space am33xx_timer1_addr_space[] = {
|
|
|
+ {
|
|
|
+ .pa_start = 0x44E31000,
|
|
|
+ .pa_end = 0x44E31000 + SZ_1K - 1,
|
|
|
+ .flags = ADDR_TYPE_RT
|
|
|
+ },
|
|
|
+ { }
|
|
|
+};
|
|
|
+
|