diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-10 17:19:34 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-10 17:19:34 +0000 |
commit | 83558c535a14b1b6d6e876644dd5e87b8a05e114 (patch) | |
tree | 54f33d6077be0de2b75bae45601c9cf1e4ed9ad6 /target | |
parent | 2784b43ed6227ed911ea7864f1293da20761689a (diff) | |
download | master-187ad058-83558c535a14b1b6d6e876644dd5e87b8a05e114.tar.gz master-187ad058-83558c535a14b1b6d6e876644dd5e87b8a05e114.tar.bz2 master-187ad058-83558c535a14b1b6d6e876644dd5e87b8a05e114.zip |
ar71xx: fix ap152 support
- ethernet gigabit pll
- switch configuration
- sysupgrade
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48187 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/02_network | 1 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 1 | ||||
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-ap152.c | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 6b6c6a465f..190b6932a9 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -23,6 +23,7 @@ ubnt-unifi-outdoor) ;; ap132 |\ +ap152 |\ wlr8100) ucidef_add_switch "switch0" \ "0@eth0" "2:lan" "3:lan" "4:lan" "5:lan" "1:wan" diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index e662524df5..1f6eaf2331 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -184,6 +184,7 @@ platform_check_image() { ap136-020 | \ ap135-020 | \ ap147-010 | \ + ap152 | \ ap96 | \ bxu2000n-2-a1 | \ db120 | \ diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-ap152.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-ap152.c index a1eb06b984..e669325f50 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-ap152.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-ap152.c @@ -132,7 +132,6 @@ static void __init ap152_setup(void) ath79_eth0_data.duplex = DUPLEX_FULL; ath79_eth0_data.phy_mask = BIT(0); ath79_eth0_data.mii_bus_dev = &ath79_mdio0_device.dev; - ath79_eth0_pll_data.pll_1000 = 0x06000000; ath79_register_eth(0); } |