diff options
author | Anton Vorontsov <avorontsov@mvista.com> | 2010-05-02 13:27:05 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2010-05-17 11:55:32 -0400 |
commit | 6971df4f5b0e5b6955c03e8d51bad5d50463f98f (patch) | |
tree | 4057eb1497c8261cfdc4ada9d7fa15efa934a99c /arch/powerpc/boot/dts/mpc8379_rdb.dts | |
parent | 0aedc0085146131da5b04476aab21834b1403b31 (diff) |
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/mpc8379_rdb.dts')
-rw-r--r-- | arch/powerpc/boot/dts/mpc8379_rdb.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/mpc8379_rdb.dts b/arch/powerpc/boot/dts/mpc8379_rdb.dts index 72336d504528..15560c619b04 100644 --- a/arch/powerpc/boot/dts/mpc8379_rdb.dts +++ b/arch/powerpc/boot/dts/mpc8379_rdb.dts | |||
@@ -436,4 +436,18 @@ | |||
436 | compatible = "fsl,mpc8349-pci"; | 436 | compatible = "fsl,mpc8349-pci"; |
437 | device_type = "pci"; | 437 | device_type = "pci"; |
438 | }; | 438 | }; |
439 | |||
440 | leds { | ||
441 | compatible = "gpio-leds"; | ||
442 | |||
443 | pwr { | ||
444 | gpios = <&mcu_pio 0 0>; | ||
445 | default-state = "on"; | ||
446 | }; | ||
447 | |||
448 | hdd { | ||
449 | gpios = <&mcu_pio 1 0>; | ||
450 | linux,default-trigger = "ide-disk"; | ||
451 | }; | ||
452 | }; | ||
439 | }; | 453 | }; |