summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/dts/mpc8377_rdb.dts
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@mvista.com>2010-05-02 21:27:05 +0400
committerKumar Gala <galak@kernel.crashing.org>2010-05-17 10:55:32 -0500
commit6971df4f5b0e5b6955c03e8d51bad5d50463f98f (patch)
tree4057eb1497c8261cfdc4ada9d7fa15efa934a99c /arch/powerpc/boot/dts/mpc8377_rdb.dts
parent0aedc0085146131da5b04476aab21834b1403b31 (diff)
downloadblackbird-op-linux-6971df4f5b0e5b6955c03e8d51bad5d50463f98f.tar.gz
blackbird-op-linux-6971df4f5b0e5b6955c03e8d51bad5d50463f98f.zip
powerpc/83xx: Add MCU LEDs support for MPC837xRDB and MPC8315RDB boards
There are two front-panel LEDs on MPC837xRDB and MPC8315RDB boards: PWR and HDD. After adding appropriate nodes we can program these LEDs from kernel and user space. Signed-off-by: Anton Vorontsov <avorontsov@mvista.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/dts/mpc8377_rdb.dts')
-rw-r--r--arch/powerpc/boot/dts/mpc8377_rdb.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/mpc8377_rdb.dts b/arch/powerpc/boot/dts/mpc8377_rdb.dts
index 9e2264b10008..dbc1b988b29d 100644
--- a/arch/powerpc/boot/dts/mpc8377_rdb.dts
+++ b/arch/powerpc/boot/dts/mpc8377_rdb.dts
@@ -486,4 +486,18 @@
0 0x00800000>;
};
};
+
+ leds {
+ compatible = "gpio-leds";
+
+ pwr {
+ gpios = <&mcu_pio 0 0>;
+ default-state = "on";
+ };
+
+ hdd {
+ gpios = <&mcu_pio 1 0>;
+ linux,default-trigger = "ide-disk";
+ };
+ };
};
OpenPOWER on IntegriCloud