1 From 3a1689ea752436917c5ce4487527ed6c444630ee Mon Sep 17 00:00:00 2001
2 From: Stefan Wahren <stefan.wahren@i2se.com>
3 Date: Wed, 16 Nov 2016 17:52:07 +0000
4 Subject: [PATCH] ARM: bcm2835: Add names for the RPi Zero GPIO lines
6 This adds the GPIO names for the Raspberry Pi Zero. The GPIO lines
7 of the RPi Zero are almost identical to the Model A+ except:
9 * GPIO 35, 38, 40 and 45 are not connected
10 * Status LED is active low
12 Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
13 Signed-off-by: Eric Anholt <eric@anholt.net>
15 arch/arm/boot/dts/bcm2835-rpi-zero.dts | 65 ++++++++++++++++++++++++++++++++++
16 1 file changed, 65 insertions(+)
18 --- a/arch/arm/boot/dts/bcm2835-rpi-zero.dts
19 +++ b/arch/arm/boot/dts/bcm2835-rpi-zero.dts
25 + * This is based on the official GPU firmware DT blob.
28 + * "NC" = not connected (no rail from the SoC)
29 + * "FOO" = GPIO line named "FOO" on the schematic
30 + * "FOO_N" = GPIO line named "FOO" on schematic, active low
32 + gpio-line-names = "SDA0",
65 + "CAM_GPIO1", /* GPIO32 */
74 + "CAM_GPIO0", /* GPIO41 */
81 + /* Used by SD Card */
89 pinctrl-0 = <&gpioout &alt0 &i2s_alt0>;