|
@@ -275,9 +275,6 @@ static struct platform_device dma0_device = {
|
|
.dev = {
|
|
.dev = {
|
|
.platform_data = &dma_platform_data,
|
|
.platform_data = &dma_platform_data,
|
|
},
|
|
},
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_DMAC0,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
static struct platform_device dma1_device = {
|
|
static struct platform_device dma1_device = {
|
|
@@ -288,9 +285,6 @@ static struct platform_device dma1_device = {
|
|
.dev = {
|
|
.dev = {
|
|
.platform_data = &dma_platform_data,
|
|
.platform_data = &dma_platform_data,
|
|
},
|
|
},
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_DMAC1,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
/* Serial */
|
|
/* Serial */
|
|
@@ -434,9 +428,6 @@ static struct platform_device rtc_device = {
|
|
.id = -1,
|
|
.id = -1,
|
|
.num_resources = ARRAY_SIZE(rtc_resources),
|
|
.num_resources = ARRAY_SIZE(rtc_resources),
|
|
.resource = rtc_resources,
|
|
.resource = rtc_resources,
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_RTC,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
/* I2C0 */
|
|
/* I2C0 */
|
|
@@ -459,9 +450,6 @@ static struct platform_device iic0_device = {
|
|
.id = 0, /* "i2c0" clock */
|
|
.id = 0, /* "i2c0" clock */
|
|
.num_resources = ARRAY_SIZE(iic0_resources),
|
|
.num_resources = ARRAY_SIZE(iic0_resources),
|
|
.resource = iic0_resources,
|
|
.resource = iic0_resources,
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_IIC0,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
/* I2C1 */
|
|
/* I2C1 */
|
|
@@ -484,9 +472,6 @@ static struct platform_device iic1_device = {
|
|
.id = 1, /* "i2c1" clock */
|
|
.id = 1, /* "i2c1" clock */
|
|
.num_resources = ARRAY_SIZE(iic1_resources),
|
|
.num_resources = ARRAY_SIZE(iic1_resources),
|
|
.resource = iic1_resources,
|
|
.resource = iic1_resources,
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_IIC1,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
/* VPU */
|
|
/* VPU */
|
|
@@ -516,9 +501,6 @@ static struct platform_device vpu_device = {
|
|
},
|
|
},
|
|
.resource = vpu_resources,
|
|
.resource = vpu_resources,
|
|
.num_resources = ARRAY_SIZE(vpu_resources),
|
|
.num_resources = ARRAY_SIZE(vpu_resources),
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_VPU,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
/* VEU0 */
|
|
/* VEU0 */
|
|
@@ -548,9 +530,6 @@ static struct platform_device veu0_device = {
|
|
},
|
|
},
|
|
.resource = veu0_resources,
|
|
.resource = veu0_resources,
|
|
.num_resources = ARRAY_SIZE(veu0_resources),
|
|
.num_resources = ARRAY_SIZE(veu0_resources),
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_VEU0,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
/* VEU1 */
|
|
/* VEU1 */
|
|
@@ -580,9 +559,6 @@ static struct platform_device veu1_device = {
|
|
},
|
|
},
|
|
.resource = veu1_resources,
|
|
.resource = veu1_resources,
|
|
.num_resources = ARRAY_SIZE(veu1_resources),
|
|
.num_resources = ARRAY_SIZE(veu1_resources),
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_VEU1,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
/* BEU0 */
|
|
/* BEU0 */
|
|
@@ -612,9 +588,6 @@ static struct platform_device beu0_device = {
|
|
},
|
|
},
|
|
.resource = beu0_resources,
|
|
.resource = beu0_resources,
|
|
.num_resources = ARRAY_SIZE(beu0_resources),
|
|
.num_resources = ARRAY_SIZE(beu0_resources),
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_BEU0,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
/* BEU1 */
|
|
/* BEU1 */
|
|
@@ -644,9 +617,6 @@ static struct platform_device beu1_device = {
|
|
},
|
|
},
|
|
.resource = beu1_resources,
|
|
.resource = beu1_resources,
|
|
.num_resources = ARRAY_SIZE(beu1_resources),
|
|
.num_resources = ARRAY_SIZE(beu1_resources),
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_BEU1,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
static struct sh_timer_config cmt_platform_data = {
|
|
static struct sh_timer_config cmt_platform_data = {
|
|
@@ -676,9 +646,6 @@ static struct platform_device cmt_device = {
|
|
},
|
|
},
|
|
.resource = cmt_resources,
|
|
.resource = cmt_resources,
|
|
.num_resources = ARRAY_SIZE(cmt_resources),
|
|
.num_resources = ARRAY_SIZE(cmt_resources),
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_CMT,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
static struct sh_timer_config tmu0_platform_data = {
|
|
static struct sh_timer_config tmu0_platform_data = {
|
|
@@ -707,9 +674,6 @@ static struct platform_device tmu0_device = {
|
|
},
|
|
},
|
|
.resource = tmu0_resources,
|
|
.resource = tmu0_resources,
|
|
.num_resources = ARRAY_SIZE(tmu0_resources),
|
|
.num_resources = ARRAY_SIZE(tmu0_resources),
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_TMU0,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
static struct sh_timer_config tmu1_platform_data = {
|
|
static struct sh_timer_config tmu1_platform_data = {
|
|
@@ -738,9 +702,6 @@ static struct platform_device tmu1_device = {
|
|
},
|
|
},
|
|
.resource = tmu1_resources,
|
|
.resource = tmu1_resources,
|
|
.num_resources = ARRAY_SIZE(tmu1_resources),
|
|
.num_resources = ARRAY_SIZE(tmu1_resources),
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_TMU0,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
static struct sh_timer_config tmu2_platform_data = {
|
|
static struct sh_timer_config tmu2_platform_data = {
|
|
@@ -768,9 +729,6 @@ static struct platform_device tmu2_device = {
|
|
},
|
|
},
|
|
.resource = tmu2_resources,
|
|
.resource = tmu2_resources,
|
|
.num_resources = ARRAY_SIZE(tmu2_resources),
|
|
.num_resources = ARRAY_SIZE(tmu2_resources),
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_TMU0,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -799,9 +757,6 @@ static struct platform_device tmu3_device = {
|
|
},
|
|
},
|
|
.resource = tmu3_resources,
|
|
.resource = tmu3_resources,
|
|
.num_resources = ARRAY_SIZE(tmu3_resources),
|
|
.num_resources = ARRAY_SIZE(tmu3_resources),
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_TMU1,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
static struct sh_timer_config tmu4_platform_data = {
|
|
static struct sh_timer_config tmu4_platform_data = {
|
|
@@ -829,9 +784,6 @@ static struct platform_device tmu4_device = {
|
|
},
|
|
},
|
|
.resource = tmu4_resources,
|
|
.resource = tmu4_resources,
|
|
.num_resources = ARRAY_SIZE(tmu4_resources),
|
|
.num_resources = ARRAY_SIZE(tmu4_resources),
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_TMU1,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
static struct sh_timer_config tmu5_platform_data = {
|
|
static struct sh_timer_config tmu5_platform_data = {
|
|
@@ -859,9 +811,6 @@ static struct platform_device tmu5_device = {
|
|
},
|
|
},
|
|
.resource = tmu5_resources,
|
|
.resource = tmu5_resources,
|
|
.num_resources = ARRAY_SIZE(tmu5_resources),
|
|
.num_resources = ARRAY_SIZE(tmu5_resources),
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_TMU1,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
/* JPU */
|
|
/* JPU */
|
|
@@ -891,9 +840,6 @@ static struct platform_device jpu_device = {
|
|
},
|
|
},
|
|
.resource = jpu_resources,
|
|
.resource = jpu_resources,
|
|
.num_resources = ARRAY_SIZE(jpu_resources),
|
|
.num_resources = ARRAY_SIZE(jpu_resources),
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_JPU,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
/* SPU2DSP0 */
|
|
/* SPU2DSP0 */
|
|
@@ -923,9 +869,6 @@ static struct platform_device spu0_device = {
|
|
},
|
|
},
|
|
.resource = spu0_resources,
|
|
.resource = spu0_resources,
|
|
.num_resources = ARRAY_SIZE(spu0_resources),
|
|
.num_resources = ARRAY_SIZE(spu0_resources),
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_SPU,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
/* SPU2DSP1 */
|
|
/* SPU2DSP1 */
|
|
@@ -955,9 +898,6 @@ static struct platform_device spu1_device = {
|
|
},
|
|
},
|
|
.resource = spu1_resources,
|
|
.resource = spu1_resources,
|
|
.num_resources = ARRAY_SIZE(spu1_resources),
|
|
.num_resources = ARRAY_SIZE(spu1_resources),
|
|
- .archdata = {
|
|
|
|
- .hwblk_id = HWBLK_SPU,
|
|
|
|
- },
|
|
|
|
};
|
|
};
|
|
|
|
|
|
static struct platform_device *sh7724_devices[] __initdata = {
|
|
static struct platform_device *sh7724_devices[] __initdata = {
|