Skip to content

Commit

Permalink
Add GPIO doc (#16)
Browse files Browse the repository at this point in the history
* Add GPIO doc
  • Loading branch information
po1 authored Oct 26, 2018
1 parent 0bf3fdf commit 505d4df
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions reference/gpio.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
layout: reference
title: GPIO pins
tags:
- gpio
---

## List of GPIO pins

These GPIOs are accessible through their kernel interface in `/sys/class/gpio/gpioXXX`.
For more information on how to use that interface, see Linux documentation:
https://www.kernel.org/doc/Documentation/gpio/gpio.txt

|Name|Kernel number|Direction|Polarity|Description|
|----|------|----|----|-----|
|VOL_UP|404|in|active low|volume up button|
|VOL_DOWN|402|in|active low|volume down button|
|HEAD_nRESET|385|out|active high|set to low to reset head board|
|LS_nRESET|392|out|active high|set to low to reset low speed board|
|CHEST_nRESET|394|out|active high|set to low to reset volume board|
|WIFI_nRESET|401|out|active high|set to low to reset wifi chip|
|AUDIO_nRESET|405|out|active high|set to low to reset audio chip|
|HEAD_GPIO_CPU|386|in/out|N/A|extra GPIO to the head board|
|LS_GPIO_CPU|391|in/out|N/A|extra GPIO to the low speed board|
|STAY_ON_CPU|388|out|active high|pull high when flashing the low speed board to maintain power|

0 comments on commit 505d4df

Please sign in to comment.