Commit 6b917088 authored by Stefan Wahren's avatar Stefan Wahren Committed by Eric Anholt

ARM: bcm2835: Fix names for the Raspberry Pi GPIO lines

There are some differences between the schematics and the official firmware
DTS [1]. So based on these additional information the following has been
changed:

* use consistent "CAM_GPIO1" for camera LED
* use consistent "CAM_GPIO0" for camera shutdown
* add "USB_LIMIT" for USB current limit (0=600mA, 1=1200mA)

[1] - https://github.com/raspberrypi/firmware/blob/master/extra/dt-blob.dtsSigned-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent 731b26a6
......@@ -63,13 +63,13 @@ &gpio {
"SCL0",
"NC", /* GPIO30 */
"NC", /* GPIO31 */
"NC", /* GPIO32 */
"CAM_GPIO1", /* GPIO32 */
"NC", /* GPIO33 */
"NC", /* GPIO34 */
"PWR_LOW_N", /* GPIO35 */
"NC", /* GPIO36 */
"NC", /* GPIO37 */
"NC", /* GPIO38 */
"USB_LIMIT", /* GPIO38 */
"NC", /* GPIO39 */
"PWM0_OUT", /* GPIO40 */
"CAM_GPIO0", /* GPIO41 */
......
......@@ -29,7 +29,7 @@ &gpio {
"SDA1",
"SCL1",
"GPIO_GCLK",
"CAM_CLK",
"CAM_GPIO1",
"LAN_RUN",
"SPI_CE1_N",
"SPI_CE0_N",
......@@ -52,7 +52,7 @@ &gpio {
"GPIO24",
"GPIO25",
"NC", /* GPIO26 */
"CAM_GPIO",
"CAM_GPIO0",
/* Binary number representing build/revision */
"CONFIG0",
"CONFIG1",
......
......@@ -71,7 +71,7 @@ &gpio {
"PWR_LOW_N", /* GPIO35 */
"NC", /* GPIO36 */
"NC", /* GPIO37 */
"NC", /* GPIO38 */
"USB_LIMIT", /* GPIO38 */
"NC", /* GPIO39 */
"PWM0_OUT", /* GPIO40 */
"CAM_GPIO0", /* GPIO41 */
......
......@@ -30,7 +30,7 @@ &gpio {
"SDA1",
"SCL1",
"GPIO_GCLK",
"CAM_CLK",
"CAM_GPIO1",
"LAN_RUN",
"SPI_CE1_N",
"SPI_CE0_N",
......@@ -53,7 +53,7 @@ &gpio {
"GPIO24",
"GPIO25",
"NC", /* GPIO26 */
"CAM_GPIO",
"CAM_GPIO0",
/* Binary number representing build/revision */
"CONFIG0",
"CONFIG1",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment