From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrew@lunn.ch (Andrew Lunn) Date: Sun, 3 May 2015 22:50:43 +0200 Subject: [PATCH v3 0/1] ARM: mvebu: dts: Add dts file for DLink DNS-327L In-Reply-To: <1430663256-22714-1-git-send-email-andrew@ncrmnt.org> References: <1430663256-22714-1-git-send-email-andrew@ncrmnt.org> Message-ID: <20150503205043.GA23342@lunn.ch> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Andrew > DNS-327L is a 2-bay NAS with the following specs: > - 512MiB RAM > - 128MiB NAND Flash > - 1 GbE interface (Marvell PHY) ... > /* Set RGMII voltage to 1.8v, according to public docs. Nice! */ > mw.l 0xd00184e0 0xa8a; > /* Some weird magic that goes into phy registers, no public docs */ > phyWrite 0 16 2; > phyWrite 0 19 77; > phyWrite 0 18 5747; Take a look at the marvell,reg-init property. Might do what you need. Andrew From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH v3 0/1] ARM: mvebu: dts: Add dts file for DLink DNS-327L Date: Sun, 3 May 2015 22:50:43 +0200 Message-ID: <20150503205043.GA23342@lunn.ch> References: <1430663256-22714-1-git-send-email-andrew@ncrmnt.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1430663256-22714-1-git-send-email-andrew-g16cbSVCqPUdnm+yROfE0A@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Andrew Andrianov Cc: Jason Cooper , Gregory Clement , Sebastian Hesselbarth , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org Hi Andrew > DNS-327L is a 2-bay NAS with the following specs: > - 512MiB RAM > - 128MiB NAND Flash > - 1 GbE interface (Marvell PHY) ... > /* Set RGMII voltage to 1.8v, according to public docs. Nice! */ > mw.l 0xd00184e0 0xa8a; > /* Some weird magic that goes into phy registers, no public docs */ > phyWrite 0 16 2; > phyWrite 0 19 77; > phyWrite 0 18 5747; Take a look at the marvell,reg-init property. Might do what you need. Andrew -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751640AbbECUzf (ORCPT ); Sun, 3 May 2015 16:55:35 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:41148 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751308AbbECUz2 (ORCPT ); Sun, 3 May 2015 16:55:28 -0400 Date: Sun, 3 May 2015 22:50:43 +0200 From: Andrew Lunn To: Andrew Andrianov Cc: Jason Cooper , Gregory Clement , Sebastian Hesselbarth , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v3 0/1] ARM: mvebu: dts: Add dts file for DLink DNS-327L Message-ID: <20150503205043.GA23342@lunn.ch> References: <1430663256-22714-1-git-send-email-andrew@ncrmnt.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1430663256-22714-1-git-send-email-andrew@ncrmnt.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrew > DNS-327L is a 2-bay NAS with the following specs: > - 512MiB RAM > - 128MiB NAND Flash > - 1 GbE interface (Marvell PHY) ... > /* Set RGMII voltage to 1.8v, according to public docs. Nice! */ > mw.l 0xd00184e0 0xa8a; > /* Some weird magic that goes into phy registers, no public docs */ > phyWrite 0 16 2; > phyWrite 0 19 77; > phyWrite 0 18 5747; Take a look at the marvell,reg-init property. Might do what you need. Andrew