From patchwork Mon Nov 9 18:56:44 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lennart Sorensen X-Patchwork-Id: 38018 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 69242B7B77 for ; Tue, 10 Nov 2009 11:00:22 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752867AbZKIS4k (ORCPT ); Mon, 9 Nov 2009 13:56:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752810AbZKIS4j (ORCPT ); Mon, 9 Nov 2009 13:56:39 -0500 Received: from caffeine.csclub.uwaterloo.ca ([129.97.134.17]:51695 "EHLO caffeine.csclub.uwaterloo.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752157AbZKIS4j (ORCPT ); Mon, 9 Nov 2009 13:56:39 -0500 Received: from caffeine.csclub.uwaterloo.ca (localhost [127.0.0.1]) by caffeine.csclub.uwaterloo.ca (Postfix) with ESMTP id 5FE441B802; Mon, 9 Nov 2009 18:56:44 +0000 (UTC) Received: by caffeine.csclub.uwaterloo.ca (Postfix, from userid 20367) id 54BE51B815; Mon, 9 Nov 2009 18:56:44 +0000 (UTC) Date: Mon, 9 Nov 2009 18:56:44 +0000 To: linux-kernel@vger.kernel.org Cc: Kumar Gala , Len Sorensen , netdev@vger.kernel.org Subject: Fix syntax of mdio.txt to match actual syntax. Message-ID: <20091109185644.GA15159@caffeine.csclub.uwaterloo.ca> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen) X-Virus-Scanned: ClamAV using ClamSMTP Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The syntax in Documentation/powerpc/dts-bindings/gpio/mdio.txt is not up to date and no longer works. Fix this as well as actually show how to represent a PHY on the gpio-bitbang bus. Tested with 2.6.31 on a RuggedCom RX5000 (mpc8360e based). Signed-off-by: Lennart Sorensen --- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/powerpc/dts-bindings/gpio/mdio.txt b/Documentation/powerpc/dts-bindings/gpio/mdio.txt index bc95495..7a84f25 100644 --- a/Documentation/powerpc/dts-bindings/gpio/mdio.txt +++ b/Documentation/powerpc/dts-bindings/gpio/mdio.txt @@ -14,6 +14,15 @@ mdio { compatible = "virtual,mdio-gpio"; #address-cells = <1>; #size-cells = <0>; - gpios = <&qe_pio_a 11 - &qe_pio_c 6>; + gpios = <&qe_pio_a 11 0 + &qe_pio_c 6 0>; + + phy0: ethernet-phy@00 { + reg = <0x18>; + device_type = "ethernet-phy"; + }; + phy1: ethernet-phy@01 { + reg = <0x0f>; + device_type = "ethernet-phy"; + }; };