/*
 * SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef _SOC_SPI_PINS_H_
#define _SOC_SPI_PINS_H_

#define SPI_FUNC_NUM            0
#define SPI_IOMUX_PIN_NUM_HD    18
#define SPI_IOMUX_PIN_NUM_CS    15
#define SPI_IOMUX_PIN_NUM_MOSI  20
#define SPI_IOMUX_PIN_NUM_CLK   19
#define SPI_IOMUX_PIN_NUM_MISO  16
#define SPI_IOMUX_PIN_NUM_WP    17

#define SPI2_FUNC_NUM           2
#define SPI2_IOMUX_PIN_NUM_MISO 0
#define SPI2_IOMUX_PIN_NUM_HD   3
#define SPI2_IOMUX_PIN_NUM_WP   2
#define SPI2_IOMUX_PIN_NUM_CLK  4
#define SPI2_IOMUX_PIN_NUM_MOSI 5
#define SPI2_IOMUX_PIN_NUM_CS   1

#endif
