/* * Hardware definitions for Voipac PXA270 * * Copyright (C) 2010 * Marek Vasut * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "generic.h" #include "devices.h" /****************************************************************************** * Pin configuration ******************************************************************************/ static unsigned long vpac270_pin_config[] __initdata = { /* MMC */ GPIO32_MMC_CLK, GPIO92_MMC_DAT_0, GPIO109_MMC_DAT_1, GPIO110_MMC_DAT_2, GPIO111_MMC_DAT_3, GPIO112_MMC_CMD, GPIO53_GPIO, /* SD detect */ GPIO52_GPIO, /* SD r/o switch */ /* GPIO KEYS */ GPIO1_GPIO, /* USER BTN */ /* LEDs */ GPIO15_GPIO, /* orange led */ /* FFUART */ GPIO34_FFUART_RXD, GPIO39_FFUART_TXD, GPIO27_FFUART_RTS, GPIO100_FFUART_CTS, GPIO33_FFUART_DSR, GPIO40_FFUART_DTR, GPIO10_FFUART_DCD, GPIO38_FFUART_RI, /* LCD */ GPIO58_LCD_LDD_0, GPIO59_LCD_LDD_1, GPIO60_LCD_LDD_2, GPIO61_LCD_LDD_3, GPIO62_LCD_LDD_4, GPIO63_LCD_LDD_5, GPIO64_LCD_LDD_6, GPIO65_LCD_LDD_7, GPIO66_LCD_LDD_8, GPIO67_LCD_LDD_9, GPIO68_LCD_LDD_10, GPIO69_LCD_LDD_11, GPIO70_LCD_LDD_12, GPIO71_LCD_LDD_13, GPIO72_LCD_LDD_14, GPIO73_LCD_LDD_15, GPIO86_LCD_LDD_16, GPIO87_LCD_LDD_17, GPIO74_LCD_FCLK, GPIO75_LCD_LCLK, GPIO76_LCD_PCLK, GPIO77_LCD_BIAS, /* PCMCIA */ GPIO48_nPOE, GPIO49_nPWE, GPIO50_nPIOR, GPIO51_nPIOW, GPIO85_nPCE_1, GPIO54_nPCE_2, GPIO55_nPREG, GPIO57_nIOIS16, GPIO56_nPWAIT, GPIO104_PSKTSEL, GPIO84_GPIO, /* PCMCIA CD */ GPIO35_GPIO, /* PCMCIA RDY */ GPIO107_GPIO, /* PCMCIA PPEN */ GPIO11_GPIO, /* PCMCIA RESET */ GPIO17_GPIO, /* CF CD */ GPIO12_GPIO, /* CF RDY */ GPIO16_GPIO, /* CF RESET */ /* UHC */ GPIO88_USBH1_PWR, GPIO89_USBH1_PEN, GPIO119_USBH2_PWR, GPIO120_USBH2_PEN, /* UDC */ GPIO41_GPIO, /* Ethernet */ GPIO114_GPIO, /* IRQ */ /* AC97 */ GPIO28_AC97_BITCLK, GPIO29_AC97_SDATA_IN_0, GPIO30_AC97_SDATA_OUT, GPIO31_AC97_SYNC, GPIO95_AC97_nRESET, GPIO98_AC97_SYSCLK, GPIO113_GPIO, /* TS IRQ */ /* I2C */ GPIO117_I2C_SCL, GPIO118_I2C_SDA, /* IDE */ GPIO36_GPIO, /* IDE IRQ */ GPIO80_DREQ_1, }; /****************************************************************************** * NOR Flash ******************************************************************************/ #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) static struct mtd_partition vpac270_nor_partitions[] = { { .name = "Flash", .offset = 0x00000000, .size = MTDPART_SIZ_FULL, } }; static struct physmap_flash_data vpac270_flash_data[] = { { .width = 2, /* bankwidth in bytes */ .parts = vpac270_nor_partitions, .nr_parts = ARRAY_SIZE(vpac270_nor_partitions) } }; static struct resource vpac270_flash_resource = { .start = PXA_CS0_PHYS, .end = PXA_CS0_PHYS + SZ_64M - 1, .flags = IORESOURCE_MEM, }; static struct platform_device vpac270_flash = { .name = "physmap-flash", .id = 0, .resource = &vpac270_flash_resource, .num_resources = 1, .dev = { .platform_data = vpac270_flash_data, }, }; static void __init vpac270_nor_init(void) { platform_device_register(&vpac270_flash); } #else static inline void vpac270_nor_init(void) {} #endif /****************************************************************************** * OneNAND Flash ******************************************************************************/ #if defined(CONFIG_MTD_ONENAND) || defined(CONFIG_MTD_ONENAND_MODULE) static struct mtd_partition vpac270_onenand_partitions[] = { { .name = "Flash", .offset = 0x00000000, .size = MTDPART_SIZ_FULL, } }; static struct onenand_platform_data vpac270_onenand_info = { .parts = vpac270_onenand_partitions, .nr_parts = ARRAY_SIZE(vpac270_onenand_partitions), }; static struct resource vpac270_onenand_resources[] = { [0] = { .start = PXA_CS0_PHYS, .end = PXA_CS0_PHYS + SZ_1M, .flags = IORESOURCE_MEM, }, }; static struct platform_device vpac270_onenand = { .name = "onenand-flash", .id = -1, .resource = vpac270_onenand_resources, .num_resources = ARRAY_SIZE(vpac270_onenand_resources), .dev = { .platform_data = &vpac270_onenand_info, }, }; static void __init vpac270_onenand_init(void) { platform_device_register(&vpac270_onenand); } #else static void __init vpac270_onenand_init(void) {} #endif /****************************************************************************** * SD/MMC card controller ******************************************************************************/ #if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE) static struct pxamci_platform_data vpac270_mci_platform_data = { .ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34, .gpio_power = -1, .gpio_card_detect = GPIO53_VPAC270_SD_DETECT_N, .gpio_card_ro = GPIO52_VPAC270_SD_READONLY, .detect_delay_ms = 200, }; static void __init vpac270_mmc_init(void) { pxa_set_mci_info(&vpac270_mci_platf
##############################################################################
# Copyright (c) 2017 mskalski@mirantis.com and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---
# os-nosdn-kvm-noha daily task suite

schema: "yardstick:suite:0.1"

name: "os-nosdn-kvm-noha"
test_cases_dir: "tests/opnfv/test_cases/"
test_cases:
-
  file_name: opnfv_yardstick_tc002.yaml
-
  file_name: opnfv_yardstick_tc005.yaml
-
  file_name: opnfv_yardstick_tc010.yaml
-
  file_name: opnfv_yardstick_tc011.yaml
-
  file_name: opnfv_yardstick_tc012.yaml
-
  file_name: opnfv_yardstick_tc014.yaml
-
  file_name: opnfv_yardstick_tc037.yaml
-
  file_name: opnfv_yardstick_tc055.yaml
  constraint:
      installer: compass
      pod: huawei-pod1
  task_args:
      huawei-pod1: '{"file": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
      "host": "node5.yardstick-TC055"}'
-