intel_joule: Update doc with correct PIN behavior
GPIO and I2C functions of some PINs are not possible with default BIOS configuration. Current documentation wrongly shows that the PINs can work as both GPIO and I2C. This patch fixes this issue and also updated pin conf for I2C 1 and 2 to disable GPIO functionality. Signed-off-by: Arun Ravindran <arun.ravindran@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
6f4b333a31
commit
5e34a5cd3b
@@ -46,8 +46,8 @@ Pin Mapping
|
||||
The Intel Joule expansion board has two breakouts, breakout #1 is 1-40 whilst breakout2 is 41-80. The
|
||||
LEDs are numbered from 100-103.
|
||||
|
||||
ISH UART are named as: IURT
|
||||
ISH I2C are named as:IIC
|
||||
ISH UART are named as: IURT.
|
||||
ISH I2C are named as:IIC.
|
||||
|
||||
| MRAA Number | Physical Pin | Function |
|
||||
|-------------|--------------|----------|
|
||||
@@ -71,7 +71,7 @@ ISH I2C are named as:IIC
|
||||
| 18 | I2S1CLK | GPIO |
|
||||
| 19 | IIC1SDA | I2C |
|
||||
| 20 | I2S1MCL | GPIO |
|
||||
| 21 | IIC1SCL | I2CO |
|
||||
| 21 | IIC1SCL | I2C |
|
||||
| 22 | UART1TX | UART |
|
||||
| 23 | I2S4SDO | NONE |
|
||||
| 24 | UART1RX | UART |
|
||||
@@ -121,13 +121,13 @@ ISH I2C are named as:IIC
|
||||
| 68 | UART0RX | GPIO UART|
|
||||
| 69 | SPP0RX | GPIO SPI |
|
||||
| 70 | UART0RT | GPIO UART|
|
||||
| 71 | I2C1SDA | GPIO I2C |
|
||||
| 71 | I2C1SDA | I2C |
|
||||
| 72 | UART0CT | GPIO UART|
|
||||
| 73 | I2C1SCL | GPIO I2C |
|
||||
| 73 | I2C1SCL | I2C |
|
||||
| 74 | IURT0TX | GPIO UART|
|
||||
| 75 | I2C2SDA | GPIO I2C |
|
||||
| 75 | I2C2SDA | I2C |
|
||||
| 76 | IURT0RX | GPIO UART|
|
||||
| 77 | I2C2SCL | GPIO I2C |
|
||||
| 77 | I2C2SCL | I2C |
|
||||
| 78 | IURT0RT | GPIO UART|
|
||||
| 79 | RTC_CLK | GPIO |
|
||||
| 80 | IURT0CT | GPIO UART|
|
||||
|
||||
@@ -584,7 +584,7 @@ mraa_joule_expansion_board()
|
||||
pos++;
|
||||
|
||||
strncpy(b->pins[pos].name, "I2C1SDA", 8);
|
||||
b->pins[pos].capabilities = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 1, 0, 0 };
|
||||
b->pins[pos].capabilities = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 1, 0, 0 };
|
||||
b->pins[pos].gpio.pinmap = 317;
|
||||
b->pins[pos].gpio.mux_total = 0;
|
||||
b->pins[pos].i2c.pinmap = 0;
|
||||
@@ -601,7 +601,7 @@ mraa_joule_expansion_board()
|
||||
pos++;
|
||||
|
||||
strncpy(b->pins[pos].name, "I2C1SCL", 8);
|
||||
b->pins[pos].capabilities = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 1, 0, 0 };
|
||||
b->pins[pos].capabilities = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 1, 0, 0 };
|
||||
b->pins[pos].gpio.pinmap = 318;
|
||||
b->pins[pos].gpio.mux_total = 0;
|
||||
b->pins[pos].i2c.pinmap = 0;
|
||||
@@ -618,7 +618,7 @@ mraa_joule_expansion_board()
|
||||
pos++;
|
||||
|
||||
strncpy(b->pins[pos].name, "I2C2SDA", 8);
|
||||
b->pins[pos].capabilities = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 1, 0, 0 };
|
||||
b->pins[pos].capabilities = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 1, 0, 0 };
|
||||
b->pins[pos].gpio.pinmap = 319;
|
||||
b->pins[pos].gpio.mux_total = 0;
|
||||
b->pins[pos].i2c.pinmap = 0;
|
||||
@@ -635,7 +635,7 @@ mraa_joule_expansion_board()
|
||||
pos++;
|
||||
|
||||
strncpy(b->pins[pos].name, "I2C2SCL", 8);
|
||||
b->pins[pos].capabilities = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 1, 0, 0 };
|
||||
b->pins[pos].capabilities = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 1, 0, 0 };
|
||||
b->pins[pos].gpio.pinmap = 320;
|
||||
b->pins[pos].gpio.mux_total = 0;
|
||||
b->pins[pos].i2c.pinmap = 0;
|
||||
|
||||
Reference in New Issue
Block a user