Lines Matching +full:otg +full:- +full:rev

1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2008-2011 Manuel Lauss
9 #include <linux/dma-mapping.h>
25 #include <asm/mach-au1x00/au1000.h>
26 #include <asm/mach-au1x00/au1100_mmc.h>
27 #include <asm/mach-au1x00/au1xxx_dbdma.h>
28 #include <asm/mach-au1x00/au1xxx_psc.h>
29 #include <asm/mach-au1x00/au1200fb.h>
30 #include <asm/mach-au1x00/au1550_spi.h>
31 #include <asm/mach-db1x00/bcsr.h>
121 return -ENODEV; in db1200_board_setup()
130 return -ENODEV; in db1200_board_setup()
133 printk(KERN_INFO "Alchemy/AMD/RMI %s Board, CPLD Rev %d" in db1200_board_setup()
134 " Board-ID %d Daughtercard ID %d\n", get_system_type(), in db1200_board_setup()
180 { I2C_BOARD_INFO("24c04", 0x52), }, /* AT24C04-10 I2C eeprom */
181 { I2C_BOARD_INFO("ne1619", 0x2d), }, /* adm1025-compat hwmon */
190 unsigned long ioaddr = (unsigned long)this->legacy.IO_ADDR_W; in au1200_nand_cmd_ctrl()
202 this->legacy.IO_ADDR_R = this->legacy.IO_ADDR_W = (void __iomem *)ioaddr; in au1200_nand_cmd_ctrl()
204 __raw_writeb(cmd, this->legacy.IO_ADDR_W); in au1200_nand_cmd_ctrl()
253 .id = -1,
285 .id = -1,
300 .end = DB1200_IDE_PHYS_ADDR + IDE_ALT_START - 1,
305 .end = DB1200_IDE_PHYS_ADDR + DB1200_IDE_PHYS_LEN - 1,
330 /* SD carddetects: they're supposed to be edge-triggered, but ack
331 * doesn't seem to work (CPLD Rev 2). Instead, the screaming one
417 /* -- */
543 .name = "au1xxx-mmc",
578 .name = "au1xxx-mmc",
622 .end = AU1200_LCD_PHYS_ADDR + 0x800 - 1,
633 .name = "au1200-lcd",
696 .name = "au1550-spi",
744 .name = "ac97-codec",
749 .name = "au1xpsc-pcm",
781 printk(KERN_ERR "PB1200 must be at CPLD rev 4. Please have\n"); in pb1200_res_fixup()
784 printk(KERN_ERR "on anything older than CPLD rev 4.!\n"); in pb1200_res_fixup()
793 db1200_ide_res[0].end = PB1200_IDE_PHYS_ADDR + DB1200_IDE_PHYS_LEN - 1; in pb1200_res_fixup()
810 return -ENODEV; in db1200_dev_setup()
813 /* GPIO7 is low-level triggered CPLD cascade */ in db1200_dev_setup()
828 if ((pfc < 1) || (abs(50000000 - pfc) > 2500000)) in db1200_dev_setup()
857 /* NOTE: GPIO215 controls OTG VBUS supply. In SPI mode however in db1200_dev_setup()
860 * As a result, in SPI mode, OTG simply won't work (PSC0 uses in db1200_dev_setup()
865 /* switch off OTG VBUS supply */ in db1200_dev_setup()
866 gpio_request(215, "otg-vbus"); in db1200_dev_setup()
879 printk(KERN_INFO " OTG port VBUS supply available!\n"); in db1200_dev_setup()
887 printk(KERN_INFO " OTG port VBUS supply disabled\n"); in db1200_dev_setup()
898 db1200_sound_dev.name = "db1200-i2s"; in db1200_dev_setup()
903 db1200_sound_dev.name = "db1200-ac97"; in db1200_dev_setup()
914 AU1000_PCMCIA_ATTR_PHYS_ADDR + 0x000400000 - 1, in db1200_dev_setup()
916 AU1000_PCMCIA_MEM_PHYS_ADDR + 0x000400000 - 1, in db1200_dev_setup()
918 AU1000_PCMCIA_IO_PHYS_ADDR + 0x000010000 - 1, in db1200_dev_setup()
924 AU1000_PCMCIA_ATTR_PHYS_ADDR + 0x004400000 - 1, in db1200_dev_setup()
926 AU1000_PCMCIA_MEM_PHYS_ADDR + 0x004400000 - 1, in db1200_dev_setup()
928 AU1000_PCMCIA_IO_PHYS_ADDR + 0x004010000 - 1, in db1200_dev_setup()