2015-02-24 17:59:29 +08:00
|
|
|
{
|
|
|
|
"name": "Raspberry Pi GPIO Pinout",
|
|
|
|
"pins":{
|
|
|
|
"1":{
|
|
|
|
"name": "3v3 Power",
|
|
|
|
"type": "+3v3"
|
|
|
|
},
|
|
|
|
"3":{
|
|
|
|
"name": "SDA",
|
2015-03-23 03:02:36 +08:00
|
|
|
"description": "I2C Data",
|
2015-02-24 17:59:29 +08:00
|
|
|
"type": "GPIO/I2C",
|
|
|
|
"scheme": {
|
|
|
|
"wiringpi": 8,
|
|
|
|
"bcm": 2,
|
|
|
|
"bcmAlt": 0
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "SDA1",
|
|
|
|
"alt1": "SA3"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"5":{
|
|
|
|
"name": "SCL",
|
2015-03-23 03:02:36 +08:00
|
|
|
"description": "I2C Clock",
|
2015-02-24 17:59:29 +08:00
|
|
|
"type": "GPIO/I2C",
|
|
|
|
"scheme": {
|
|
|
|
"wiringpi": 9,
|
|
|
|
"bcm": 3,
|
|
|
|
"bcmAlt": 1
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "SCL1",
|
|
|
|
"alt1": "SA2"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"7":{
|
|
|
|
"name": "GPCLK0",
|
|
|
|
"type": "GPIO",
|
|
|
|
"scheme": {
|
|
|
|
"wiringpi": 7,
|
|
|
|
"bcm": 4
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "GPCLK0",
|
|
|
|
"alt1": "SA1",
|
|
|
|
"alt5": "ARM_TDI"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"9":{
|
|
|
|
"name": "Ground",
|
|
|
|
"type": "GND"
|
|
|
|
},
|
|
|
|
"11":{
|
|
|
|
"name": "",
|
|
|
|
"type": "GPIO",
|
|
|
|
"scheme": {
|
|
|
|
"wiringpi": 0,
|
|
|
|
"bcm": 17
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "Reserved",
|
|
|
|
"alt1": "SD9",
|
|
|
|
"alt2": "Reserved",
|
|
|
|
"alt3": "RTS0",
|
|
|
|
"alt4": "SPI1_CE1_N",
|
|
|
|
"alt5": "RTS1"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"13":{
|
|
|
|
"name": "PCM_D",
|
|
|
|
"type": "GPIO",
|
|
|
|
"scheme": {
|
|
|
|
"wiringpi": 2,
|
|
|
|
"bcm": 27,
|
|
|
|
"bcmAlt": 21
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "Reserved",
|
|
|
|
"alt1": "Reserved",
|
|
|
|
"alt2": "Reserved",
|
|
|
|
"alt3": "SD1_DAT3",
|
|
|
|
"alt4": "ARM_TMS"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"15":{
|
|
|
|
"name": "",
|
|
|
|
"type": "GPIO",
|
|
|
|
"scheme": {
|
|
|
|
"wiringpi": 3,
|
|
|
|
"bcm": 22
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "Reserved",
|
|
|
|
"alt1": "SD14",
|
|
|
|
"alt2": "Reserved",
|
|
|
|
"alt3": "SD1_CLK",
|
|
|
|
"alt4": "ARM_TRST"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"17":{
|
|
|
|
"name": "3v3 Power",
|
|
|
|
"type": "+3v3"
|
|
|
|
},
|
|
|
|
"19":{
|
|
|
|
"name": "MOSI",
|
|
|
|
"type": "GPIO/SPI",
|
|
|
|
"scheme": {
|
|
|
|
"wiringpi": 12,
|
|
|
|
"bcm": 10
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "SPI0_MOSI",
|
|
|
|
"alt1": "SD2",
|
|
|
|
"alt2": "Reserved"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"21":{
|
|
|
|
"name": "MISO",
|
|
|
|
"type": "GPIO/SPI",
|
|
|
|
"scheme": {
|
|
|
|
"wiringpi": 13,
|
|
|
|
"bcm": 9
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "SPI0_MISO",
|
|
|
|
"alt1": "SD1",
|
|
|
|
"alt2": "Reserved"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"23":{
|
|
|
|
"name": "SCKL",
|
|
|
|
"type": "GPIO/SPI",
|
|
|
|
"scheme": {
|
|
|
|
"wiringpi": 14,
|
|
|
|
"bcm": 11
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "SPI0_SCLK",
|
|
|
|
"alt1": "SD3",
|
|
|
|
"alt2": "Reserved"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"25":{
|
|
|
|
"name": "Ground",
|
|
|
|
"type": "GND"
|
|
|
|
},
|
|
|
|
"27":{
|
|
|
|
"name": "ID_SD",
|
2015-03-23 03:02:36 +08:00
|
|
|
"description": "HAT EEPROM i2c Data",
|
2015-03-24 03:25:53 +08:00
|
|
|
"type": "GPIO/I2C",
|
|
|
|
"scheme": {
|
|
|
|
"wiringpi": 30,
|
|
|
|
"bcm": 0
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "SDA0",
|
|
|
|
"alt1": "SA5",
|
|
|
|
"alt2": "Reserved"
|
2015-03-24 03:25:53 +08:00
|
|
|
}
|
2015-02-24 17:59:29 +08:00
|
|
|
},
|
|
|
|
"29":{
|
|
|
|
"name": "",
|
|
|
|
"type": "GPIO",
|
|
|
|
"scheme": {
|
2015-03-23 03:02:36 +08:00
|
|
|
"wiringpi": 21,
|
2015-02-24 17:59:29 +08:00
|
|
|
"bcm": 5
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "GPCLK1",
|
|
|
|
"alt1": "SA0",
|
|
|
|
"alt2": "Reserved",
|
|
|
|
"alt5": "ARM_TDO"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"31":{
|
|
|
|
"name": "",
|
|
|
|
"type": "GPIO",
|
|
|
|
"scheme": {
|
2015-03-23 03:02:36 +08:00
|
|
|
"wiringpi": 22,
|
2015-02-24 17:59:29 +08:00
|
|
|
"bcm": 6
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "GPCLK2",
|
|
|
|
"alt1": "SOE_N / SE",
|
|
|
|
"alt2": "Reserved",
|
|
|
|
"alt5": "ARM_RTCK"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"33":{
|
|
|
|
"name": "",
|
|
|
|
"type": "GPIO",
|
|
|
|
"scheme": {
|
2015-03-23 03:02:36 +08:00
|
|
|
"wiringpi": 23,
|
2015-02-24 17:59:29 +08:00
|
|
|
"bcm": 13
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "PWM1",
|
|
|
|
"alt1": "SD5",
|
|
|
|
"alt2": "Reserved",
|
|
|
|
"alt5": "ARM_TCK"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"35":{
|
|
|
|
"name": "MISO",
|
2015-03-23 03:02:36 +08:00
|
|
|
"description": "SPI Master-In",
|
2015-02-24 17:59:29 +08:00
|
|
|
"type": "GPIO/SPI",
|
|
|
|
"scheme": {
|
2015-03-23 03:02:36 +08:00
|
|
|
"wiringpi": 24,
|
2015-02-24 17:59:29 +08:00
|
|
|
"bcm": 19
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "PCM_FS",
|
|
|
|
"alt1": "SD11",
|
|
|
|
"alt2": "Reserved",
|
|
|
|
"alt3": "BSCSL SCL / SCLK",
|
|
|
|
"alt4": "SPI1_MISO",
|
|
|
|
"alt5": "PWM1"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"37":{
|
|
|
|
"name": "",
|
|
|
|
"type": "GPIO",
|
|
|
|
"scheme": {
|
2015-03-23 03:02:36 +08:00
|
|
|
"wiringpi": 25,
|
2015-02-24 17:59:29 +08:00
|
|
|
"bcm": 26
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "Reserved",
|
|
|
|
"alt1": "Reserved",
|
|
|
|
"alt2": "Reserved",
|
|
|
|
"alt3": "SD1_DAT2",
|
|
|
|
"alt4": "ARM_TDI"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"39":{
|
|
|
|
"name": "Ground",
|
|
|
|
"type": "GND"
|
|
|
|
},
|
|
|
|
"2":{
|
|
|
|
"name": "5v Power",
|
|
|
|
"type": "+5v"
|
|
|
|
},
|
|
|
|
"4":{
|
|
|
|
"name": "5v Power",
|
|
|
|
"type": "+5v"
|
|
|
|
},
|
|
|
|
"6":{
|
|
|
|
"name": "Ground",
|
|
|
|
"type": "GND"
|
|
|
|
},
|
|
|
|
"8":{
|
|
|
|
"name": "TXD",
|
2015-03-23 03:02:36 +08:00
|
|
|
"description": "UART Transmit",
|
2015-02-24 17:59:29 +08:00
|
|
|
"type": "GPIO/UART",
|
|
|
|
"scheme": {
|
|
|
|
"wiringpi": 15,
|
|
|
|
"bcm": 14
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "TXD0",
|
|
|
|
"alt1": "SD6",
|
|
|
|
"alt2": "Reserved",
|
|
|
|
"alt5": "TXD1"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"10":{
|
|
|
|
"name": "RXD",
|
2015-03-23 03:02:36 +08:00
|
|
|
"description": "UART Receive",
|
2015-02-24 17:59:29 +08:00
|
|
|
"type": "GPIO/UART",
|
|
|
|
"scheme": {
|
|
|
|
"wiringpi": 16,
|
|
|
|
"bcm": 15
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "RXD0",
|
|
|
|
"alt1": "SD7",
|
|
|
|
"alt2": "Reserved",
|
|
|
|
"alt5": "RXD1"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"12":{
|
|
|
|
"name": "PCM_C",
|
2015-03-23 03:02:36 +08:00
|
|
|
"description": "PCM Clock",
|
2015-02-24 17:59:29 +08:00
|
|
|
"type": "GPIO",
|
|
|
|
"scheme": {
|
|
|
|
"wiringpi": 1,
|
|
|
|
"bcm": 18
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "PCM_CLK",
|
|
|
|
"alt1": "SD10",
|
|
|
|
"alt2": "Reserved",
|
|
|
|
"alt3": "BSCSL SDA / MOSI",
|
|
|
|
"alt4": "SPI1_CE0_N",
|
|
|
|
"alt5": "PWM0"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"14":{
|
|
|
|
"name": "Ground",
|
|
|
|
"type": "GND"
|
|
|
|
},
|
|
|
|
"16":{
|
|
|
|
"name": "",
|
|
|
|
"type": "GPIO",
|
|
|
|
"scheme": {
|
|
|
|
"wiringpi": 4,
|
|
|
|
"bcm": 23
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "Reserved",
|
|
|
|
"alt1": "SD15",
|
|
|
|
"alt2": "Reserved",
|
|
|
|
"alt3": "SD1_CMD",
|
|
|
|
"alt4": "ARM_RTCK"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"18":{
|
|
|
|
"name": "",
|
|
|
|
"type": "GPIO",
|
|
|
|
"scheme": {
|
|
|
|
"wiringpi": 5,
|
|
|
|
"bcm": 24
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "Reserved",
|
|
|
|
"alt1": "SD16",
|
|
|
|
"alt2": "Reserved",
|
|
|
|
"alt3": "SD1_DAT0",
|
|
|
|
"alt4": "ARM_TDO"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"20":{
|
|
|
|
"name": "Ground",
|
|
|
|
"type": "GND"
|
|
|
|
},
|
|
|
|
"22":{
|
|
|
|
"name": "",
|
|
|
|
"type": "GPIO",
|
|
|
|
"scheme": {
|
|
|
|
"wiringpi": 6,
|
|
|
|
"bcm": 25
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "Reserved",
|
|
|
|
"alt1": "SD17",
|
|
|
|
"alt2": "Reserved",
|
|
|
|
"alt3": "SD1_DAT1",
|
|
|
|
"alt4": "ARM_TCK"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"24":{
|
|
|
|
"name": "CE0",
|
2015-03-23 03:02:36 +08:00
|
|
|
"description": "SPI Chip Select 0",
|
2015-02-24 17:59:29 +08:00
|
|
|
"type": "GPIO/SPI",
|
|
|
|
"scheme": {
|
|
|
|
"wiringpi": 10,
|
|
|
|
"bcm": 8
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "SPI0_CE0_N",
|
|
|
|
"alt1": "SD0",
|
|
|
|
"alt2": "Reserved"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"26":{
|
|
|
|
"name": "CE1",
|
2015-03-23 03:02:36 +08:00
|
|
|
"description": "SPI Chip Select 1",
|
2015-02-24 17:59:29 +08:00
|
|
|
"type": "GPIO/SPI",
|
|
|
|
"scheme": {
|
|
|
|
"wiringpi": 11,
|
|
|
|
"bcm": 7
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "SPI0_CE1_N",
|
|
|
|
"alt1": "SWE_N / SRW_N",
|
|
|
|
"alt2": "Reserved"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"28":{
|
|
|
|
"name": "ID_SC",
|
2015-03-23 03:02:36 +08:00
|
|
|
"description": "HAT EEPROM i2c Clock",
|
2015-03-24 03:25:53 +08:00
|
|
|
"type": "GPIO/I2C",
|
|
|
|
"scheme": {
|
|
|
|
"wiringpi": 31,
|
|
|
|
"bcm": 1
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "SCL0",
|
|
|
|
"alt1": "SA4",
|
|
|
|
"alt2": "Reserved"
|
2015-03-24 03:25:53 +08:00
|
|
|
}
|
2015-02-24 17:59:29 +08:00
|
|
|
},
|
|
|
|
"30":{
|
|
|
|
"name": "Ground",
|
|
|
|
"type": "GND"
|
|
|
|
},
|
|
|
|
"32":{
|
|
|
|
"name": "",
|
|
|
|
"type": "GPIO",
|
|
|
|
"scheme": {
|
2015-03-23 03:02:36 +08:00
|
|
|
"wiringpi": 26,
|
2015-02-24 17:59:29 +08:00
|
|
|
"bcm": 12
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "PWM0",
|
|
|
|
"alt1": "SD4",
|
|
|
|
"alt2": "Reserved",
|
|
|
|
"alt5": "ARM_TMS"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"34":{
|
|
|
|
"name": "Ground",
|
|
|
|
"type": "GND"
|
|
|
|
},
|
|
|
|
"36":{
|
|
|
|
"name": "",
|
|
|
|
"type": "GPIO",
|
|
|
|
"scheme": {
|
2015-03-23 03:02:36 +08:00
|
|
|
"wiringpi": 27,
|
2015-02-24 17:59:29 +08:00
|
|
|
"bcm": 16
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "Reserved",
|
|
|
|
"alt1": "SD8",
|
|
|
|
"alt2": "Reserved",
|
|
|
|
"alt3": "CTS0",
|
|
|
|
"alt4": "SPI1_CE2_N",
|
|
|
|
"alt5": "CTS1"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"38":{
|
|
|
|
"name": "MOSI",
|
2015-03-23 03:02:36 +08:00
|
|
|
"description": "SPI Master-Out",
|
2015-02-24 17:59:29 +08:00
|
|
|
"type": "GPIO/SPI",
|
|
|
|
"scheme": {
|
2015-03-23 03:02:36 +08:00
|
|
|
"wiringpi": 28,
|
2015-02-24 17:59:29 +08:00
|
|
|
"bcm": 20
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "PCM_DIN",
|
|
|
|
"alt1": "SD12",
|
|
|
|
"alt2": "Reserved",
|
|
|
|
"alt3": "BSCSL / MISO",
|
|
|
|
"alt4": "SPI1_MOSI",
|
|
|
|
"alt5": "CPCLK0"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"40":{
|
|
|
|
"name": "SCLK",
|
2015-03-23 03:02:36 +08:00
|
|
|
"description": "SPI Clock",
|
2015-02-24 17:59:29 +08:00
|
|
|
"type": "GPIO/SPI",
|
|
|
|
"scheme": {
|
2015-03-23 03:02:36 +08:00
|
|
|
"wiringpi": 29,
|
2015-02-24 17:59:29 +08:00
|
|
|
"bcm": 21
|
2015-03-24 18:21:30 +08:00
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"alt0": "PCM_DOUT",
|
|
|
|
"alt1": "SD13",
|
|
|
|
"alt2": "Reserved",
|
|
|
|
"alt3": "BSCSL / CE_N",
|
|
|
|
"alt4": "SPI1_SCLK",
|
|
|
|
"alt5": "GPCLK1"
|
2015-02-24 17:59:29 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-03-24 18:21:30 +08:00
|
|
|
}
|