linux/Documentation/devicetree/bindings/input/gpio-beeper.txt
<<
>>
Prefs
   1* GPIO beeper device tree bindings
   2
   3Register a beeper connected to GPIO pin.
   4
   5Required properties:
   6- compatible:   Should be "gpio-beeper".
   7- gpios:        From common gpio binding; gpio connection to beeper enable pin.
   8
   9Example:
  10        beeper: beeper {
  11                compatible = "gpio-beeper";
  12                gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
  13        };
  14