From 0d6aad1a8c3b806716add4b5bb6954984d508ab3 Mon Sep 17 00:00:00 2001 From: Nathaniel Graff Date: Wed, 19 Jun 2019 15:26:20 -0700 Subject: Delete coreip BSPs Signed-off-by: Nathaniel Graff --- bsp/coreip-e20-arty/metal-platform.h | 163 ----------------------------------- 1 file changed, 163 deletions(-) delete mode 100644 bsp/coreip-e20-arty/metal-platform.h (limited to 'bsp/coreip-e20-arty/metal-platform.h') diff --git a/bsp/coreip-e20-arty/metal-platform.h b/bsp/coreip-e20-arty/metal-platform.h deleted file mode 100644 index 1c8b88e..0000000 --- a/bsp/coreip-e20-arty/metal-platform.h +++ /dev/null @@ -1,163 +0,0 @@ -/* Copyright 2019 SiFive, Inc */ -/* SPDX-License-Identifier: Apache-2.0 */ -/* ----------------------------------- */ -/* ----------------------------------- */ - -#ifndef COREIP_E20_ARTY__METAL_PLATFORM_H -#define COREIP_E20_ARTY__METAL_PLATFORM_H - -/* From clock@0 */ -#define METAL_FIXED_CLOCK_0_CLOCK_FREQUENCY 32500000UL - -#define METAL_FIXED_CLOCK - -/* From interrupt_controller@2000000 */ -#define METAL_SIFIVE_CLIC0_2000000_BASE_ADDRESS 33554432UL -#define METAL_SIFIVE_CLIC0_0_BASE_ADDRESS 33554432UL -#define METAL_SIFIVE_CLIC0_2000000_SIZE 16777216UL -#define METAL_SIFIVE_CLIC0_0_SIZE 16777216UL -#define METAL_SIFIVE_CLIC0_2000000_SIFIVE_NUMINTS 58UL -#define METAL_SIFIVE_CLIC0_0_SIFIVE_NUMINTS 58UL -#define METAL_SIFIVE_CLIC0_2000000_SIFIVE_NUMLEVELS 16UL -#define METAL_SIFIVE_CLIC0_0_SIFIVE_NUMLEVELS 16UL -#define METAL_SIFIVE_CLIC0_2000000_SIFIVE_NUMINTBITS 2UL -#define METAL_SIFIVE_CLIC0_0_SIFIVE_NUMINTBITS 2UL - -#define METAL_SIFIVE_CLIC0 -#define METAL_SIFIVE_CLIC0_MSIP_BASE 0UL -#define METAL_SIFIVE_CLIC0_MTIMECMP_BASE 16384UL -#define METAL_SIFIVE_CLIC0_MTIME 49144UL -#define METAL_SIFIVE_CLIC0_CLICINTIP_BASE 0UL -#define METAL_SIFIVE_CLIC0_CLICINTIE_BASE 1024UL -#define METAL_SIFIVE_CLIC0_CLICINTCTL_BASE 2048UL -#define METAL_SIFIVE_CLIC0_CLICCFG 3072UL -#define METAL_SIFIVE_CLIC0_MMODE_APERTURE 8388608UL -#define METAL_SIFIVE_CLIC0_HSMODE_APERTURE 10485760UL -#define METAL_SIFIVE_CLIC0_SMODE_APERTURE 12582912UL -#define METAL_SIFIVE_CLIC0_UMODE_APERTURE 14680064UL - -/* From global_external_interrupts */ - -#define METAL_SIFIVE_GLOBAL_EXTERNAL_INTERRUPTS0 - -/* From gpio@20002000 */ -#define METAL_SIFIVE_GPIO0_20002000_BASE_ADDRESS 536879104UL -#define METAL_SIFIVE_GPIO0_0_BASE_ADDRESS 536879104UL -#define METAL_SIFIVE_GPIO0_20002000_SIZE 4096UL -#define METAL_SIFIVE_GPIO0_0_SIZE 4096UL - -#define METAL_SIFIVE_GPIO0 -#define METAL_SIFIVE_GPIO0_VALUE 0UL -#define METAL_SIFIVE_GPIO0_INPUT_EN 4UL -#define METAL_SIFIVE_GPIO0_OUTPUT_EN 8UL -#define METAL_SIFIVE_GPIO0_PORT 12UL -#define METAL_SIFIVE_GPIO0_PUE 16UL -#define METAL_SIFIVE_GPIO0_DS 20UL -#define METAL_SIFIVE_GPIO0_RISE_IE 24UL -#define METAL_SIFIVE_GPIO0_RISE_IP 28UL -#define METAL_SIFIVE_GPIO0_FALL_IE 32UL -#define METAL_SIFIVE_GPIO0_FALL_IP 36UL -#define METAL_SIFIVE_GPIO0_HIGH_IE 40UL -#define METAL_SIFIVE_GPIO0_HIGH_IP 44UL -#define METAL_SIFIVE_GPIO0_LOW_IE 48UL -#define METAL_SIFIVE_GPIO0_LOW_IP 52UL -#define METAL_SIFIVE_GPIO0_IOF_EN 56UL -#define METAL_SIFIVE_GPIO0_IOF_SEL 60UL -#define METAL_SIFIVE_GPIO0_OUT_XOR 64UL - -/* From button@0 */ - -/* From button@1 */ - -/* From button@2 */ - -/* From button@3 */ - -#define METAL_SIFIVE_GPIO_BUTTONS - -/* From led@0red */ - -/* From led@0green */ - -/* From led@0blue */ - -#define METAL_SIFIVE_GPIO_LEDS - -/* From switch@0 */ - -/* From switch@1 */ - -/* From switch@2 */ - -/* From switch@3 */ - -#define METAL_SIFIVE_GPIO_SWITCHES - -/* From local_external_interrupts_0 */ - -#define METAL_SIFIVE_LOCAL_EXTERNAL_INTERRUPTS0 - -/* From pwm@20005000 */ -#define METAL_SIFIVE_PWM0_20005000_BASE_ADDRESS 536891392UL -#define METAL_SIFIVE_PWM0_0_BASE_ADDRESS 536891392UL -#define METAL_SIFIVE_PWM0_20005000_SIZE 4096UL -#define METAL_SIFIVE_PWM0_0_SIZE 4096UL - -#define METAL_SIFIVE_PWM0 -#define METAL_SIFIVE_PWM0_PWMCFG 0UL -#define METAL_SIFIVE_PWM0_PWMCOUNT 8UL -#define METAL_SIFIVE_PWM0_PWMS 16UL -#define METAL_SIFIVE_PWM0_PWMCMP0 32UL -#define METAL_SIFIVE_PWM0_PWMCMP1 36UL -#define METAL_SIFIVE_PWM0_PWMCMP2 40UL -#define METAL_SIFIVE_PWM0_PWMCMP3 44UL - -/* From spi@20004000 */ -#define METAL_SIFIVE_SPI0_20004000_BASE_ADDRESS 536887296UL -#define METAL_SIFIVE_SPI0_0_BASE_ADDRESS 536887296UL -#define METAL_SIFIVE_SPI0_20004000_SIZE 4096UL -#define METAL_SIFIVE_SPI0_0_SIZE 4096UL - -#define METAL_SIFIVE_SPI0 -#define METAL_SIFIVE_SPI0_SCKDIV 0UL -#define METAL_SIFIVE_SPI0_SCKMODE 4UL -#define METAL_SIFIVE_SPI0_CSID 16UL -#define METAL_SIFIVE_SPI0_CSDEF 20UL -#define METAL_SIFIVE_SPI0_CSMODE 24UL -#define METAL_SIFIVE_SPI0_DELAY0 40UL -#define METAL_SIFIVE_SPI0_DELAY1 44UL -#define METAL_SIFIVE_SPI0_FMT 64UL -#define METAL_SIFIVE_SPI0_TXDATA 72UL -#define METAL_SIFIVE_SPI0_RXDATA 76UL -#define METAL_SIFIVE_SPI0_TXMARK 80UL -#define METAL_SIFIVE_SPI0_RXMARK 84UL -#define METAL_SIFIVE_SPI0_FCTRL 96UL -#define METAL_SIFIVE_SPI0_FFMT 100UL -#define METAL_SIFIVE_SPI0_IE 112UL -#define METAL_SIFIVE_SPI0_IP 116UL - -/* From teststatus@4000 */ -#define METAL_SIFIVE_TEST0_4000_BASE_ADDRESS 16384UL -#define METAL_SIFIVE_TEST0_0_BASE_ADDRESS 16384UL -#define METAL_SIFIVE_TEST0_4000_SIZE 4096UL -#define METAL_SIFIVE_TEST0_0_SIZE 4096UL - -#define METAL_SIFIVE_TEST0 -#define METAL_SIFIVE_TEST0_FINISHER_OFFSET 0UL - -/* From serial@20000000 */ -#define METAL_SIFIVE_UART0_20000000_BASE_ADDRESS 536870912UL -#define METAL_SIFIVE_UART0_0_BASE_ADDRESS 536870912UL -#define METAL_SIFIVE_UART0_20000000_SIZE 4096UL -#define METAL_SIFIVE_UART0_0_SIZE 4096UL - -#define METAL_SIFIVE_UART0 -#define METAL_SIFIVE_UART0_TXDATA 0UL -#define METAL_SIFIVE_UART0_RXDATA 4UL -#define METAL_SIFIVE_UART0_TXCTRL 8UL -#define METAL_SIFIVE_UART0_RXCTRL 12UL -#define METAL_SIFIVE_UART0_IE 16UL -#define METAL_SIFIVE_UART0_IP 20UL -#define METAL_SIFIVE_UART0_DIV 24UL - -#endif /* COREIP_E20_ARTY__METAL_PLATFORM_H*/ -- cgit v1.2.1-18-gbd029