Changeset 3177


Ignore:
Timestamp:
Aug 15, 2012, 8:03:54 PM (20 months ago)
Author:
pgf
Message:

leds: add device-tree declaration for storage led

Location:
cpu/arm/olpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/olpc/1.75/leds.fth

    r3049 r3177  
    550 0 reg  \ So test-all will run the test 
    66" leds" device-name 
     7 
     8" gpio-leds" +compatible 
     9" leds" device-name 
     10 
     11new-device 
     12  " storage-led" device-name 
     13  " mmc-block" " linux,default-trigger" string-property 
     14  led-storage-gpio#  0  " gpios" gpio-property 
     15finish-device 
     16 
    717: open  ( -- okay? )  true  ; 
    818: close  ( -- )  ; 
  • cpu/arm/olpc/cl4/leds.fth

    r3055 r3177  
    440 0  " 0"  " /" begin-package 
    550 0 reg  \ So test-all will run the test 
     6 
     7" gpio-leds" +compatible 
    68" leds" device-name 
     9 
     10new-device 
     11  " storage-led" device-name 
     12  " mmc-block" " linux,default-trigger" string-property 
     13  led-storage-gpio#  0  " gpios" gpio-property 
     14finish-device 
     15 
    716: open  ( -- okay? )  true  ; 
    817: close  ( -- )  ; 
Note: See TracChangeset for help on using the changeset viewer.