blob: 00b9f9a3ec1d8bcce665a5c31645456de7e012a3 [file] [log] [blame]
Maxime Ripard4bdcb1d2013-05-30 03:49:21 +00001* Allwinner A10 MDIO Ethernet Controller interface
2
3Required properties:
4- compatible: should be "allwinner,sun4i-mdio".
5- reg: address and length of the register set for the device.
6
7Optional properties:
8- phy-supply: phandle to a regulator if the PHY needs one
9
10Example at the SoC level:
11mdio@01c0b080 {
12 compatible = "allwinner,sun4i-mdio";
13 reg = <0x01c0b080 0x14>;
14 #address-cells = <1>;
15 #size-cells = <0>;
16};
17
18And at the board level:
19
20mdio@01c0b080 {
21 phy-supply = <&reg_emac_3v3>;
22
23 phy0: ethernet-phy@0 {
24 reg = <0>;
25 };
26};