diff options
author | Faiz Abbas <faiz_abbas@ti.com> | 2017-06-20 08:09:21 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-08-14 21:34:23 +0300 |
commit | 092976edc54119f1b3b8501318a9b161a03dd226 (patch) | |
tree | a529cca9837c0cccf6a96280497dc075f7d31e13 /arch/arm/boot/dts/am437x-gp-evm.dts | |
parent | eba6130b31bc0c112302d0b1340badb37fd3be1e (diff) | |
download | linux-092976edc54119f1b3b8501318a9b161a03dd226.tar.xz |
ARM: dts: am437x-gp-evm: Add support for buzzer
Add support for onboard gpio buzzer. It works using
the gpio-beeper driver. Pinmux entries for GPIO
controlling the buzzer are also added.
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am437x-gp-evm.dts')
-rw-r--r-- | arch/arm/boot/dts/am437x-gp-evm.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts index 29a538ecd405..ee76021c7f34 100644 --- a/arch/arm/boot/dts/am437x-gp-evm.dts +++ b/arch/arm/boot/dts/am437x-gp-evm.dts @@ -149,6 +149,13 @@ system-clock-frequency = <12000000>; }; }; + + beeper: beeper { + compatible = "gpio-beeper"; + pinctrl-names = "default"; + pinctrl-0 = <&beeper_pins>; + gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>; + }; }; &am43xx_pinmux { @@ -510,6 +517,13 @@ AM4372_IOPAD(0x974, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */ >; }; + + beeper_pins: beeper_pins { + pinctrl-single,pins = < + AM4372_IOPAD(0x9e0, PIN_OUTPUT_PULLUP | MUX_MODE7) /* cam1_field.gpio4_12 */ + >; + }; + }; &uart0 { |