i add this lines to my dts file
pwmleds {
compatible = "pwm-leds";
power {
label = "m8s:blue:power";
pwms = <pwm_ef 1 7812500 0>;
max-brightness = <255>;
active-low;
linux,default-trigger = "default-on";
};
};
pwm_ef {
status = "okay";
pinctrl-0 = <pwm_e_pins>, <pwm_f_ao_pins>;
pinctrl-names = "default";
clocks = <clkc CLKID_FCLK_DIV3>, <clkc CLKID_FCLK_DIV4>;
clock-names = "clkin0", "clkin1";
};
but i got still sytax error in the DTC
please can you add the led funktion to the meason8s2 n200.dtb for me ?
m8s.dtb
m8s.dts