1 From 6e38a86d50dba5cc1da9bfd07969d76dd3ac2dda Mon Sep 17 00:00:00 2001
2 From: John Crispin <john@phrozen.org>
3 Date: Tue, 6 Mar 2018 09:28:13 +0100
4 Subject: [PATCH 23/27] MIPS: ath79: drop mach files
6 Signed-off-by: John Crispin <john@phrozen.org>
8 arch/mips/ath79/Kconfig | 73 -------------------
9 arch/mips/ath79/Makefile | 10 ---
10 arch/mips/ath79/mach-ap121.c | 92 ------------------------
11 arch/mips/ath79/mach-ap136.c | 156 -----------------------------------------
12 arch/mips/ath79/mach-ap81.c | 100 --------------------------
13 arch/mips/ath79/mach-db120.c | 136 -----------------------------------
14 arch/mips/ath79/mach-pb44.c | 128 ---------------------------------
15 arch/mips/ath79/mach-ubnt-xm.c | 126 ---------------------------------
16 8 files changed, 821 deletions(-)
17 delete mode 100644 arch/mips/ath79/mach-ap121.c
18 delete mode 100644 arch/mips/ath79/mach-ap136.c
19 delete mode 100644 arch/mips/ath79/mach-ap81.c
20 delete mode 100644 arch/mips/ath79/mach-db120.c
21 delete mode 100644 arch/mips/ath79/mach-pb44.c
22 delete mode 100644 arch/mips/ath79/mach-ubnt-xm.c
24 --- a/arch/mips/ath79/Kconfig
25 +++ b/arch/mips/ath79/Kconfig
27 # SPDX-License-Identifier: GPL-2.0
30 -menu "Atheros AR71XX/AR724X/AR913X machine selection"
32 -config ATH79_MACH_AP121
33 - bool "Atheros AP121 reference board"
35 - select ATH79_DEV_GPIO_BUTTONS
36 - select ATH79_DEV_LEDS_GPIO
37 - select ATH79_DEV_SPI
38 - select ATH79_DEV_USB
39 - select ATH79_DEV_WMAC
41 - Say 'Y' here if you want your kernel to support the
42 - Atheros AP121 reference board.
44 -config ATH79_MACH_AP136
45 - bool "Atheros AP136 reference board"
47 - select ATH79_DEV_GPIO_BUTTONS
48 - select ATH79_DEV_LEDS_GPIO
49 - select ATH79_DEV_SPI
50 - select ATH79_DEV_USB
51 - select ATH79_DEV_WMAC
53 - Say 'Y' here if you want your kernel to support the
54 - Atheros AP136 reference board.
56 -config ATH79_MACH_AP81
57 - bool "Atheros AP81 reference board"
59 - select ATH79_DEV_GPIO_BUTTONS
60 - select ATH79_DEV_LEDS_GPIO
61 - select ATH79_DEV_SPI
62 - select ATH79_DEV_USB
63 - select ATH79_DEV_WMAC
65 - Say 'Y' here if you want your kernel to support the
66 - Atheros AP81 reference board.
68 -config ATH79_MACH_DB120
69 - bool "Atheros DB120 reference board"
71 - select ATH79_DEV_GPIO_BUTTONS
72 - select ATH79_DEV_LEDS_GPIO
73 - select ATH79_DEV_SPI
74 - select ATH79_DEV_USB
75 - select ATH79_DEV_WMAC
77 - Say 'Y' here if you want your kernel to support the
78 - Atheros DB120 reference board.
80 -config ATH79_MACH_PB44
81 - bool "Atheros PB44 reference board"
83 - select ATH79_DEV_GPIO_BUTTONS
84 - select ATH79_DEV_LEDS_GPIO
85 - select ATH79_DEV_SPI
86 - select ATH79_DEV_USB
88 - Say 'Y' here if you want your kernel to support the
89 - Atheros PB44 reference board.
91 -config ATH79_MACH_UBNT_XM
92 - bool "Ubiquiti Networks XM (rev 1.0) board"
94 - select ATH79_DEV_GPIO_BUTTONS
95 - select ATH79_DEV_LEDS_GPIO
96 - select ATH79_DEV_SPI
98 - Say 'Y' here if you want your kernel to support the
99 - Ubiquiti Networks XM (rev 1.0) board.
106 --- a/arch/mips/ath79/Makefile
107 +++ b/arch/mips/ath79/Makefile
108 @@ -21,13 +21,3 @@ obj-$(CONFIG_ATH79_DEV_LEDS_GPIO) += dev
109 obj-$(CONFIG_ATH79_DEV_SPI) += dev-spi.o
110 obj-$(CONFIG_ATH79_DEV_USB) += dev-usb.o
111 obj-$(CONFIG_ATH79_DEV_WMAC) += dev-wmac.o
116 -obj-$(CONFIG_ATH79_MACH_AP121) += mach-ap121.o
117 -obj-$(CONFIG_ATH79_MACH_AP136) += mach-ap136.o
118 -obj-$(CONFIG_ATH79_MACH_AP81) += mach-ap81.o
119 -obj-$(CONFIG_ATH79_MACH_DB120) += mach-db120.o
120 -obj-$(CONFIG_ATH79_MACH_PB44) += mach-pb44.o
121 -obj-$(CONFIG_ATH79_MACH_UBNT_XM) += mach-ubnt-xm.o
122 --- a/arch/mips/ath79/mach-ap121.c
126 - * Atheros AP121 board support
128 - * Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
130 - * This program is free software; you can redistribute it and/or modify it
131 - * under the terms of the GNU General Public License version 2 as published
132 - * by the Free Software Foundation.
135 -#include "machtypes.h"
136 -#include "dev-gpio-buttons.h"
137 -#include "dev-leds-gpio.h"
138 -#include "dev-spi.h"
139 -#include "dev-usb.h"
140 -#include "dev-wmac.h"
142 -#define AP121_GPIO_LED_WLAN 0
143 -#define AP121_GPIO_LED_USB 1
145 -#define AP121_GPIO_BTN_JUMPSTART 11
146 -#define AP121_GPIO_BTN_RESET 12
148 -#define AP121_KEYS_POLL_INTERVAL 20 /* msecs */
149 -#define AP121_KEYS_DEBOUNCE_INTERVAL (3 * AP121_KEYS_POLL_INTERVAL)
151 -#define AP121_CAL_DATA_ADDR 0x1fff1000
153 -static struct gpio_led ap121_leds_gpio[] __initdata = {
155 - .name = "ap121:green:usb",
156 - .gpio = AP121_GPIO_LED_USB,
160 - .name = "ap121:green:wlan",
161 - .gpio = AP121_GPIO_LED_WLAN,
166 -static struct gpio_keys_button ap121_gpio_keys[] __initdata = {
168 - .desc = "jumpstart button",
170 - .code = KEY_WPS_BUTTON,
171 - .debounce_interval = AP121_KEYS_DEBOUNCE_INTERVAL,
172 - .gpio = AP121_GPIO_BTN_JUMPSTART,
176 - .desc = "reset button",
178 - .code = KEY_RESTART,
179 - .debounce_interval = AP121_KEYS_DEBOUNCE_INTERVAL,
180 - .gpio = AP121_GPIO_BTN_RESET,
185 -static struct spi_board_info ap121_spi_info[] = {
189 - .max_speed_hz = 25000000,
190 - .modalias = "mx25l1606e",
194 -static struct ath79_spi_platform_data ap121_spi_data = {
196 - .num_chipselect = 1,
199 -static void __init ap121_setup(void)
201 - u8 *cal_data = (u8 *) KSEG1ADDR(AP121_CAL_DATA_ADDR);
203 - ath79_register_leds_gpio(-1, ARRAY_SIZE(ap121_leds_gpio),
205 - ath79_register_gpio_keys_polled(-1, AP121_KEYS_POLL_INTERVAL,
206 - ARRAY_SIZE(ap121_gpio_keys),
209 - ath79_register_spi(&ap121_spi_data, ap121_spi_info,
210 - ARRAY_SIZE(ap121_spi_info));
211 - ath79_register_usb();
212 - ath79_register_wmac(cal_data);
215 -MIPS_MACHINE(ATH79_MACH_AP121, "AP121", "Atheros AP121 reference board",
217 --- a/arch/mips/ath79/mach-ap136.c
221 - * Qualcomm Atheros AP136 reference board support
223 - * Copyright (c) 2012 Qualcomm Atheros
224 - * Copyright (c) 2012-2013 Gabor Juhos <juhosg@openwrt.org>
226 - * Permission to use, copy, modify, and/or distribute this software for any
227 - * purpose with or without fee is hereby granted, provided that the above
228 - * copyright notice and this permission notice appear in all copies.
230 - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
231 - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
232 - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
233 - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
234 - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
235 - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
236 - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
240 -#include <linux/pci.h>
241 -#include <linux/ath9k_platform.h>
243 -#include "machtypes.h"
244 -#include "dev-gpio-buttons.h"
245 -#include "dev-leds-gpio.h"
246 -#include "dev-spi.h"
247 -#include "dev-usb.h"
248 -#include "dev-wmac.h"
251 -#define AP136_GPIO_LED_STATUS_RED 14
252 -#define AP136_GPIO_LED_STATUS_GREEN 19
253 -#define AP136_GPIO_LED_USB 4
254 -#define AP136_GPIO_LED_WLAN_2G 13
255 -#define AP136_GPIO_LED_WLAN_5G 12
256 -#define AP136_GPIO_LED_WPS_RED 15
257 -#define AP136_GPIO_LED_WPS_GREEN 20
259 -#define AP136_GPIO_BTN_WPS 16
260 -#define AP136_GPIO_BTN_RFKILL 21
262 -#define AP136_KEYS_POLL_INTERVAL 20 /* msecs */
263 -#define AP136_KEYS_DEBOUNCE_INTERVAL (3 * AP136_KEYS_POLL_INTERVAL)
265 -#define AP136_WMAC_CALDATA_OFFSET 0x1000
266 -#define AP136_PCIE_CALDATA_OFFSET 0x5000
268 -static struct gpio_led ap136_leds_gpio[] __initdata = {
270 - .name = "qca:green:status",
271 - .gpio = AP136_GPIO_LED_STATUS_GREEN,
275 - .name = "qca:red:status",
276 - .gpio = AP136_GPIO_LED_STATUS_RED,
280 - .name = "qca:green:wps",
281 - .gpio = AP136_GPIO_LED_WPS_GREEN,
285 - .name = "qca:red:wps",
286 - .gpio = AP136_GPIO_LED_WPS_RED,
290 - .name = "qca:red:wlan-2g",
291 - .gpio = AP136_GPIO_LED_WLAN_2G,
295 - .name = "qca:red:usb",
296 - .gpio = AP136_GPIO_LED_USB,
301 -static struct gpio_keys_button ap136_gpio_keys[] __initdata = {
303 - .desc = "WPS button",
305 - .code = KEY_WPS_BUTTON,
306 - .debounce_interval = AP136_KEYS_DEBOUNCE_INTERVAL,
307 - .gpio = AP136_GPIO_BTN_WPS,
311 - .desc = "RFKILL button",
313 - .code = KEY_RFKILL,
314 - .debounce_interval = AP136_KEYS_DEBOUNCE_INTERVAL,
315 - .gpio = AP136_GPIO_BTN_RFKILL,
320 -static struct spi_board_info ap136_spi_info[] = {
324 - .max_speed_hz = 25000000,
325 - .modalias = "mx25l6405d",
329 -static struct ath79_spi_platform_data ap136_spi_data = {
331 - .num_chipselect = 1,
335 -static struct ath9k_platform_data ap136_ath9k_data;
337 -static int ap136_pci_plat_dev_init(struct pci_dev *dev)
339 - if (dev->bus->number == 1 && (PCI_SLOT(dev->devfn)) == 0)
340 - dev->dev.platform_data = &ap136_ath9k_data;
345 -static void __init ap136_pci_init(u8 *eeprom)
347 - memcpy(ap136_ath9k_data.eeprom_data, eeprom,
348 - sizeof(ap136_ath9k_data.eeprom_data));
350 - ath79_pci_set_plat_dev_init(ap136_pci_plat_dev_init);
351 - ath79_register_pci();
354 -static inline void ap136_pci_init(u8 *eeprom) {}
355 -#endif /* CONFIG_PCI */
357 -static void __init ap136_setup(void)
359 - u8 *art = (u8 *) KSEG1ADDR(0x1fff0000);
361 - ath79_register_leds_gpio(-1, ARRAY_SIZE(ap136_leds_gpio),
363 - ath79_register_gpio_keys_polled(-1, AP136_KEYS_POLL_INTERVAL,
364 - ARRAY_SIZE(ap136_gpio_keys),
366 - ath79_register_spi(&ap136_spi_data, ap136_spi_info,
367 - ARRAY_SIZE(ap136_spi_info));
368 - ath79_register_usb();
369 - ath79_register_wmac(art + AP136_WMAC_CALDATA_OFFSET);
370 - ap136_pci_init(art + AP136_PCIE_CALDATA_OFFSET);
373 -MIPS_MACHINE(ATH79_MACH_AP136_010, "AP136-010",
374 - "Atheros AP136-010 reference board",
376 --- a/arch/mips/ath79/mach-ap81.c
380 - * Atheros AP81 board support
382 - * Copyright (C) 2009-2010 Gabor Juhos <juhosg@openwrt.org>
383 - * Copyright (C) 2009 Imre Kaloz <kaloz@openwrt.org>
385 - * This program is free software; you can redistribute it and/or modify it
386 - * under the terms of the GNU General Public License version 2 as published
387 - * by the Free Software Foundation.
390 -#include "machtypes.h"
391 -#include "dev-wmac.h"
392 -#include "dev-gpio-buttons.h"
393 -#include "dev-leds-gpio.h"
394 -#include "dev-spi.h"
395 -#include "dev-usb.h"
397 -#define AP81_GPIO_LED_STATUS 1
398 -#define AP81_GPIO_LED_AOSS 3
399 -#define AP81_GPIO_LED_WLAN 6
400 -#define AP81_GPIO_LED_POWER 14
402 -#define AP81_GPIO_BTN_SW4 12
403 -#define AP81_GPIO_BTN_SW1 21
405 -#define AP81_KEYS_POLL_INTERVAL 20 /* msecs */
406 -#define AP81_KEYS_DEBOUNCE_INTERVAL (3 * AP81_KEYS_POLL_INTERVAL)
408 -#define AP81_CAL_DATA_ADDR 0x1fff1000
410 -static struct gpio_led ap81_leds_gpio[] __initdata = {
412 - .name = "ap81:green:status",
413 - .gpio = AP81_GPIO_LED_STATUS,
416 - .name = "ap81:amber:aoss",
417 - .gpio = AP81_GPIO_LED_AOSS,
420 - .name = "ap81:green:wlan",
421 - .gpio = AP81_GPIO_LED_WLAN,
424 - .name = "ap81:green:power",
425 - .gpio = AP81_GPIO_LED_POWER,
430 -static struct gpio_keys_button ap81_gpio_keys[] __initdata = {
435 - .debounce_interval = AP81_KEYS_DEBOUNCE_INTERVAL,
436 - .gpio = AP81_GPIO_BTN_SW1,
442 - .debounce_interval = AP81_KEYS_DEBOUNCE_INTERVAL,
443 - .gpio = AP81_GPIO_BTN_SW4,
448 -static struct spi_board_info ap81_spi_info[] = {
452 - .max_speed_hz = 25000000,
453 - .modalias = "m25p64",
457 -static struct ath79_spi_platform_data ap81_spi_data = {
459 - .num_chipselect = 1,
462 -static void __init ap81_setup(void)
464 - u8 *cal_data = (u8 *) KSEG1ADDR(AP81_CAL_DATA_ADDR);
466 - ath79_register_leds_gpio(-1, ARRAY_SIZE(ap81_leds_gpio),
468 - ath79_register_gpio_keys_polled(-1, AP81_KEYS_POLL_INTERVAL,
469 - ARRAY_SIZE(ap81_gpio_keys),
471 - ath79_register_spi(&ap81_spi_data, ap81_spi_info,
472 - ARRAY_SIZE(ap81_spi_info));
473 - ath79_register_wmac(cal_data);
474 - ath79_register_usb();
477 -MIPS_MACHINE(ATH79_MACH_AP81, "AP81", "Atheros AP81 reference board",
479 --- a/arch/mips/ath79/mach-db120.c
483 - * Atheros DB120 reference board support
485 - * Copyright (c) 2011 Qualcomm Atheros
486 - * Copyright (c) 2011 Gabor Juhos <juhosg@openwrt.org>
488 - * Permission to use, copy, modify, and/or distribute this software for any
489 - * purpose with or without fee is hereby granted, provided that the above
490 - * copyright notice and this permission notice appear in all copies.
492 - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
493 - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
494 - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
495 - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
496 - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
497 - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
498 - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
502 -#include <linux/pci.h>
503 -#include <linux/ath9k_platform.h>
505 -#include "machtypes.h"
506 -#include "dev-gpio-buttons.h"
507 -#include "dev-leds-gpio.h"
508 -#include "dev-spi.h"
509 -#include "dev-usb.h"
510 -#include "dev-wmac.h"
513 -#define DB120_GPIO_LED_WLAN_5G 12
514 -#define DB120_GPIO_LED_WLAN_2G 13
515 -#define DB120_GPIO_LED_STATUS 14
516 -#define DB120_GPIO_LED_WPS 15
518 -#define DB120_GPIO_BTN_WPS 16
520 -#define DB120_KEYS_POLL_INTERVAL 20 /* msecs */
521 -#define DB120_KEYS_DEBOUNCE_INTERVAL (3 * DB120_KEYS_POLL_INTERVAL)
523 -#define DB120_WMAC_CALDATA_OFFSET 0x1000
524 -#define DB120_PCIE_CALDATA_OFFSET 0x5000
526 -static struct gpio_led db120_leds_gpio[] __initdata = {
528 - .name = "db120:green:status",
529 - .gpio = DB120_GPIO_LED_STATUS,
533 - .name = "db120:green:wps",
534 - .gpio = DB120_GPIO_LED_WPS,
538 - .name = "db120:green:wlan-5g",
539 - .gpio = DB120_GPIO_LED_WLAN_5G,
543 - .name = "db120:green:wlan-2g",
544 - .gpio = DB120_GPIO_LED_WLAN_2G,
549 -static struct gpio_keys_button db120_gpio_keys[] __initdata = {
551 - .desc = "WPS button",
553 - .code = KEY_WPS_BUTTON,
554 - .debounce_interval = DB120_KEYS_DEBOUNCE_INTERVAL,
555 - .gpio = DB120_GPIO_BTN_WPS,
560 -static struct spi_board_info db120_spi_info[] = {
564 - .max_speed_hz = 25000000,
565 - .modalias = "s25sl064a",
569 -static struct ath79_spi_platform_data db120_spi_data = {
571 - .num_chipselect = 1,
575 -static struct ath9k_platform_data db120_ath9k_data;
577 -static int db120_pci_plat_dev_init(struct pci_dev *dev)
579 - switch (PCI_SLOT(dev->devfn)) {
581 - dev->dev.platform_data = &db120_ath9k_data;
588 -static void __init db120_pci_init(u8 *eeprom)
590 - memcpy(db120_ath9k_data.eeprom_data, eeprom,
591 - sizeof(db120_ath9k_data.eeprom_data));
593 - ath79_pci_set_plat_dev_init(db120_pci_plat_dev_init);
594 - ath79_register_pci();
597 -static inline void db120_pci_init(u8 *eeprom) {}
598 -#endif /* CONFIG_PCI */
600 -static void __init db120_setup(void)
602 - u8 *art = (u8 *) KSEG1ADDR(0x1fff0000);
604 - ath79_register_leds_gpio(-1, ARRAY_SIZE(db120_leds_gpio),
606 - ath79_register_gpio_keys_polled(-1, DB120_KEYS_POLL_INTERVAL,
607 - ARRAY_SIZE(db120_gpio_keys),
609 - ath79_register_spi(&db120_spi_data, db120_spi_info,
610 - ARRAY_SIZE(db120_spi_info));
611 - ath79_register_usb();
612 - ath79_register_wmac(art + DB120_WMAC_CALDATA_OFFSET);
613 - db120_pci_init(art + DB120_PCIE_CALDATA_OFFSET);
616 -MIPS_MACHINE(ATH79_MACH_DB120, "DB120", "Atheros DB120 reference board",
618 --- a/arch/mips/ath79/mach-pb44.c
622 - * Atheros PB44 reference board support
624 - * Copyright (C) 2009-2010 Gabor Juhos <juhosg@openwrt.org>
626 - * This program is free software; you can redistribute it and/or modify it
627 - * under the terms of the GNU General Public License version 2 as published
628 - * by the Free Software Foundation.
631 -#include <linux/init.h>
632 -#include <linux/platform_device.h>
633 -#include <linux/i2c.h>
634 -#include <linux/i2c-gpio.h>
635 -#include <linux/platform_data/pcf857x.h>
637 -#include "machtypes.h"
638 -#include "dev-gpio-buttons.h"
639 -#include "dev-leds-gpio.h"
640 -#include "dev-spi.h"
641 -#include "dev-usb.h"
644 -#define PB44_GPIO_I2C_SCL 0
645 -#define PB44_GPIO_I2C_SDA 1
647 -#define PB44_GPIO_EXP_BASE 16
648 -#define PB44_GPIO_SW_RESET (PB44_GPIO_EXP_BASE + 6)
649 -#define PB44_GPIO_SW_JUMP (PB44_GPIO_EXP_BASE + 8)
650 -#define PB44_GPIO_LED_JUMP1 (PB44_GPIO_EXP_BASE + 9)
651 -#define PB44_GPIO_LED_JUMP2 (PB44_GPIO_EXP_BASE + 10)
653 -#define PB44_KEYS_POLL_INTERVAL 20 /* msecs */
654 -#define PB44_KEYS_DEBOUNCE_INTERVAL (3 * PB44_KEYS_POLL_INTERVAL)
656 -static struct i2c_gpio_platform_data pb44_i2c_gpio_data = {
657 - .sda_pin = PB44_GPIO_I2C_SDA,
658 - .scl_pin = PB44_GPIO_I2C_SCL,
661 -static struct platform_device pb44_i2c_gpio_device = {
662 - .name = "i2c-gpio",
665 - .platform_data = &pb44_i2c_gpio_data,
669 -static struct pcf857x_platform_data pb44_pcf857x_data = {
670 - .gpio_base = PB44_GPIO_EXP_BASE,
673 -static struct i2c_board_info pb44_i2c_board_info[] __initdata = {
675 - I2C_BOARD_INFO("pcf8575", 0x20),
676 - .platform_data = &pb44_pcf857x_data,
680 -static struct gpio_led pb44_leds_gpio[] __initdata = {
682 - .name = "pb44:amber:jump1",
683 - .gpio = PB44_GPIO_LED_JUMP1,
686 - .name = "pb44:green:jump2",
687 - .gpio = PB44_GPIO_LED_JUMP2,
692 -static struct gpio_keys_button pb44_gpio_keys[] __initdata = {
694 - .desc = "soft_reset",
696 - .code = KEY_RESTART,
697 - .debounce_interval = PB44_KEYS_DEBOUNCE_INTERVAL,
698 - .gpio = PB44_GPIO_SW_RESET,
701 - .desc = "jumpstart",
703 - .code = KEY_WPS_BUTTON,
704 - .debounce_interval = PB44_KEYS_DEBOUNCE_INTERVAL,
705 - .gpio = PB44_GPIO_SW_JUMP,
710 -static struct spi_board_info pb44_spi_info[] = {
714 - .max_speed_hz = 25000000,
715 - .modalias = "m25p64",
719 -static struct ath79_spi_platform_data pb44_spi_data = {
721 - .num_chipselect = 1,
724 -static void __init pb44_init(void)
726 - i2c_register_board_info(0, pb44_i2c_board_info,
727 - ARRAY_SIZE(pb44_i2c_board_info));
728 - platform_device_register(&pb44_i2c_gpio_device);
730 - ath79_register_leds_gpio(-1, ARRAY_SIZE(pb44_leds_gpio),
732 - ath79_register_gpio_keys_polled(-1, PB44_KEYS_POLL_INTERVAL,
733 - ARRAY_SIZE(pb44_gpio_keys),
735 - ath79_register_spi(&pb44_spi_data, pb44_spi_info,
736 - ARRAY_SIZE(pb44_spi_info));
737 - ath79_register_usb();
738 - ath79_register_pci();
741 -MIPS_MACHINE(ATH79_MACH_PB44, "PB44", "Atheros PB44 reference board",