diff options
author | Afzal Mohammed <afzal@ti.com> | 2012-09-23 19:28:24 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-09-23 19:28:24 -0400 |
commit | 49484a60ff665ccac2e4f2314753a21daa0c2f9e (patch) | |
tree | eeeec9d97c14e50ec54ec7478867040e608e060b /arch/arm/mach-omap2/omap_hwmod_2430_data.c | |
parent | 230844db9046ff88628afbf0f43b03bc4c9e4f11 (diff) |
ARM: OMAP2/3: hwmod data: add gpmc
Add gpmc hwmod and associated interconnect data
Signed-off-by: Afzal Mohammed <afzal@ti.com>
[paul@pwsan.com: added comments to the use of HWMOD_INIT_NO_RESET]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod_2430_data.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_2430_data.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_2430_data.c b/arch/arm/mach-omap2/omap_hwmod_2430_data.c index ceb23c3fa89d..a560563daf58 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2430_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_2430_data.c | |||
@@ -887,6 +887,15 @@ static struct omap_hwmod_addr_space omap2430_counter_32k_addrs[] = { | |||
887 | { } | 887 | { } |
888 | }; | 888 | }; |
889 | 889 | ||
890 | static struct omap_hwmod_addr_space omap2430_gpmc_addrs[] = { | ||
891 | { | ||
892 | .pa_start = 0x6e000000, | ||
893 | .pa_end = 0x6e000fff, | ||
894 | .flags = ADDR_TYPE_RT | ||
895 | }, | ||
896 | { } | ||
897 | }; | ||
898 | |||
890 | static struct omap_hwmod_ocp_if omap2430_l4_wkup__counter_32k = { | 899 | static struct omap_hwmod_ocp_if omap2430_l4_wkup__counter_32k = { |
891 | .master = &omap2xxx_l4_wkup_hwmod, | 900 | .master = &omap2xxx_l4_wkup_hwmod, |
892 | .slave = &omap2xxx_counter_32k_hwmod, | 901 | .slave = &omap2xxx_counter_32k_hwmod, |
@@ -895,6 +904,14 @@ static struct omap_hwmod_ocp_if omap2430_l4_wkup__counter_32k = { | |||
895 | .user = OCP_USER_MPU | OCP_USER_SDMA, | 904 | .user = OCP_USER_MPU | OCP_USER_SDMA, |
896 | }; | 905 | }; |
897 | 906 | ||
907 | static struct omap_hwmod_ocp_if omap2430_l3__gpmc = { | ||
908 | .master = &omap2xxx_l3_main_hwmod, | ||
909 | .slave = &omap2xxx_gpmc_hwmod, | ||
910 | .clk = "core_l3_ck", | ||
911 | .addr = omap2430_gpmc_addrs, | ||
912 | .user = OCP_USER_MPU | OCP_USER_SDMA, | ||
913 | }; | ||
914 | |||
898 | static struct omap_hwmod_ocp_if *omap2430_hwmod_ocp_ifs[] __initdata = { | 915 | static struct omap_hwmod_ocp_if *omap2430_hwmod_ocp_ifs[] __initdata = { |
899 | &omap2xxx_l3_main__l4_core, | 916 | &omap2xxx_l3_main__l4_core, |
900 | &omap2xxx_mpu__l3_main, | 917 | &omap2xxx_mpu__l3_main, |
@@ -945,6 +962,7 @@ static struct omap_hwmod_ocp_if *omap2430_hwmod_ocp_ifs[] __initdata = { | |||
945 | &omap2430_l4_core__mcbsp5, | 962 | &omap2430_l4_core__mcbsp5, |
946 | &omap2430_l4_core__hdq1w, | 963 | &omap2430_l4_core__hdq1w, |
947 | &omap2430_l4_wkup__counter_32k, | 964 | &omap2430_l4_wkup__counter_32k, |
965 | &omap2430_l3__gpmc, | ||
948 | NULL, | 966 | NULL, |
949 | }; | 967 | }; |
950 | 968 | ||