2
0
forked from Ivasoft/openwrt

ramips: Fix support for PBR-M1 board

The PBR-M1 support in current OpenWrt is for the early demo board and it doesn't work on the final board.This patch fixes the support for it.

The LED called pbr-m1:buzzer is a beeper connected to GPIO26 so I used gpio-beeper instead of gpio-leds.

Signed-off-by: 郭传鈜 <gch981213@gmail.com>

SVN-Revision: 47844
This commit is contained in:
John Crispin
2015-12-11 15:03:50 +00:00
parent abd11be13c
commit 6cbb1be464
3 changed files with 61 additions and 22 deletions

View File

@@ -83,6 +83,7 @@ get_status_led() {
;;
dap-1350|\
na930|\
pbr-m1|\
rt-n13u|\
rt-n14u|\
rt-n15|\
@@ -135,11 +136,6 @@ get_status_led() {
sl-r7205)
status_led="$board:green:wifi"
;;
pbr-m1|\
w306r-v20|\
zbt-wr8305rt)
status_led="$board:green:sys"
;;
psr-680w)
status_led="$board:red:wan"
;;
@@ -165,6 +161,10 @@ get_status_led() {
v22rw-2x2)
status_led="$board:green:security"
;;
w306r-v20|\
zbt-wr8305rt)
status_led="$board:green:sys"
;;
wcr-150gn|\
wl-351)
status_led="$board:amber:power"