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.

AM625: Use GPIO0_33 as pwm for display backlight on Custom AM625 SOM

Part Number: AM625
Other Parts Discussed in Thread: SYSCONFIG

Hello,
I'm using custom AM625 SOM and have connected RGB display which needs backlight to work.
I want to control the backlight for display using software.
The pin I've assigned to display backligt is L24, i.e. GPIO0_33
I want to use this pin as pwm to control the display brightness.
The changes I've did in k3-am62x-sk-common.dtsi are

        backlight {
                compatible = "pwm-backlight";

                led0 {
                        pwms = <&epwm0 0 1000 1>;
                        brightness-levels = <0 4 8 16 32 64 128 255>;
			default-brightness-level = <32>;
                        linux,default-trigger = "default-on";
			status = "okay";
                };
        };
        
&epwm0 {
	pinctrl-names = "default";
	pinctrl-0 = <&main_backlight_pins_default>;
	status = "okay";
};

    main_backlight_pins_default: main-backlight-pins-default {
		pinctrl-single,pins = <
			AM62X_IOPAD(0x088, PIN_OUTPUT, 7) /* (L24) USB1_DRVVBUS */
		>;
	};

and after these changes, in bootup logs I see is:
[    0.920737] pwm-backlight backlight: supply power not found, using dummy regulator
[    0.928640] of_pwm_get(): can't parse "pwms" property
[    0.933813] pwm-backlight backlight: unable to request PWM
[    0.939422] pwm-backlight: probe of backlight failed with error -2


What changes I'm missing?

Thanks & Regards,
Aditya T