AnsweredAssumed Answered

imx6sl evk debug led

Question asked by Eugene Phua on Mar 15, 2015
Latest reply on May 7, 2015 by alejandrolozano

Hi there, i am trying to control the debug led on the imx6sl-evk board. I have read posts on it and they have included the debug led support in the linux kernel at linux/imx6sl-evk.dts at master · torvalds/linux · GitHub. However, for the linux kernel at Freescale: linux-2.6-imx.git - Freescale i.MX Linux Tree, the debug led support is not present.


I have tried adding the following in the imx6sl-evk.dts:


leds {

    pinctrl-names = "default";

    pinctrl-0 = <&pinctrl_led>;

    compatible = "gpio-leds";       


    user {

        label = "Heartbeat";

        gpios = <&gpio3 20 0>;

        linux,default-trigger = "heartbeat";




and in imx6sl.dtsi under iomux:


leds {

        pinctrl_led: ledgrp {

            fsl,pins = <

                MX6SL_PAD_HSIC_STROBE__GPIO3_IO20 0x17059





But however, i am unable to generate the dtb file. The error is syntax error in the imx6sl-evk.dts file where the "leds" is at. Any advise on this? Thanks!