2020-04-03 10:26:23 +00:00
|
|
|
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
|
|
|
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
bcm63xx: add support for Innacomm W3400V6
Innacomm W3400V6 is an xDSL B/G wireless router based on Broadcom BCM6328 SoC.
Hardware:
SoC: Broadcom BCM6328
CPU: BMIPS4350 V8.0, 320 MHz, 1 core
Flash: SPI-NOR 8MB, MX25L6406E
RAM: 64 MB
Ethernet: 4x 10/100 Mbps
Switch: Integrated
Wireless: 802.11b/g, BCM4312
LEDs/Buttons: 9x / 2x
Flash instruction, web UI:
1) Set a static IP on your computer compatible
with 192.168.1.1, i.e 192.168.1.100
2) Connect the ethernet cable from your computer to the router.
3) Make sure the router is powered off.
4) Press the reset button, don't release it yet!
5) While pressing reset, power on the router.
6) Wait 10 seconds or more.
Note: The power LED is red at first then turns to solid
green when ready.
8) Release the reset button.
9) Browse to 192.168.1.1
10) Select .bin file.
10) Upgrade the image.
11) Wait for it to reboot.
Signed-off-by: Sieng Piaw Liew <liew.s.piaw@gmail.com>
[Ammend commit description, merge patches, DT improvements]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-10-09 09:04:03 +00:00
|
|
|
@@ -1026,6 +1026,32 @@ static struct board_info __initdata boar
|
2020-04-03 10:26:23 +00:00
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+static struct board_info __initdata board_96338w2_e7t = {
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .name = "96338W2_E7T",
|
|
|
|
+ .expected_cpu_id = 0x6338,
|
2020-04-03 10:26:23 +00:00
|
|
|
+
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .has_enet0 = 1,
|
2020-04-03 10:26:23 +00:00
|
|
|
+ .enet0 = {
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
+ .force_speed_100 = 1,
|
|
|
|
+ .force_duplex_full = 1,
|
2020-04-03 10:26:23 +00:00
|
|
|
+ },
|
2020-10-04 16:00:28 +00:00
|
|
|
+};
|
|
|
|
+
|
|
|
|
+static struct board_info __initdata board_rta1320_16m = {
|
|
|
|
+ .name = "RTA1320_16M",
|
|
|
|
+ .expected_cpu_id = 0x6338,
|
|
|
|
+
|
|
|
|
+ .has_enet0 = 1,
|
|
|
|
+ .enet0 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
+ .force_speed_100 = 1,
|
|
|
|
+ .force_duplex_full = 1,
|
|
|
|
+ },
|
2020-04-03 10:26:23 +00:00
|
|
|
+};
|
|
|
|
#endif /* CONFIG_BCM63XX_CPU_6338 */
|
|
|
|
|
|
|
|
/*
|
bcm63xx: add support for Innacomm W3400V6
Innacomm W3400V6 is an xDSL B/G wireless router based on Broadcom BCM6328 SoC.
Hardware:
SoC: Broadcom BCM6328
CPU: BMIPS4350 V8.0, 320 MHz, 1 core
Flash: SPI-NOR 8MB, MX25L6406E
RAM: 64 MB
Ethernet: 4x 10/100 Mbps
Switch: Integrated
Wireless: 802.11b/g, BCM4312
LEDs/Buttons: 9x / 2x
Flash instruction, web UI:
1) Set a static IP on your computer compatible
with 192.168.1.1, i.e 192.168.1.100
2) Connect the ethernet cable from your computer to the router.
3) Make sure the router is powered off.
4) Press the reset button, don't release it yet!
5) While pressing reset, power on the router.
6) Wait 10 seconds or more.
Note: The power LED is red at first then turns to solid
green when ready.
8) Release the reset button.
9) Browse to 192.168.1.1
10) Select .bin file.
10) Upgrade the image.
11) Wait for it to reboot.
Signed-off-by: Sieng Piaw Liew <liew.s.piaw@gmail.com>
[Ammend commit description, merge patches, DT improvements]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-10-09 09:04:03 +00:00
|
|
|
@@ -1366,6 +1392,8 @@ static const struct board_info __initcon
|
2020-04-03 10:26:23 +00:00
|
|
|
#ifdef CONFIG_BCM63XX_CPU_6338
|
|
|
|
&board_96338gw,
|
|
|
|
&board_96338w,
|
|
|
|
+ &board_96338w2_e7t,
|
2020-10-04 16:00:28 +00:00
|
|
|
+ &board_rta1320_16m,
|
2020-08-06 14:12:21 +00:00
|
|
|
#endif /* CONFIG_BCM63XX_CPU_6338 */
|
2020-04-03 10:26:23 +00:00
|
|
|
#ifdef CONFIG_BCM63XX_CPU_6345
|
|
|
|
&board_96345gw2,
|
bcm63xx: add support for Innacomm W3400V6
Innacomm W3400V6 is an xDSL B/G wireless router based on Broadcom BCM6328 SoC.
Hardware:
SoC: Broadcom BCM6328
CPU: BMIPS4350 V8.0, 320 MHz, 1 core
Flash: SPI-NOR 8MB, MX25L6406E
RAM: 64 MB
Ethernet: 4x 10/100 Mbps
Switch: Integrated
Wireless: 802.11b/g, BCM4312
LEDs/Buttons: 9x / 2x
Flash instruction, web UI:
1) Set a static IP on your computer compatible
with 192.168.1.1, i.e 192.168.1.100
2) Connect the ethernet cable from your computer to the router.
3) Make sure the router is powered off.
4) Press the reset button, don't release it yet!
5) While pressing reset, power on the router.
6) Wait 10 seconds or more.
Note: The power LED is red at first then turns to solid
green when ready.
8) Release the reset button.
9) Browse to 192.168.1.1
10) Select .bin file.
10) Upgrade the image.
11) Wait for it to reboot.
Signed-off-by: Sieng Piaw Liew <liew.s.piaw@gmail.com>
[Ammend commit description, merge patches, DT improvements]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-10-09 09:04:03 +00:00
|
|
|
@@ -1422,6 +1450,8 @@ static struct of_device_id const bcm963x
|
2020-04-03 10:26:23 +00:00
|
|
|
#ifdef CONFIG_BCM63XX_CPU_6338
|
|
|
|
{ .compatible = "brcm,bcm96338gw", .data = &board_96338gw, },
|
|
|
|
{ .compatible = "brcm,bcm96338w", .data = &board_96338w, },
|
|
|
|
+ { .compatible = "d-link,dsl-2640u", .data = &board_96338w2_e7t, },
|
2020-10-04 16:00:28 +00:00
|
|
|
+ { .compatible = "dynalink,rta1320", .data = &board_rta1320_16m, },
|
2020-08-07 09:04:22 +00:00
|
|
|
#endif /* CONFIG_BCM63XX_CPU_6338 */
|
2020-04-03 10:26:23 +00:00
|
|
|
#ifdef CONFIG_BCM63XX_CPU_6345
|
|
|
|
{ .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
|