Re: [OpenWrt-Devel] [v3, 1/4] Add kernel support for Sagemcom F@ST2704V2 ADSL router
On Sat, Mar 29, 2014 at 4:50 PM, Weedy weedy2...@gmail.com wrote: SO GUYS, MERGE PLOX? a) Don't top post with full quote. b) Check r39671. Jonas ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [v3, 1/4] Add kernel support for Sagemcom F@ST2704V2 ADSL router
SO GUYS, MERGE PLOX? On 9 Nov 2013 18:42, Weedy weedy2...@gmail.com wrote: On Sat, Nov 9, 2013 at 2:54 PM, David Lang da...@lang.hm wrote: That doesn't slow down bitrot of the patches, that just works for one person's systems, for not. Is there something wrong with this series that is preventing it from being merged upstream? do you need people to report that they need it to get it review priority? do you need reports of it working for people? do you need someone to sponsor reviews of it? There are a lot of people out there who would like to run OpenWRT on their ADSL router (myself included), so I would think that there's interest in adding support for these sorts of devices. ^ This. Pretty much anyone getting upgraded to VDSL in Canada could want this. We don't have a real bridge mode with the stock firmware and this is ass. David Lang On Fri, 8 Nov 2013, Martijn Zilverschoon wrote: Well if you need this that badly, you can patch it yourself :) Checkout the git repository: git clone git://git.openwrt.org/openwrt.git download the patches and apply them to the local git repo. the command for that is: git apply 'example.patch' (make sure that you are in the openwrt directory) I think you have to apply 4 patches since this one is 1/4. Sorry for the earlier message that was incomplete. -Martijn 2013/11/8 Martijn Zilverschoon thefriedzom...@gmail.com: Well if you need this that badly, you can patch it yourself :) git clone git://git.openwrt.org/openwrt.git 2013/11/8 Weedy weedy2...@gmail.com: Can this pretty please not die to bitrot? I need this merged so badly ;_; On Thu, Oct 31, 2013 at 7:33 PM, Marcin Jurkowski marci...@gmail.com wrote: This adds kernel support support for Sagemcom F@st 2704 wireless ADSL router. It's a BCM6328-based 802.11n wireless router with USB port and ADSL2+ modem equipped with 64 MiB RAM and 8 MiB flash. --- .../brcm63xx/patches-3.10/536-board_fast2704.patch | 133 + 1 file changed, 133 insertions(+) create mode 100644 target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch diff --git a/target/linux/brcm63xx/patches-3.10/536-board_ fast2704.patch b/target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch new file mode 100644 index 000..db34932 --- /dev/null +++ b/target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch @@ -0,0 +1,133 @@ +--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c b/arch/mips/bcm63xx/boards/board_bcm963xx.c +@@ -1477,6 +1477,122 @@ static struct board_info __initdata boar + }, + }; + ++static struct board_info __initdata board_FAST2704V2 = { ++ .name = F@ST2704V2, ++ .expected_cpu_id= 0x6328, ++ ++ .has_uart0 = 1, ++ .has_pci= 1, ++ .has_ohci0 = 1, ++ .has_ehci0 = 1, ++ .has_usbd = 1, ++ ++ .has_enetsw = 1, ++ ++ .enetsw = { ++ .used_ports = { ++ [0] = { ++ .used = 1, ++ .phy_id = 1, ++ .name = Port 1, ++ }, ++ [1] = { ++ .used = 1, ++ .phy_id = 2, ++ .name = Port 2, ++ }, ++ [2] = { ++ .used = 1, ++ .phy_id = 3, ++ .name = Port 3, ++ }, ++ [3] = { ++ .used = 1, ++ .phy_id = 4, ++ .name = Port 4, ++ }, ++ }, ++ }, ++ ++ .leds = { ++ /* front LEDs */ ++ { ++ .name = F@ST2704V2:green:power, ++ .gpio = 4, ++ .active_low = 1, ++ .default_trigger= default-on, ++ }, ++ { ++ .name = F@ST2704V2 :red:power, ++ .gpio = 5, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2 :red:inet, ++ .gpio = 2, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2 :green:dsl, ++ .gpio = 3, ++ .active_low = 1, ++ }, ++ { ++
Re: [OpenWrt-Devel] [v3, 1/4] Add kernel support for Sagemcom F@ST2704V2 ADSL router
That doesn't slow down bitrot of the patches, that just works for one person's systems, for not. Is there something wrong with this series that is preventing it from being merged upstream? do you need people to report that they need it to get it review priority? do you need reports of it working for people? do you need someone to sponsor reviews of it? There are a lot of people out there who would like to run OpenWRT on their ADSL router (myself included), so I would think that there's interest in adding support for these sorts of devices. David Lang On Fri, 8 Nov 2013, Martijn Zilverschoon wrote: Well if you need this that badly, you can patch it yourself :) Checkout the git repository: git clone git://git.openwrt.org/openwrt.git download the patches and apply them to the local git repo. the command for that is: git apply 'example.patch' (make sure that you are in the openwrt directory) I think you have to apply 4 patches since this one is 1/4. Sorry for the earlier message that was incomplete. -Martijn 2013/11/8 Martijn Zilverschoon thefriedzom...@gmail.com: Well if you need this that badly, you can patch it yourself :) git clone git://git.openwrt.org/openwrt.git 2013/11/8 Weedy weedy2...@gmail.com: Can this pretty please not die to bitrot? I need this merged so badly ;_; On Thu, Oct 31, 2013 at 7:33 PM, Marcin Jurkowski marci...@gmail.com wrote: This adds kernel support support for Sagemcom F@st 2704 wireless ADSL router. It's a BCM6328-based 802.11n wireless router with USB port and ADSL2+ modem equipped with 64 MiB RAM and 8 MiB flash. --- .../brcm63xx/patches-3.10/536-board_fast2704.patch | 133 + 1 file changed, 133 insertions(+) create mode 100644 target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch diff --git a/target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch b/target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch new file mode 100644 index 000..db34932 --- /dev/null +++ b/target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch @@ -0,0 +1,133 @@ +--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c b/arch/mips/bcm63xx/boards/board_bcm963xx.c +@@ -1477,6 +1477,122 @@ static struct board_info __initdata boar + }, + }; + ++static struct board_info __initdata board_FAST2704V2 = { ++ .name = F@ST2704V2, ++ .expected_cpu_id= 0x6328, ++ ++ .has_uart0 = 1, ++ .has_pci= 1, ++ .has_ohci0 = 1, ++ .has_ehci0 = 1, ++ .has_usbd = 1, ++ ++ .has_enetsw = 1, ++ ++ .enetsw = { ++ .used_ports = { ++ [0] = { ++ .used = 1, ++ .phy_id = 1, ++ .name = Port 1, ++ }, ++ [1] = { ++ .used = 1, ++ .phy_id = 2, ++ .name = Port 2, ++ }, ++ [2] = { ++ .used = 1, ++ .phy_id = 3, ++ .name = Port 3, ++ }, ++ [3] = { ++ .used = 1, ++ .phy_id = 4, ++ .name = Port 4, ++ }, ++ }, ++ }, ++ ++ .leds = { ++ /* front LEDs */ ++ { ++ .name = F@ST2704V2:green:power, ++ .gpio = 4, ++ .active_low = 1, ++ .default_trigger= default-on, ++ }, ++ { ++ .name = F@ST2704V2:red:power, ++ .gpio = 5, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:red:inet, ++ .gpio = 2, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:green:dsl, ++ .gpio = 3, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:green:inet, ++ .gpio = 11, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:green:usb, ++ .gpio = 1, ++ .active_low = 1, ++ }, ++ ++
Re: [OpenWrt-Devel] [v3, 1/4] Add kernel support for Sagemcom F@ST2704V2 ADSL router
On Sat, Nov 9, 2013 at 2:54 PM, David Lang da...@lang.hm wrote: That doesn't slow down bitrot of the patches, that just works for one person's systems, for not. Is there something wrong with this series that is preventing it from being merged upstream? do you need people to report that they need it to get it review priority? do you need reports of it working for people? do you need someone to sponsor reviews of it? There are a lot of people out there who would like to run OpenWRT on their ADSL router (myself included), so I would think that there's interest in adding support for these sorts of devices. ^ This. Pretty much anyone getting upgraded to VDSL in Canada could want this. We don't have a real bridge mode with the stock firmware and this is ass. David Lang On Fri, 8 Nov 2013, Martijn Zilverschoon wrote: Well if you need this that badly, you can patch it yourself :) Checkout the git repository: git clone git://git.openwrt.org/openwrt.git download the patches and apply them to the local git repo. the command for that is: git apply 'example.patch' (make sure that you are in the openwrt directory) I think you have to apply 4 patches since this one is 1/4. Sorry for the earlier message that was incomplete. -Martijn 2013/11/8 Martijn Zilverschoon thefriedzom...@gmail.com: Well if you need this that badly, you can patch it yourself :) git clone git://git.openwrt.org/openwrt.git 2013/11/8 Weedy weedy2...@gmail.com: Can this pretty please not die to bitrot? I need this merged so badly ;_; On Thu, Oct 31, 2013 at 7:33 PM, Marcin Jurkowski marci...@gmail.com wrote: This adds kernel support support for Sagemcom F@st 2704 wireless ADSL router. It's a BCM6328-based 802.11n wireless router with USB port and ADSL2+ modem equipped with 64 MiB RAM and 8 MiB flash. --- .../brcm63xx/patches-3.10/536-board_fast2704.patch | 133 + 1 file changed, 133 insertions(+) create mode 100644 target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch diff --git a/target/linux/brcm63xx/patches-3.10/536-board_ fast2704.patch b/target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch new file mode 100644 index 000..db34932 --- /dev/null +++ b/target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch @@ -0,0 +1,133 @@ +--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c b/arch/mips/bcm63xx/boards/board_bcm963xx.c +@@ -1477,6 +1477,122 @@ static struct board_info __initdata boar + }, + }; + ++static struct board_info __initdata board_FAST2704V2 = { ++ .name = F@ST2704V2, ++ .expected_cpu_id= 0x6328, ++ ++ .has_uart0 = 1, ++ .has_pci= 1, ++ .has_ohci0 = 1, ++ .has_ehci0 = 1, ++ .has_usbd = 1, ++ ++ .has_enetsw = 1, ++ ++ .enetsw = { ++ .used_ports = { ++ [0] = { ++ .used = 1, ++ .phy_id = 1, ++ .name = Port 1, ++ }, ++ [1] = { ++ .used = 1, ++ .phy_id = 2, ++ .name = Port 2, ++ }, ++ [2] = { ++ .used = 1, ++ .phy_id = 3, ++ .name = Port 3, ++ }, ++ [3] = { ++ .used = 1, ++ .phy_id = 4, ++ .name = Port 4, ++ }, ++ }, ++ }, ++ ++ .leds = { ++ /* front LEDs */ ++ { ++ .name = F@ST2704V2:green:power, ++ .gpio = 4, ++ .active_low = 1, ++ .default_trigger= default-on, ++ }, ++ { ++ .name = F@ST2704V2 :red:power, ++ .gpio = 5, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2 :red:inet, ++ .gpio = 2, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2 :green:dsl, ++ .gpio = 3, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2 :green:inet, ++
Re: [OpenWrt-Devel] [v3, 1/4] Add kernel support for Sagemcom F@ST2704V2 ADSL router
Can this pretty please not die to bitrot? I need this merged so badly ;_; On Thu, Oct 31, 2013 at 7:33 PM, Marcin Jurkowski marci...@gmail.comwrote: This adds kernel support support for Sagemcom F@st 2704 wireless ADSL router. It's a BCM6328-based 802.11n wireless router with USB port and ADSL2+ modem equipped with 64 MiB RAM and 8 MiB flash. --- .../brcm63xx/patches-3.10/536-board_fast2704.patch | 133 + 1 file changed, 133 insertions(+) create mode 100644 target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch diff --git a/target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch b/target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch new file mode 100644 index 000..db34932 --- /dev/null +++ b/target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch @@ -0,0 +1,133 @@ +--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c b/arch/mips/bcm63xx/boards/board_bcm963xx.c +@@ -1477,6 +1477,122 @@ static struct board_info __initdata boar + }, + }; + ++static struct board_info __initdata board_FAST2704V2 = { ++ .name = F@ST2704V2, ++ .expected_cpu_id= 0x6328, ++ ++ .has_uart0 = 1, ++ .has_pci= 1, ++ .has_ohci0 = 1, ++ .has_ehci0 = 1, ++ .has_usbd = 1, ++ ++ .has_enetsw = 1, ++ ++ .enetsw = { ++ .used_ports = { ++ [0] = { ++ .used = 1, ++ .phy_id = 1, ++ .name = Port 1, ++ }, ++ [1] = { ++ .used = 1, ++ .phy_id = 2, ++ .name = Port 2, ++ }, ++ [2] = { ++ .used = 1, ++ .phy_id = 3, ++ .name = Port 3, ++ }, ++ [3] = { ++ .used = 1, ++ .phy_id = 4, ++ .name = Port 4, ++ }, ++ }, ++ }, ++ ++ .leds = { ++ /* front LEDs */ ++ { ++ .name = F@ST2704V2 :green:power, ++ .gpio = 4, ++ .active_low = 1, ++ .default_trigger= default-on, ++ }, ++ { ++ .name = F@ST2704V2:red:power, ++ .gpio = 5, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:red:inet, ++ .gpio = 2, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:green:dsl, ++ .gpio = 3, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:green:inet, ++ .gpio = 11, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:green:usb, ++ .gpio = 1, ++ .active_low = 1, ++ }, ++ ++ /* side button LEDs */ ++ { ++ .name = F@ST2704V2:green:wps, ++ .gpio = 10, ++ .active_low = 1, ++ }, ++ ++ /* FIXME: can't control gpio0 line in out state, needs further investigation */ ++ /* ++ { ++ .name = F@ST2704V2 :green:rfkill, ++ .gpio = 0, ++ .active_low = 1, ++ }, ++ */ ++ ++ }, ++ .buttons = { ++ { ++ .desc = reset, ++ .gpio = 23, ++ .active_low = 1, ++ .type = EV_KEY, ++ .code = KEY_RESTART, ++ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL, ++ }, ++ { ++ .desc = wps, ++
Re: [OpenWrt-Devel] [v3, 1/4] Add kernel support for Sagemcom F@ST2704V2 ADSL router
Well if you need this that badly, you can patch it yourself :) git clone git://git.openwrt.org/openwrt.git 2013/11/8 Weedy weedy2...@gmail.com: Can this pretty please not die to bitrot? I need this merged so badly ;_; On Thu, Oct 31, 2013 at 7:33 PM, Marcin Jurkowski marci...@gmail.com wrote: This adds kernel support support for Sagemcom F@st 2704 wireless ADSL router. It's a BCM6328-based 802.11n wireless router with USB port and ADSL2+ modem equipped with 64 MiB RAM and 8 MiB flash. --- .../brcm63xx/patches-3.10/536-board_fast2704.patch | 133 + 1 file changed, 133 insertions(+) create mode 100644 target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch diff --git a/target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch b/target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch new file mode 100644 index 000..db34932 --- /dev/null +++ b/target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch @@ -0,0 +1,133 @@ +--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c b/arch/mips/bcm63xx/boards/board_bcm963xx.c +@@ -1477,6 +1477,122 @@ static struct board_info __initdata boar + }, + }; + ++static struct board_info __initdata board_FAST2704V2 = { ++ .name = F@ST2704V2, ++ .expected_cpu_id= 0x6328, ++ ++ .has_uart0 = 1, ++ .has_pci= 1, ++ .has_ohci0 = 1, ++ .has_ehci0 = 1, ++ .has_usbd = 1, ++ ++ .has_enetsw = 1, ++ ++ .enetsw = { ++ .used_ports = { ++ [0] = { ++ .used = 1, ++ .phy_id = 1, ++ .name = Port 1, ++ }, ++ [1] = { ++ .used = 1, ++ .phy_id = 2, ++ .name = Port 2, ++ }, ++ [2] = { ++ .used = 1, ++ .phy_id = 3, ++ .name = Port 3, ++ }, ++ [3] = { ++ .used = 1, ++ .phy_id = 4, ++ .name = Port 4, ++ }, ++ }, ++ }, ++ ++ .leds = { ++ /* front LEDs */ ++ { ++ .name = F@ST2704V2:green:power, ++ .gpio = 4, ++ .active_low = 1, ++ .default_trigger= default-on, ++ }, ++ { ++ .name = F@ST2704V2:red:power, ++ .gpio = 5, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:red:inet, ++ .gpio = 2, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:green:dsl, ++ .gpio = 3, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:green:inet, ++ .gpio = 11, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:green:usb, ++ .gpio = 1, ++ .active_low = 1, ++ }, ++ ++ /* side button LEDs */ ++ { ++ .name = F@ST2704V2:green:wps, ++ .gpio = 10, ++ .active_low = 1, ++ }, ++ ++ /* FIXME: can't control gpio0 line in out state, needs further investigation */ ++ /* ++ { ++ .name = F@ST2704V2:green:rfkill, ++ .gpio = 0, ++ .active_low = 1, ++ }, ++ */ ++ ++ }, ++ .buttons = { ++ { ++ .desc = reset, ++ .gpio = 23, ++ .active_low = 1, ++ .type = EV_KEY, ++ .code = KEY_RESTART, ++
Re: [OpenWrt-Devel] [v3, 1/4] Add kernel support for Sagemcom F@ST2704V2 ADSL router
Well if you need this that badly, you can patch it yourself :) Checkout the git repository: git clone git://git.openwrt.org/openwrt.git download the patches and apply them to the local git repo. the command for that is: git apply 'example.patch' (make sure that you are in the openwrt directory) I think you have to apply 4 patches since this one is 1/4. Sorry for the earlier message that was incomplete. -Martijn 2013/11/8 Martijn Zilverschoon thefriedzom...@gmail.com: Well if you need this that badly, you can patch it yourself :) git clone git://git.openwrt.org/openwrt.git 2013/11/8 Weedy weedy2...@gmail.com: Can this pretty please not die to bitrot? I need this merged so badly ;_; On Thu, Oct 31, 2013 at 7:33 PM, Marcin Jurkowski marci...@gmail.com wrote: This adds kernel support support for Sagemcom F@st 2704 wireless ADSL router. It's a BCM6328-based 802.11n wireless router with USB port and ADSL2+ modem equipped with 64 MiB RAM and 8 MiB flash. --- .../brcm63xx/patches-3.10/536-board_fast2704.patch | 133 + 1 file changed, 133 insertions(+) create mode 100644 target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch diff --git a/target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch b/target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch new file mode 100644 index 000..db34932 --- /dev/null +++ b/target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch @@ -0,0 +1,133 @@ +--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c b/arch/mips/bcm63xx/boards/board_bcm963xx.c +@@ -1477,6 +1477,122 @@ static struct board_info __initdata boar + }, + }; + ++static struct board_info __initdata board_FAST2704V2 = { ++ .name = F@ST2704V2, ++ .expected_cpu_id= 0x6328, ++ ++ .has_uart0 = 1, ++ .has_pci= 1, ++ .has_ohci0 = 1, ++ .has_ehci0 = 1, ++ .has_usbd = 1, ++ ++ .has_enetsw = 1, ++ ++ .enetsw = { ++ .used_ports = { ++ [0] = { ++ .used = 1, ++ .phy_id = 1, ++ .name = Port 1, ++ }, ++ [1] = { ++ .used = 1, ++ .phy_id = 2, ++ .name = Port 2, ++ }, ++ [2] = { ++ .used = 1, ++ .phy_id = 3, ++ .name = Port 3, ++ }, ++ [3] = { ++ .used = 1, ++ .phy_id = 4, ++ .name = Port 4, ++ }, ++ }, ++ }, ++ ++ .leds = { ++ /* front LEDs */ ++ { ++ .name = F@ST2704V2:green:power, ++ .gpio = 4, ++ .active_low = 1, ++ .default_trigger= default-on, ++ }, ++ { ++ .name = F@ST2704V2:red:power, ++ .gpio = 5, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:red:inet, ++ .gpio = 2, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:green:dsl, ++ .gpio = 3, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:green:inet, ++ .gpio = 11, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:green:usb, ++ .gpio = 1, ++ .active_low = 1, ++ }, ++ ++ /* side button LEDs */ ++ { ++ .name = F@ST2704V2:green:wps, ++ .gpio = 10, ++ .active_low = 1, ++ }, ++ ++ /* FIXME: can't control gpio0 line in out state, needs further investigation */ ++ /* ++ { ++ .name = F@ST2704V2:green:rfkill, ++ .gpio = 0,
[OpenWrt-Devel] [v3, 1/4] Add kernel support for Sagemcom F@ST2704V2 ADSL router
This adds kernel support support for Sagemcom F@st 2704 wireless ADSL router. It's a BCM6328-based 802.11n wireless router with USB port and ADSL2+ modem equipped with 64 MiB RAM and 8 MiB flash. --- .../brcm63xx/patches-3.10/536-board_fast2704.patch | 133 + 1 file changed, 133 insertions(+) create mode 100644 target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch diff --git a/target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch b/target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch new file mode 100644 index 000..db34932 --- /dev/null +++ b/target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch @@ -0,0 +1,133 @@ +--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c b/arch/mips/bcm63xx/boards/board_bcm963xx.c +@@ -1477,6 +1477,122 @@ static struct board_info __initdata boar + }, + }; + ++static struct board_info __initdata board_FAST2704V2 = { ++ .name = F@ST2704V2, ++ .expected_cpu_id= 0x6328, ++ ++ .has_uart0 = 1, ++ .has_pci= 1, ++ .has_ohci0 = 1, ++ .has_ehci0 = 1, ++ .has_usbd = 1, ++ ++ .has_enetsw = 1, ++ ++ .enetsw = { ++ .used_ports = { ++ [0] = { ++ .used = 1, ++ .phy_id = 1, ++ .name = Port 1, ++ }, ++ [1] = { ++ .used = 1, ++ .phy_id = 2, ++ .name = Port 2, ++ }, ++ [2] = { ++ .used = 1, ++ .phy_id = 3, ++ .name = Port 3, ++ }, ++ [3] = { ++ .used = 1, ++ .phy_id = 4, ++ .name = Port 4, ++ }, ++ }, ++ }, ++ ++ .leds = { ++ /* front LEDs */ ++ { ++ .name = F@ST2704V2:green:power, ++ .gpio = 4, ++ .active_low = 1, ++ .default_trigger= default-on, ++ }, ++ { ++ .name = F@ST2704V2:red:power, ++ .gpio = 5, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:red:inet, ++ .gpio = 2, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:green:dsl, ++ .gpio = 3, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:green:inet, ++ .gpio = 11, ++ .active_low = 1, ++ }, ++ { ++ .name = F@ST2704V2:green:usb, ++ .gpio = 1, ++ .active_low = 1, ++ }, ++ ++ /* side button LEDs */ ++ { ++ .name = F@ST2704V2:green:wps, ++ .gpio = 10, ++ .active_low = 1, ++ }, ++ ++ /* FIXME: can't control gpio0 line in out state, needs further investigation */ ++ /* ++ { ++ .name = F@ST2704V2:green:rfkill, ++ .gpio = 0, ++ .active_low = 1, ++ }, ++ */ ++ ++ }, ++ .buttons = { ++ { ++ .desc = reset, ++ .gpio = 23, ++ .active_low = 1, ++ .type = EV_KEY, ++ .code = KEY_RESTART, ++ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL, ++ }, ++ { ++ .desc = wps, ++ .gpio = 24, ++ .active_low = 1, ++ .type = EV_KEY, ++ .code = KEY_WPS_BUTTON, ++ .debounce_interval =