HI Forum,

I am attempting to create a device over lay for BBB "Linux beaglebone 
3.8.13-bone70" that will disable the linux heartbeat LED.  

I am interested to do this primary as a learning process for device tree, 
but I plan to use the BBB in a room where I don't want a LED to flash.

I followed the guide at http://elinux.org/BeagleBone_and_the_3.8_Kernel. 

dtc -O dtb -o BBB-LEDS.dtbo -b 0 -@ BBB-LEDS-00A0.dts

sudo cp BBB-LEDS.dtbo /lib/firmware/

sudo sh -c "echo BBB-LEDS > /sys/devices/bone_capemgr.9/slots"

However the LED continues to flash.

Could someone point me how to get the overlay to work?

Thanks

Joshua

/dts-v1/;
/plugin/;
/
{
 compatible = "ti,beaglebone", "ti,beaglebone-black";
 part-number = "BBB-LEDS";
 version = "00A0";

 fragment@0
 {
   target = <&am33xx_pinmux>;
    __overlay__ 
   {
  userled_pins: pinmux_userled_pins {
pinctrl-single,pins = <
0x54 0x7 /* gpmc_a5.gpio1_21, OUTPUT | MODE7 */
>;
  };
    };
 };

 fragment@1
  {
     target = <&ocp>;
     __overlay__
     {
         gpio-leds {
             compatible = "gpio-leds";
             pinctrl-names = "default";
             pinctrl-0 = <&userled_pins>;
             led0 {
                 label = "beaglebone:green:usr0";
                 gpios = <&gpio2 21 0>;
                 linux,default-trigger = "none";
                 default-state = "off";
             };
         };
     };
   };
};

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to