[ar71xx] add preliminary support for the Ubiquiti LS-SR71 board (thanks to Xianghua...
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-rb-4xx.c
index f8e76c40c6b8972e139e19311179284d118601d0..ec3ac0497d94d6b7cab0a19adcd76b4e07121837 100644 (file)
@@ -152,6 +152,9 @@ static inline void rb433_add_device_spi(void) {}
 
 static void __init rb4xx_generic_setup(void)
 {
+       ar71xx_gpio_function_enable(GPIO_FUNC_SPI_CS1_EN |
+                                   GPIO_FUNC_SPI_CS2_EN);
+
        ar71xx_add_device_leds_gpio(-1, ARRAY_SIZE(rb4xx_leds_gpio),
                                        rb4xx_leds_gpio);