Re: [PATCH v2 2/3] netdev/of/phy: Add MDIO bus multiplexer support.
From: Michał Mirosław
Date: Wed Sep 28 2011 - 03:26:06 EST
2011/9/28 David Daney <david.daney@xxxxxxxxxx>:
[...]
> +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
èº{.nÇ+·®+%Ëlzwm
ébëæìr¸zX§»®w¥{ayºÊÚë,j¢f£¢·hàz¹®w¥¢¸¢·¦j:+v¨wèjØm¶ÿ¾«êçzZ+ùÝj"ú!¶iOæ¬z·vØ^¶m§ÿðÃnÆàþY&