Lines Matching +full:push +full:- +full:button
2 * TI DA850/OMAP-L138 EVM board
4 * Copyright (C) 2009 Texas Instruments Incorporated - https://www.ti.com/
6 * Derived from: arch/arm/mach-davinci/board-da830-evm.c
25 #include <linux/input/tps6507x-ts.h>
30 #include <linux/nvmem-provider.h>
33 #include <linux/platform_data/gpio-davinci.h>
34 #include <linux/platform_data/mtd-davinci.h>
35 #include <linux/platform_data/mtd-davinci-aemif.h>
36 #include <linux/platform_data/ti-aemif.h>
37 #include <linux/platform_data/spi-davinci.h>
53 #include <asm/mach-types.h>
60 #define DA850_EVM_PHY_ID "davinci_mdio-0:00"
74 .name = "U-Boot",
80 .name = "U-Boot-Env",
98 .name = "MAC-Address",
99 .offset = SZ_8M - SZ_64K,
118 .nvmem_name = "MAC-Address0",
124 .nvmem_name = "MAC-Address0",
127 .con_id = "mac-address",
185 .end = DA8XX_AEMIF_CS2_BASE + SZ_32M - 1,
190 /* DA850/OMAP-L138 EVM includes a 512 MByte large-page NAND flash
193 * (UBL) and U-Boot.
197 .name = "u-boot env",
209 .name = "u-boot",
251 .end = DA8XX_AEMIF_CS3_BASE + SZ_512K + 2 * SZ_1K - 1,
256 .end = DA8XX_AEMIF_CTL_BASE + SZ_32K - 1,
286 .name = "physmap-flash",
305 .name = "ti-aemif",
306 .id = -1,
319 -1
335 -1
367 soc_info->emac_pdata->rmii_en = 1; in da850_evm_setup_emac_rmii()
378 * event by tapping very lightly on the push button but most
380 * user to hold the button whereas shorter intervals require
416 [0 ... DA850_N_UI_PB - 1] = {
421 .code = -1, /* assigned at runtime */
422 .gpio = -1, /* assigned at runtime */
434 .name = "gpio-keys-polled",
444 struct gpio_keys_button *button; in da850_evm_ui_keys_init() local
447 button = &da850_evm_ui_keys[i]; in da850_evm_ui_keys_init()
448 button->code = KEY_F8 - i; in da850_evm_ui_keys_init()
449 button->desc = da850_evm_ui_exp[DA850_EVM_UI_EXP_PB8 + i]; in da850_evm_ui_keys_init()
450 button->gpio = gpio + DA850_EVM_UI_EXP_PB8 + i; in da850_evm_ui_keys_init()
498 pr_warn("Could not register UI GPIO expander push-buttons"); in da850_evm_ui_expander_setup()
502 pr_info("DA850/OMAP-L138 EVM UI card detected\n"); in da850_evm_ui_expander_setup()
591 .gpio = -1, /* assigned at runtime */
598 .code = -1, /* assigned at runtime */
600 .gpio = -1, /* assigned at runtime */
611 .name = "gpio-keys-polled",
621 struct gpio_keys_button *button; in da850_evm_bb_keys_init() local
623 button = &da850_evm_bb_keys[0]; in da850_evm_bb_keys_init()
624 button->desc = da850_evm_bb_exp[DA850_EVM_BB_EXP_USER_PB1]; in da850_evm_bb_keys_init()
625 button->gpio = gpio + DA850_EVM_BB_EXP_USER_PB1; in da850_evm_bb_keys_init()
628 button = &da850_evm_bb_keys[i + 1]; in da850_evm_bb_keys_init()
629 button->code = SW_LID + i; in da850_evm_bb_keys_init()
630 button->desc = da850_evm_bb_exp[DA850_EVM_BB_EXP_USER_SW1 + i]; in da850_evm_bb_keys_init()
631 button->gpio = gpio + DA850_EVM_BB_EXP_USER_SW1 + i; in da850_evm_bb_keys_init()
650 .dev_id = "leds-gpio",
652 GPIO_LOOKUP_IDX("i2c-bb-expander",
655 GPIO_LOOKUP_IDX("i2c-bb-expander",
664 .name = "leds-gpio",
665 .id = -1,
678 * Register the switches and pushbutton on the baseboard as a gpio-keys in da850_evm_bb_expander_setup()
732 .dev_name = "ui-expander",
737 .dev_name = "bb-expander",
775 -1
782 .dev_id = "da830-mmc.0",
784 /* gpio chip 2 contains gpio range 64-95 */
803 -1
807 PROPERTY_ENTRY_BOOL("default-on"),
812 .dev_id = "gpio-backlight",
820 .name = "gpio-backlight",
844 .name = "reg-fixed-voltage",
852 .dev_id = "reg-fixed-voltage.1",
885 /* Baseboard 3.3V: 5V -> TPS73701DCQ -> 3.3V */
886 REGULATOR_SUPPLY("AVDD", "1-0018"),
887 REGULATOR_SUPPLY("DRVDD", "1-0018"),
889 /* Baseboard 1.8V: 5V -> TPS73701DCQ -> 1.8V */
890 REGULATOR_SUPPLY("DVDD", "1-0018"),
892 /* UI card 3.3V: 5V -> TPS73701DCQ -> 3.3V */
893 REGULATOR_SUPPLY("vcc", "1-0020"),
919 REGULATOR_SUPPLY("IOVDD", "1-0018"),
1067 -1
1076 -1
1084 -1
1104 u8 rmii_en = soc_info->emac_pdata->rmii_en; in da850_evm_config_emac()
1140 soc_info->emac_pdata->phy_id = DA850_EVM_PHY_ID; in da850_evm_config_emac()
1152 * example: Timer, GPIO, UART events etc) on da850/omap-l138 EVM, hence
1160 {-1, -1}
1168 {-1, -1}
1175 {-1, -1}
1182 {-1, -1}
1223 #define TVP5147_CH0 "tvp514x-0"
1224 #define TVP5147_CH1 "tvp514x-1"
1254 .name = "S-Video",
1306 .card_name = "DA850/OMAP-L138 Video Capture",
1345 .name = "S-Video",
1362 .card_name = "DA850/OMAP-L138 Video Display",
1546 MACHINE_START(DAVINCI_DA850_EVM, "DaVinci DA850/OMAP-L138/AM18x EVM")