14 #include <linux/i2c.h>
17 #include <linux/linkage.h>
19 #include <linux/types.h>
25 #include <asm/setup.h>
28 #include <mach/board.h>
30 #include <mach/portmux.h>
34 #include "../../mach-at32ap/clock.h"
47 #ifdef CONFIG_BOARD_HAMMERHEAD_LCD
50 .name =
"320x240 @ 75",
69 .manufacturer =
"HAN",
70 .monitor =
"HDA350T-LV",
71 .modedb = hda350tlv_modes,
121 sizeof(hw_addr[i].addr));
140 addr = hw_addr[pdev->
id].addr;
142 if (!is_valid_ether_addr(addr))
158 __raw_writel((addr[3] << 24) | (addr[2] << 16) | (addr[1] << 8) |
159 addr[0], regs + 0x98);
175 .sda_is_open_drain = 1,
176 .scl_is_open_drain = 1,
183 .dev = { .platform_data = &i2c_gpio_data, },
188 #ifdef CONFIG_BOARD_HAMMERHEAD_SND
194 static int __init hammerhead_init(
void)
215 #ifdef CONFIG_BOARD_HAMMERHEAD_FPGA
220 #ifdef CONFIG_BOARD_HAMMERHEAD_USB
223 #ifdef CONFIG_BOARD_HAMMERHEAD_LCD
237 #ifdef CONFIG_BOARD_HAMMERHEAD_SND