mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
5ebd02e8d5
We register all gpio buttons and leds through DT, so no need to keep fixes/additions for the platform data based bay. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46753
120 lines
2.5 KiB
Diff
120 lines
2.5 KiB
Diff
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
|
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
|
@@ -118,6 +118,8 @@ static struct board_info __initdata boar
|
|
.has_uart0 = 1,
|
|
.has_enet0 = 1,
|
|
.enet0 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -161,6 +163,8 @@ static struct board_info __initdata boar
|
|
.has_uart0 = 1,
|
|
.has_enet0 = 1,
|
|
.enet0 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -272,6 +276,8 @@ static struct board_info __initdata boar
|
|
.use_internal_phy = 1,
|
|
},
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -334,6 +340,8 @@ static struct board_info __initdata boar
|
|
},
|
|
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -388,6 +396,8 @@ static struct board_info __initdata boar
|
|
.use_internal_phy = 1,
|
|
},
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -448,6 +458,8 @@ static struct board_info __initdata boar
|
|
},
|
|
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -471,6 +483,8 @@ static struct board_info __initdata boar
|
|
.use_internal_phy = 1,
|
|
},
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -490,6 +504,8 @@ static struct board_info __initdata boar
|
|
.has_enet1 = 1,
|
|
.enet0 = {
|
|
.has_phy = 1,
|
|
+ .phy_id = 0,
|
|
+ .has_phy = 1,
|
|
.use_internal_phy = 1,
|
|
},
|
|
.enet1 = {
|
|
@@ -513,6 +529,8 @@ static struct board_info __initdata boar
|
|
.use_internal_phy = 1,
|
|
},
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -541,6 +559,8 @@ static struct board_info __initdata boar
|
|
},
|
|
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -594,6 +614,8 @@ static struct board_info __initdata boar
|
|
},
|
|
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -643,6 +665,8 @@ static struct board_info __initdata boar
|
|
},
|
|
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -666,6 +690,8 @@ static struct board_info __initdata boar
|
|
},
|
|
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|