Merge tag 'dm-pull-7jul19' of https://gitlab.denx.de/u-boot/custodians/u-boot-dm
[oweals/u-boot.git] / include / dt-bindings / pinctrl / bcm2835.h
index 6f0bc37af39ca64a51258a0673b6c981fec7d110..b5b2654a0e4dc5a6ca7d8d186673d14f4c10f5d6 100644 (file)
@@ -1,14 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Header providing constants for bcm2835 pinctrl bindings.
  *
  * Copyright (C) 2015 Stefan Wahren <stefan.wahren@i2se.com>
- *
- * The code contained herein is licensed under the GNU General Public
- * License. You may obtain a copy of the GNU General Public License
- * Version 2 at the following locations:
- *
- * http://www.opensource.org/licenses/gpl-license.html
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 #ifndef __DT_BINDINGS_PINCTRL_BCM2835_H__
@@ -24,4 +18,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__ */