Part Number: AM625
On my hardware i have a buzzer (beeper) connected on one of the pin (Ball no B21-Mode2)
I need to create binding on DTS to this buzzer and expectation is to have buzzer driven by PWM
beeper_amp: amplifier {
compatible = "fixed-regulator";
gpios = <&main_gpio1 44 GPIO_ACTIVE_HIGH>;
};
beeper {
compatible = "pwm-beeper";
pwms = <&epwm0>;
amp-supply = <&beeper_amp>;
beeper-hz = <1>; //in HZ
};
My question is on pwms =<&epwm0>
Documentation suggested to use pwm0 but that fails, for epwm0 i get error at compilation stating "/beeper:pwms: property size (4) too small for cell size 3"
I need to know how do I create this binding
Thanks
-maheshG
