]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Create pin.py
authortwa127 <46624596+twa127@users.noreply.github.com>
Sun, 7 Feb 2021 17:29:06 +0000 (17:29 +0000)
committerGitHub <noreply@github.com>
Sun, 7 Feb 2021 17:29:06 +0000 (17:29 +0000)
src/adafruit_blinka/microcontroller/allwinner/h616/pin.py [new file with mode: 0644]

diff --git a/src/adafruit_blinka/microcontroller/allwinner/h616/pin.py b/src/adafruit_blinka/microcontroller/allwinner/h616/pin.py
new file mode 100644 (file)
index 0000000..4858cba
--- /dev/null
@@ -0,0 +1,27 @@
+"""Allwinner H616 Pin Names"""
+from adafruit_blinka.microcontroller.generic_linux.libgpiod_pin import Pin
+
+PC5  = Pin((1, 69))
+PC6  = Pin((1, 70))
+PC7 = Pin((1, 71))
+PC8 = Pin((1, 72))
+PC9 = Pin((1, 73))
+PC10 = Pin((1, 74))
+PC11 = Pin((1, 75))
+PC14 = Pin((1, 78))
+PC15 = Pin((1, 79))
+
+PG10 = Pin((1, 202))
+PG11 = Pin((1, 203))
+PG12 = Pin((1, 204))
+PG13 = Pin((1, 205))
+PG14 = Pin((1, 206))
+
+PH2 = Pin((1, 226))
+PH3 = Pin((1, 227))
+PH4 = Pin((1, 228))
+PH5 = Pin((1, 229))
+PH6 = Pin((1, 230))
+PH7 = Pin((1, 231))
+PH8 = Pin((1, 232))
+PH9 = Pin((1, 233))