aboutsummaryrefslogtreecommitdiffstats
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2016-11-21 21:03:18 -0800
committerFlorian Fainelli <f.fainelli@gmail.com>2016-11-21 21:03:18 -0800
commit509f8342993be7ce2938edacec05b6e8d780c83e (patch)
tree1cfdb1f9537f3e9d01b700a426827ea8f05807e8 /include/dt-bindings
parentARM: dts: enable GPIO-b for Broadcom NSP (diff)
parentARM: bcm2835: Add names for the RPi Zero GPIO lines (diff)
downloadlinux-dev-509f8342993be7ce2938edacec05b6e8d780c83e.tar.xz
linux-dev-509f8342993be7ce2938edacec05b6e8d780c83e.zip
Merge tag 'bcm2835-dt-next-2016-11-18' into devicetree/next
This pull request brings in DT changes for BCM2835: pinctrl setup cleanups, GPIO line naming, and the node for the new thermal driver. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/pinctrl/bcm2835.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dt-bindings/pinctrl/bcm2835.h b/include/dt-bindings/pinctrl/bcm2835.h
index 6f0bc37af39c..e4e4fdf5d38f 100644
--- a/include/dt-bindings/pinctrl/bcm2835.h
+++ b/include/dt-bindings/pinctrl/bcm2835.h
@@ -24,4 +24,9 @@
#define BCM2835_FSEL_ALT2 6
#define BCM2835_FSEL_ALT3 7
+/* brcm,pull property */
+#define BCM2835_PUD_OFF 0
+#define BCM2835_PUD_DOWN 1
+#define BCM2835_PUD_UP 2
+
#endif /* __DT_BINDINGS_PINCTRL_BCM2835_H__ */