From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 14 May 2018 12:35:24 +0200 (CEST) Received: from vps0.lunn.ch ([185.16.172.187]:35339 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S23992479AbeENKfQRfE1x (ORCPT ); Mon, 14 May 2018 12:35:16 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=WsSe3V2+bK5645ngzE/p5EJk+9uORzvYCMzDoxttLoU=; b=YjzFng7uaR/PO22nh64CM85HgpuHxH8vBaZzQ4MCkIivA3V+40lANeUWiPPv90h5qdXpi4tDAfHq4UbQ1Fv3bv3FhhbTI2JIBQaoT/nijiWk/ki2FQSJEOAtuznIK0heniCrJoYKFuY/TOft9H8i48cEx0LK/eA5qNCW8O1PmFM=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1fGw22-000061-OR; Fri, 11 May 2018 02:35:34 +0200 Date: Fri, 11 May 2018 02:35:34 +0200 From: Andrew Lunn To: Paul Burton Cc: netdev@vger.kernel.org, linux-mips@linux-mips.org, "David S . Miller" Subject: Re: [PATCH v6 6/6] MIPS: Boston: Adjust DT for pch_gbe PHY support Message-ID: <20180511003534.GF5527@lunn.ch> References: <20180510231657.28503-1-paul.burton@mips.com> <20180510231657.28503-7-paul.burton@mips.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180510231657.28503-7-paul.burton@mips.com> User-Agent: Mutt/1.5.23 (2014-03-12) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 63925 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: andrew@lunn.ch Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips > eg20t_mac@2,0,1 { > compatible = "pci8086,8802"; > reg = <0x00020100 0 0 0 0>; > - phy-reset-gpios = <&eg20t_gpio 6 > - GPIO_ACTIVE_LOW>; > + > + #address-cells = <1>; > + #size-cells = <0>; It is generally a good idea to put an 'mdio' container which the PHYs are on. You then pass this container node to of_mdiobus_register(). > + > + ethernet-phy@0 { > + compatible = "ethernet-phy-id001c.c915"; > + reg = <0>; > + reset-gpios = <&eg20t_gpio 6 GPIO_ACTIVE_LOW>; > + reset-assert-us = <25000>; > + reset-deassert-us = <25000>; > + }; Andrew