| Device tree structures used by register based MDIO muxes is described here. |
| This binding is based on reg-mux.txt binding in Linux and is currently used by |
| mdio-mux-i2creg driver in U-Boot. |
| #mux-control-cells = <1> indicates how many registers are used for mux |
| selection. mux-reg-mask property described below must |
| include this number of pairs. |
| mux-reg-masks = <reg mask> describes pairs of register offset and register mask. |
| Register bits enabled in mask are set to the selection |
| value defined in reg property of child MDIOs to control |
| Properties described in mdio-mux.txt also apply. |
| Example structure, used on Freescale LS1028A QDS board: |
| compatible = "simple-mfd"; |
| compatible = "mdio-mux-i2creg"; |
| #mux-control-cells = <1>; |
| mux-reg-masks = <0x54 0xf0>; |
| mdio-parent-bus = <&mdio0>; |
| /* on-board MDIO with a single RGMII PHY */ |
| /* on-board 1G RGMII PHY */ |
| /* VSC8234 1G SGMII card */ |
| /* Parent MDIO, defined in SoC .dtsi file, just enabled here */ |