16 #include <linux/types.h>
17 #include <linux/linkage.h>
29 #include <asm/setup.h>
33 #include <mach/board.h>
34 #include <mach/portmux.h>
55 .phy_mask = ~(1
U << 1),
59 static int ads7843_get_pendown_state(
void)
66 .get_pendown_state = ads7843_get_pendown_state,
77 .settle_delay_usecs = 500,
78 .penirq_recheck_delay_usecs = 100,
84 .modalias =
"ads7846",
85 .max_speed_hz = 2000000,
88 .platform_data = &ads7843_data,
102 .name =
"640x480 @ 50",
104 .xres = 640, .yres = 480,
107 .left_margin = 90, .right_margin = 70,
108 .upper_margin = 30, .lower_margin = 15,
109 .hsync_len = 12, .vsync_len = 2,
117 .manufacturer =
"LG",
118 .monitor =
"LB104V03",
119 .modedb = lb104v03_modes,
138 static struct gpio_led favr32_leds[] = {
142 .default_trigger =
"heartbeat",
161 .platform_data = &favr32_led_data,
180 sizeof(hw_addr[i].addr));
198 addr = hw_addr[pdev->
id].addr;
199 if (!is_valid_ether_addr(addr))
214 | (addr[1] << 8) | addr[0], regs + 0x98);
232 .pwm_frequency = 200000,
233 .pwm_compare_max = 345,
242 .name =
"atmel-pwm-bl",
245 .platform_data = &atmel_pwm_bl_pdata,
249 static void __init favr32_setup_atmel_pwm_bl(
void)
273 retval = PTR_ERR(osc1);
279 retval = PTR_ERR(pll1);
285 retval = PTR_ERR(abdac);
300 CONFIG_BOARD_FAVR32_ABDAC_RATE * 256 * 16);
322 static int __init favr32_init(
void)
348 favr32_setup_atmel_pwm_bl();