Author: pgf Date: Wed Aug 15 20:03:54 2012 New Revision: 3177 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3177
Log: leds: add device-tree declaration for storage led
Modified: cpu/arm/olpc/1.75/leds.fth cpu/arm/olpc/cl4/leds.fth
Modified: cpu/arm/olpc/1.75/leds.fth ============================================================================== --- cpu/arm/olpc/1.75/leds.fth Wed Aug 15 02:09:38 2012 (r3176) +++ cpu/arm/olpc/1.75/leds.fth Wed Aug 15 20:03:54 2012 (r3177) @@ -4,6 +4,16 @@ 0 0 " 0" " /" begin-package 0 0 reg \ So test-all will run the test " leds" device-name + +" gpio-leds" +compatible +" leds" device-name + +new-device + " storage-led" device-name + " mmc-block" " linux,default-trigger" string-property + led-storage-gpio# 0 " gpios" gpio-property +finish-device + : open ( -- okay? ) true ; : close ( -- ) ;
Modified: cpu/arm/olpc/cl4/leds.fth ============================================================================== --- cpu/arm/olpc/cl4/leds.fth Wed Aug 15 02:09:38 2012 (r3176) +++ cpu/arm/olpc/cl4/leds.fth Wed Aug 15 20:03:54 2012 (r3177) @@ -3,7 +3,16 @@
0 0 " 0" " /" begin-package 0 0 reg \ So test-all will run the test + +" gpio-leds" +compatible " leds" device-name + +new-device + " storage-led" device-name + " mmc-block" " linux,default-trigger" string-property + led-storage-gpio# 0 " gpios" gpio-property +finish-device + : open ( -- okay? ) true ; : close ( -- ) ;
openfirmware@openfirmware.info