Changeset 45726


Ignore:
Timestamp:
2015-05-23T17:27:22+02:00 (3 years ago)
Author:
blogic
Message:

ar71xx: Add support for the Meraki MR12 & MR16

This patch is to add support for the Meraki MR12 and MR16 Access Points.
Currently everything is working, minus the 2nd NIC interface on the MR12
which is built into the SoC.

Signed-off-by: Chris R Blake <chrisrblake93 at gmail.com>

Location:
trunk/target/linux/ar71xx
Files:
4 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/base-files/etc/diag.sh

    r45656 r45726  
    112112        mc-mac1200r) 
    113113                status_led="mercury:green:system" 
     114                ;; 
     115        mr12) 
     116                status_led="mr12:green:power" 
     117                ;; 
     118        mr16) 
     119                status_led="mr16:green:power" 
    114120                ;; 
    115121        mr600) 
  • trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds

    r45632 r45726  
    179179        ;; 
    180180 
     181mr12) 
     182        ucidef_set_led_netdev "wan" "WAN" "mr12:green:wan" "eth0" 
     183        ucidef_set_led_wlan "wlan1" "WLAN1" "mr12:green:wifi1" "phy0assoc" 
     184        ucidef_set_led_wlan "wlan2" "WLAN2" "mr12:green:wifi2" "phy0assoc" 
     185        ucidef_set_led_wlan "wlan3" "WLAN3" "mr12:green:wifi3" "phy0assoc" 
     186        ucidef_set_led_wlan "wlan4" "WLAN4" "mr12:green:wifi4" "phy0tpt" 
     187        ;; 
     188 
     189mr16) 
     190        ucidef_set_led_netdev "wan" "WAN" "mr16:green:wan" "eth0" 
     191        ucidef_set_led_wlan "wlan1" "WLAN1" "mr16:green:wifi1" "phy0assoc" 
     192        ucidef_set_led_wlan "wlan2" "WLAN2" "mr16:green:wifi2" "phy0assoc" 
     193        ucidef_set_led_wlan "wlan3" "WLAN3" "mr16:green:wifi3" "phy0assoc" 
     194        ucidef_set_led_wlan "wlan4" "WLAN4" "mr16:green:wifi4" "phy0tpt" 
     195        ;; 
     196 
    181197mr600) 
    182198        ucidef_set_led_wlan "wlan58" "WLAN58" "mr600:green:wlan58" "phy0tpt" 
  • trunk/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration

    r44304 r45726  
    6262dir-615-e4|\ 
    6363ja76pf|\ 
     64mr-12|\ 
     65mr-16|\ 
    6466rb-750|\ 
    6567rb-751|\ 
  • trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh

    r45553 r45726  
    472472                name="mc-mac1200r" 
    473473                ;; 
     474        *MR12) 
     475                name="mr12" 
     476                ;; 
     477        *MR16) 
     478                name="mr16" 
     479                ;; 
    474480        *MR600v2) 
    475481                name="mr600v2" 
  • trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh

    r45667 r45726  
    185185        f9k1115v2 |\ 
    186186        hornet-ub | \ 
     187        mr12 | \ 
     188        mr16 | \ 
    187189        wpj558 | \ 
    188190        zcn-1523h-2 | \ 
  • trunk/target/linux/ar71xx/config-3.18

    r45527 r45726  
    6969CONFIG_ATH79_MACH_JWAP003=y 
    7070CONFIG_ATH79_MACH_MC_MAC1200R=y 
     71CONFIG_ATH79_MACH_MR16=y 
     72CONFIG_ATH79_MACH_MR12=y 
    7173CONFIG_ATH79_MACH_MR600=y 
    7274CONFIG_ATH79_MACH_MR900=y 
  • trunk/target/linux/ar71xx/image/Makefile

    r45672 r45726  
    900900dragino2_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,16000k(firmware),64k(config)ro,64k(art)ro 
    901901hiwifi_hc6361_mtdlayout=mtdparts=spi0.0:64k(u-boot)ro,64k(bdinfo)ro,1280k(kernel),14848k(rootfs),64k(backup)ro,64k(art)ro,16128k@0x20000(firmware) 
     902mr12_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,256k(u-boot-env)ro,13440k(rootfs),2304k(kernel),128k(art)ro,15744k@0x80000(firmware) 
     903mr16_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,256k(u-boot-env)ro,13440k(rootfs),2304k(kernel),128k(art)ro,15744k@0x80000(firmware) 
    902904pb92_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,2752k(rootfs),896k(kernel),64k(nvram),64k(art)ro,3648k@0x50000(firmware) 
    903905planex_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,7744k(firmware),128k(art)ro 
     
    17771779$(eval $(call SingleProfile,AthLzma,64k,EWDORIN16M,ew-dorin-16M,EW-DORIN,ttyATH0,115200,$$(ew-dorin_mtdlayout_16M),KRuImage,65536)) 
    17781780$(eval $(call SingleProfile,AthLzma,64k,HORNETUBx2,hornet-ub-x2,HORNET-UB,ttyATH0,115200,$$(alfa_mtdlayout_16M),KRuImage,65536)) 
     1781$(eval $(call SingleProfile,AthLzma,64k,MR12,mr12,MR12,ttyS0,115200,$$(mr12_mtdlayout),RKuImage)) 
     1782$(eval $(call SingleProfile,AthLzma,64k,MR16,mr16,MR16,ttyS0,115200,$$(mr16_mtdlayout),RKuImage)) 
    17791783$(eval $(call SingleProfile,AthLzma,64k,PB92,pb92,PB92,ttyS0,115200,$$(pb92_mtdlayout),KRuImage)) 
    17801784$(eval $(call SingleProfile,AthLzma,64k,TUBE2H16M,tube2h-16M,TUBE2H,ttyATH0,115200,$$(alfa_mtdlayout_16M),KRuImage,65536)) 
Note: See TracChangeset for help on using the changeset viewer.