Added table for RPi 2 and RPi B+. Also deleted whitespace in first table.
authorIan Johnson <person.uwsome@gmail.com>
Sat, 18 Apr 2015 16:11:26 +0000 (11:11 -0500)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Wed, 22 Apr 2015 08:21:19 +0000 (09:21 +0100)
Signed-off-by: Ian Johnson <person.uwsome@gmail.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
docs/raspberry_pi.md

index e6eae2d..2237530 100644 (file)
@@ -35,7 +35,7 @@ style numbers.
 | 7           | P1-07        | GPIO(4)  |
 | 8           | P1-08        | UART TX  |
 | 9           | P1-09        | GND      |
-| 10           | P1-10        | UART RX  |
+| 10          | P1-10        | UART RX  |
 | 11          | P1-11        | GPIO(17) |
 | 12          | P1-12        | GPIO(18) |
 | 13          | P1-13        | GPIO(21) |
@@ -52,3 +52,46 @@ style numbers.
 | 24          | P1-24        | SPI CS0  |
 | 25          | P1-25        | GND      |
 | 26          | P1-26        | SPI CS1  |
+
+
+The following pin mapping applies to the new Raspberry Pi model 2 and B+. Note that GPIO(21) is now GPIO(27)
+| 1           | P1-01        | 3V3 VCC  |
+| 2           | P1-02        | 5V VCC   |
+| 3           | P1-03        | I2C SDA  |
+| 4           | P1-04        | 5V VCC   |
+| 5           | P1-05        | I2C SCL  |
+| 6           | P1-06        | GND      |
+| 7           | P1-07        | GPIO(4)  |
+| 8           | P1-08        | UART TX  |
+| 9           | P1-09        | GND      |
+| 10          | P1-10        | UART RX  |
+| 11          | P1-11        | GPIO(17) |
+| 12          | P1-12        | GPIO(18) |
+| 13          | P1-13        | GPIO(27) |
+| 14          | P1-14        | GND      |
+| 15          | P1-15        | GPIO(22) |
+| 16          | P1-16        | GPIO(23) |
+| 17          | P1-17        | 3V3 VCC  |
+| 18          | P1-18        | GPIO(24) |
+| 19          | P1-19        | SPI MOSI |
+| 20          | P1-20        | GND      |
+| 21          | P1-21        | SPI MISO |
+| 22          | P1-22        | GPIO(25) |
+| 23          | P1-23        | SPI SCL  |
+| 24          | P1-24        | SPI CS0  |
+| 25          | P1-25        | GND      |
+| 26          | P1-26        | SPI CS1  |
+| 27          | P1-27        | I2C SDA1 |
+| 28          | P1-28        | I2C SCL1 |
+| 29          | P1-29        | GPIO(5)  |
+| 30          | P1-30        | GND      |
+| 31          | P1-31        | GPIO(6)  |
+| 32          | P1-32        | GPIO(12) |
+| 33          | P1-33        | GPIO(13) |
+| 34          | P1-34        | GND      |
+| 35          | P1-35        | SPI MISO1|
+| 36          | P1-36        | GPIO(16) |
+| 37          | P1-37        | GPIO(26) |
+| 38          | P1-38        | SPI MOSI1|
+| 39          | P1-39        | GND      |
+| 40          | P1-40        | SPI SCL1 |