I am using the Debian wheezy filesystem with Robert Nelson's latest kernel. I want to disable the heartbeat led using a device tree overlay.
I understand there are easier ways of doing this but I am only interested in answers using overlays to disable the heartbeat led.
One way I can achieve this is by changing the gpio-leds,led0 leaf in am335x-boneblack.dts from: linux,default-trigger = "heartbeat"; to linux,default-trigger = "none";
then compiling the device tree and rebooting.
However if I try to implement the same thing using the following overlay the heartbeat led continues to flash after I successfully apply the overlay with echo > $SLOTS.
What am I doing wrong?
/dts-v1/;
/plugin/;
/
{
compatible = "ti,beaglebone", "ti,beaglebone-black";
part-number = "pru";
version = "00A0";
fragment@0
{
target = <&ocp>;
__overlay__
{
gpio-leds
{
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <0x3>;
led0
{
label = "beaglebone:green:usr0";
gpios = <0x5 0x15 0x0>;
linux,default-trigger = "none";
default-state = "off";
};
};
};
};
};