Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * arch/arm/mach-ep93xx/include/mach/platform.h
0004  */
0005 
0006 #ifndef __ASSEMBLY__
0007 
0008 #include <linux/platform_data/eth-ep93xx.h>
0009 #include <linux/reboot.h>
0010 
0011 struct device;
0012 struct i2c_board_info;
0013 struct spi_board_info;
0014 struct platform_device;
0015 struct ep93xxfb_mach_info;
0016 struct ep93xx_keypad_platform_data;
0017 struct ep93xx_spi_info;
0018 
0019 void ep93xx_map_io(void);
0020 void ep93xx_init_irq(void);
0021 
0022 void ep93xx_register_flash(unsigned int width,
0023                resource_size_t start, resource_size_t size);
0024 
0025 void ep93xx_register_eth(struct ep93xx_eth_data *data, int copy_addr);
0026 void ep93xx_register_i2c(struct i2c_board_info *devices, int num);
0027 void ep93xx_register_spi(struct ep93xx_spi_info *info,
0028              struct spi_board_info *devices, int num);
0029 void ep93xx_register_fb(struct ep93xxfb_mach_info *data);
0030 void ep93xx_register_pwm(int pwm0, int pwm1);
0031 void ep93xx_register_keypad(struct ep93xx_keypad_platform_data *data);
0032 void ep93xx_register_i2s(void);
0033 void ep93xx_register_ac97(void);
0034 void ep93xx_register_ide(void);
0035 void ep93xx_register_adc(void);
0036 
0037 struct device *ep93xx_init_devices(void);
0038 extern void ep93xx_timer_init(void);
0039 
0040 void ep93xx_restart(enum reboot_mode, const char *);
0041 
0042 #endif