Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751716AbbECWGM (ORCPT ); Sun, 3 May 2015 18:06:12 -0400 Received: from forward8l.mail.yandex.net ([84.201.143.141]:54562 "EHLO forward8l.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751458AbbECWGC (ORCPT ); Sun, 3 May 2015 18:06:02 -0400 To: Andrew Lunn Subject: Re: [PATCH v3 0/1] ARM: mvebu: dts: Add dts file for DLink DNS-327L X-PHP-Originating-Script: 501:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 04 May 2015 01:05:56 +0300 From: Andrew Cc: Jason Cooper , Gregory Clement , Sebastian Hesselbarth , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org In-Reply-To: <20150503205043.GA23342@lunn.ch> References: <1430663256-22714-1-git-send-email-andrew@ncrmnt.org> <20150503205043.GA23342@lunn.ch> Message-ID: User-Agent: Roundcube Webmail/1.0.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1055 Lines: 38 Andrew Lunn писал 03.05.2015 23:50: > 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 Thanks for the tip. So far I'm solving it via u-boot. You have to set RGMII voltage there anyway if you want tftp for the updates, so it looks like the right place to do this kind of stuff. I'll add the proper magic to the dts file and resend tomorrow. -- Regards, Andrew -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/