Changeset 48711


Ignore:
Timestamp:
2016-02-12T09:31:32+01:00 (2 years ago)
Author:
blogic
Message:

ar71xx: Support for Ubiquiti UniFi AP AC LITE

Add support for the Ubiquiti UniFi AP AC LITE
Signed-off-by: P.Wassi <p.wassi at gmx.at>

Location:
trunk/target/linux/ar71xx
Files:
1 added
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/base-files/etc/board.d/02_network

    r48705 r48711  
    361361tl-wr703n |\ 
    362362tube2h |\ 
     363unifiac |\ 
    363364wndap360 |\ 
    364365mynet-rext |\ 
  • trunk/target/linux/ar71xx/base-files/etc/diag.sh

    r48356 r48711  
    340340                status_led="ubnt:green:dome" 
    341341                ;; 
    342         uap-pro) 
     342        uap-pro | \ 
     343        unifiac) 
    343344                status_led="ubnt:white:dome" 
    344345                ;; 
  • trunk/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata

    r47405 r48711  
    7676                ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16) 
    7777                ;; 
     78        unifiac) 
     79                ath10kcal_extract "EEPROM" 20480 2116 
     80                ;; 
    7881        esac 
    7982        ;; 
  • trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh

    r48705 r48711  
    909909                name="unifi" 
    910910                ;; 
     911        *"UniFi-AC") 
     912                name="unifiac" 
     913                ;; 
    911914        *"UniFi AP Pro") 
    912915                name="uap-pro" 
  • trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh

    r48356 r48711  
    264264        nbg460n_550n_550nh | \ 
    265265        unifi | \ 
     266        unifiac | \ 
    266267        unifi-outdoor | \ 
    267268        carambola2 | \ 
  • trunk/target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt

    r48705 r48711  
    13571357        select ATH79_DEV_USB 
    13581358 
     1359config ATH79_MACH_UBNT_UNIFIAC 
     1360        bool "Ubiquiti UniFi AC (LITE) support" 
     1361        select SOC_QCA956X 
     1362        select ATH79_DEV_AP9X_PCI if PCI 
     1363        select ATH79_DEV_ETH 
     1364        select ATH79_DEV_GPIO_BUTTONS 
     1365        select ATH79_DEV_LEDS_GPIO 
     1366        select ATH79_DEV_M25P80 
     1367        select ATH79_DEV_WMAC 
     1368 
    13591369config ATH79_MACH_WEIO 
    13601370        bool "WeIO board" 
  • trunk/target/linux/ar71xx/files/arch/mips/ath79/Makefile

    r48705 r48711  
    167167obj-$(CONFIG_ATH79_MACH_UBNT)           += mach-ubnt.o 
    168168obj-$(CONFIG_ATH79_MACH_UBNT_XM)        += mach-ubnt-xm.o 
     169obj-$(CONFIG_ATH79_MACH_UBNT_UNIFIAC)   += mach-ubnt-unifiac.o 
    169170obj-$(CONFIG_ATH79_MACH_WEIO)           += mach-weio.o 
    170171obj-$(CONFIG_ATH79_MACH_WHR_HP_G300N)   += mach-whr-hp-g300n.o 
  • trunk/target/linux/ar71xx/files/arch/mips/ath79/machtypes.h

    r48706 r48711  
    212212        ATH79_MACH_UBNT_UAP_PRO,        /* Ubiquiti UniFi AP Pro */ 
    213213        ATH79_MACH_UBNT_UNIFI,          /* Ubiquiti Unifi */ 
     214        ATH79_MACH_UBNT_UNIFIAC,        /* Ubiquiti Unifi AC */ 
    214215        ATH79_MACH_UBNT_UNIFI_OUTDOOR,  /* Ubiquiti UnifiAP Outdoor */ 
    215216        ATH79_MACH_UBNT_UNIFI_OUTDOOR_PLUS, /* Ubiquiti UnifiAP Outdoor+ */ 
  • trunk/target/linux/ar71xx/generic/profiles/ubnt.mk

    r34730 r48711  
    3939$(eval $(call Profile,UBNTUNIFI)) 
    4040 
     41define Profile/UBNTUNIFIAC 
     42        NAME:=Ubiquiti UniFi AP AC 
     43        PACKAGES:=kmod-ath10k ath10k-firmware-qca988x 
     44endef 
     45 
     46define Profile/UBNTUNIFIAC/Description 
     47        Package set optimized for the Ubiquiti UniFi AP AC. 
     48endef 
     49 
     50$(eval $(call Profile,UBNTUNIFIAC)) 
     51 
    4152define Profile/UBNTUNIFIOUTDOOR 
    4253        NAME:=Ubiquiti UniFiAP Outdoor 
  • trunk/target/linux/ar71xx/image/Makefile

    r48705 r48711  
    11421142endef 
    11431143 
     1144define Device/ubnt-unifiac 
     1145  DEVICE_PROFILE := UBNT UBNTUNIFIAC 
     1146  IMAGE_SIZE := 7744k 
     1147  MTDPARTS = spi0.0:384k(u-boot)ro,64k(u-boot-env)ro,7744k(firmware),7744k(ubnt-airos)ro,128k(bs)ro,256k(cfg)ro,64k(EEPROM)ro 
     1148  IMAGES := sysupgrade.bin 
     1149  IMAGE/sysupgrade.bin = append-kernel $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) 
     1150  BOARDNAME := UBNT-UF-AC 
     1151endef 
     1152 
    11441153define Device/ubnt-unifi-outdoor 
    11451154  $(Device/ubnt-bz) 
     
    11471156  DEVICE_PROFILE := UBNT UBNTUNIFIOUTDOOR 
    11481157endef 
    1149 TARGET_DEVICES += ubnt-unifi ubnt-unifi-outdoor 
     1158TARGET_DEVICES += ubnt-unifi ubnt-unifiac ubnt-unifi-outdoor 
    11501159 
    11511160define Device/ubnt-nano-m-xw 
  • trunk/target/linux/ar71xx/mikrotik/config-default

    r47940 r48711  
    105105# CONFIG_ATH79_MACH_UBNT is not set 
    106106# CONFIG_ATH79_MACH_UBNT_XM is not set 
     107# CONFIG_ATH79_MACH_UBNT_UNIFIAC is not set 
    107108# CONFIG_ATH79_MACH_WHR_HP_G300N is not set 
    108109# CONFIG_ATH79_MACH_WLAE_AG300N is not set 
  • trunk/target/linux/ar71xx/nand/config-default

    r47940 r48711  
    6464# CONFIG_ATH79_MACH_UBNT is not set 
    6565# CONFIG_ATH79_MACH_UBNT_XM is not set 
     66# CONFIG_ATH79_MACH_UBNT_UNIFIAC is not set 
    6667# CONFIG_ATH79_MACH_WHR_HP_G300N is not set 
    6768# CONFIG_ATH79_MACH_WLAE_AG300N is not set 
Note: See TracChangeset for help on using the changeset viewer.