From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen)
To: linux-kernel@vger.kernel.org
Cc: Kumar Gala <galak@kernel.crashing.org>,
Len Sorensen <lsorense@csclub.uwaterloo.ca>,
netdev@vger.kernel.org
Subject: Fix syntax of mdio.txt to match actual syntax.
Date: Mon, 9 Nov 2009 18:56:44 +0000 [thread overview]
Message-ID: <20091109185644.GA15159@caffeine.csclub.uwaterloo.ca> (raw)
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 <lsorense@csclub.uwaterloo.ca>
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";
+ };
};
reply other threads:[~2009-11-09 18:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091109185644.GA15159@caffeine.csclub.uwaterloo.ca \
--to=lsorense@csclub.uwaterloo.ca \
--cc=galak@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox