ath79: DTS improvement for buzzer on RB951G-2HnD
authorPavel Pernička <pernicka.pa@gmail.com>
Tue, 27 Jun 2023 16:34:03 +0000 (18:34 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 12 Jul 2023 18:46:53 +0000 (20:46 +0200)
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>
(cherry picked from commit dac0a133cf8dbf0bd9afabecdc1092456c451ec7)

target/linux/ath79/dts/ar9344_mikrotik_routerboard-951g-2hnd.dts

index 16da7a3c950803ea77a51849e051a06dc0607b15..6229eefb1f0c8ec16f00e34825e245bfe3cff5b9 100644 (file)
                        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>;
+               };
        };
 };