+/* RB wAP-2nD gpios */
+#define RBWAP_GPIO_LED_USER 14
+#define RBWAP_GPIO_LED_WLAN 11
+
+static struct gpio_led rbwap_leds[] __initdata = {
+ {
+ .name = "rb:green:user",
+ .gpio = RBWAP_GPIO_LED_USER,
+ .active_low = 1,
+ }, {
+ .name = "rb:green:wlan",
+ .gpio = RBWAP_GPIO_LED_WLAN,
+ .active_low = 1,
+ },
+};
+
+/* RB cAP-2nD gpios */
+#define RBCAP_GPIO_LED_1 14
+#define RBCAP_GPIO_LED_2 12
+#define RBCAP_GPIO_LED_3 11
+#define RBCAP_GPIO_LED_4 4
+#define RBCAP_GPIO_LED_ALL 13
+
+static struct gpio_led rbcap_leds[] __initdata = {
+ {
+ .name = "rb:green:rssi1",
+ .gpio = RBCAP_GPIO_LED_1,
+ .active_low = 1,
+ }, {
+ .name = "rb:green:rssi2",
+ .gpio = RBCAP_GPIO_LED_2,
+ .active_low = 1,
+ }, {
+ .name = "rb:green:rssi3",
+ .gpio = RBCAP_GPIO_LED_3,
+ .active_low = 1,
+ }, {
+ .name = "rb:green:rssi4",
+ .gpio = RBCAP_GPIO_LED_4,
+ .active_low = 1,
+ },
+};
+
+/* RB mAP-2nD gpios */
+#define RBMAP_SSR_BIT_LED_LAN1 0
+#define RBMAP_SSR_BIT_LED_LAN2 1
+#define RBMAP_SSR_BIT_LED_POEO 2
+#define RBMAP_SSR_BIT_LED_USER 3
+#define RBMAP_SSR_BIT_LED_WLAN 4
+#define RBMAP_SSR_BIT_USB_POWER 5
+#define RBMAP_SSR_BIT_LED_APCAP 6
+#define RBMAP_GPIO_SSR_CS 11
+#define RBMAP_GPIO_LED_POWER 4
+#define RBMAP_GPIO_POE_POWER 14
+#define RBMAP_GPIO_POE_STATUS 12
+#define RBMAP_GPIO_USB_POWER RBSPI_SSR_GPIO(RBMAP_SSR_BIT_USB_POWER)
+#define RBMAP_GPIO_LED_LAN1 RBSPI_SSR_GPIO(RBMAP_SSR_BIT_LED_LAN1)
+#define RBMAP_GPIO_LED_LAN2 RBSPI_SSR_GPIO(RBMAP_SSR_BIT_LED_LAN2)
+#define RBMAP_GPIO_LED_POEO RBSPI_SSR_GPIO(RBMAP_SSR_BIT_LED_POEO)
+#define RBMAP_GPIO_LED_USER RBSPI_SSR_GPIO(RBMAP_SSR_BIT_LED_USER)
+#define RBMAP_GPIO_LED_WLAN RBSPI_SSR_GPIO(RBMAP_SSR_BIT_LED_WLAN)
+#define RBMAP_GPIO_LED_APCAP RBSPI_SSR_GPIO(RBMAP_SSR_BIT_LED_APCAP)
+
+static struct gpio_led rbmap_leds[] __initdata = {
+ {
+ .name = "rb:green:power",
+ .gpio = RBMAP_GPIO_LED_POWER,
+ .active_low = 1,
+ .default_state = LEDS_GPIO_DEFSTATE_ON,
+ }, {
+ .name = "rb:green:eth1",
+ .gpio = RBMAP_GPIO_LED_LAN1,
+ .active_low = 1,
+ }, {
+ .name = "rb:green:eth2",
+ .gpio = RBMAP_GPIO_LED_WLAN,
+ .active_low = 1,
+ }, {
+ .name = "rb:red:poe_out",
+ .gpio = RBMAP_GPIO_LED_POEO,
+ .active_low = 1,
+ }, {
+ .name = "rb:green:user",
+ .gpio = RBMAP_GPIO_LED_USER,
+ .active_low = 1,
+ }, {
+ .name = "rb:green:wlan",
+ .gpio = RBMAP_GPIO_LED_WLAN,
+ .active_low = 1,
+ }, {
+ .name = "rb:green:ap_cap",
+ .gpio = RBMAP_GPIO_LED_APCAP,
+ .active_low = 1,
+ },
+};
+
+