summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/bcm2835-rpi.dtsi
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2015-01-29 18:10:50 +0000
committerLee Jones <lee.jones@linaro.org>2015-05-14 10:02:31 +0100
commit120911120911e0f84eea4fd7d1e9d6c4c65f1586 (patch)
tree8b8b7153c8ef450363828318a82181dc4b86de25 /arch/arm/boot/dts/bcm2835-rpi.dtsi
parent62c69d7635d6f12377897429f98baf504a6d000f (diff)
downloadblackbird-obmc-linux-120911120911e0f84eea4fd7d1e9d6c4c65f1586.tar.gz
blackbird-obmc-linux-120911120911e0f84eea4fd7d1e9d6c4c65f1586.zip
ARM: bcm2835: dt: Use pinctrl header
This patch converts all bcm2835 dts and dtsi files to use the pinctrl header file. Reviewed-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/bcm2835-rpi.dtsi')
-rw-r--r--arch/arm/boot/dts/bcm2835-rpi.dtsi8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi
index c7064487017d..46780bb48bbf 100644
--- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
+++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
@@ -1,4 +1,4 @@
-/include/ "bcm2835.dtsi"
+#include "bcm2835.dtsi"
/ {
memory {
@@ -21,17 +21,17 @@
gpioout: gpioout {
brcm,pins = <6>;
- brcm,function = <1>; /* GPIO out */
+ brcm,function = <BCM2835_FSEL_GPIO_OUT>;
};
alt0: alt0 {
brcm,pins = <0 1 2 3 4 5 7 8 9 10 11 14 15 40 45>;
- brcm,function = <4>; /* alt0 */
+ brcm,function = <BCM2835_FSEL_ALT0>;
};
alt3: alt3 {
brcm,pins = <48 49 50 51 52 53>;
- brcm,function = <7>; /* alt3 */
+ brcm,function = <BCM2835_FSEL_ALT3>;
};
};
OpenPOWER on IntegriCloud