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 Technicolor TG582n
Technicolor TG582n has a similar PCB as the OpenWrt's ADB P.DG A4001N1
with LEDs connected to different GPIO PINs in active low configuration.
Hardware:
* Board ID: DANT-1
* SoC: Broadcom BCM6328 (rev b0) @ 320MHz, CPU BMIPS4350
* RAM DDR2: 64 Mbyte - Winbond W9751G6KB-25
* Serial flash: 16 Mbyte - MXIC MX25L6445EMI
* Ethernet: 4x Ethernet 10/100 baseT
* Wifi 2.4GHz: Broadcom Corporation BCM43227 Wireless Network Adapter (rev 30)
* LEDs: 2x Power, 1x Ethernet, 1x Broadband, 2x Wi-Fi, 2x WPS, 4x ethernet
* Buttons: 1x Reset, 1x WPS, 1x WiFi
* UART: 1x TTL 115200n8, VCC GND TX RX, on J3 connector (short R62 and R63)
Installation via CFE:
* Stock CFE has to be overwritten with a generic 6328 one that can upload
.bin images with no signature check (cfe6328_configured.bin)
* Connect a serial port to the board
* Stop the CFE boot process after power on by pressing enter
* Set static IP 192.168.2.10 and subnet mask 255.255.255.0
* Navigate to http://192.168.2.50/
* Upload the OpenWrt image file
PCB: |GPIO: |TG582n:
LED2R |488(08) |red Power
LED2G |484(04) |green Power
LED10R |486(06) |
LED13G |485(05) |green Ethernet
LED11R |494(14) |
LED14G |491(11) |green Broadband
LED5R |487(07) |red Internet
LED5G |481(01) |green Internet
LED12R |498(18) |
LED12G |499(19) |
LED6R |482(02) |red Wi-Fi
LED6G |483(03) |green Wi-Fi
LED7R |490(10) |red WPS
LED7G |489(09) |green WPS
LED4 |508(28) |ethernet port 4
LED3 |507(27) |ethernet port 3
LED9 |506(26) |ethernet port 2
LED8 |505(25) |ethernet port 1
SW3 |503(23) |key Reset
SW5 |504(24) |key WPS
SW4 |495(15) |key Wi-Fi
SW6 |493(13) |
SW1 |492(12) |
Signed-off-by: Daniele Castro <danielecastro@hotmail.it>
[Fix base-files, refresh patch]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-09-10 19:14:11 +00:00
|
|
|
@@ -1022,6 +1022,19 @@ static struct board_info __initdata boar
|
2020-04-03 10:26:23 +00:00
|
|
|
.name = "96345GW2",
|
|
|
|
.expected_cpu_id = 0x6345,
|
|
|
|
};
|
|
|
|
+
|
2020-08-07 08:30:07 +00:00
|
|
|
+static struct board_info __initdata board_rta770w = {
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .name = "RTA770BW",
|
|
|
|
+ .expected_cpu_id = 0x6345,
|
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
|
|
|
+ },
|
|
|
|
+};
|
|
|
|
#endif /* CONFIG_BCM63XX_CPU_6345 */
|
|
|
|
|
|
|
|
/*
|
bcm63xx: add support for Technicolor TG582n
Technicolor TG582n has a similar PCB as the OpenWrt's ADB P.DG A4001N1
with LEDs connected to different GPIO PINs in active low configuration.
Hardware:
* Board ID: DANT-1
* SoC: Broadcom BCM6328 (rev b0) @ 320MHz, CPU BMIPS4350
* RAM DDR2: 64 Mbyte - Winbond W9751G6KB-25
* Serial flash: 16 Mbyte - MXIC MX25L6445EMI
* Ethernet: 4x Ethernet 10/100 baseT
* Wifi 2.4GHz: Broadcom Corporation BCM43227 Wireless Network Adapter (rev 30)
* LEDs: 2x Power, 1x Ethernet, 1x Broadband, 2x Wi-Fi, 2x WPS, 4x ethernet
* Buttons: 1x Reset, 1x WPS, 1x WiFi
* UART: 1x TTL 115200n8, VCC GND TX RX, on J3 connector (short R62 and R63)
Installation via CFE:
* Stock CFE has to be overwritten with a generic 6328 one that can upload
.bin images with no signature check (cfe6328_configured.bin)
* Connect a serial port to the board
* Stop the CFE boot process after power on by pressing enter
* Set static IP 192.168.2.10 and subnet mask 255.255.255.0
* Navigate to http://192.168.2.50/
* Upload the OpenWrt image file
PCB: |GPIO: |TG582n:
LED2R |488(08) |red Power
LED2G |484(04) |green Power
LED10R |486(06) |
LED13G |485(05) |green Ethernet
LED11R |494(14) |
LED14G |491(11) |green Broadband
LED5R |487(07) |red Internet
LED5G |481(01) |green Internet
LED12R |498(18) |
LED12G |499(19) |
LED6R |482(02) |red Wi-Fi
LED6G |483(03) |green Wi-Fi
LED7R |490(10) |red WPS
LED7G |489(09) |green WPS
LED4 |508(28) |ethernet port 4
LED3 |507(27) |ethernet port 3
LED9 |506(26) |ethernet port 2
LED8 |505(25) |ethernet port 1
SW3 |503(23) |key Reset
SW5 |504(24) |key WPS
SW4 |495(15) |key Wi-Fi
SW6 |493(13) |
SW1 |492(12) |
Signed-off-by: Daniele Castro <danielecastro@hotmail.it>
[Fix base-files, refresh patch]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-09-10 19:14:11 +00:00
|
|
|
@@ -1356,6 +1369,7 @@ static const struct board_info __initcon
|
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,
|
2020-08-07 08:30:07 +00:00
|
|
|
+ &board_rta770w,
|
2020-08-06 14:12:21 +00:00
|
|
|
#endif /* CONFIG_BCM63XX_CPU_6345 */
|
2020-04-03 10:26:23 +00:00
|
|
|
#ifdef CONFIG_BCM63XX_CPU_6348
|
|
|
|
&board_96348r,
|
bcm63xx: add support for Technicolor TG582n
Technicolor TG582n has a similar PCB as the OpenWrt's ADB P.DG A4001N1
with LEDs connected to different GPIO PINs in active low configuration.
Hardware:
* Board ID: DANT-1
* SoC: Broadcom BCM6328 (rev b0) @ 320MHz, CPU BMIPS4350
* RAM DDR2: 64 Mbyte - Winbond W9751G6KB-25
* Serial flash: 16 Mbyte - MXIC MX25L6445EMI
* Ethernet: 4x Ethernet 10/100 baseT
* Wifi 2.4GHz: Broadcom Corporation BCM43227 Wireless Network Adapter (rev 30)
* LEDs: 2x Power, 1x Ethernet, 1x Broadband, 2x Wi-Fi, 2x WPS, 4x ethernet
* Buttons: 1x Reset, 1x WPS, 1x WiFi
* UART: 1x TTL 115200n8, VCC GND TX RX, on J3 connector (short R62 and R63)
Installation via CFE:
* Stock CFE has to be overwritten with a generic 6328 one that can upload
.bin images with no signature check (cfe6328_configured.bin)
* Connect a serial port to the board
* Stop the CFE boot process after power on by pressing enter
* Set static IP 192.168.2.10 and subnet mask 255.255.255.0
* Navigate to http://192.168.2.50/
* Upload the OpenWrt image file
PCB: |GPIO: |TG582n:
LED2R |488(08) |red Power
LED2G |484(04) |green Power
LED10R |486(06) |
LED13G |485(05) |green Ethernet
LED11R |494(14) |
LED14G |491(11) |green Broadband
LED5R |487(07) |red Internet
LED5G |481(01) |green Internet
LED12R |498(18) |
LED12G |499(19) |
LED6R |482(02) |red Wi-Fi
LED6G |483(03) |green Wi-Fi
LED7R |490(10) |red WPS
LED7G |489(09) |green WPS
LED4 |508(28) |ethernet port 4
LED3 |507(27) |ethernet port 3
LED9 |506(26) |ethernet port 2
LED8 |505(25) |ethernet port 1
SW3 |503(23) |key Reset
SW5 |504(24) |key WPS
SW4 |495(15) |key Wi-Fi
SW6 |493(13) |
SW1 |492(12) |
Signed-off-by: Daniele Castro <danielecastro@hotmail.it>
[Fix base-files, refresh patch]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-09-10 19:14:11 +00:00
|
|
|
@@ -1413,6 +1427,8 @@ static struct of_device_id const bcm963x
|
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, },
|
2020-08-07 08:30:07 +00:00
|
|
|
+ { .compatible = "dynalink,rta770bw", .data = &board_rta770w, },
|
|
|
|
+ { .compatible = "dynalink,rta770w", .data = &board_rta770w, },
|
2020-08-07 09:04:22 +00:00
|
|
|
#endif /* CONFIG_BCM63XX_CPU_6345 */
|
2020-04-03 10:26:23 +00:00
|
|
|
#ifdef CONFIG_BCM63XX_CPU_6348
|
|
|
|
{ .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },
|