xref: /freebsd/sys/contrib/device-tree/Bindings/input/gpio-beeper.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* GPIO beeper device tree bindings
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRegister a beeper connected to GPIO pin.
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel VadotRequired properties:
6*c66ec88fSEmmanuel Vadot- compatible:	Should be "gpio-beeper".
7*c66ec88fSEmmanuel Vadot- gpios:	From common gpio binding; gpio connection to beeper enable pin.
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel VadotExample:
10*c66ec88fSEmmanuel Vadot	beeper: beeper {
11*c66ec88fSEmmanuel Vadot		compatible = "gpio-beeper";
12*c66ec88fSEmmanuel Vadot		gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
13*c66ec88fSEmmanuel Vadot	};
14