aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorPavel Pernička <pernicka.pa@gmail.com>2023-06-27 18:34:03 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2023-07-01 15:51:26 +0200
commitdac0a133cf8dbf0bd9afabecdc1092456c451ec7 (patch)
treefa79a19539b510f4faedd87b4df133e3a032a92e /target/linux
parent8e7ba6fbae80838c2219ee38307af9c883606c2c (diff)
downloadupstream-dac0a133cf8dbf0bd9afabecdc1092456c451ec7.tar.gz
upstream-dac0a133cf8dbf0bd9afabecdc1092456c451ec7.tar.bz2
upstream-dac0a133cf8dbf0bd9afabecdc1092456c451ec7.zip
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@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ath79/dts/ar9344_mikrotik_routerboard-951g-2hnd.dts6
1 files changed, 6 insertions, 0 deletions
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 16da7a3c950..6229eefb1f0 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>;
+ };
};
};