# SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
#
# SPDX-License-Identifier: MIT
"""Pin definitions for the Walnut Pi 1b ."""

from adafruit_blinka.microcontroller.allwinner.h616 import pin

PI8 = pin.PI8
SDA1 = pin.PI8
PI7 = pin.PI7
SCL1 = pin.PI7
PC8 = pin.PC8
PC9 = pin.PC9
PC11 = pin.PC11
PI11 = pin.PI11
PH6 = pin.PH6
SCLK = pin.PH6
PH7 = pin.PH7
MOSI = pin.PH7
PH8 = pin.PH8
MISO = pin.PH8
PI10 = pin.PI10
SDA2 = pin.PI10
PI0 = pin.PI0
PI1 = pin.PI1
PI2 = pin.PI2
PI3 = pin.PI3
PI4 = pin.PI4

PI5 = pin.PI5
TX2 = pin.PI5
PI6 = pin.PI6
RX2 = pin.PI6
PC10 = pin.PC10
PI12 = pin.PI12
PC14 = pin.PC14
PC15 = pin.PC15
PH5 = pin.PH5
CS0 = pin.PH5
PH9 = pin.PH9
CS1 = pin.PH9
PI9 = pin.PI9
SCL2 = pin.PI9
PI16 = pin.PI16
PI15 = pin.PI15
PI13 = pin.PI13
TX4 = pin.PI13
PI14 = pin.PI14
RX4 = pin.PI14

KEY = pin.PC12
LED = pin.PC13
