[openwrt/openwrt] ath79: DTS improvement for buzzer on RB951G-2HnD

LEDE Commits lede-commits at lists.infradead.org
Sat Jul 1 06:52:46 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/dac0a133cf8dbf0bd9afabecdc1092456c451ec7

commit dac0a133cf8dbf0bd9afabecdc1092456c451ec7
Author: Pavel Pernička <pernicka.pa at gmail.com>
AuthorDate: Tue Jun 27 18:34:03 2023 +0200

    ath79: DTS improvement for buzzer on RB951G-2HnD
    
    Mikrotik RB951 router has a buzzer on the board, which makes annoying noises
    due to the interference caused by PoE input or Wifi transmission
    when no GPIO pin state is set.
    I added buzzer node to device's DTS in order to set deault level to 1
    and to provide easier access for it.
    
    Signed-off-by: Pavel Pernička <pernicka.pa at gmail.com>
---
 target/linux/ath79/dts/ar9344_mikrotik_routerboard-951g-2hnd.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/target/linux/ath79/dts/ar9344_mikrotik_routerboard-951g-2hnd.dts b/target/linux/ath79/dts/ar9344_mikrotik_routerboard-951g-2hnd.dts
index 16da7a3c95..6229eefb1f 100644
--- a/target/linux/ath79/dts/ar9344_mikrotik_routerboard-951g-2hnd.dts
+++ b/target/linux/ath79/dts/ar9344_mikrotik_routerboard-951g-2hnd.dts
@@ -17,6 +17,12 @@
 			gpio-export,output = <1>;
 			gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
 		};
+		
+		buzzer {
+			gpio-export,name = "buzzer";
+			gpio-export,output = <1>;
+			gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
+		};
 	};
 };
 




More information about the lede-commits mailing list