spi: sc18is602: Convert to let spi core validate transfer speed
[cascardo/linux.git] / Documentation / devicetree / bindings / net / allwinner,sun4i-mdio.txt
1 * Allwinner A10 MDIO Ethernet Controller interface
2
3 Required properties:
4 - compatible: should be "allwinner,sun4i-mdio".
5 - reg: address and length of the register set for the device.
6
7 Optional properties:
8 - phy-supply: phandle to a regulator if the PHY needs one
9
10 Example at the SoC level:
11 mdio@01c0b080 {
12         compatible = "allwinner,sun4i-mdio";
13         reg = <0x01c0b080 0x14>;
14         #address-cells = <1>;
15         #size-cells = <0>;
16 };
17
18 And at the board level:
19
20 mdio@01c0b080 {
21         phy-supply = <&reg_emac_3v3>;
22
23         phy0: ethernet-phy@0 {
24                 reg = <0>;
25         };
26 };