aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm63xx/patches-5.4/518-bcm63xx-add-support-for-96368MVWG-board.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bcm63xx/patches-5.4/518-bcm63xx-add-support-for-96368MVWG-board.patch')
-rw-r--r--target/linux/bcm63xx/patches-5.4/518-bcm63xx-add-support-for-96368MVWG-board.patch54
1 files changed, 24 insertions, 30 deletions
diff --git a/target/linux/bcm63xx/patches-5.4/518-bcm63xx-add-support-for-96368MVWG-board.patch b/target/linux/bcm63xx/patches-5.4/518-bcm63xx-add-support-for-96368MVWG-board.patch
index c33b493556..0fd5ce5758 100644
--- a/target/linux/bcm63xx/patches-5.4/518-bcm63xx-add-support-for-96368MVWG-board.patch
+++ b/target/linux/bcm63xx/patches-5.4/518-bcm63xx-add-support-for-96368MVWG-board.patch
@@ -10,7 +10,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -790,6 +790,58 @@ static struct board_info __initdata boar
+@@ -776,6 +776,52 @@ static struct board_info __initdata boar
#endif /* CONFIG_BCM63XX_CPU_6358 */
/*
@@ -18,50 +18,44 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
+ */
+#ifdef CONFIG_BCM63XX_CPU_6368
+static struct board_info __initdata board_96368mvwg = {
-+ .name = "96368MVWG",
-+ .expected_cpu_id = 0x6368,
++ .name = "96368MVWG",
++ .expected_cpu_id = 0x6368,
+
-+ .has_pci = 1,
-+
-+ .has_usbd = 1,
++ .has_pci = 1,
++ .has_ohci0 = 1,
++ .has_ehci0 = 1,
+
++ .has_usbd = 1,
+ .usbd = {
-+ .use_fullspeed = 0,
-+ .port_no = 0,
++ .use_fullspeed = 0,
++ .port_no = 0,
+ },
+
-+ .has_enetsw = 1,
-+
++ .has_enetsw = 1,
+ .enetsw = {
+ .used_ports = {
+ [1] = {
-+ .used = 1,
-+ .phy_id = 2,
-+ .name = "port1",
++ .used = 1,
++ .phy_id = 2,
++ .name = "port1",
+ },
-+
+ [2] = {
-+ .used = 1,
-+ .phy_id = 3,
-+ .name = "port2",
++ .used = 1,
++ .phy_id = 3,
++ .name = "port2",
+ },
-+
+ [4] = {
-+ .used = 1,
-+ .phy_id = 0x12,
-+ .name = "port0",
++ .used = 1,
++ .phy_id = 0x12,
++ .name = "port0",
+ },
-+
+ [5] = {
-+ .used = 1,
-+ .phy_id = 0x11,
-+ .name = "port3",
++ .used = 1,
++ .phy_id = 0x11,
++ .name = "port3",
+ },
+ },
+ },
-+
-+ .has_ohci0 = 1,
-+ .has_ehci0 = 1,
+};
+#endif /* CONFIG_BCM63XX_CPU_6368 */
+
@@ -69,7 +63,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
* all boards
*/
static const struct board_info __initconst *bcm963xx_boards[] = {
-@@ -840,6 +892,9 @@ static const struct board_info __initcon
+@@ -826,6 +872,9 @@ static const struct board_info __initcon
&board_HW553,
&board_spw303v,
#endif /* CONFIG_BCM63XX_CPU_6358 */
@@ -79,7 +73,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
};
static struct of_device_id const bcm963xx_boards_dt[] = {
-@@ -900,6 +955,7 @@ static struct of_device_id const bcm963x
+@@ -886,6 +935,7 @@ static struct of_device_id const bcm963x
{ .compatible = "telsey,cpva642", .data = &board_CPVA642, },
#endif
#ifdef CONFIG_BCM63XX_CPU_6368