| 
					
				 | 
			
			
				@@ -2485,3 +2485,119 @@ static struct omap_hwmod_addr_space am33xx_adc_tsc_addrs[] = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 static struct omap_hwmod_ocp_if am33xx_l4_wkup__adc_tsc = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	.master		= &am33xx_l4_wkup_hwmod, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.slave		= &am33xx_adc_tsc_hwmod, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.clk		= "dpll_core_m4_div2_ck", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.addr		= am33xx_adc_tsc_addrs, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.user		= OCP_USER_MPU, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct omap_hwmod_addr_space am33xx_cpgmac0_addr_space[] = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	/* cpsw ss */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.pa_start	= 0x4a100000, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.pa_end		= 0x4a100000 + SZ_2K - 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.flags		= ADDR_TYPE_RT, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	/* cpsw wr */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.pa_start	= 0x4a101200, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.pa_end		= 0x4a101200 + SZ_256 - 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.flags		= ADDR_TYPE_RT, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	{ } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct omap_hwmod_ocp_if am33xx_l4_hs__cpgmac0 = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.master		= &am33xx_l4_hs_hwmod, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.slave		= &am33xx_cpgmac0_hwmod, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.clk		= "cpsw_125mhz_gclk", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.addr		= am33xx_cpgmac0_addr_space, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.user		= OCP_USER_MPU, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct omap_hwmod_addr_space am33xx_mdio_addr_space[] = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.pa_start	= 0x4A101000, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.pa_end		= 0x4A101000 + SZ_256 - 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	{ } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct omap_hwmod_ocp_if am33xx_cpgmac0__mdio = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.master		= &am33xx_cpgmac0_hwmod, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.slave		= &am33xx_mdio_hwmod, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.addr		= am33xx_mdio_addr_space, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.user		= OCP_USER_MPU, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct omap_hwmod_addr_space am33xx_elm_addr_space[] = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.pa_start	= 0x48080000, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.pa_end		= 0x48080000 + SZ_8K - 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.flags		= ADDR_TYPE_RT 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	{ } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct omap_hwmod_ocp_if am33xx_l4_ls__elm = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.master		= &am33xx_l4_ls_hwmod, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.slave		= &am33xx_elm_hwmod, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.clk		= "l4ls_gclk", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.addr		= am33xx_elm_addr_space, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.user		= OCP_USER_MPU, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+/* 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ * Splitting the resources to handle access of PWMSS config space 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ * and module specific part independently 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct omap_hwmod_addr_space am33xx_ehrpwm0_addr_space[] = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.pa_start	= 0x48300000, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.pa_end		= 0x48300000 + SZ_16 - 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.flags		= ADDR_TYPE_RT 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.pa_start	= 0x48300200, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.pa_end		= 0x48300200 + SZ_256 - 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.flags		= ADDR_TYPE_RT 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	{ } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct omap_hwmod_ocp_if am33xx_l4_ls__ehrpwm0 = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.master		= &am33xx_l4_ls_hwmod, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.slave		= &am33xx_ehrpwm0_hwmod, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.clk		= "l4ls_gclk", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.addr		= am33xx_ehrpwm0_addr_space, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.user		= OCP_USER_MPU, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+/* 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ * Splitting the resources to handle access of PWMSS config space 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ * and module specific part independently 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct omap_hwmod_addr_space am33xx_ehrpwm1_addr_space[] = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.pa_start	= 0x48302000, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.pa_end		= 0x48302000 + SZ_16 - 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.flags		= ADDR_TYPE_RT 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.pa_start	= 0x48302200, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.pa_end		= 0x48302200 + SZ_256 - 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.flags		= ADDR_TYPE_RT 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	{ } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct omap_hwmod_ocp_if am33xx_l4_ls__ehrpwm1 = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.master		= &am33xx_l4_ls_hwmod, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.slave		= &am33xx_ehrpwm1_hwmod, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.clk		= "l4ls_gclk", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.addr		= am33xx_ehrpwm1_addr_space, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.user		= OCP_USER_MPU, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+/* 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ * Splitting the resources to handle access of PWMSS config space 
			 |