10 #include <mach/hardware.h>
13 #define imx_imx2_wdt_data_entry_single(soc, _id, _hwid, _size) \
16 .iobase = soc ## _WDOG ## _hwid ## _BASE_ADDR, \
19 #define imx_imx2_wdt_data_entry(soc, _id, _hwid, _size) \
20 [_id] = imx_imx2_wdt_data_entry_single(soc, _id, _hwid, _size)
22 #ifdef CONFIG_SOC_IMX21
27 #ifdef CONFIG_SOC_IMX25
32 #ifdef CONFIG_SOC_IMX27
37 #ifdef CONFIG_SOC_IMX31
42 #ifdef CONFIG_SOC_IMX35
47 #ifdef CONFIG_SOC_IMX51
49 #define imx51_imx2_wdt_data_entry(_id, _hwid) \
50 imx_imx2_wdt_data_entry(MX51, _id, _hwid, SZ_16K)
51 imx51_imx2_wdt_data_entry(0, 1),
52 imx51_imx2_wdt_data_entry(1, 2),
56 #ifdef CONFIG_SOC_IMX53
58 #define imx53_imx2_wdt_data_entry(_id, _hwid) \
59 imx_imx2_wdt_data_entry(MX53, _id, _hwid, SZ_16K)
60 imx53_imx2_wdt_data_entry(0, 1),
61 imx53_imx2_wdt_data_entry(1, 2),
75 return imx_add_platform_device(
"imx2-wdt", data->
id,