ar71xx: fix ap152 support
authorFelix Fietkau <nbd@openwrt.org>
Sun, 10 Jan 2016 17:19:34 +0000 (17:19 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 10 Jan 2016 17:19:34 +0000 (17:19 +0000)
- ethernet gigabit pll
- switch configuration
- sysupgrade

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 48187

target/linux/ar71xx/base-files/etc/board.d/02_network
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
target/linux/ar71xx/files/arch/mips/ath79/mach-ap152.c

index 6b6c6a465f6bde8f0e8ee8fc8b48cdf61457706b..190b6932a92cf8fda6d6cbffc0b779e9e7d9defa 100755 (executable)
@@ -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"
index e662524df5532c771b8a35c85debb67baf1c1e80..1f6eaf2331c8aed0b2c3b3c83ac7ac07785a6fc1 100755 (executable)
@@ -184,6 +184,7 @@ platform_check_image() {
        ap136-020 | \
        ap135-020 | \
        ap147-010 | \
+       ap152 | \
        ap96 | \
        bxu2000n-2-a1 | \
        db120 | \
index a1eb06b984345975312dcda715e9a8ce989227c8..e669325f506c2c24471d96d9b019d716278c10bd 100644 (file)
@@ -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);
 }