1 From 6b9170887e1b912b657dab4597f8b44ae4dbdf50 Mon Sep 17 00:00:00 2001
2 From: Stefan Wahren <stefan.wahren@i2se.com>
3 Date: Wed, 16 Nov 2016 17:52:06 +0000
4 Subject: [PATCH] ARM: bcm2835: Fix names for the Raspberry Pi GPIO lines
6 There are some differences between the schematics and the official firmware
7 DTS [1]. So based on these additional information the following has been
10 * use consistent "CAM_GPIO1" for camera LED
11 * use consistent "CAM_GPIO0" for camera shutdown
12 * add "USB_LIMIT" for USB current limit (0=600mA, 1=1200mA)
14 [1] - https://github.com/raspberrypi/firmware/blob/master/extra/dt-blob.dts
16 Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
17 Signed-off-by: Eric Anholt <eric@anholt.net>
19 arch/arm/boot/dts/bcm2835-rpi-a-plus.dts | 4 ++--
20 arch/arm/boot/dts/bcm2835-rpi-a.dts | 4 ++--
21 arch/arm/boot/dts/bcm2835-rpi-b-plus.dts | 2 +-
22 arch/arm/boot/dts/bcm2835-rpi-b.dts | 4 ++--
23 4 files changed, 7 insertions(+), 7 deletions(-)
25 --- a/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
26 +++ b/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
32 + "CAM_GPIO1", /* GPIO32 */
35 "PWR_LOW_N", /* GPIO35 */
39 + "USB_LIMIT", /* GPIO38 */
41 "PWM0_OUT", /* GPIO40 */
42 "CAM_GPIO0", /* GPIO41 */
43 --- a/arch/arm/boot/dts/bcm2835-rpi-a.dts
44 +++ b/arch/arm/boot/dts/bcm2835-rpi-a.dts
60 /* Binary number representing build/revision */
63 --- a/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
64 +++ b/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
66 "PWR_LOW_N", /* GPIO35 */
70 + "USB_LIMIT", /* GPIO38 */
72 "PWM0_OUT", /* GPIO40 */
73 "CAM_GPIO0", /* GPIO41 */
74 --- a/arch/arm/boot/dts/bcm2835-rpi-b.dts
75 +++ b/arch/arm/boot/dts/bcm2835-rpi-b.dts
91 /* Binary number representing build/revision */