1*8bab661aSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*8bab661aSEmmanuel Vadot%YAML 1.2 3*8bab661aSEmmanuel Vadot--- 4*8bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/input/gpio-beeper.yaml# 5*8bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*8bab661aSEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: GPIO controlled beeper 8*8bab661aSEmmanuel Vadot 9*8bab661aSEmmanuel Vadotmaintainers: 10*8bab661aSEmmanuel Vadot - Fabio Estevam <festevam@denx.de> 11*8bab661aSEmmanuel Vadot 12*8bab661aSEmmanuel Vadotproperties: 13*8bab661aSEmmanuel Vadot compatible: 14*8bab661aSEmmanuel Vadot const: gpio-beeper 15*8bab661aSEmmanuel Vadot 16*8bab661aSEmmanuel Vadot gpios: 17*8bab661aSEmmanuel Vadot maxItems: 1 18*8bab661aSEmmanuel Vadot description: 19*8bab661aSEmmanuel Vadot GPIO that drives the beeper. 20*8bab661aSEmmanuel Vadot 21*8bab661aSEmmanuel Vadotrequired: 22*8bab661aSEmmanuel Vadot - compatible 23*8bab661aSEmmanuel Vadot - gpios 24*8bab661aSEmmanuel Vadot 25*8bab661aSEmmanuel VadotadditionalProperties: false 26*8bab661aSEmmanuel Vadot 27*8bab661aSEmmanuel Vadotexamples: 28*8bab661aSEmmanuel Vadot - | 29*8bab661aSEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 30*8bab661aSEmmanuel Vadot beeper { 31*8bab661aSEmmanuel Vadot compatible = "gpio-beeper"; 32*8bab661aSEmmanuel Vadot gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; 33*8bab661aSEmmanuel Vadot }; 34