summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/bcm2837-rpi-3-b.dts
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2018-02-20 13:19:35 +0100
committerEric Anholt <eric@anholt.net>2018-02-22 20:33:02 +0100
commit4d5b2eaf3ca80c56a59f230208c4ff11e3f68d55 (patch)
treed2ef63601c0869e56e9195ae95b2c4bfe44972ff /arch/arm/boot/dts/bcm2837-rpi-3-b.dts
parentARM: dts: bcm2835: make the firmware node into a bus (diff)
downloadlinux-4d5b2eaf3ca80c56a59f230208c4ff11e3f68d55.tar.xz
linux-4d5b2eaf3ca80c56a59f230208c4ff11e3f68d55.zip
ARM: dts: bcm2837-rpi-3-b: add GPIO expander
Add a description of the RPi3 GPIO expander that the VC4 firmware controls. Acked-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'arch/arm/boot/dts/bcm2837-rpi-3-b.dts')
-rw-r--r--arch/arm/boot/dts/bcm2837-rpi-3-b.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm2837-rpi-3-b.dts b/arch/arm/boot/dts/bcm2837-rpi-3-b.dts
index 3e4ed7c5b0b3..0b31d995a066 100644
--- a/arch/arm/boot/dts/bcm2837-rpi-3-b.dts
+++ b/arch/arm/boot/dts/bcm2837-rpi-3-b.dts
@@ -25,6 +25,23 @@
};
};
+&firmware {
+ expgpio: gpio {
+ compatible = "raspberrypi,firmware-gpio";
+ gpio-controller;
+ #gpio-cells = <2>;
+ gpio-line-names = "BT_ON",
+ "WL_ON",
+ "STATUS_LED",
+ "LAN_RUN",
+ "HPD_N",
+ "CAM_GPIO0",
+ "CAM_GPIO1",
+ "PWR_LOW_N";
+ status = "okay";
+ };
+};
+
/* uart0 communicates with the BT module */
&uart0 {
pinctrl-names = "default";