12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- #define IODESC_ENT(y) \
- { \
- .virtual = (unsigned long)W90X900_VA_##y, \
- .pfn = __phys_to_pfn(W90X900_PA_##y), \
- .length = W90X900_SZ_##y, \
- .type = MT_DEVICE, \
- }
- #define NUC900_8250PORT(name) \
- { \
- .membase = name##_BA, \
- .mapbase = name##_PA, \
- .irq = IRQ_##name, \
- .uartclk = 11313600, \
- .regshift = 2, \
- .iotype = UPIO_MEM, \
- .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, \
- }
- #define NUC900PDID W90X900_VA_GCR
- #define NUC910_CPUID 0x02900910
- #define NUC920_CPUID 0x02900920
- #define NUC950_CPUID 0x02900950
- #define NUC960_CPUID 0x02900960
- extern void nuc900_clock_source(struct device *dev, unsigned char *src);
- extern void nuc900_init_clocks(void);
- extern void nuc900_map_io(struct map_desc *mach_desc, int mach_size);
- extern void nuc900_board_init(struct platform_device **device, int size);
- extern struct platform_device nuc900_serial_device;
- extern struct platform_device nuc900_device_fmi;
- extern struct platform_device nuc900_device_kpi;
- extern struct platform_device nuc900_device_rtc;
- extern struct platform_device nuc900_device_ts;
- extern struct platform_device nuc900_device_lcd;
|