X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fdt-bindings%2Fpinctrl%2Fbcm2835.h;h=b5b2654a0e4dc5a6ca7d8d186673d14f4c10f5d6;hb=3c1ead908128436b7df61b8ffd5642a924418bb6;hp=6f0bc37af39ca64a51258a0673b6c981fec7d110;hpb=4d6647ab17ab9d33c60f7a9f07576c5fbdf6336f;p=oweals%2Fu-boot.git diff --git a/include/dt-bindings/pinctrl/bcm2835.h b/include/dt-bindings/pinctrl/bcm2835.h index 6f0bc37af3..b5b2654a0e 100644 --- a/include/dt-bindings/pinctrl/bcm2835.h +++ b/include/dt-bindings/pinctrl/bcm2835.h @@ -1,14 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Header providing constants for bcm2835 pinctrl bindings. * * Copyright (C) 2015 Stefan Wahren - * - * 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__ */