aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/powerpc
diff options
context:
space:
mode:
authorLaurent Pinchart <laurentp@cse-semaphore.com>2008-05-26 05:53:21 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-05-30 22:18:25 -0400
commita5edeccb1a8432ae5d9fb9bccea5a4b64c565017 (patch)
treed55dfa3802a65d3a3372f3487fb42b8495f96f2c /Documentation/powerpc
parent62c78329581e76347e1078b8ea996b603be3efec (diff)
net: OpenFirmware GPIO based MDIO bitbang driver
This patch adds an MDIO bitbang driver that uses the GPIO library and its OF bindings to access the bus I/Os. Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'Documentation/powerpc')
-rw-r--r--Documentation/powerpc/booting-without-of.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt
index 1d2a772506cf..46a9dba11f2f 100644
--- a/Documentation/powerpc/booting-without-of.txt
+++ b/Documentation/powerpc/booting-without-of.txt
@@ -58,6 +58,7 @@ Table of Contents
58 o) Xilinx IP cores 58 o) Xilinx IP cores
59 p) Freescale Synchronous Serial Interface 59 p) Freescale Synchronous Serial Interface
60 q) USB EHCI controllers 60 q) USB EHCI controllers
61 r) MDIO on GPIOs
61 62
62 VII - Marvell Discovery mv64[345]6x System Controller chips 63 VII - Marvell Discovery mv64[345]6x System Controller chips
63 1) The /system-controller node 64 1) The /system-controller node
@@ -2870,6 +2871,26 @@ platforms are moved over to use the flattened-device-tree model.
2870 reg = <0xe8000000 32>; 2871 reg = <0xe8000000 32>;
2871 }; 2872 };
2872 2873
2874 r) MDIO on GPIOs
2875
2876 Currently defined compatibles:
2877 - virtual,gpio-mdio
2878
2879 MDC and MDIO lines connected to GPIO controllers are listed in the
2880 gpios property as described in section VIII.1 in the following order:
2881
2882 MDC, MDIO.
2883
2884 Example:
2885
2886 mdio {
2887 compatible = "virtual,mdio-gpio";
2888 #address-cells = <1>;
2889 #size-cells = <0>;
2890 gpios = <&qe_pio_a 11
2891 &qe_pio_c 6>;
2892 };
2893
2873VII - Marvell Discovery mv64[345]6x System Controller chips 2894VII - Marvell Discovery mv64[345]6x System Controller chips
2874=========================================================== 2895===========================================================
2875 2896