Commit | Line | Data |
---|---|---|
976358e2 AS |
1 | * GPIO beeper device tree bindings |
2 | ||
3 | Register a beeper connected to GPIO pin. | |
4 | ||
5 | Required properties: | |
6 | - compatible: Should be "gpio-beeper". | |
7 | - gpios: From common gpio binding; gpio connection to beeper enable pin. | |
8 | ||
9 | Example: | |
10 | beeper: beeper { | |
11 | compatible = "gpio-beeper"; | |
12 | gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; | |
13 | }; |