- Added the buttons for this bcm6358 board. - The internal phy is unused in this board, deleted.
Index: target/linux/brcm63xx/patches-3.3/board_HW553_buttons_net.patch =================================================================== --- target/linux/brcm63xx/patches-3.3/board_HW553_buttons_net.patch (revisión: 0) +++ target/linux/brcm63xx/patches-3.3/board_HW553_buttons_net.patch (copia de trabajo) @@ -0,0 +1,43 @@ +--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c ++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +@@ -2500,15 +2500,9 @@ + + .has_uart0 = 1, + +- .has_enet0 = 1, + .has_enet1 = 1, + .has_pci = 1, + +- .enet0 = { +- .has_phy = 1, +- .use_internal_phy = 1, +- }, +- + .enet1 = { + .force_speed_100 = 1, + .force_duplex_full = 1, +@@ -2566,6 +2560,24 @@ + .active_low = 1, + }, + }, ++ .buttons = { ++ { ++ .desc = "reset", ++ .gpio = 37, ++ .type = EV_KEY, ++ .code = KEY_RESTART, ++ .active_low = 1, ++ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL, ++ }, ++ { ++ .desc = "wps", ++ .gpio = 9, ++ .type = EV_KEY, ++ .code = KEY_WPS_BUTTON, ++ .active_low = 1, ++ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL, ++ }, ++ }, + }; + + /* T-Home Speedport W 303V Typ B */ Index: target/linux/brcm63xx/base-files/lib/brcm63xx.sh =================================================================== --- target/linux/brcm63xx/base-files/lib/brcm63xx.sh (revisión: 33652) +++ target/linux/brcm63xx/base-files/lib/brcm63xx.sh (copia de trabajo) @@ -82,6 +82,11 @@ brcm63xx_has_reset_button="true" ifname=eth0 ;; + HW553) + status_led="HW553:red:power" + brcm63xx_has_reset_button="true" + ifname=eth0 + ;; NB6) brcm63xx_has_reset_button="true" ifname=eth0 Index: target/linux/brcm63xx/base-files/etc/uci-defaults/network =================================================================== --- target/linux/brcm63xx/base-files/etc/uci-defaults/network (revisión: 33652) +++ target/linux/brcm63xx/base-files/etc/uci-defaults/network (copia de trabajo) @@ -19,6 +19,7 @@ 96348A-122 |\ 96358-502V |\ CT6373-1 |\ +HW553 |\ AW4339U |\ CPVA642 |\ CT536_CT5621 |\ _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel