1*c66ec88fSEmmanuel Vadot* PWM beeper device tree bindings 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRegisters a PWM device as beeper. 4*c66ec88fSEmmanuel Vadot 5*c66ec88fSEmmanuel VadotRequired properties: 6*c66ec88fSEmmanuel Vadot- compatible: should be "pwm-beeper" 7*c66ec88fSEmmanuel Vadot- pwms: phandle to the physical PWM device 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel VadotOptional properties: 10*c66ec88fSEmmanuel Vadot- amp-supply: phandle to a regulator that acts as an amplifier for the beeper 11*c66ec88fSEmmanuel Vadot- beeper-hz: bell frequency in Hz 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel VadotExample: 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel Vadotbeeper_amp: amplifier { 16*c66ec88fSEmmanuel Vadot compatible = "fixed-regulator"; 17*c66ec88fSEmmanuel Vadot gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>; 18*c66ec88fSEmmanuel Vadot}; 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel Vadotbeeper { 21*c66ec88fSEmmanuel Vadot compatible = "pwm-beeper"; 22*c66ec88fSEmmanuel Vadot pwms = <&pwm0>; 23*c66ec88fSEmmanuel Vadot amp-supply = <&beeper_amp>; 24*c66ec88fSEmmanuel Vadot}; 25