From 46814be2a8800738cbd7b90d8b0fb538d0e862d1 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 2 Dec 2014 15:25:09 +0000 Subject: oxnas/kd20: use gpio-beeper gpio-beeper module was added to the kernel recently. Make use of it to drive the piezoelectric buzzer of the kd20. Signed-off-by: Daniel Golle SVN-Revision: 43496 --- target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'target/linux/oxnas/files') diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts index e7ee5871c4..9f52f43f80 100644 --- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts +++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts @@ -123,10 +123,11 @@ label = "kd20:blue:usb"; gpios = <&GPIOB 8 0>; }; - buzzer { - label = "kd20:buzzer"; - gpios = <&GPIOB 11 0>; - }; + }; + + beeper: beeper { + compatible = "gpio-beeper"; + gpios = <&GPIOB 11 0>; }; gpio-fan { -- cgit v1.2.3