Lines Matching +full:mac +full:- +full:address0
1 // SPDX-License-Identifier: GPL-2.0-only
3 * TI DA850/OMAP-L138 EVM board
5 * Copyright (C) 2009 Texas Instruments Incorporated - https://www.ti.com/
7 * Derived from: arch/arm/mach-davinci/board-da830-evm.c
23 #include <linux/input/tps6507x-ts.h>
28 #include <linux/nvmem-provider.h>
31 #include <linux/platform_data/gpio-davinci.h>
32 #include <linux/platform_data/mtd-davinci.h>
33 #include <linux/platform_data/mtd-davinci-aemif.h>
34 #include <linux/platform_data/ti-aemif.h>
35 #include <linux/platform_data/spi-davinci.h>
50 #include <asm/mach-types.h>
57 #define DA850_EVM_PHY_ID "davinci_mdio-0:00"
71 .name = "U-Boot",
77 .name = "U-Boot-Env",
95 .name = "MAC-Address",
96 .offset = SZ_8M - SZ_64K,
115 .nvmem_name = "MAC-Address0",
121 .nvmem_name = "MAC-Address0",
124 .con_id = "mac-address",
182 .end = DA8XX_AEMIF_CS2_BASE + SZ_32M - 1,
187 /* DA850/OMAP-L138 EVM includes a 512 MByte large-page NAND flash
190 * (UBL) and U-Boot.
194 .name = "u-boot env",
206 .name = "u-boot",
248 .end = DA8XX_AEMIF_CS3_BASE + SZ_512K + 2 * SZ_1K - 1,
253 .end = DA8XX_AEMIF_CTL_BASE + SZ_32K - 1,
283 .name = "physmap-flash",
302 .name = "ti-aemif",
303 .id = -1,
316 -1
332 -1
364 soc_info->emac_pdata->rmii_en = 1; in da850_evm_setup_emac_rmii()
413 [0 ... DA850_N_UI_PB - 1] = {
418 .code = -1, /* assigned at runtime */
419 .gpio = -1, /* assigned at runtime */
431 .name = "gpio-keys-polled",
445 button->code = KEY_F8 - i; in da850_evm_ui_keys_init()
446 button->desc = da850_evm_ui_exp[DA850_EVM_UI_EXP_PB8 + i]; in da850_evm_ui_keys_init()
447 button->gpio = gpio + DA850_EVM_UI_EXP_PB8 + i; in da850_evm_ui_keys_init()
495 pr_warn("Could not register UI GPIO expander push-buttons"); in da850_evm_ui_expander_setup()
499 pr_info("DA850/OMAP-L138 EVM UI card detected\n"); in da850_evm_ui_expander_setup()
586 .gpio = -1, /* assigned at runtime */
593 .code = -1, /* assigned at runtime */
595 .gpio = -1, /* assigned at runtime */
606 .name = "gpio-keys-polled",
619 button->desc = da850_evm_bb_exp[DA850_EVM_BB_EXP_USER_PB1]; in da850_evm_bb_keys_init()
620 button->gpio = gpio + DA850_EVM_BB_EXP_USER_PB1; in da850_evm_bb_keys_init()
624 button->code = SW_LID + i; in da850_evm_bb_keys_init()
625 button->desc = da850_evm_bb_exp[DA850_EVM_BB_EXP_USER_SW1 + i]; in da850_evm_bb_keys_init()
626 button->gpio = gpio + DA850_EVM_BB_EXP_USER_SW1 + i; in da850_evm_bb_keys_init()
645 .dev_id = "leds-gpio",
647 GPIO_LOOKUP_IDX("i2c-bb-expander",
650 GPIO_LOOKUP_IDX("i2c-bb-expander",
659 .name = "leds-gpio",
660 .id = -1,
673 * Register the switches and pushbutton on the baseboard as a gpio-keys in da850_evm_bb_expander_setup()
725 .dev_name = "ui-expander",
730 .dev_name = "bb-expander",
768 -1
775 .dev_id = "da830-mmc.0",
777 /* gpio chip 2 contains gpio range 64-95 */
796 -1
800 PROPERTY_ENTRY_BOOL("default-on"),
805 .dev_id = "gpio-backlight",
813 .name = "gpio-backlight",
837 .name = "reg-fixed-voltage",
845 .dev_id = "reg-fixed-voltage.1",
878 /* Baseboard 3.3V: 5V -> TPS73701DCQ -> 3.3V */
879 REGULATOR_SUPPLY("AVDD", "1-0018"),
880 REGULATOR_SUPPLY("DRVDD", "1-0018"),
882 /* Baseboard 1.8V: 5V -> TPS73701DCQ -> 1.8V */
883 REGULATOR_SUPPLY("DVDD", "1-0018"),
885 /* UI card 3.3V: 5V -> TPS73701DCQ -> 3.3V */
886 REGULATOR_SUPPLY("vcc", "1-0020"),
912 REGULATOR_SUPPLY("IOVDD", "1-0018"),
1060 -1
1069 -1
1077 -1
1102 rmii_en = soc_info->emac_pdata->rmii_en; in da850_evm_config_emac()
1135 soc_info->emac_pdata->phy_id = DA850_EVM_PHY_ID; in da850_evm_config_emac()
1147 * example: Timer, GPIO, UART events etc) on da850/omap-l138 EVM, hence
1155 {-1, -1}
1163 {-1, -1}
1170 {-1, -1}
1177 {-1, -1}
1218 #define TVP5147_CH0 "tvp514x-0"
1219 #define TVP5147_CH1 "tvp514x-1"
1249 .name = "S-Video",
1301 .card_name = "DA850/OMAP-L138 Video Capture",
1340 .name = "S-Video",
1357 .card_name = "DA850/OMAP-L138 Video Display",
1541 MACHINE_START(DAVINCI_DA850_EVM, "DaVinci DA850/OMAP-L138/AM18x EVM")