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-15 15:21:35 +00:00
|
|
|
@@ -2543,6 +2543,46 @@ static struct board_info __initdata boar
|
2020-04-03 10:26:23 +00:00
|
|
|
#endif /* CONFIG_BCM63XX_CPU_6368 */
|
|
|
|
|
|
|
|
/*
|
|
|
|
+ * known 63268/63269 boards
|
|
|
|
+ */
|
|
|
|
+#ifdef CONFIG_BCM63XX_CPU_63268
|
|
|
|
+static struct board_info __initdata board_963269bhr = {
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .name = "963269BHR",
|
|
|
|
+ .expected_cpu_id = 0x63268,
|
2020-04-03 10:26:23 +00:00
|
|
|
+
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .has_pci = 1,
|
2020-08-07 08:11:01 +00:00
|
|
|
+ .has_ohci0 = 1,
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .has_ehci0 = 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,
|
|
|
|
+ .phy_id = 1,
|
|
|
|
+ .name = "port1",
|
2020-04-03 10:26:23 +00:00
|
|
|
+ },
|
|
|
|
+ [1] = {
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .used = 1,
|
|
|
|
+ .phy_id = 2,
|
|
|
|
+ .name = "port2",
|
2020-04-03 10:26:23 +00:00
|
|
|
+ },
|
|
|
|
+ [2] = {
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .used = 1,
|
|
|
|
+ .phy_id = 3,
|
|
|
|
+ .name = "port3",
|
2020-04-03 10:26:23 +00:00
|
|
|
+ },
|
|
|
|
+ [3] = {
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .used = 1,
|
|
|
|
+ .phy_id = 4,
|
|
|
|
+ .name = "port4",
|
2020-04-03 10:26:23 +00:00
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+};
|
|
|
|
+#endif /* CONFIG_BCM63XX_CPU_63268 */
|
|
|
|
+
|
|
|
|
+/*
|
|
|
|
* all boards
|
|
|
|
*/
|
|
|
|
static const struct board_info __initconst *bcm963xx_boards[] = {
|
2020-08-15 15:21:35 +00:00
|
|
|
@@ -2643,6 +2683,9 @@ static const struct board_info __initcon
|
|
|
|
&board_VR3026e,
|
|
|
|
&board_WAP5813n,
|
2020-08-06 14:12:21 +00:00
|
|
|
#endif /* CONFIG_BCM63XX_CPU_6368 */
|
2020-04-03 10:26:23 +00:00
|
|
|
+#ifdef CONFIG_BCM63XX_CPU_63268
|
|
|
|
+ &board_963269bhr,
|
2020-08-06 14:12:21 +00:00
|
|
|
+#endif /* CONFIG_BCM63XX_CPU_63268 */
|
2020-04-03 10:26:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static struct of_device_id const bcm963xx_boards_dt[] = {
|
2020-08-15 15:21:35 +00:00
|
|
|
@@ -2755,6 +2798,7 @@ static struct of_device_id const bcm963x
|
|
|
|
{ .compatible = "zyxel,p870hw-51a-v2", .data = &board_P870HW51A_V2, },
|
2020-08-07 09:04:22 +00:00
|
|
|
#endif /* CONFIG_BCM63XX_CPU_6368 */
|
2020-04-03 10:26:23 +00:00
|
|
|
#ifdef CONFIG_BCM63XX_CPU_63268
|
|
|
|
+ { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, },
|
2020-08-07 09:04:22 +00:00
|
|
|
#endif /* CONFIG_BCM63XX_CPU_63268 */
|
2020-04-03 10:26:23 +00:00
|
|
|
#endif /* CONFIG_OF */
|
|
|
|
{ },
|