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

@@ -200,9 +200,9 @@ oy-0001)
set_wifi_led "$board:green:wifi"
;;
pbr-m1)
ucidef_set_led_netdev "internet" "internet" "$board:green:internet" "eth0.2"
ucidef_set_led_default "power" "power" "$board:green:power" "1"
ucidef_set_led_default "sys" "sys" "$board:green:sys" "1"
ucidef_set_led_netdev "internet" "internet" "$board:blue:internet" "eth0.2"
ucidef_set_led_default "power" "power" "$board:blue:power" "1"
ucidef_set_led_default "sys" "sys" "$board:blue:sys" "1"
;;
px-4885)
set_wifi_led "$board:orange:wifi"