aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2016-11-16 12:52:06 -0500
committerEric Anholt <eric@anholt.net>2016-11-16 16:54:30 -0500
commit6b9170887e1b912b657dab4597f8b44ae4dbdf50 (patch)
tree88aa2dbfd02a7cf59b12d27bdedfdc4907af55f1
parent731b26a6ac17f24057c559361c6d0cb7cb79baed (diff)
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.dts Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Eric Anholt <eric@anholt.net>
-rw-r--r--arch/arm/boot/dts/bcm2835-rpi-a-plus.dts4
-rw-r--r--arch/arm/boot/dts/bcm2835-rpi-a.dts4
-rw-r--r--arch/arm/boot/dts/bcm2835-rpi-b-plus.dts2
-rw-r--r--arch/arm/boot/dts/bcm2835-rpi-b.dts4
4 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts b/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
index 5a22c7965f34..d0704540db6b 100644
--- a/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
+++ b/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
@@ -63,13 +63,13 @@
63 "SCL0", 63 "SCL0",
64 "NC", /* GPIO30 */ 64 "NC", /* GPIO30 */
65 "NC", /* GPIO31 */ 65 "NC", /* GPIO31 */
66 "NC", /* GPIO32 */ 66 "CAM_GPIO1", /* GPIO32 */
67 "NC", /* GPIO33 */ 67 "NC", /* GPIO33 */
68 "NC", /* GPIO34 */ 68 "NC", /* GPIO34 */
69 "PWR_LOW_N", /* GPIO35 */ 69 "PWR_LOW_N", /* GPIO35 */
70 "NC", /* GPIO36 */ 70 "NC", /* GPIO36 */
71 "NC", /* GPIO37 */ 71 "NC", /* GPIO37 */
72 "NC", /* GPIO38 */ 72 "USB_LIMIT", /* GPIO38 */
73 "NC", /* GPIO39 */ 73 "NC", /* GPIO39 */
74 "PWM0_OUT", /* GPIO40 */ 74 "PWM0_OUT", /* GPIO40 */
75 "CAM_GPIO0", /* GPIO41 */ 75 "CAM_GPIO0", /* GPIO41 */
diff --git a/arch/arm/boot/dts/bcm2835-rpi-a.dts b/arch/arm/boot/dts/bcm2835-rpi-a.dts
index 54f98c59a75d..46d078e29017 100644
--- a/arch/arm/boot/dts/bcm2835-rpi-a.dts
+++ b/arch/arm/boot/dts/bcm2835-rpi-a.dts
@@ -29,7 +29,7 @@
29 "SDA1", 29 "SDA1",
30 "SCL1", 30 "SCL1",
31 "GPIO_GCLK", 31 "GPIO_GCLK",
32 "CAM_CLK", 32 "CAM_GPIO1",
33 "LAN_RUN", 33 "LAN_RUN",
34 "SPI_CE1_N", 34 "SPI_CE1_N",
35 "SPI_CE0_N", 35 "SPI_CE0_N",
@@ -52,7 +52,7 @@
52 "GPIO24", 52 "GPIO24",
53 "GPIO25", 53 "GPIO25",
54 "NC", /* GPIO26 */ 54 "NC", /* GPIO26 */
55 "CAM_GPIO", 55 "CAM_GPIO0",
56 /* Binary number representing build/revision */ 56 /* Binary number representing build/revision */
57 "CONFIG0", 57 "CONFIG0",
58 "CONFIG1", 58 "CONFIG1",
diff --git a/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts b/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
index b67587e6cbef..432088ebb0a1 100644
--- a/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
+++ b/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
@@ -71,7 +71,7 @@
71 "PWR_LOW_N", /* GPIO35 */ 71 "PWR_LOW_N", /* GPIO35 */
72 "NC", /* GPIO36 */ 72 "NC", /* GPIO36 */
73 "NC", /* GPIO37 */ 73 "NC", /* GPIO37 */
74 "NC", /* GPIO38 */ 74 "USB_LIMIT", /* GPIO38 */
75 "NC", /* GPIO39 */ 75 "NC", /* GPIO39 */
76 "PWM0_OUT", /* GPIO40 */ 76 "PWM0_OUT", /* GPIO40 */
77 "CAM_GPIO0", /* GPIO41 */ 77 "CAM_GPIO0", /* GPIO41 */
diff --git a/arch/arm/boot/dts/bcm2835-rpi-b.dts b/arch/arm/boot/dts/bcm2835-rpi-b.dts
index 71f50e16c646..4d56fe3006b0 100644
--- a/arch/arm/boot/dts/bcm2835-rpi-b.dts
+++ b/arch/arm/boot/dts/bcm2835-rpi-b.dts
@@ -30,7 +30,7 @@
30 "SDA1", 30 "SDA1",
31 "SCL1", 31 "SCL1",
32 "GPIO_GCLK", 32 "GPIO_GCLK",
33 "CAM_CLK", 33 "CAM_GPIO1",
34 "LAN_RUN", 34 "LAN_RUN",
35 "SPI_CE1_N", 35 "SPI_CE1_N",
36 "SPI_CE0_N", 36 "SPI_CE0_N",
@@ -53,7 +53,7 @@
53 "GPIO24", 53 "GPIO24",
54 "GPIO25", 54 "GPIO25",
55 "NC", /* GPIO26 */ 55 "NC", /* GPIO26 */
56 "CAM_GPIO", 56 "CAM_GPIO0",
57 /* Binary number representing build/revision */ 57 /* Binary number representing build/revision */
58 "CONFIG0", 58 "CONFIG0",
59 "CONFIG1", 59 "CONFIG1",