summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/omap3-beagle.dts
diff options
context:
space:
mode:
authorFlorian Vaussard <florian.vaussard@epfl.ch>2012-09-05 09:46:26 +0200
committerBenoit Cousson <b-cousson@ti.com>2012-09-07 19:22:44 +0200
commita60be2fe9735894b8e0e2de80d2bdb37d87cd0c5 (patch)
tree82461130a96a292f823acdffcbd3296513b2d95e /arch/arm/boot/dts/omap3-beagle.dts
parentf74ce8fb849e9f9c54a494cff5fc30d53ca4e963 (diff)
ARM: dts: omap3: Add gpio-twl4030 properties for BeagleBoard and omap3-EVM
Add device tree properties for twl4030/gpio, according to the platform data of corresponding boards. This enables the led connected to LEDB output for both boards, as well as pullups/pulldowns on GPIO for the BeagleBoard. Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Vaibhav Hiremath <hvaibhav@ti.com>
Diffstat (limited to 'arch/arm/boot/dts/omap3-beagle.dts')
-rw-r--r--arch/arm/boot/dts/omap3-beagle.dts20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle.dts
index e60cba0ed6f1..3fe35c27ce1c 100644
--- a/arch/arm/boot/dts/omap3-beagle.dts
+++ b/arch/arm/boot/dts/omap3-beagle.dts
@@ -17,6 +17,14 @@
device_type = "memory";
reg = <0x80000000 0x20000000>; /* 512 MB */
};
+
+ leds {
+ compatible = "gpio-leds";
+ pmu_stat {
+ label = "beagleboard::pmu_stat";
+ gpios = <&twl_gpio 19 0>; /* LEDB */
+ };
+ };
};
&i2c1 {
@@ -67,3 +75,15 @@
&mmc3 {
status = "disabled";
};
+
+&twl_gpio {
+ ti,use-leds;
+ /* pullups: BIT(1) */
+ ti,pullups = <0x000002>;
+ /*
+ * pulldowns:
+ * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
+ * BIT(15), BIT(16), BIT(17)
+ */
+ ti,pulldowns = <0x03a1c4>;
+};