~ubuntu-branches/debian/wheezy/linux-2.6/wheezy

« back to all changes in this revision

Viewing changes to arch/arm/mach-mx5/board-mx53_smd.c

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings, Ben Hutchings, Aurelien Jarno
  • Date: 2011-06-07 12:14:05 UTC
  • mfrom: (43.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20110607121405-i3h1rd7nrnd2b73h
Tags: 2.6.39-2
[ Ben Hutchings ]
* [x86] Enable BACKLIGHT_APPLE, replacing BACKLIGHT_MBP_NVIDIA
  (Closes: #627492)
* cgroups: Disable memory resource controller by default. Allow it
  to be enabled using kernel parameter 'cgroup_enable=memory'.
* rt2800usb: Enable support for more USB devices including
  Linksys WUSB600N (Closes: #596626) (this change was accidentally
  omitted from 2.6.39-1)
* [x86] Remove Celeron from list of processors supporting PAE. Most
  'Celeron M' models do not.
* Update debconf template translations:
  - Swedish (Martin Bagge) (Closes: #628932)
  - French (David Prévot) (Closes: #628191)
* aufs: Update for 2.6.39 (Closes: #627837)
* Add stable 2.6.39.1, including:
  - ext4: dont set PageUptodate in ext4_end_bio()
  - pata_cmd64x: fix boot crash on parisc (Closes: #622997, #622745)
  - ext3: Fix fs corruption when make_indexed_dir() fails
  - netfilter: nf_ct_sip: validate Content-Length in TCP SIP messages
  - sctp: fix race between sctp_bind_addr_free() and
    sctp_bind_addr_conflict()
  - sctp: fix memory leak of the ASCONF queue when free asoc
  - md/bitmap: fix saving of events_cleared and other state
  - cdc_acm: Fix oops when Droids MuIn LCD is connected
  - cx88: Fix conversion from BKL to fine-grained locks (Closes: #619827)
  - keys: Set cred->user_ns in key_replace_session_keyring (CVE-2011-2184)
  - tmpfs: fix race between truncate and writepage
  - nfs41: Correct offset for LAYOUTCOMMIT
  - xen/mmu: fix a race window causing leave_mm BUG()
  - ext4: fix possible use-after-free in ext4_remove_li_request()
  For the complete list of changes, see:
   http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.39.1
* Bump ABI to 2
* netfilter: Enable IP_SET, IP_SET_BITMAP_IP, IP_SET_BITMAP_IPMAC,
  IP_SET_BITMAP_PORT, IP_SET_HASH_IP, IP_SET_HASH_IPPORT,
  IP_SET_HASH_IPPORTIP, IP_SET_HASH_IPPORTNET, IP_SET_HASH_NET,
  IP_SET_HASH_NETPORT, IP_SET_LIST_SET, NETFILTER_XT_SET as modules
  (Closes: #629401)

[ Aurelien Jarno ]
* [mipsel/loongson-2f] Disable_SCSI_LPFC to workaround GCC ICE.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
#define SMD_FEC_PHY_RST         IMX_GPIO_NR(7, 6)
40
40
 
41
41
static iomux_v3_cfg_t mx53_smd_pads[] = {
42
 
        MX53_PAD_CSI0_D10__UART1_TXD,
43
 
        MX53_PAD_CSI0_D11__UART1_RXD,
44
 
        MX53_PAD_ATA_DIOW__UART1_TXD,
45
 
        MX53_PAD_ATA_DMACK__UART1_RXD,
46
 
 
47
 
        MX53_PAD_ATA_BUFFER_EN__UART2_RXD,
48
 
        MX53_PAD_ATA_DMARQ__UART2_TXD,
49
 
        MX53_PAD_ATA_DIOR__UART2_RTS,
50
 
        MX53_PAD_ATA_INTRQ__UART2_CTS,
51
 
 
52
 
        MX53_PAD_ATA_CS_0__UART3_TXD,
53
 
        MX53_PAD_ATA_CS_1__UART3_RXD,
54
 
        MX53_PAD_ATA_DA_1__UART3_CTS,
55
 
        MX53_PAD_ATA_DA_2__UART3_RTS,
 
42
        MX53_PAD_CSI0_DAT10__UART1_TXD_MUX,
 
43
        MX53_PAD_CSI0_DAT11__UART1_RXD_MUX,
 
44
 
 
45
        MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX,
 
46
        MX53_PAD_PATA_DMARQ__UART2_TXD_MUX,
 
47
 
 
48
        MX53_PAD_PATA_CS_0__UART3_TXD_MUX,
 
49
        MX53_PAD_PATA_CS_1__UART3_RXD_MUX,
 
50
        MX53_PAD_PATA_DA_1__UART3_CTS,
 
51
        MX53_PAD_PATA_DA_2__UART3_RTS,
 
52
        /* I2C1 */
 
53
        MX53_PAD_CSI0_DAT8__I2C1_SDA,
 
54
        MX53_PAD_CSI0_DAT9__I2C1_SCL,
56
55
};
57
56
 
58
57
static const struct imxuart_platform_data mx53_smd_uart_data __initconst = {
61
60
 
62
61
static inline void mx53_smd_init_uart(void)
63
62
{
64
 
        imx53_add_imx_uart(0, &mx53_smd_uart_data);
65
 
        imx53_add_imx_uart(1, &mx53_smd_uart_data);
 
63
        imx53_add_imx_uart(0, NULL);
 
64
        imx53_add_imx_uart(1, NULL);
66
65
        imx53_add_imx_uart(2, &mx53_smd_uart_data);
67
66
}
68
67
 
85
84
        .phy = PHY_INTERFACE_MODE_RMII,
86
85
};
87
86
 
 
87
static const struct imxi2c_platform_data mx53_smd_i2c_data __initconst = {
 
88
        .bitrate = 100000,
 
89
};
 
90
 
88
91
static void __init mx53_smd_board_init(void)
89
92
{
90
93
        mxc_iomux_v3_setup_multiple_pads(mx53_smd_pads,
92
95
        mx53_smd_init_uart();
93
96
        mx53_smd_fec_reset();
94
97
        imx53_add_fec(&mx53_smd_fec_data);
 
98
        imx53_add_imx2_wdt(0, NULL);
 
99
        imx53_add_imx_i2c(0, &mx53_smd_i2c_data);
95
100
}
96
101
 
97
102
static void __init mx53_smd_timer_init(void)
105
110
 
106
111
MACHINE_START(MX53_SMD, "Freescale MX53 SMD Board")
107
112
        .map_io = mx53_map_io,
 
113
        .init_early = imx53_init_early,
108
114
        .init_irq = mx53_init_irq,
 
115
        .timer = &mx53_smd_timer,
109
116
        .init_machine = mx53_smd_board_init,
110
 
        .timer = &mx53_smd_timer,
111
117
MACHINE_END