From owner-svn-src-all@FreeBSD.ORG Sun Mar 1 06:55:00 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 93AC3A23; Sun, 1 Mar 2015 06:55:00 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7F5593A4; Sun, 1 Mar 2015 06:55:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t216t0nq070281; Sun, 1 Mar 2015 06:55:00 GMT (envelope-from adrian@FreeBSD.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t216t0ZY070276; Sun, 1 Mar 2015 06:55:00 GMT (envelope-from adrian@FreeBSD.org) Message-Id: <201503010655.t216t0ZY070276@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: adrian set sender to adrian@FreeBSD.org using -f From: Adrian Chadd Date: Sun, 1 Mar 2015 06:55:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r279478 - head/sys/mips/atheros X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2015 06:55:00 -0000 Author: adrian Date: Sun Mar 1 06:54:59 2015 New Revision: 279478 URL: https://svnweb.freebsd.org/changeset/base/279478 Log: Add Ethernet PLL values for the QCA955x. These are the same as the AR934x. Obtained from: Linux openwrt Modified: head/sys/mips/atheros/qca955xreg.h Modified: head/sys/mips/atheros/qca955xreg.h ============================================================================== --- head/sys/mips/atheros/qca955xreg.h Sun Mar 1 06:52:23 2015 (r279477) +++ head/sys/mips/atheros/qca955xreg.h Sun Mar 1 06:54:59 2015 (r279478) @@ -193,4 +193,9 @@ #define QCA955X_ETH_CFG_RGMII_EN BIT(0) #define QCA955X_ETH_CFG_GE0_SGMII BIT(6) +/* XXX Same as AR934x values */ +#define QCA955X_PLL_VAL_1000 0x16000000 +#define QCA955X_PLL_VAL_100 0x00000101 +#define QCA955X_PLL_VAL_10 0x00001616 + #endif /* __QCA955XREG_H__ */