Thread (17 messages) 17 messages, 7 authors, 2012-04-13

Re: [PATCH v2 2/3] netdev/of/phy: Add MDIO bus multiplexer support.

From: Michał Mirosław <hidden>
Date: 2011-09-28 07:26:04
Also in: linux-devicetree, lkml

2011/9/28 David Daney [off-list ref]:
[...]
+Example :
+
+       /* The parent MDIO bus. */
+       smi1: mdio@1180000001900 {
+               compatible = "cavium,octeon-3860-mdio";
+               #address-cells = <1>;
+               #size-cells = <0>;
+               reg = <0x11800 0x00001900 0x0 0x40>;
+       };
+
+       /*
+          An NXP sn74cbtlv3253 dual 1-of-4 switch controlled by a
+          pair of GPIO lines.  Child busses 2 and 3 populated with 4
+          PHYs each.
+        */
+       mdio-mux {
+               compatible = "cavium,mdio-mux-sn74cbtlv3253", "cavium,mdio-mux";
+               gpios = <&gpio1 3 0>, <&gpio1 4 0>;
+               mdio-parent-bus = <&smi1>;
+               #address-cells = <1>;
+               #size-cells = <0>;
This should probably have 'compatible = "nxp,sn74cbtlv3253";' here.

Best Regards,
Michał Mirosław
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help