2020-04-03 10:26:23 +00:00
|
|
|
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
|
|
|
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
2020-08-07 08:22:44 +00:00
|
|
|
@@ -204,6 +204,49 @@ static struct board_info __initdata boar
|
2020-08-07 07:14:15 +00:00
|
|
|
.num_board_fixups = ARRAY_SIZE(dsl2751b_e1_fixups),
|
2020-04-03 10:26:23 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+static struct board_info __initdata board_FAST2704N = {
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .name = "F@ST2704N",
|
|
|
|
+ .expected_cpu_id = 0x6318,
|
2020-04-03 10:26:23 +00:00
|
|
|
+
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .has_pci = 1,
|
|
|
|
+ .has_ohci0 = 1,
|
|
|
|
+ .has_ehci0 = 1,
|
|
|
|
+ .num_usbh_ports = 1,
|
2020-04-03 10:26:23 +00:00
|
|
|
+
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .has_enetsw = 1,
|
2020-04-03 10:26:23 +00:00
|
|
|
+ .enetsw = {
|
|
|
|
+ .used_ports = {
|
|
|
|
+ [0] = {
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .used = 1,
|
2020-04-03 10:26:23 +00:00
|
|
|
+ .phy_id = 1,
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .name = "Port 1",
|
2020-04-03 10:26:23 +00:00
|
|
|
+ },
|
|
|
|
+ [1] = {
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .used = 1,
|
|
|
|
+ .phy_id = 2,
|
|
|
|
+ .name = "Port 2",
|
2020-04-03 10:26:23 +00:00
|
|
|
+ },
|
|
|
|
+ [2] = {
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .used = 1,
|
|
|
|
+ .phy_id = 3,
|
|
|
|
+ .name = "Port 3",
|
2020-04-03 10:26:23 +00:00
|
|
|
+ },
|
|
|
|
+ [3] = {
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .used = 1,
|
|
|
|
+ .phy_id = 4,
|
|
|
|
+ .name = "Port 4",
|
2020-04-03 10:26:23 +00:00
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ },
|
2020-08-07 07:14:15 +00:00
|
|
|
+
|
|
|
|
+ .use_fallback_sprom = 1,
|
2020-08-07 08:22:44 +00:00
|
|
|
+ .fallback_sprom = {
|
|
|
|
+ .type = SPROM_BCM43217,
|
|
|
|
+ .pci_bus = 1,
|
|
|
|
+ .pci_dev = 0,
|
|
|
|
+ },
|
2020-04-03 10:26:23 +00:00
|
|
|
+};
|
|
|
|
#endif /* CONFIG_BCM63XX_CPU_6318 */
|
|
|
|
|
|
|
|
/*
|
2020-08-07 08:22:44 +00:00
|
|
|
@@ -2101,6 +2144,7 @@ static const struct board_info __initcon
|
2020-04-03 10:26:23 +00:00
|
|
|
&board_96318ref,
|
|
|
|
&board_96318ref_p300,
|
|
|
|
&board_dsl_2751b_d1,
|
|
|
|
+ &board_FAST2704N,
|
2020-08-06 14:12:21 +00:00
|
|
|
#endif /* CONFIG_BCM63XX_CPU_6318 */
|
2020-04-03 10:26:23 +00:00
|
|
|
#ifdef CONFIG_BCM63XX_CPU_6328
|
|
|
|
&board_96328avng,
|
2020-08-07 08:22:44 +00:00
|
|
|
@@ -2195,6 +2239,7 @@ static struct of_device_id const bcm963x
|
2020-04-03 10:26:23 +00:00
|
|
|
{ .compatible = "brcm,bcm96318ref", .data = &board_96318ref, },
|
|
|
|
{ .compatible = "brcm,bcm96318ref-p300", .data = &board_96318ref_p300, },
|
|
|
|
{ .compatible = "d-link,dsl-275xb-d1", .data = &board_dsl_2751b_d1, },
|
|
|
|
+ { .compatible = "sagem,fast-2704n", .data = &board_FAST2704N, },
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_BCM63XX_CPU_6328
|
|
|
|
{ .compatible = "adb,a4001n", .data = &board_A4001N, },
|