aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/001-depends.mk
blob: 806c3dcfd5da6d4b5b396fbabd35839ceb93762e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#
# Copyright (C) 2010-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

define AddDepends/nls
  DEPENDS+= +kmod-nls-base $(foreach cp,$(1),+kmod-nls-$(cp))
endef

define AddDepends/rfkill
  DEPENDS+= +USE_RFKILL:kmod-rfkill $(1)
endef
e.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -2058,6 +2058,99 @@ static struct board_info __initdata boar
 
 	.has_ohci0 = 1,
 	.has_ehci0 = 1,
+
+	.leds = {
+		{
+			.name		= "AGPF-S0:red:power",
+			.gpio		= 5,
+			.active_low	= 1,
+		},
+		{
+			.name		= "AGPF-S0:green:power",
+			.gpio		= 4,
+			.active_low	= 1,
+			.default_trigger = "default-on",
+		},
+		{
+			.name		= "AGPF-S0:red:service",
+			.gpio		= 7,
+			.active_low	= 1,
+		},
+		{
+			.name		= "AGPF-S0:green:service",
+			.gpio		= 6,
+			.active_low	= 1,
+		},
+		{
+			.name		= "AGPF-S0:green:adsl",
+			.gpio		= 9,
+			.active_low	= 1,
+		},
+		{
+			.name		= "AGPF-S0:red:adsl",
+			.gpio		= 10,
+			.active_low	= 1,
+		},
+		{
+			.name		= "AGPF-S0:red:wifi",
+			.gpio		= 23,
+			.active_low	= 1,
+		},
+		{
+			.name		= "AGPF-S0:green:wifi",
+			.gpio		= 22,
+			.active_low	= 1,
+		},
+		{
+			.name		= "AGPF-S0:green:internet",
+			.gpio		= 25,
+			.active_low	= 1,
+		},
+		{
+			.name		= "AGPF-S0:red:internet",
+			.gpio		= 24,
+			.active_low	= 1,
+		},
+		{
+			.name		= "AGPF-S0:red:usr1",
+			.gpio		= 27,
+			.active_low	= 1,
+		},
+		{
+			.name		= "AGPF-S0:green:usr1",
+			.gpio		= 26,
+			.active_low	= 1,
+		},
+		{
+			.name		= "AGPF-S0:red:usr2",
+			.gpio		= 30,
+			.active_low	= 1,
+		},
+		{
+			.name		= "AGPF-S0:green:usr2",
+			.gpio		= 29,
+			.active_low	= 1,
+		},
+	},
+
+	.buttons = {
+		{
+			.desc           = "reset",
+			.gpio           = 37,
+			.active_low     = 1,
+			.type           = EV_KEY,
+			.code           = KEY_RESTART,
+			.debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
+		},
+		{
+			.desc		= "wps",
+			.gpio		= 34,
+			.active_low	= 1,
+			.type		= EV_KEY,
+			.code		= KEY_WPS_BUTTON,
+			.debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
+		},
+	},
 };
 
 static struct board_info __initdata board_DWVS0 = {