• Rafał Miłecki's avatar
    MIPS: BCM47XX: Add support for Netgear WNR1000 V3 · 425f1e62
    Rafał Miłecki authored
    This adds support for detecting this model board and registers some LEDs
    and buttons.
    
    There are two uncommon things regarding this device:
    1) It can use two different "board_id" ID values.
       Unit I have uses "U12H139T00_NETGEAR" value. This magic is also used
       in firmware file header. There are two reports (one from an OpenWrt
       user) of a different "U12H139T50_NETGEAR" magic though.
    2) Power LEDs share GPIOs with buttons.
       Amber one seems to share GPIO 2 with WPS button and green one seems
       to share GPIO 3 with reset button. It remains unknown how to support
       them and handle buttons at the same time. For that reason they aren't
       added to the list of supported LEDs.
    Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: Hauke Mehrtens <hauke@hauke-m.de>
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/19004/Signed-off-by: default avatarJames Hogan <jhogan@kernel.org>
    425f1e62
bcm47xx_board.h 3.72 KB