GPIO controlled beeper
Schema identifier ($id): "http://devicetree.org/schemas/input/gpio-beeper.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Fabio Estevam <festevam@denx.de>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "gpio-beeper"
gpios — required here #
Maximum number of items (maxItems): 1
GPIO that drives the beeper.
Required in this object (required): "compatible", "gpios"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
beeper {
compatible = "gpio-beeper";
gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause