Lines Matching +full:gpio +full:- +full:mux +full:- +full:clock
5 * Derived from: arch/arm/mach-davinci/board-dm644x-evm.c
16 #include <linux/gpio.h>
26 #include <asm/mach-types.h>
30 #include <mach/mux.h>
39 * USB1 VBUS is controlled by GPIO1[15], over-current is reported on GPIO2[4].
46 -1
79 "OHCI over-current indicator", NULL); in da830_evm_usb_ocic_notify()
82 "over-current indicator changes\n", __func__); in da830_evm_usb_ocic_notify()
111 * Set up USB clock/mode in the CFGCHIP2 register. in da830_evm_usb_init()
116 /* USB2.0 PHY reference clock is 24 MHz */ in da830_evm_usb_init()
121 * Select internal reference clock for USB 2.0 PHY in da830_evm_usb_init()
122 * and use it as a clock source for USB 1.1 PHY in da830_evm_usb_init()
130 * host-only mode -- ID pin will float if no cable is connected, so the in da830_evm_usb_init()
131 * controller won't be able to drive VBUS thinking that it's a B-device. in da830_evm_usb_init()
168 printk(KERN_ERR "%s: failed to request GPIO for USB 1.1 port " in da830_evm_usb_init()
176 printk(KERN_ERR "%s: failed to request GPIO for USB 1.1 port " in da830_evm_usb_init()
177 "over-current indicator: %d\n", __func__, ret); in da830_evm_usb_init()
197 -1
227 -1
258 pr_warning("da830_evm_init: mmc/sd mux setup failed: %d\n", in da830_evm_init_mmc()
265 pr_warning("da830_evm_init: can not open GPIO %d\n", in da830_evm_init_mmc()
273 pr_warning("da830_evm_init: can not open GPIO %d\n", in da830_evm_init_mmc()
288 * UI board NAND/NOR flashes only use 8-bit data bus.
298 -1
309 /* bootloader (U-Boot, etc) in first sector */
314 .mask_flags = MTD_WRITEABLE, /* force read-only */
321 .mask_flags = MTD_WRITEABLE, /* force read-only */
389 .end = DA8XX_AEMIF_CS3_BASE + PAGE_SIZE - 1,
394 .end = DA8XX_AEMIF_CTL_BASE + SZ_32K - 1,
422 pr_warning("da830_evm_init: emif25 mux setup failed: %d\n", in da830_evm_init_nand()
442 pr_warning("da830_evm_init: lcdcntl mux setup failed: %d\n", in da830_evm_init_lcdc()
464 int gpio, unsigned ngpio, void *context) in da830_evm_ui_expander_setup() argument
466 gpio_request(gpio + 6, "UI MUX_MODE"); in da830_evm_ui_expander_setup()
468 /* Drive mux mode low to match the default without UI card */ in da830_evm_ui_expander_setup()
469 gpio_direction_output(gpio + 6, 0); in da830_evm_ui_expander_setup()
471 da830_evm_init_lcdc(gpio + 6); in da830_evm_ui_expander_setup()
473 da830_evm_init_nand(gpio + 6); in da830_evm_ui_expander_setup()
478 static int da830_evm_ui_expander_teardown(struct i2c_client *client, int gpio, in da830_evm_ui_expander_teardown() argument
481 gpio_free(gpio + 6); in da830_evm_ui_expander_teardown()
512 * example: Timer, GPIO, UART events etc) on da830/omap-l137 EVM, hence
521 {-1, -1}
530 {-1, -1}
542 .name = "DSP-UBL",
548 .name = "ARM-UBL",
554 .name = "U-Boot",
556 .size = SZ_256K - SZ_32K,
560 .name = "U-Boot-Environment",
610 pr_warning("da830_evm_init: i2c0 mux setup failed: %d\n", in da830_evm_init()
620 soc_info->emac_pdata->rmii_en = 1; in da830_evm_init()
621 soc_info->emac_pdata->phy_id = DA830_EVM_PHY_ID; in da830_evm_init()
625 pr_warning("da830_evm_init: cpgmac mux setup failed: %d\n", in da830_evm_init()
644 pr_warning("da830_evm_init: mcasp1 mux setup failed: %d\n", in da830_evm_init()
678 MACHINE_START(DAVINCI_DA830_EVM, "DaVinci DA830/OMAP-L137/AM17x EVM")