-- BeagleBone I/O Resource Definitions -- Copyright (C)2018-2023, Philip Munts dba Munts Technologies. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributions of source code must retain the above copyright notice, -- this list of conditions and the following disclaimer. -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -- POSSIBILITY OF SUCH DAMAGE. -- Refer to http://git.munts.com/muntsos/doc/BeagleBonePinout.pdf WITH Device; PACKAGE BeagleBone IS AIN0 : CONSTANT Device.Designator := (0, 0); -- P9.39 1.8V AIN1 : CONSTANT Device.Designator := (0, 1); -- P9.40 1.8V AIN2 : CONSTANT Device.Designator := (0, 2); -- P9.37 1.8V AIN3 : CONSTANT Device.Designator := (0, 3); -- P9.38 1.8V AIN4 : CONSTANT Device.Designator := (0, 4); -- P9.33 1.8V AIN5 : CONSTANT Device.Designator := (0, 5); -- P9.36 1.8V AIN6 : CONSTANT Device.Designator := (0, 6); -- P9.35 1.8V GPIO2 : CONSTANT Device.Designator := (0, 2); -- P9.22 SPI0 SCK UART2 RXD EHRPWM0B GPIO3 : CONSTANT Device.Designator := (0, 3); -- P9.21 SPI0 MISO UART2 TXD GPIO4 : CONSTANT Device.Designator := (0, 4); -- P9.18 SPI0 MOSI GPIO5 : CONSTANT Device.Designator := (0, 5); -- P9.17 SPI0 SS0 GPIO7 : CONSTANT Device.Designator := (0, 7); -- P9.42 SPI1 SS1 GPIO8 : CONSTANT Device.Designator := (0, 8); -- P8.35 GPIO9 : CONSTANT Device.Designator := (0, 9); -- P8.33 GPIO10 : CONSTANT Device.Designator := (0, 10); -- P8.31 GPIO11 : CONSTANT Device.Designator := (0, 11); -- P8.32 GPIO12 : CONSTANT Device.Designator := (0, 12); -- P9.20 I2C2 SDA GPIO13 : CONSTANT Device.Designator := (0, 13); -- P9.19 I2C2 SCL GPIO14 : CONSTANT Device.Designator := (0, 14); -- P9.26 UART1 RXD GPIO15 : CONSTANT Device.Designator := (0, 15); -- P9.24 UART1 TXD GPIO20 : CONSTANT Device.Designator := (0, 20); -- P9.41 GPIO22 : CONSTANT Device.Designator := (0, 22); -- P8.19 EHRPWM2A GPIO23 : CONSTANT Device.Designator := (0, 23); -- P8.13 EHRPWM2B GPIO26 : CONSTANT Device.Designator := (0, 26); -- P8.14 GPIO27 : CONSTANT Device.Designator := (0, 27); -- P8.17 GPIO30 : CONSTANT Device.Designator := (0, 30); -- P9.11 UART4 RXD GPIO31 : CONSTANT Device.Designator := (0, 31); -- P9.13 UART4 TXD GPIO32 : CONSTANT Device.Designator := (1, 0); -- P8.25 MMC1 DAT0 GPIO33 : CONSTANT Device.Designator := (1, 1); -- P8.24 MMC1 DAT1 GPIO34 : CONSTANT Device.Designator := (1, 2); -- P8.5 MMC1 DAT2 GPIO35 : CONSTANT Device.Designator := (1, 3); -- P8.6 MMC1 DAT3 GPIO36 : CONSTANT Device.Designator := (1, 4); -- P8.23 MMC1 DAT4 GPIO37 : CONSTANT Device.Designator := (1, 5); -- P8.22 MMC1 DAT5 GPIO38 : CONSTANT Device.Designator := (1, 6); -- P8.3 MMC1 DAT6 GPIO39 : CONSTANT Device.Designator := (1, 7); -- P8.4 MMC1 DAT7 GPIO44 : CONSTANT Device.Designator := (1, 12); -- P8.12 GPIO45 : CONSTANT Device.Designator := (1, 13); -- P8.11 GPIO46 : CONSTANT Device.Designator := (1, 14); -- P8.16 GPIO47 : CONSTANT Device.Designator := (1, 15); -- P8.15 GPIO48 : CONSTANT Device.Designator := (1, 16); -- P9.15 GPIO49 : CONSTANT Device.Designator := (1, 17); -- P9.23 GPIO50 : CONSTANT Device.Designator := (1, 18); -- P9.14 EHRPWM1A GPIO51 : CONSTANT Device.Designator := (1, 19); -- P9.16 EHRPWM1B GPIO60 : CONSTANT Device.Designator := (1, 28); -- P9.12 GPIO61 : CONSTANT Device.Designator := (1, 29); -- P8.26 GPIO62 : CONSTANT Device.Designator := (1, 30); -- P8.21 MMC1 CLK GPIO63 : CONSTANT Device.Designator := (1, 31); -- P8.20 MMC1 CMD GPIO65 : CONSTANT Device.Designator := (2, 1); -- P8.18 GPIO66 : CONSTANT Device.Designator := (2, 2); -- P8.7 GPIO67 : CONSTANT Device.Designator := (2, 3); -- P8.8 GPIO68 : CONSTANT Device.Designator := (2, 4); -- P8.10 GPIO69 : CONSTANT Device.Designator := (2, 5); -- P8.9 GPIO70 : CONSTANT Device.Designator := (2, 6); -- P8.45 EHRPWM2A GPIO71 : CONSTANT Device.Designator := (2, 7); -- P8.46 EHRPWM2B GPIO72 : CONSTANT Device.Designator := (2, 8); -- P8.43 GPIO73 : CONSTANT Device.Designator := (2, 9); -- P8.44 GPIO74 : CONSTANT Device.Designator := (2, 10); -- P8.41 GPIO75 : CONSTANT Device.Designator := (2, 11); -- P8.42 GPIO76 : CONSTANT Device.Designator := (2, 12); -- P8.39 GPIO77 : CONSTANT Device.Designator := (2, 13); -- P8.40 GPIO78 : CONSTANT Device.Designator := (2, 14); -- P8.37 UART5 TXD GPIO79 : CONSTANT Device.Designator := (2, 15); -- P8.38 UART5 RXD GPIO80 : CONSTANT Device.Designator := (2, 16); -- P8.36 EHRPWM1A GPIO81 : CONSTANT Device.Designator := (2, 17); -- P8.34 EHRPWM1B GPIO86 : CONSTANT Device.Designator := (2, 22); -- P8.27 GPIO87 : CONSTANT Device.Designator := (2, 23); -- P8.29 GPIO88 : CONSTANT Device.Designator := (2, 24); -- P8.28 GPIO89 : CONSTANT Device.Designator := (2, 25); -- P8.30 GPIO110 : CONSTANT Device.Designator := (3, 14); -- P9.31 SPI1 SCLK EHRPWM0A GPIO111 : CONSTANT Device.Designator := (3, 15); -- P9.29 SPI1 MISO GPIO112 : CONSTANT Device.Designator := (3, 16); -- P9.30 SPI1 MOSI GPIO113 : CONSTANT Device.Designator := (3, 17); -- P9.28 SPI1 SS0 GPIO115 : CONSTANT Device.Designator := (3, 19); -- P9.27 GPIO117 : CONSTANT Device.Designator := (3, 21); -- P9.25 I2C2 : CONSTANT Device.Designator := (0, 2); -- P9.19 GPIO13 and P9.20 GPIO12 EHRPWM0A : CONSTANT Device.Designator := (1, 0); -- P9.22 GPIO2 or P9.31 GPIO110 EHRPWM0B : CONSTANT Device.Designator := (1, 1); -- P9.21 GPIO3 or P9.29 GPIO111 EHRPWM1A : CONSTANT Device.Designator := (3, 0); -- P8.36 GPIO80 or P9.14 GPIO50 EHRPWM1B : CONSTANT Device.Designator := (3, 1); -- P8.34 GPIO81 or P9.16 GPIO51 EHRPWM2A : CONSTANT Device.Designator := (6, 0); -- P8.19 GPIO22 or P8.45 GPIO70 EHRPWM2B : CONSTANT Device.Designator := (6, 1); -- P8.13 GPIO23 or P8.46 GPIO71 SPI0_0 : CONSTANT Device.Designator := (0, 0); -- P9.17 GPIO5 SPI1_0 : CONSTANT Device.Designator := (1, 0); -- P9.28 GPIO113 SPI1_1 : CONSTANT Device.Designator := (1, 1); -- P9.42 GPIO7 END BeagleBone;