From patchwork Mon May 11 20:00:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Roger Pueyo Centelles | Guifi.net" X-Patchwork-Id: 471025 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 5125A1400B7 for ; Tue, 12 May 2015 06:01:20 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=guifi.net header.i=@guifi.net header.b=SH2QdRI2; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 8664A28BDFE; Mon, 11 May 2015 21:59:53 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 552122848A9 for ; Mon, 11 May 2015 21:59:48 +0200 (CEST) X-policyd-weight: using cached result; rate:hard: -7.6 Received: from smtp1.guifi.net (smtp1.guifi.net [109.69.9.53]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Mon, 11 May 2015 21:59:48 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp1.guifi.net (Postfix) with ESMTP id 2D7F44B4096C for ; Mon, 11 May 2015 22:00:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=guifi.net; h= references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received:received:received; s=dkim; t= 1431374446; x=1433188847; bh=6ZNwsK3qJQUQBG9mWaWsdJfIrCU7fBYkK/0 HV/miOtc=; b=SH2QdRI2X1yT6D20yHg7ocSDmScfPpt9dqavBGublaR8Ywd9rLe dEg4x/ZJQrZ4ComErUAGDCtrn/5EZ0o1l+6SWpSIOLe2vMSlnQoFHu/PpDtmvBUk mi6NARakXQxxwne0pBoo92F2mP+bxzdtCEunr29AOZCDS6kLqo1q/IPn0zXPLp8A tiFQ2VSvCEoOjFpce56laBz3Pfk6Qf63VvdFQQyO6is0CyLmbpvb1lpN0CMxI/Jp Sni+PhrH0hWsXUpIEGA4homTz07w8Xu3kwhtampyA4mNUPszvIFuAZmKFPtRVgET KW7FZoPWsEPaHXTpoY0F3iOhs0C8HuWIPhw== X-Amavis-Modified: Mail body modified (using disclaimer) - smtp1.elserrat.org X-Virus-Scanned: Scrollout F1 on Debian amavisd-new at elserrat.org Received: from smtp1.guifi.net ([127.0.0.1]) by localhost (smtp1.elserrat.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id wHHI3ZOTwFID for ; Mon, 11 May 2015 22:00:46 +0200 (CEST) Received: from mail.elserrat.org (109-69-9-9-guifi-gurb.ip4.guifi.net [109.69.9.9]) by smtp1.guifi.net (Postfix) with ESMTP id F3C044B4096E for ; Mon, 11 May 2015 22:00:43 +0200 (CEST) Received: from localhost.localdomain (unknown [84.88.85.1]) by mail.elserrat.org (Postfix) with ESMTPSA id C7ADB6AC0E5 for ; Mon, 11 May 2015 22:00:43 +0200 (CEST) From: Roger Pueyo Centelles To: openwrt-devel@lists.openwrt.org Date: Mon, 11 May 2015 22:00:31 +0200 Message-Id: <1431374431-13512-1-git-send-email-roger.pueyo@guifi.net> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1431373506-28851-1-git-send-email-roger.pueyo@guifi.net> References: <1431373506-28851-1-git-send-email-roger.pueyo@guifi.net> Subject: [OpenWrt-Devel] [PATCH] ar71xx: Add pll_1000 value for eth0 to Ubiquiti Rocket M XW X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" This patch adds the pll_1000 value for eth0 interface. This makes the Rocket M XW image compatible with other Ubiquiti devices with similar hardware with a Gigabit Ethernet port. Signed-off-by: Roger Pueyo Centelles --- .../ar71xx/patches-3.18/903-MIPS-ath79-ubnt-rocket-m-xw-support.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ar71xx/patches-3.18/903-MIPS-ath79-ubnt-rocket-m-xw-support.patch b/target/linux/ar71xx/patches-3.18/903-MIPS-ath79-ubnt-rocket-m-xw-support.patch index 056a690..ccc752e 100644 --- a/target/linux/ar71xx/patches-3.18/903-MIPS-ath79-ubnt-rocket-m-xw-support.patch +++ b/target/linux/ar71xx/patches-3.18/903-MIPS-ath79-ubnt-rocket-m-xw-support.patch @@ -10,7 +10,7 @@ ATH79_MACH_UBNT_UAP_PRO, /* Ubiquiti UniFi AP Pro */ --- a/arch/mips/ath79/mach-ubnt-xm.c +++ b/arch/mips/ath79/mach-ubnt-xm.c -@@ -449,12 +449,42 @@ +@@ -449,12 +449,43 @@ ath79_register_eth(0); } @@ -38,6 +38,7 @@ + + ath79_register_mdio(0, ~BIT(4)); + ath79_eth0_data.phy_mask = BIT(4); ++ ath79_eth0_pll_data.pll_1000 = 0x06000000; + ath79_register_eth(0); +} +