Lines Matching +full:irq +full:- +full:gpios

1 // SPDX-License-Identifier: GPL-2.0-or-later
10 #include <linux/dma-mapping.h>
23 #include <asm/mach-au1x00/au1000.h>
24 #include <asm/mach-au1x00/gpio-au1000.h>
25 #include <asm/mach-au1x00/au1000_dma.h>
26 #include <asm/mach-au1x00/au1100_mmc.h>
27 #include <asm/mach-db1x00/bcsr.h>
52 return -ENODEV; in db1000_board_setup()
58 return -1; in db1500_map_pci_irq()
69 return -1; in db1500_map_pci_irq()
88 .name = "alchemy-pci",
102 .end = AU1100_LCD_PHYS_ADDR + 0x800 - 1,
113 .name = "au1100-lcd",
142 .name = "alchemy-ac97c",
143 .id = -1,
149 .name = "alchemy-pcm-dma",
154 .name = "ac97-codec",
155 .id = -1,
159 .name = "db1000-audio",
169 static irqreturn_t db1100_mmc_cd(int irq, void *ptr) in db1100_mmc_cd() argument
177 int ret = 0, irq; in db1100_mmc_cd_setup() local
180 irq = AU1100_GPIO19_INT; in db1100_mmc_cd_setup()
182 irq = AU1100_GPIO14_INT; /* PB1100 SD0 CD# */ in db1100_mmc_cd_setup()
185 irq_set_irq_type(irq, IRQ_TYPE_EDGE_BOTH); in db1100_mmc_cd_setup()
186 ret = request_irq(irq, db1100_mmc_cd, 0, in db1100_mmc_cd_setup()
189 free_irq(irq, mmc_host); in db1100_mmc_cd_setup()
195 int ret = 0, irq; in db1100_mmc1_cd_setup() local
198 irq = AU1100_GPIO20_INT; in db1100_mmc1_cd_setup()
200 irq = AU1100_GPIO15_INT; /* PB1100 SD1 CD# */ in db1100_mmc1_cd_setup()
203 irq_set_irq_type(irq, IRQ_TYPE_EDGE_BOTH); in db1100_mmc1_cd_setup()
204 ret = request_irq(irq, db1100_mmc_cd, 0, in db1100_mmc1_cd_setup()
207 free_irq(irq, mmc_host); in db1100_mmc1_cd_setup()
329 .name = "au1xxx-mmc",
364 .name = "au1xxx-mmc",
379 .name = "alchemy-gpio2",
384 PROPERTY_ENTRY_GPIO("pendown-gpios",
401 .irq = AU1100_GPIO21_INT,
412 * 207 thru 210 are GPIOs at offset 7 thru 10 at this chip.
415 PROPERTY_ENTRY_GPIO("miso-gpios",
417 PROPERTY_ENTRY_GPIO("mosi-gpios",
419 PROPERTY_ENTRY_GPIO("sck-gpios",
421 PROPERTY_ENTRY_GPIO("cs-gpios",
462 d0 = 0; /* GPIO number, NOT irq! */ in db1000_dev_setup()
463 d1 = 3; /* GPIO number, NOT irq! */ in db1000_dev_setup()
469 d0 = 0; /* GPIO number, NOT irq! */ in db1000_dev_setup()
470 d1 = 3; /* GPIO number, NOT irq! */ in db1000_dev_setup()
481 pfc |= (1 << 0); /* SSI0 pins as GPIOs */ in db1000_dev_setup()
509 d0 = 0; /* GPIO number, NOT irq! */ in db1000_dev_setup()
510 d1 = 3; /* GPIO number, NOT irq! */ in db1000_dev_setup()
516 d0 = 1; /* GPIO number, NOT irq! */ in db1000_dev_setup()
529 d0 = 9; /* GPIO number, NOT irq! */ in db1000_dev_setup()
551 AU1000_PCMCIA_ATTR_PHYS_ADDR + 0x000400000 - 1, in db1000_dev_setup()
553 AU1000_PCMCIA_MEM_PHYS_ADDR + 0x000400000 - 1, in db1000_dev_setup()
555 AU1000_PCMCIA_IO_PHYS_ADDR + 0x000010000 - 1, in db1000_dev_setup()
564 AU1000_PCMCIA_ATTR_PHYS_ADDR + 0x004400000 - 1, in db1000_dev_setup()
566 AU1000_PCMCIA_MEM_PHYS_ADDR + 0x004400000 - 1, in db1000_dev_setup()
568 AU1000_PCMCIA_IO_PHYS_ADDR + 0x004010000 - 1, in db1000_dev_setup()