ramips: use gpio-export for Mikrotik RouterBOARD 750Gr3 beeper
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7621_mikrotik_routerboard-750gr3.dts
index a516f337ccc1209ed5e7716dd3c922c81d7f1251..f767599e98c3f7f6c918433d19c7f45e267a327a 100644 (file)
                };
        };
 
-       beeper {
-               compatible = "gpio-beeper";
-               gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
-       };
-
        gpio_export {
                compatible = "gpio-export";
                #size-cells = <0>;
 
+               buzzer {
+                       /* Beeper requires PWM for frequency selection */
+                       gpio-export,name = "buzzer";
+                       gpio-export,output = <0>;
+                       gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
+               };
+
                usb_power {
                        gpio-export,name = "usb_power";
                        gpio-export,output = <1>;