summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/am335x-bone.dts
diff options
context:
space:
mode:
authorFlorian Vaussard <florian.vaussard@epfl.ch>2013-06-03 16:12:23 +0200
committerBenoit Cousson <benoit.cousson@linaro.org>2013-06-19 01:53:42 +0200
commite94233c287890a4236cfccc1be7d663435dd1aff (patch)
tree0412f8461fb246b0ab1ec9652386ad14f466a15c /arch/arm/boot/dts/am335x-bone.dts
parentARM: dts: AM3XXX: Use #include for all device trees (diff)
downloadlinux-e94233c287890a4236cfccc1be7d663435dd1aff.tar.xz
linux-e94233c287890a4236cfccc1be7d663435dd1aff.zip
ARM: dts: AM33XX: Use existing constants for GPIOs
Use standard GPIO constants to enhance the readability of DT GPIOs. Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch> Tested-by: Afzal Mohammed <afzal@ti.com> Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/am335x-bone.dts')
-rw-r--r--arch/arm/boot/dts/am335x-bone.dts8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts
index 0365e56e02b5..5bfb7dd640c2 100644
--- a/arch/arm/boot/dts/am335x-bone.dts
+++ b/arch/arm/boot/dts/am335x-bone.dts
@@ -88,27 +88,27 @@
led@2 {
label = "beaglebone:green:heartbeat";
- gpios = <&gpio1 21 0>;
+ gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
default-state = "off";
};
led@3 {
label = "beaglebone:green:mmc0";
- gpios = <&gpio1 22 0>;
+ gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "mmc0";
default-state = "off";
};
led@4 {
label = "beaglebone:green:usr2";
- gpios = <&gpio1 23 0>;
+ gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
led@5 {
label = "beaglebone:green:usr3";
- gpios = <&gpio1 24 0>;
+ gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};