20 lines
400 B
C
20 lines
400 B
C
// Copyright 2023 VertorWang (@itarze)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
/* SPI */
|
|
#define SPI_DRIVER SPIDQ
|
|
#define SPI_SCK_PIN B3
|
|
#define SPI_MOSI_PIN B5
|
|
#define SPI_MISO_PIN B4
|
|
|
|
/* Flash */
|
|
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
|
|
|
|
/* RGB Driver */
|
|
#define AW20216S_CS_PIN_1 D2
|
|
#define AW20216S_CS_PIN_2 B8
|
|
#define AW20216S_EN_PIN_1 B9
|
|
#define AW20216S_EN_PIN_2 B9
|