Lines Matching +full:pins +full:- +full:spi +full:- +full:mi
1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-pxa/cm-x300.c
5 * Support for the CompuLab CM-X300 modules
26 #include <linux/platform_data/rtc-v3020.h>
32 #include <linux/platform_data/i2c-pxa.h>
37 #include <linux/apm-emulation.h>
39 #include <linux/spi/spi.h>
40 #include <linux/spi/spi_gpio.h>
41 #include <linux/spi/tdo24m.h>
45 #include <asm/mach-types.h>
51 #include "pxa27x-udc.h"
52 #include <linux/platform_data/video-pxafb.h>
53 #include <linux/platform_data/mmc-pxamci.h>
54 #include <linux/platform_data/usb-ohci-pxa27x.h>
55 #include <linux/platform_data/mtd-nand-pxa3xx.h>
56 #include <linux/platform_data/asoc-pxa.h>
57 #include <linux/platform_data/usb-pxa3xx-ulpi.h>
310 PWM_LOOKUP("pxa27x-pwm.0", 1, "pwm-backlight.0", NULL, 10000,
320 .name = "pwm-backlight",
359 GPIO_LOOKUP("pca9555.1", GPIO_LCD_SCL - GPIO_LCD_BASE,
361 GPIO_LOOKUP("pca9555.1", GPIO_LCD_DIN - GPIO_LCD_BASE,
363 GPIO_LOOKUP("pca9555.1", GPIO_LCD_DOUT - GPIO_LCD_BASE,
365 GPIO_LOOKUP("pca9555.1", GPIO_LCD_CS - GPIO_LCD_BASE,
411 .mask_flags = MTD_WRITEABLE, /* force read-only */
414 .name = "U-Boot",
417 .mask_flags = MTD_WRITEABLE, /* force read-only */
428 .mask_flags = MTD_WRITEABLE, /* force read-only */
463 .dev_id = "pxa2xx-mci.0",
466 GPIO_LOOKUP("gpio-pxa", GPIO82_MMC_IRQ, "cd", GPIO_ACTIVE_LOW),
468 GPIO_LOOKUP("gpio-pxa", GPIO85_MMC_WP, "wp", GPIO_ACTIVE_LOW),
473 /* The second MMC slot of CM-X300 is hardwired to Libertas card and has
474 no detection/ro pins */
600 .name = "cm-x300:green",
612 .name = "leds-gpio",
613 .id = -1,
674 .id = -1,
757 .name = "da903x-battery",
762 .name = "da903x-regulator",
823 /* board-processor specific GPIO initialization */ in cm_x300_init_mfp()
864 /* Make sure that mi->bank[0].start = PHYS_ADDR */ in cm_x300_fixup()
865 for (; tags->hdr.size; tags = tag_next(tags)) in cm_x300_fixup()
866 if (tags->hdr.tag == ATAG_MEM && in cm_x300_fixup()
867 tags->u.mem.start == 0x80000000) { in cm_x300_fixup()
868 tags->u.mem.start = 0xa0000000; in cm_x300_fixup()
873 MACHINE_START(CM_X300, "CM-X300 module")