BliteKnight
New member
Like the title says, I know the Android image wrote to /sys/devices/platform/fd6513_dev/led_flash to modify the colors; just don't know what the linux equivalent would be. Thanks
Thanks for the reply I have tried this in the dtsfirst at all, you need to enable it on DTB.
DTS generate DTB that enable ports that you can set and reset
For example, my device have a 7seg clock display
this is how it works:
![]()
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
forum.armbian.com
awleds {
phandle = <0x1bd>;
leds_dat = <0x87 0x7 0x6 0x1 0xffffffff 0xffffffff 0x0>;
status = "okay";
device_type = "awleds";
leds_clk = <0x87 0x7 0x5 0x1 0xffffffff 0xffffffff 0x0>;
compatible = "allwinner,fd6513_dev";
};
fd655_dev {
compatible = "rockchip,fd655_dev";
status = "okay";
clk_pin = <0x10b 0x01 0x00>;
dat_pin = <0x10b 0x00 0x00>;
};
fd6513_dev {
compatible = "amlogic,FD6513";
status = "okay";
clk_pin = <0x10b 0x0a 0x00>;
dat_pin = <0x10b 0x09 0x00>;
};
it is using the FD6513 chip, and I added this to the dts before compiling the dtbYou can look on your board if they use fd6513 or fd655 this is a chip id, related to the Integrated circuit from Led contol
fd6513_dev {
compatible = "amlogic,FD6513";
status = "okay";
clk_pin = <0x10b 0x0a 0x00>;
dat_pin = <0x10b 0x09 0x00>;
};