2015-12-02 22:24:46 +00:00
|
|
|
From 997f53b174c63153335508c22dc4493e8e5808d6 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Jonas Gorski <jogo@openwrt.org>
|
|
|
|
Date: Sun, 22 Feb 2015 17:52:32 +0100
|
|
|
|
Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
|
|
|
|
|
|
|
|
---
|
|
|
|
arch/mips/bcm63xx/boards/board_bcm963xx.c | 262 -----------------------------
|
|
|
|
1 file changed, 262 deletions(-)
|
|
|
|
|
|
|
|
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
|
|
|
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
2017-02-07 16:15:36 +00:00
|
|
|
@@ -47,14 +47,6 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
.use_internal_phy = 1,
|
|
|
|
},
|
|
|
|
|
|
|
|
- .leds = {
|
|
|
|
- {
|
|
|
|
- .name = "CVG834G:green:power",
|
|
|
|
- .gpio = 37,
|
|
|
|
- .default_trigger= "default-on",
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
.ephy_reset_gpio = 36,
|
|
|
|
.ephy_reset_gpio_flags = GPIO_ACTIVE_LOW,
|
|
|
|
};
|
2017-02-07 16:15:36 +00:00
|
|
|
@@ -78,35 +70,6 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
.port_no = 0,
|
|
|
|
},
|
|
|
|
|
|
|
|
- .leds = {
|
|
|
|
- {
|
|
|
|
- .name = "96328avng::ppp-fail",
|
|
|
|
- .gpio = 2,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "96328avng::power",
|
|
|
|
- .gpio = 4,
|
|
|
|
- .active_low = 1,
|
|
|
|
- .default_trigger = "default-on",
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "96328avng::power-fail",
|
|
|
|
- .gpio = 8,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "96328avng::wps",
|
|
|
|
- .gpio = 9,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "96328avng::ppp",
|
|
|
|
- .gpio = 11,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
.has_enetsw = 1,
|
|
|
|
|
|
|
|
.enetsw = {
|
2017-02-07 16:15:36 +00:00
|
|
|
@@ -445,35 +408,6 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
.has_ohci0 = 1,
|
|
|
|
-
|
|
|
|
- .leds = {
|
|
|
|
- {
|
|
|
|
- .name = "adsl",
|
|
|
|
- .gpio = 3,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "ses",
|
|
|
|
- .gpio = 5,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "ppp-fail",
|
|
|
|
- .gpio = 4,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "power",
|
|
|
|
- .gpio = 0,
|
|
|
|
- .active_low = 1,
|
|
|
|
- .default_trigger = "default-on",
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "stop",
|
|
|
|
- .gpio = 1,
|
|
|
|
- .active_low = 1,
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
};
|
|
|
|
|
|
|
|
static struct board_info __initdata board_96338w = {
|
2017-02-07 16:15:36 +00:00
|
|
|
@@ -488,35 +422,6 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
|
|
|
-
|
|
|
|
- .leds = {
|
|
|
|
- {
|
|
|
|
- .name = "adsl",
|
|
|
|
- .gpio = 3,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "ses",
|
|
|
|
- .gpio = 5,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "ppp-fail",
|
|
|
|
- .gpio = 4,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "power",
|
|
|
|
- .gpio = 0,
|
|
|
|
- .active_low = 1,
|
|
|
|
- .default_trigger = "default-on",
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "stop",
|
|
|
|
- .gpio = 1,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
};
|
|
|
|
|
|
|
|
static struct board_info __initdata board_96338w2_e7t = {
|
2017-02-07 16:15:36 +00:00
|
|
|
@@ -615,36 +520,6 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
.has_phy = 1,
|
|
|
|
.use_internal_phy = 1,
|
|
|
|
},
|
|
|
|
-
|
|
|
|
- .leds = {
|
|
|
|
- {
|
|
|
|
- .name = "adsl-fail",
|
|
|
|
- .gpio = 2,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "ppp",
|
|
|
|
- .gpio = 3,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "ppp-fail",
|
|
|
|
- .gpio = 4,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "power",
|
|
|
|
- .gpio = 0,
|
|
|
|
- .active_low = 1,
|
|
|
|
- .default_trigger = "default-on",
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "stop",
|
|
|
|
- .gpio = 1,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
};
|
|
|
|
|
|
|
|
static struct board_info __initdata board_96348gw_10 = {
|
2017-02-07 16:15:36 +00:00
|
|
|
@@ -679,35 +554,6 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
.cs = 2,
|
|
|
|
.ext_irq = 2,
|
|
|
|
},
|
|
|
|
-
|
|
|
|
- .leds = {
|
|
|
|
- {
|
|
|
|
- .name = "adsl-fail",
|
|
|
|
- .gpio = 2,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "ppp",
|
|
|
|
- .gpio = 3,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "ppp-fail",
|
|
|
|
- .gpio = 4,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "power",
|
|
|
|
- .gpio = 0,
|
|
|
|
- .active_low = 1,
|
|
|
|
- .default_trigger = "default-on",
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "stop",
|
|
|
|
- .gpio = 1,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
};
|
|
|
|
|
|
|
|
static struct board_info __initdata board_96348gw_11 = {
|
2017-02-07 16:15:36 +00:00
|
|
|
@@ -736,35 +582,6 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
.has_ohci0 = 1,
|
|
|
|
.has_pccard = 1,
|
|
|
|
.has_ehci0 = 1,
|
|
|
|
-
|
|
|
|
- .leds = {
|
|
|
|
- {
|
|
|
|
- .name = "adsl-fail",
|
|
|
|
- .gpio = 2,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "ppp",
|
|
|
|
- .gpio = 3,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "ppp-fail",
|
|
|
|
- .gpio = 4,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "power",
|
|
|
|
- .gpio = 0,
|
|
|
|
- .active_low = 1,
|
|
|
|
- .default_trigger = "default-on",
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "stop",
|
|
|
|
- .gpio = 1,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2017-02-07 16:15:36 +00:00
|
|
|
@@ -890,35 +707,6 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
.ext_irq = 2,
|
|
|
|
.cs = 2,
|
|
|
|
},
|
|
|
|
-
|
|
|
|
- .leds = {
|
|
|
|
- {
|
|
|
|
- .name = "adsl-fail",
|
|
|
|
- .gpio = 2,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "ppp",
|
|
|
|
- .gpio = 3,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "ppp-fail",
|
|
|
|
- .gpio = 4,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "power",
|
|
|
|
- .gpio = 0,
|
|
|
|
- .active_low = 1,
|
|
|
|
- .default_trigger = "default-on",
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "stop",
|
|
|
|
- .gpio = 1,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
};
|
|
|
|
|
|
|
|
static struct board_info __initdata board_gw6200 = {
|
2017-02-07 16:15:36 +00:00
|
|
|
@@ -1255,33 +1043,6 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
.has_ohci0 = 1,
|
|
|
|
.has_pccard = 1,
|
|
|
|
.has_ehci0 = 1,
|
|
|
|
-
|
|
|
|
- .leds = {
|
|
|
|
- {
|
|
|
|
- .name = "adsl-fail",
|
|
|
|
- .gpio = 15,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "ppp",
|
|
|
|
- .gpio = 22,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "ppp-fail",
|
|
|
|
- .gpio = 23,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "power",
|
|
|
|
- .gpio = 4,
|
|
|
|
- .default_trigger = "default-on",
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "stop",
|
|
|
|
- .gpio = 5,
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
};
|
|
|
|
|
|
|
|
static struct board_info __initdata board_96358vw2 = {
|
2017-02-07 16:15:36 +00:00
|
|
|
@@ -1311,29 +1072,6 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
.has_pccard = 1,
|
|
|
|
.has_ehci0 = 1,
|
|
|
|
.num_usbh_ports = 2,
|
|
|
|
-
|
|
|
|
- .leds = {
|
|
|
|
- {
|
|
|
|
- .name = "adsl",
|
|
|
|
- .gpio = 22,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "ppp-fail",
|
|
|
|
- .gpio = 23,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "power",
|
|
|
|
- .gpio = 5,
|
|
|
|
- .active_low = 1,
|
|
|
|
- .default_trigger = "default-on",
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- .name = "stop",
|
|
|
|
- .gpio = 4,
|
|
|
|
- .active_low = 1,
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
};
|
|
|
|
|
|
|
|
static struct board_info __initdata board_CPVA642 = {
|