This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Using own leds with default-trigger based on sysfs.

Other Parts Discussed in Thread: AM3352

Hello,

I have adapted (ti-processor-sdk-linux-am335x-evm-02.00.01.07, tisdk_am335x-evm_defconfig) and generated u-boot, dts (based on beagleboneblack), initrd and the kernel for our own am3352 hardware. This platform boots from an other processor using shared ram, so there is no nonvolatile rootfs and I use a ram based fs (also loaded from the other processor) to run an embedded application.

According to other platforms I modified the leds{...} struct in the dts to address the correct gpio pins. The boot is working fine and I got the "initramfs>" prompt with my initrd. When I list the "/sys/firmware/devicetree/base/leds" I got the struct with the data of my dts. Unfortunately there are no entries in "/sys/class/leds" and the default-triggers (e.g. heartbeat) are not working. 

The leds are working fine when I use the exported gpio ports via "/sys/class/gpio".
What's missing?

Thank you for help in advance. 

-- Peter