Difference between revisions of "GPIO"

From Clockwork GameShell
Jump to navigation Jump to search
Line 133: Line 133:
  
 
=== From /sys/kernel/debug/pinctrl/300b000.pinctrl/pinmux-pins ===
 
=== From /sys/kernel/debug/pinctrl/300b000.pinctrl/pinmux-pins ===
pin (name): mux_owner gpio_owner hog?
+
 
pin 0 (PA0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin (name) mux_owner gpio_owner hog?
pin 1 (PA1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 0 (PA0) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 2 (PA2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 1 (PA1) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 3 (PA3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 2 (PA2) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 4 (PA4): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 3 (PA3) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 5 (PA5): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 4 (PA4) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 6 (PA6): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 5 (PA5) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 7 (PA7): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 6 (PA6) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 8 (PA8): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 7 (PA7) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 9 (PA9): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 8 (PA8) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 32 (PB0): 2-0010 (GPIO UNCLAIMED) function ccir group PB0
+
pin 9 (PA9) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 33 (PB1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 32 (PB0) 2-0010 (GPIO UNCLAIMED) function ccir group PB0
pin 34 (PB2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 33 (PB1) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 35 (PB3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 34 (PB2) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 36 (PB4): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 35 (PB3) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 37 (PB5): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 36 (PB4) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 38 (PB6): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 37 (PB5) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 39 (PB7): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 38 (PB6) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 40 (PB8): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 39 (PB7) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 41 (PB9): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 40 (PB8) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 42 (PB10): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 41 (PB9) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 43 (PB11): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 42 (PB10) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 44 (PB12): 508f000.i2s (GPIO UNCLAIMED) function i2s3 group PB12
+
pin 43 (PB11) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 45 (PB13): 508f000.i2s (GPIO UNCLAIMED) function i2s3 group PB13
+
pin 44 (PB12) 508f000.i2s (GPIO UNCLAIMED) function i2s3 group PB12
pin 46 (PB14): 508f000.i2s (GPIO UNCLAIMED) function i2s3 group PB14
+
pin 45 (PB13) 508f000.i2s (GPIO UNCLAIMED) function i2s3 group PB13
pin 47 (PB15): 508f000.i2s (GPIO UNCLAIMED) function i2s3 group PB15
+
pin 46 (PB14) 508f000.i2s (GPIO UNCLAIMED) function i2s3 group PB14
pin 48 (PB16): 508f000.i2s (GPIO UNCLAIMED) function i2s3 group PB16
+
pin 47 (PB15) 508f000.i2s (GPIO UNCLAIMED) function i2s3 group PB15
pin 49 (PB17): 5002c00.i2c (GPIO UNCLAIMED) function i2c3 group PB17
+
pin 48 (PB16) 508f000.i2s (GPIO UNCLAIMED) function i2s3 group PB16
pin 50 (PB18): 5002c00.i2c (GPIO UNCLAIMED) function i2c3 group PB18
+
pin 49 (PB17) 5002c00.i2c (GPIO UNCLAIMED) function i2c3 group PB17
pin 51 (PB19): ac200_clk (GPIO UNCLAIMED) function pwm1 group PB19
+
pin 50 (PB18) 5002c00.i2c (GPIO UNCLAIMED) function i2c3 group PB18
pin 52 (PB20): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 51 (PB19) ac200_clk (GPIO UNCLAIMED) function pwm1 group PB19
pin 64 (PC0): (MUX UNCLAIMED) 300b000.pinctrl:64
+
pin 52 (PB20) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 65 (PC1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 64 (PC0) (MUX UNCLAIMED) 300b000.pinctrl:64
pin 66 (PC2): (MUX UNCLAIMED) 300b000.pinctrl:66
+
pin 65 (PC1) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 67 (PC3): (MUX UNCLAIMED) 300b000.pinctrl:67
+
pin 66 (PC2) (MUX UNCLAIMED) 300b000.pinctrl:66
pin 68 (PC4): (MUX UNCLAIMED) 300b000.pinctrl:68
+
pin 67 (PC3) (MUX UNCLAIMED) 300b000.pinctrl:67
pin 69 (PC5): 1-000e (GPIO UNCLAIMED) function gpio_out group PC5
+
pin 68 (PC4) (MUX UNCLAIMED) 300b000.pinctrl:68
pin 70 (PC6): backlight@0 300b000.pinctrl:70 function gpio_out group PC6
+
pin 69 (PC5) 1-000e (GPIO UNCLAIMED) function gpio_out group PC5
pin 71 (PC7): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 70 (PC6) backlight@0 300b000.pinctrl:70 function gpio_out group PC6
pin 72 (PC8): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 71 (PC7) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 73 (PC9): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 72 (PC8) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 74 (PC10): 1-000e 300b000.pinctrl:74 function gpio_out group PC10
+
pin 73 (PC9) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 75 (PC11): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 74 (PC10) 1-000e 300b000.pinctrl:74 function gpio_out group PC10
pin 76 (PC12): (MUX UNCLAIMED) 300b000.pinctrl:76
+
pin 75 (PC11) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 77 (PC13): 1-000e 300b000.pinctrl:77 function gpio_out group PC13
+
pin 76 (PC12) (MUX UNCLAIMED) 300b000.pinctrl:76
pin 78 (PC14): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 77 (PC13) 1-000e 300b000.pinctrl:77 function gpio_out group PC13
pin 79 (PC15): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 78 (PC14) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 80 (PC16): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 79 (PC15) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 96 (PD0): panel (GPIO UNCLAIMED) function lcd0 group PD0
+
pin 80 (PC16) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 97 (PD1): panel (GPIO UNCLAIMED) function lcd0 group PD1
+
pin 96 (PD0) panel (GPIO UNCLAIMED) function lcd0 group PD0
pin 98 (PD2): panel (GPIO UNCLAIMED) function lcd0 group PD2
+
pin 97 (PD1) panel (GPIO UNCLAIMED) function lcd0 group PD1
pin 99 (PD3): panel (GPIO UNCLAIMED) function lcd0 group PD3
+
pin 98 (PD2) panel (GPIO UNCLAIMED) function lcd0 group PD2
pin 100 (PD4): panel (GPIO UNCLAIMED) function lcd0 group PD4
+
pin 99 (PD3) panel (GPIO UNCLAIMED) function lcd0 group PD3
pin 101 (PD5): panel (GPIO UNCLAIMED) function lcd0 group PD5
+
pin 100 (PD4) panel (GPIO UNCLAIMED) function lcd0 group PD4
pin 102 (PD6): panel (GPIO UNCLAIMED) function lcd0 group PD6
+
pin 101 (PD5) panel (GPIO UNCLAIMED) function lcd0 group PD5
pin 103 (PD7): panel (GPIO UNCLAIMED) function lcd0 group PD7
+
pin 102 (PD6) panel (GPIO UNCLAIMED) function lcd0 group PD6
pin 104 (PD8): panel (GPIO UNCLAIMED) function lcd0 group PD8
+
pin 103 (PD7) panel (GPIO UNCLAIMED) function lcd0 group PD7
pin 105 (PD9): panel (GPIO UNCLAIMED) function lcd0 group PD9
+
pin 104 (PD8) panel (GPIO UNCLAIMED) function lcd0 group PD8
pin 106 (PD10): panel (GPIO UNCLAIMED) function lcd0 group PD10
+
pin 105 (PD9) panel (GPIO UNCLAIMED) function lcd0 group PD9
pin 107 (PD11): panel (GPIO UNCLAIMED) function lcd0 group PD11
+
pin 106 (PD10) panel (GPIO UNCLAIMED) function lcd0 group PD10
pin 108 (PD12): panel (GPIO UNCLAIMED) function lcd0 group PD12
+
pin 107 (PD11) panel (GPIO UNCLAIMED) function lcd0 group PD11
pin 109 (PD13): panel (GPIO UNCLAIMED) function lcd0 group PD13
+
pin 108 (PD12) panel (GPIO UNCLAIMED) function lcd0 group PD12
pin 110 (PD14): panel (GPIO UNCLAIMED) function lcd0 group PD14
+
pin 109 (PD13) panel (GPIO UNCLAIMED) function lcd0 group PD13
pin 111 (PD15): panel (GPIO UNCLAIMED) function lcd0 group PD15
+
pin 110 (PD14) panel (GPIO UNCLAIMED) function lcd0 group PD14
pin 112 (PD16): panel (GPIO UNCLAIMED) function lcd0 group PD16
+
pin 111 (PD15) panel (GPIO UNCLAIMED) function lcd0 group PD15
pin 113 (PD17): panel (GPIO UNCLAIMED) function lcd0 group PD17
+
pin 112 (PD16) panel (GPIO UNCLAIMED) function lcd0 group PD16
pin 114 (PD18): panel (GPIO UNCLAIMED) function lcd0 group PD18
+
pin 113 (PD17) panel (GPIO UNCLAIMED) function lcd0 group PD17
pin 115 (PD19): panel (GPIO UNCLAIMED) function lcd0 group PD19
+
pin 114 (PD18) panel (GPIO UNCLAIMED) function lcd0 group PD18
pin 116 (PD20): panel (GPIO UNCLAIMED) function lcd0 group PD20
+
pin 115 (PD19) panel (GPIO UNCLAIMED) function lcd0 group PD19
pin 117 (PD21): panel (GPIO UNCLAIMED) function lcd0 group PD21
+
pin 116 (PD20) panel (GPIO UNCLAIMED) function lcd0 group PD20
pin 118 (PD22): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 117 (PD21) panel (GPIO UNCLAIMED) function lcd0 group PD21
pin 119 (PD23): 5002800.i2c (GPIO UNCLAIMED) function i2c2 group PD23
+
pin 118 (PD22) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 120 (PD24): 5002800.i2c (GPIO UNCLAIMED) function i2c2 group PD24
+
pin 119 (PD23) 5002800.i2c (GPIO UNCLAIMED) function i2c2 group PD23
pin 121 (PD25): 5002000.i2c (GPIO UNCLAIMED) function i2c0 group PD25
+
pin 120 (PD24) 5002800.i2c (GPIO UNCLAIMED) function i2c2 group PD24
pin 122 (PD26): 5002000.i2c (GPIO UNCLAIMED) function i2c0 group PD26
+
pin 121 (PD25) 5002000.i2c (GPIO UNCLAIMED) function i2c0 group PD25
pin 160 (PF0): 4020000.mmc (GPIO UNCLAIMED) function mmc0 group PF0
+
pin 122 (PD26) 5002000.i2c (GPIO UNCLAIMED) function i2c0 group PD26
pin 161 (PF1): 4020000.mmc (GPIO UNCLAIMED) function mmc0 group PF1
+
pin 160 (PF0) 4020000.mmc (GPIO UNCLAIMED) function mmc0 group PF0
pin 162 (PF2): 4020000.mmc (GPIO UNCLAIMED) function mmc0 group PF2
+
pin 161 (PF1) 4020000.mmc (GPIO UNCLAIMED) function mmc0 group PF1
pin 163 (PF3): 4020000.mmc (GPIO UNCLAIMED) function mmc0 group PF3
+
pin 162 (PF2) 4020000.mmc (GPIO UNCLAIMED) function mmc0 group PF2
pin 164 (PF4): 4020000.mmc (GPIO UNCLAIMED) function mmc0 group PF4
+
pin 163 (PF3) 4020000.mmc (GPIO UNCLAIMED) function mmc0 group PF3
pin 165 (PF5): 4020000.mmc (GPIO UNCLAIMED) function mmc0 group PF5
+
pin 164 (PF4) 4020000.mmc (GPIO UNCLAIMED) function mmc0 group PF4
pin 166 (PF6): (MUX UNCLAIMED) 300b000.pinctrl:166
+
pin 165 (PF5) 4020000.mmc (GPIO UNCLAIMED) function mmc0 group PF5
pin 192 (PG0): 4021000.mmc (GPIO UNCLAIMED) function mmc1 group PG0
+
pin 166 (PF6) (MUX UNCLAIMED) 300b000.pinctrl:166
pin 193 (PG1): 4021000.mmc (GPIO UNCLAIMED) function mmc1 group PG1
+
pin 192 (PG0) 4021000.mmc (GPIO UNCLAIMED) function mmc1 group PG0
pin 194 (PG2): 4021000.mmc (GPIO UNCLAIMED) function mmc1 group PG2
+
pin 193 (PG1) 4021000.mmc (GPIO UNCLAIMED) function mmc1 group PG1
pin 195 (PG3): 4021000.mmc (GPIO UNCLAIMED) function mmc1 group PG3
+
pin 194 (PG2) 4021000.mmc (GPIO UNCLAIMED) function mmc1 group PG2
pin 196 (PG4): 4021000.mmc (GPIO UNCLAIMED) function mmc1 group PG4
+
pin 195 (PG3) 4021000.mmc (GPIO UNCLAIMED) function mmc1 group PG3
pin 197 (PG5): 4021000.mmc (GPIO UNCLAIMED) function mmc1 group PG5
+
pin 196 (PG4) 4021000.mmc (GPIO UNCLAIMED) function mmc1 group PG4
pin 198 (PG6): 5000400.serial (GPIO UNCLAIMED) function uart1 group PG6
+
pin 197 (PG5) 4021000.mmc (GPIO UNCLAIMED) function mmc1 group PG5
pin 199 (PG7): 5000400.serial (GPIO UNCLAIMED) function uart1 group PG7
+
pin 198 (PG6) 5000400.serial (GPIO UNCLAIMED) function uart1 group PG6
pin 200 (PG8): 5000400.serial (GPIO UNCLAIMED) function uart1 group PG8
+
pin 199 (PG7) 5000400.serial (GPIO UNCLAIMED) function uart1 group PG7
pin 201 (PG9): 5000400.serial (GPIO UNCLAIMED) function uart1 group PG9
+
pin 200 (PG8) 5000400.serial (GPIO UNCLAIMED) function uart1 group PG8
pin 202 (PG10): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 201 (PG9) 5000400.serial (GPIO UNCLAIMED) function uart1 group PG9
pin 203 (PG11): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 202 (PG10) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 204 (PG12): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 203 (PG11) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 205 (PG13): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 204 (PG12) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 206 (PG14): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 205 (PG13) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 224 (PH0): 5000000.serial (GPIO UNCLAIMED) function uart0 group PH0
+
pin 206 (PG14) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 225 (PH1): 5000000.serial (GPIO UNCLAIMED) function uart0 group PH1
+
pin 224 (PH0) 5000000.serial (GPIO UNCLAIMED) function uart0 group PH0
pin 226 (PH2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 225 (PH1) 5000000.serial (GPIO UNCLAIMED) function uart0 group PH1
pin 227 (PH3): 5011000.spi (GPIO UNCLAIMED) function spi1 group PH3
+
pin 226 (PH2) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 228 (PH4): 5011000.spi (GPIO UNCLAIMED) function spi1 group PH4
+
pin 227 (PH3) 5011000.spi (GPIO UNCLAIMED) function spi1 group PH3
pin 229 (PH5): 5011000.spi (GPIO UNCLAIMED) function spi1 group PH5
+
pin 228 (PH4) 5011000.spi (GPIO UNCLAIMED) function spi1 group PH4
pin 230 (PH6): 5011000.spi (GPIO UNCLAIMED) function spi1 group PH6
+
pin 229 (PH5) 5011000.spi (GPIO UNCLAIMED) function spi1 group PH5
pin 231 (PH7): (MUX UNCLAIMED) (GPIO UNCLAIMED)
+
pin 230 (PH6) 5011000.spi (GPIO UNCLAIMED) function spi1 group PH6
pin 232 (PH8): 6000000.hdmi (GPIO UNCLAIMED) function hdmi group PH8
+
pin 231 (PH7) (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 233 (PH9): 6000000.hdmi (GPIO UNCLAIMED) function hdmi group PH9
+
pin 232 (PH8) 6000000.hdmi (GPIO UNCLAIMED) function hdmi group PH8
pin 234 (PH10): 6000000.hdmi (GPIO UNCLAIMED) function hdmi group PH10
+
pin 233 (PH9) 6000000.hdmi (GPIO UNCLAIMED) function hdmi group PH9
 +
pin 234 (PH10) 6000000.hdmi (GPIO UNCLAIMED) function hdmi group PH10

Revision as of 22:09, 8 January 2022

GPIO

A04

Raw output from `gpio readall`:

+-----+------+------+------+---+-----+------+------+------+---+
| BCM | GPIO | Name | Mode | V | BCM | GPIO | Name | Mode | V |
+-----+------+------+------+---+-----+------+------+------+---+
|   0 |   58 | PD26 | ALT2 | 0 |  23 |  129 | PG1  | ALT2 | 0 |
|   1 |   57 | PD25 | ALT2 | 0 |  24 |  130 | PG2  | ALT2 | 0 |
|   2 |  167 | PH7  | ALT6 | 1 |  25 |  131 | PG3  | ALT2 | 0 |
|   3 |    0 | PC0  |  OUT | 1 |  26 |  132 | PG4  | ALT2 | 0 |
|   4 |    1 | PC1  |  OFF | 0 |  27 |  133 | PG5  | ALT2 | 0 |
|   5 |    2 | PC2  |  OUT | 1 |  28 |    9 | PC9  |  OUT | 0 |
|   6 |    3 | PC3  |   IN | 1 |  29 |  201 | PL9  |  OUT | 0 |
|   7 |    4 | PC4  |  OUT | 1 |  30 |  196 | PL4  |  OUT | 0 |
|   8 |    5 | PC5  |  OUT | 0 |  31 |  199 | PL7  |  OUT | 0 |
|   9 |    6 | PC6  |  OUT | 1 |  32 |  161 | PH1  | ALT2 | 0 |
|  10 |    7 | PC7  |   IN | 0 |  33 |  160 | PH0  | ALT2 | 0 |
|  11 |    8 | PC8  |  OUT | 1 |  34 |  227 | PM3  |   IN | 1 |
|  12 |   15 | PC15 |  OFF | 0 |  35 |  198 | PL6  |   IN | 1 |
|  13 |   54 | PD22 |  OFF | 0 |  36 |  163 | PH3  |  OUT | 1 |
|  14 |  134 | PG6  | ALT2 | 0 |  37 |  166 | PH6  |  OUT | 0 |
|  15 |  135 | PG7  | ALT2 | 0 |  38 |  165 | PH5  | ALT2 | 0 |
|  16 |  137 | PG9  | ALT2 | 0 |  39 |  164 | PH4  | ALT2 | 0 |
|  17 |  136 | PG8  | ALT2 | 0 |  40 |  228 | PM4  |  OUT | 0 |
|  18 |  139 | PG11 |  OFF | 0 |  41 |  224 | PM0  |  OUT | 0 |
|  19 |  138 | PG10 |  OFF | 0 |  42 |  225 | PM1  |  OFF | 0 |
|  20 |  141 | PG13 |  OFF | 0 |  43 |  226 | PM2  |  OFF | 0 |
|  21 |  140 | PG12 |  OFF | 0 |  44 |   56 | PD24 | ALT2 | 0 |
|  22 |  128 | PG0  | ALT2 | 0 |  45 |   55 | PD23 | ALT2 | 0 |
+-----+------+------+------+---+-----+------+------+------+---+
| BCM | GPIO | Name | Mode | V | BCM | GPIO | Name | Mode | V |
+-----+------+------+------+---+-----+------+------+------+---+

Details

wiringpi# GPIO (?) Name Mode Value Description
0 58 PD26 ALT2 0
1 57 PD25 ALT2 0
2 167 PH7 ALT6 1
3 0 PC0 OUT 1
4 1 PC1 OFF 0
5 2 PC2 OUT 1
6 3 PC3 IN 1
7 4 PC4 OUT 1
8 5 PC5 OUT 0
9 6 PC6 OUT 1
10 7 PC7 IN 0 1 if headphone is plugged in, 0 if not
11 8 PC8 OUT 1 write 1 to enable speaker, 0 to disable
12 15 PC15 OFF 0
13 54 PD22 OFF 0
14 134 PG6 ALT2 0
15 135 PG7 ALT2 0
16 137 PG9 ALT2 0
17 136 PG8 ALT2 0
18 139 PG11 OFF 0
19 138 PG10 OFF 0
20 141 PG13 OFF 0
21 140 PG12 OFF 0
22 128 PG0 ALT2 0
23 129 PG1 ALT2 0
24 130 PG2 ALT2 0
25 131 PG3 ALT2 0
26 132 PG4 ALT2 0
27 133 PG5 ALT2 0
28 9 PC9 OUT 0
29 201 PL9 OUT 0
30 196 PL4 OUT 0
31 199 PL7 OUT 0
32 161 PH1 ALT2 0
33 160 PH0 ALT2 0
34 227 PM3 IN 1
35 198 PL6 IN 1
36 163 PH3 OUT 1
37 166 PH6 OUT 0
38 165 PH5 ALT2 0
39 164 PH4 ALT2 0
40 228 PM4 OUT 0
41 224 PM0 OUT 0 write 1 to start fan, 0 to stop
42 225 PM1 OFF 0
43 226 PM2 OFF 0
44 56 PD24 ALT2 0
45 55 PD23 ALT2 0

From /sys/kernel/debug/pinctrl/300b000.pinctrl/pinmux-pins

pin (name)	mux_owner gpio_owner hog?
pin 0 (PA0)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 1 (PA1)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 2 (PA2)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 3 (PA3)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 4 (PA4)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 5 (PA5)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 6 (PA6)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 7 (PA7)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 8 (PA8)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 9 (PA9)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 32 (PB0)	2-0010 (GPIO UNCLAIMED) function ccir group PB0
pin 33 (PB1)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 34 (PB2)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 35 (PB3)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 36 (PB4)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 37 (PB5)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 38 (PB6)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 39 (PB7)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 40 (PB8)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 41 (PB9)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 42 (PB10)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 43 (PB11)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 44 (PB12)	508f000.i2s (GPIO UNCLAIMED) function i2s3 group PB12
pin 45 (PB13)	508f000.i2s (GPIO UNCLAIMED) function i2s3 group PB13
pin 46 (PB14)	508f000.i2s (GPIO UNCLAIMED) function i2s3 group PB14
pin 47 (PB15)	508f000.i2s (GPIO UNCLAIMED) function i2s3 group PB15
pin 48 (PB16)	508f000.i2s (GPIO UNCLAIMED) function i2s3 group PB16
pin 49 (PB17)	5002c00.i2c (GPIO UNCLAIMED) function i2c3 group PB17
pin 50 (PB18)	5002c00.i2c (GPIO UNCLAIMED) function i2c3 group PB18
pin 51 (PB19)	ac200_clk (GPIO UNCLAIMED) function pwm1 group PB19
pin 52 (PB20)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 64 (PC0)	(MUX UNCLAIMED) 300b000.pinctrl:64
pin 65 (PC1)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 66 (PC2)	(MUX UNCLAIMED) 300b000.pinctrl:66
pin 67 (PC3)	(MUX UNCLAIMED) 300b000.pinctrl:67
pin 68 (PC4)	(MUX UNCLAIMED) 300b000.pinctrl:68
pin 69 (PC5)	1-000e (GPIO UNCLAIMED) function gpio_out group PC5
pin 70 (PC6)	backlight@0 300b000.pinctrl:70 function gpio_out group PC6
pin 71 (PC7)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 72 (PC8)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 73 (PC9)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 74 (PC10)	1-000e 300b000.pinctrl:74 function gpio_out group PC10
pin 75 (PC11)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 76 (PC12)	(MUX UNCLAIMED) 300b000.pinctrl:76
pin 77 (PC13)	1-000e 300b000.pinctrl:77 function gpio_out group PC13
pin 78 (PC14)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 79 (PC15)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 80 (PC16)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 96 (PD0)	panel (GPIO UNCLAIMED) function lcd0 group PD0
pin 97 (PD1)	panel (GPIO UNCLAIMED) function lcd0 group PD1
pin 98 (PD2)	panel (GPIO UNCLAIMED) function lcd0 group PD2
pin 99 (PD3)	panel (GPIO UNCLAIMED) function lcd0 group PD3
pin 100 (PD4)	panel (GPIO UNCLAIMED) function lcd0 group PD4
pin 101 (PD5)	panel (GPIO UNCLAIMED) function lcd0 group PD5
pin 102 (PD6)	panel (GPIO UNCLAIMED) function lcd0 group PD6
pin 103 (PD7)	panel (GPIO UNCLAIMED) function lcd0 group PD7
pin 104 (PD8)	panel (GPIO UNCLAIMED) function lcd0 group PD8
pin 105 (PD9)	panel (GPIO UNCLAIMED) function lcd0 group PD9
pin 106 (PD10)	panel (GPIO UNCLAIMED) function lcd0 group PD10
pin 107 (PD11)	panel (GPIO UNCLAIMED) function lcd0 group PD11
pin 108 (PD12)	panel (GPIO UNCLAIMED) function lcd0 group PD12
pin 109 (PD13)	panel (GPIO UNCLAIMED) function lcd0 group PD13
pin 110 (PD14)	panel (GPIO UNCLAIMED) function lcd0 group PD14
pin 111 (PD15)	panel (GPIO UNCLAIMED) function lcd0 group PD15
pin 112 (PD16)	panel (GPIO UNCLAIMED) function lcd0 group PD16
pin 113 (PD17)	panel (GPIO UNCLAIMED) function lcd0 group PD17
pin 114 (PD18)	panel (GPIO UNCLAIMED) function lcd0 group PD18
pin 115 (PD19)	panel (GPIO UNCLAIMED) function lcd0 group PD19
pin 116 (PD20)	panel (GPIO UNCLAIMED) function lcd0 group PD20
pin 117 (PD21)	panel (GPIO UNCLAIMED) function lcd0 group PD21
pin 118 (PD22)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 119 (PD23)	5002800.i2c (GPIO UNCLAIMED) function i2c2 group PD23
pin 120 (PD24)	5002800.i2c (GPIO UNCLAIMED) function i2c2 group PD24
pin 121 (PD25)	5002000.i2c (GPIO UNCLAIMED) function i2c0 group PD25
pin 122 (PD26)	5002000.i2c (GPIO UNCLAIMED) function i2c0 group PD26
pin 160 (PF0)	4020000.mmc (GPIO UNCLAIMED) function mmc0 group PF0
pin 161 (PF1)	4020000.mmc (GPIO UNCLAIMED) function mmc0 group PF1
pin 162 (PF2)	4020000.mmc (GPIO UNCLAIMED) function mmc0 group PF2
pin 163 (PF3)	4020000.mmc (GPIO UNCLAIMED) function mmc0 group PF3
pin 164 (PF4)	4020000.mmc (GPIO UNCLAIMED) function mmc0 group PF4
pin 165 (PF5)	4020000.mmc (GPIO UNCLAIMED) function mmc0 group PF5
pin 166 (PF6)	(MUX UNCLAIMED) 300b000.pinctrl:166
pin 192 (PG0)	4021000.mmc (GPIO UNCLAIMED) function mmc1 group PG0
pin 193 (PG1)	4021000.mmc (GPIO UNCLAIMED) function mmc1 group PG1
pin 194 (PG2)	4021000.mmc (GPIO UNCLAIMED) function mmc1 group PG2
pin 195 (PG3)	4021000.mmc (GPIO UNCLAIMED) function mmc1 group PG3
pin 196 (PG4)	4021000.mmc (GPIO UNCLAIMED) function mmc1 group PG4
pin 197 (PG5)	4021000.mmc (GPIO UNCLAIMED) function mmc1 group PG5
pin 198 (PG6)	5000400.serial (GPIO UNCLAIMED) function uart1 group PG6
pin 199 (PG7)	5000400.serial (GPIO UNCLAIMED) function uart1 group PG7
pin 200 (PG8)	5000400.serial (GPIO UNCLAIMED) function uart1 group PG8
pin 201 (PG9)	5000400.serial (GPIO UNCLAIMED) function uart1 group PG9
pin 202 (PG10)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 203 (PG11)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 204 (PG12)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 205 (PG13)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 206 (PG14)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 224 (PH0)	5000000.serial (GPIO UNCLAIMED) function uart0 group PH0
pin 225 (PH1)	5000000.serial (GPIO UNCLAIMED) function uart0 group PH1
pin 226 (PH2)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 227 (PH3)	5011000.spi (GPIO UNCLAIMED) function spi1 group PH3
pin 228 (PH4)	5011000.spi (GPIO UNCLAIMED) function spi1 group PH4
pin 229 (PH5)	5011000.spi (GPIO UNCLAIMED) function spi1 group PH5
pin 230 (PH6)	5011000.spi (GPIO UNCLAIMED) function spi1 group PH6
pin 231 (PH7)	(MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 232 (PH8)	6000000.hdmi (GPIO UNCLAIMED) function hdmi group PH8
pin 233 (PH9)	6000000.hdmi (GPIO UNCLAIMED) function hdmi group PH9
pin 234 (PH10)	6000000.hdmi (GPIO UNCLAIMED) function hdmi group PH10