diff options
author | John Thomson <git@johnthomson.fastmail.com.au> | 2020-08-10 19:40:55 +1000 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-08-13 02:12:12 +0200 |
commit | 2d9db93397f3120591bab0cf89347eec55c168f3 (patch) | |
tree | e9eb8a6c8d098ec4c9cbadba749b8cb5dba4c4da /target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts | |
parent | 87e92d50e577851743663763bc749fe18aa294c7 (diff) | |
download | upstream-2d9db93397f3120591bab0cf89347eec55c168f3.tar.gz upstream-2d9db93397f3120591bab0cf89347eec55c168f3.tar.bz2 upstream-2d9db93397f3120591bab0cf89347eec55c168f3.zip |
ramips: use gpio-export for Mikrotik RouterBOARD 750Gr3 beeper
This beeper hardware requires a PWM driver for frequency selection.
Since the GPIO driver does not provide that, revert the beeper
support to a simple gpio-export.
This effectively reverts the corresponding changes from
6ba58b7b020c ("ramips: cleanup the RB750Gr3 support")
Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
[commit title/message facelift]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts index a516f337cc..f767599e98 100644 --- a/target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts +++ b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts @@ -52,15 +52,17 @@ }; }; - 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>; |