]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Initial support for the Ubiquiti Networks XM board (rev 1.0). (patch v2)
authorRene Bolldorf <xsecute@googlemail.com>
Thu, 17 Nov 2011 14:25:12 +0000 (14:25 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Nov 2011 14:25:51 +0000 (14:25 +0000)
Signed-off-by: Rene Bolldorf <xsecute@googlemail.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/3020/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ath79/Kconfig
arch/mips/ath79/Makefile
arch/mips/ath79/machtypes.h

index 4a7e0e871e90ba41f1320cbe65122da4fee1a063..195813f566107467f89cebf2650594b595c634fe 100644 (file)
@@ -36,6 +36,16 @@ config ATH79_MACH_PB44
          Say 'Y' here if you want your kernel to support the
          Atheros PB44 reference board.
 
+config ATH79_MACH_UBNT_XM
+       bool "Ubiquiti Networks XM (rev 1.0) board"
+       select SOC_AR724X
+       select ATH79_DEV_GPIO_BUTTONS
+       select ATH79_DEV_LEDS_GPIO
+       select ATH79_DEV_SPI
+       help
+         Say 'Y' here if you want your kernel to support the
+         Ubiquiti Networks XM (rev 1.0) board.
+
 endmenu
 
 config SOC_AR71XX
@@ -46,6 +56,7 @@ config SOC_AR71XX
 config SOC_AR724X
        select USB_ARCH_HAS_EHCI
        select USB_ARCH_HAS_OHCI
+       select HW_HAS_PCI
        def_bool n
 
 config SOC_AR913X
index 8933d18fd0f0783258c471141c40de27df66d35f..3ecc1463b5dafa4260cae3fbc259e995191285f6 100644 (file)
@@ -28,3 +28,4 @@ obj-$(CONFIG_ATH79_DEV_USB)           += dev-usb.o
 obj-$(CONFIG_ATH79_MACH_AP121)         += mach-ap121.o
 obj-$(CONFIG_ATH79_MACH_AP81)          += mach-ap81.o
 obj-$(CONFIG_ATH79_MACH_PB44)          += mach-pb44.o
+obj-$(CONFIG_ATH79_MACH_UBNT_XM)       += mach-ubnt-xm.o
index 6e28d51c93d563680d03d0773dee1e0ef8061c55..9a1f3826626e13703c24abc17b05a930f7528558 100644 (file)
@@ -19,6 +19,7 @@ enum ath79_mach_type {
        ATH79_MACH_AP121,               /* Atheros AP121 reference board */
        ATH79_MACH_AP81,                /* Atheros AP81 reference board */
        ATH79_MACH_PB44,                /* Atheros PB44 reference board */
+       ATH79_MACH_UBNT_XM,             /* Ubiquiti Networks XM board rev 1.0 */
 };
 
 #endif /* _ATH79_MACHTYPE_H */